Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 2 down vote accepted

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

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

Your Answer


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.