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.

Is it possible to have multiple seperate LDAP trees on a single LDAP server?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Yes. You have to create multiple database entries in the base configuration and configure them with different Base DN's.

This is done with the database statement in the /etc/openldap/slapd.conf.

Example:

database        bdb
suffix          "dc=example,dc=com"
rootdn          "uid=root,cn=users,dc=example,dc=com"

You will find more information in OpenLDAP's documentation.

(Note: Of course, this should also be possible to be configured via the cn=config online configuration).

share|improve this answer

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.