Maily Peng wrote:
I'd like to set up a single instance of slapd from two DIT that have been defined in separate mdb databases in order to manage more efficiently indexes. Is-it possible ?
Yes.
suffix "ou=users,dc=domain,dc=net" rootdn "cn=Manager,dc=domain,dc=net" [..] suffix "ou=profiles,dc=domain,dc=net" rootdn "cn=Manager,dc=domain,dc=net"
Note that the rootdn in each database has to be within this particular naming context like this:
database mdb suffix "ou=users,dc=domain,dc=net" rootdn "cn=Manager,ou=users,dc=domain,dc=net" [..] database mdb suffix "ou=profiles,dc=domain,dc=net" rootdn "cn=Manager,ou=profiles,dc=domain,dc=net"
The rootdn has only manage privilegs (no ACLs are in effect) in its own DB.
Ciao, Michael.