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

Re: Can one slapd have two roots?

According to the doc one database can have two suffixes suffix <dn suffix>

   This directive specifies the DN suffix of queries that will be
   passed to this backend database. Multiple suffix lines can be given,
   and at least one is required for each database definition.


suffix "dc=example,dc=com"

   Queries with a DN ending in "dc=example,dc=com" will be passed to
   this backend.

I tried this in my slapd.conf

   database ldbm
   suffix "dc=home,dc=lan"
   suffix "dc=unique,dc=com"
   rootdn          "cn=Manager,dc=home,dc=lan"
   rootpw          secret
   directory       /usr/local/var/openldap-ldbm
   index   objectClass     eq

I can bind as the manager, but when I try to add cn=Thoms Gagne,dc=unique,dc=com I get "object not found, parent does not exist."

What does that mean?  Am I close?