[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Different indices in different contexts
Hello all,
I've got the following setup...
ou=users,dc=arts,dc=ed,dc=ac,dc=uk
ou=machines,dc=arts,dc=ed,dc=ac,dc=uk
and I'd like to index them differently. Here's a snippet of my
slapd.conf file...
======================================================================
database ldbm
suffix "ou=Machines,dc=arts,dc=ed,dc=ac,dc=uk"
directory /var/state/openldap/arts/machines
index mac,cn eq
database ldbm
suffix "ou=Users,dc=arts,dc=ed,dc=ac,dc=uk"
directory /var/state/openldap/arts/users
index uid,uidnumber eq
index default none
======================================================================
However, when I search the database I only see objects from the
context which appears first in the slapd.conf. Swapping their order
makes the other context visible.
Is there something obvious I'm doing wrong or is this plainly not
supported?
Cheers,
Kenny.
--
ADML Support, EUCS, The University of Edinburgh.