"Anjali Arora" anjalikool@gmail.com writes:
Hi,
I am not able to understand how to create hierarchy in openldap... We can mention multiple suffix but what is the use and how it will relate to the rootdn
rootdn is specific to database
b'coz we can mention suffix in slapd.conf which is under rootdn...then how mutilple suffix contain different values..
here are two examples ,---- | database bdb | suffix dc=example,dc=com | rootdn cn=foo,dc=example,dc=com | directory /var/lib/ldap | ... | database bdb | suffix o=example,c=GB | rootdn cn=bar,o=example,c=GB | directory /usr/local/var/ldap | ... `----
an other approach with subordinate databases
,----[ subordinate database ] | database bdb | suffix ou=sales,dc=example,dc=com | directory /var/lib/ldap | ... | subordinate | | database bdb | suffix dc=example,dc=com | rootdn cn=foo,dc=example,dc=com | directory /usr/local/var/ldap | ... `----
-Dieter