[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Directory design question



I move to multiple databases because I was using the domain names of the companies, with not a common root .

At that moment I didn't see the dummy root way... :-b, I like that solution. Is that a common thing to do, a common practice, I mean from an implementation view?

K.


Hallvard B Furuseth wrote:
katarn writes:
  
I found this post ( 
http://www.openldap.org/lists/openldap-software/200305/msg00288.html ) 
about multiple suffixes, and I am wondering about my implementation and 
I would like your opinions about it ( should I be using ldap?,etc...)
    

You'll have to post more details to get answers to that one, but:

  
    2. Each time I have to register a new company ( for an inventory 
control system ) I have to make three steps:
       A. Insert a row in db table
       B. Add a new database in slapd.conf
       C. Restart slapd...

I don't like it...
    

Why do you use multiple databases?  How about just one database whose
suffix is the parent DN of all your current suffixes?  Or if the
suffixes don't all have the same parent DN, you could create dummy
entries for the "missing" DNs until you get to a common parent.