Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have installed openLdap.
Created one top record/node and some others below that.
Can I create another top record?
I am trying to achieve the same effect of creating several DBs on one sql server (or may be I am missing the point on how this tool should be used).

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted
+100

Yes, absolutely. You can create as many top records as you want. I'm assuming by top record you mean the top-most entry in a tree (such as dc=serverfault,dc=com).

There are two approaches to this:

1) Configure your server to hold several databases, one for each top record. Using slapd.conf, this is equivalent to adding blocks of a few lines like the following:

database hdb
suffix "dc=top,dc=record,dc=1"
... etc ...

Repeating as many times as you want top records.

2) Configure your server to hold only one database, using the suffix "" (empty string). This would ressemble the following statement in slapd.conf:

database hdb
suffix ""
... etc ...

Then you can add as many top records as you like.

share|improve this answer
    
You understood me 100% - Thanks! –  Itay Moav -Malimovka Mar 3 '10 at 2:39
add comment

when you have different clients you can put multiple first nodes in your openldap, but when the different clients are only different organisational units you should create them as subnodes of one organisation.

do you have an example what types of first level nodes you want to create? perhaps this way you get some more precise answers.

share|improve this answer
    
One for development and one for me to play with and learn –  Itay Moav -Malimovka Mar 2 '10 at 13:37
    
this will be fine in one ldap server. but when you setup your qs and production environment you should think about single instances so you can test your changes in a more secure environment. –  Christian Mar 2 '10 at 14:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.