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

Multi DITs



Dear OpenLDAP members,

I've configurated one DIT in my LDAP server (version 2.2.24, see below), which it is working fine, and now I'd like to add a new DIT for managing another naming context. I've read the OpenLDAP documentation, as well as aditional information (http://www.zytrax.com/books/ldap/ch11/multi-dit.html), but it is impossible for me to create the new database directory. The first directory (/usr/local/var/openldap-domain1) is working fine... but I cannot to create the new one (/usr/local/var/openldap-domain2).

Can somebody say me how I can create the new directory database or where I can found information about this??

Thanks a lot in advance,

------
Manuel Gil Pérez
http://pki.umu.euro6ix.org


=== Configuration slapd.conf ===

# DOMAIN 1:
database ldbm
directory /usr/local/var/openldap-domain1
index objectClass eq

suffix "o=UMU 1,c=ES"
rootdn "cn=domain1,o=UMU 1,c=ES"
rootpw secret1

# DOMAIN 2:
database ldbm
directory /usr/local/var/openldap-domain2
index objectClass eq

suffix "o=UMU 2,c=ES"
rootdn "cn=domain2,o=UMU 2,c=ES"
rootpw secret2