add indices for all backends that support them; clenup

This commit is contained in:
Pierangelo Masarati 2005-08-07 10:01:53 +00:00
parent e355c9ef86
commit f5beb2e0d3
39 changed files with 286 additions and 181 deletions

View File

@ -47,10 +47,12 @@ suffix "dc=example,dc=com"
directory ./testrun/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#access to attr=objectclass dn.subtree="dc=example,dc=com"
access to attr=objectclass

View File

@ -51,7 +51,11 @@ suffix "dc=example,dc=com"
directory ./testrun/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
index objectClass eq
index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#monitor#database monitor

View File

@ -44,8 +44,12 @@ suffix "dc=example,dc=com"
directory ./testrun/db.2.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
index objectClass eq
index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#
# uses the chain overlay as database specific;

View File

@ -42,7 +42,8 @@ suffix "dc=example,dc=com"
directory ./testrun/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#ldbm#index objectClass eq
#bdb#index objectClass eq
#hdb#index objectClass eq
#ldbm#index objectClass eq
#monitor#database monitor

View File

@ -36,30 +36,38 @@ database @BACKEND@
suffix "ou=Information Technology Division,ou=People,dc=example,dc=com"
directory ./testrun/db.1.a
rootdn "cn=Manager 1,dc=example,dc=com"
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
#bdb#index entryUUID,entryCSN pres
#hdb#index objectclass eq
#hdb#index uid pres,eq,sub
#hdb#index cn,sn pres,eq,sub,subany
#hdb#index entryUUID,entryCSN pres
#ldbm#index objectclass eq
#ldbm#index uid pres,eq,sub
#ldbm#index cn,sn pres,eq,sub,subany
#ldbm#dbnosync
#ldbm#dbnolocking
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
#bdb#index entryUUID,entryCSN pres
overlay syncprov
database @BACKEND@
suffix "ou=Groups,dc=example,dc=com"
directory ./testrun/db.1.b
rootdn "cn=Manager 1,dc=example,dc=com"
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
#bdb#index entryUUID,entryCSN pres
#hdb#index objectclass eq
#hdb#index uid pres,eq,sub
#hdb#index cn,sn pres,eq,sub,subany
#hdb#index entryUUID,entryCSN pres
#ldbm#index objectclass eq
#ldbm#index uid pres,eq,sub
#ldbm#index cn,sn pres,eq,sub,subany
#ldbm#dbnosync
#ldbm#dbnolocking
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
#bdb#index entryUUID,entryCSN pres
syncrepl rid=1
provider=@URI2@
binddn="cn=Manager 2,dc=example,dc=com"
@ -81,14 +89,17 @@ suffix "dc=example,dc=com"
directory ./testrun/db.1.c
rootdn "cn=Manager 1,dc=example,dc=com"
rootpw secret
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
#hdb#index objectclass eq
#hdb#index uid pres,eq,sub
#hdb#index cn,sn pres,eq,sub,subany
#ldbm#index objectclass eq
#ldbm#index uid pres,eq,sub
#ldbm#index cn,sn pres,eq,sub,subany
#ldbm#dbnosync
#ldbm#dbnolocking
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
#overlay syncprov
overlay glue
glue-sub "ou=Information Technology Division,ou=People,dc=example,dc=com"

View File

@ -36,15 +36,19 @@ database @BACKEND@
suffix "ou=Information Technology Division,ou=People,dc=example,dc=com"
directory ./testrun/db.2.a
rootdn "cn=Manager 2,dc=example,dc=com"
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
#bdb#index entryUUID,entryCSN pres
#hdb#index objectclass eq
#hdb#index uid pres,eq,sub
#hdb#index cn,sn pres,eq,sub,subany
#hdb#index entryUUID,entryCSN pres
#ldbm#index objectclass eq
#ldbm#index uid pres,eq,sub
#ldbm#index cn,sn pres,eq,sub,subany
#ldbm#dbnosync
#ldbm#dbnolocking
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
#bdb#index entryUUID,entryCSN pres
syncrepl rid=2
provider=@URI1@
binddn="cn=Manager 1,dc=example,dc=com"
@ -64,15 +68,19 @@ database @BACKEND@
suffix "ou=Groups,dc=example,dc=com"
directory ./testrun/db.2.b
rootdn "cn=Manager 2,dc=example,dc=com"
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
#bdb#index entryUUID,entryCSN pres
#hdb#index objectclass eq
#hdb#index uid pres,eq,sub
#hdb#index cn,sn pres,eq,sub,subany
#hdb#index entryUUID,entryCSN pres
#ldbm#index objectclass eq
#ldbm#index uid pres,eq,sub
#ldbm#index cn,sn pres,eq,sub,subany
#ldbm#dbnosync
#ldbm#dbnolocking
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
#bdb#index entryUUID,entryCSN pres
overlay syncprov
@ -81,14 +89,17 @@ suffix "dc=example,dc=com"
directory ./testrun/db.2.c
rootdn "cn=Manager 2,dc=example,dc=com"
rootpw secret
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
#hdb#index objectclass eq
#hdb#index uid pres,eq,sub
#hdb#index cn,sn pres,eq,sub,subany
#ldbm#index objectclass eq
#ldbm#index uid pres,eq,sub
#ldbm#index cn,sn pres,eq,sub,subany
#ldbm#dbnosync
#ldbm#dbnolocking
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
#overlay syncprov
overlay glue
glue-sub "ou=Information Technology Division,ou=People,dc=example,dc=com"

View File

@ -36,41 +36,50 @@ database @BACKEND@
suffix "ou=Information Technology Division,ou=People,dc=example,dc=com"
directory ./testrun/db.1.a
rootdn "cn=Manager, dc=example,dc=com"
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
#hdb#index objectclass eq
#hdb#index uid pres,eq,sub
#hdb#index cn,sn pres,eq,sub,subany
#ldbm#index objectclass eq
#ldbm#index uid pres,eq,sub
#ldbm#index cn,sn pres,eq,sub,subany
#ldbm#dbnosync
#ldbm#dbnolocking
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
database @BACKEND@
suffix "ou=Groups,dc=example,dc=com"
directory ./testrun/db.1.b
rootdn "cn=Manager, dc=example,dc=com"
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
#hdb#index objectclass eq
#hdb#index uid pres,eq,sub
#hdb#index cn,sn pres,eq,sub,subany
#ldbm#index objectclass eq
#ldbm#index uid pres,eq,sub
#ldbm#index cn,sn pres,eq,sub,subany
#ldbm#dbnosync
#ldbm#dbnolocking
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
database @BACKEND@
suffix "dc=example,dc=com"
directory ./testrun/db.1.c
rootdn "cn=Manager, dc=example,dc=com"
rootpw secret
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
#hdb#index objectclass eq
#hdb#index uid pres,eq,sub
#hdb#index cn,sn pres,eq,sub,subany
#ldbm#index objectclass eq
#ldbm#index uid pres,eq,sub
#ldbm#index cn,sn pres,eq,sub,subany
#ldbm#dbnosync
#ldbm#dbnolocking
#bdb#index objectclass eq
#bdb#index uid pres,eq,sub
#bdb#index cn,sn pres,eq,sub,subany
overlay glue
glue-sub "ou=Information Technology Division,ou=People,dc=example,dc=com"
glue-sub "ou=Groups,dc=example,dc=com"

View File

@ -63,8 +63,12 @@ suffix "dc=example,dc=com"
directory ./testrun/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
index objectClass eq
index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
access to dn.exact="cn=Proxy,ou=Admin,dc=example,dc=com"
attr=authzTo
@ -77,8 +81,12 @@ suffix "dc=example,dc=it"
directory ./testrun/db.2.a
rootdn "cn=Manager,dc=example,dc=it"
rootpw secret
index objectClass eq
index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
database ldap
suffix "o=Example,c=US"

View File

@ -55,7 +55,7 @@ suffix "ou=People,dc=example,dc=com"
uri "@URI2@"
# FIXME: doesn't work with authz=native
#sasl#idassert-bind bindmethod=sasl authcid=proxy credentials=proxy @SASL_MECH@ mode=self
#nosasl#idassert-bind bindmethod=simple binddn"uid=proxy,ou=People,dc=example,dc=com" credentials=proxy mode=self
#nosasl#idassert-bind bindmethod=simple binddn="uid=proxy,ou=People,dc=example,dc=com" credentials=proxy mode=self
# groups branch
database ldap
@ -71,10 +71,14 @@ suffix "dc=example,dc=com"
directory ./testrun/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
index objectClass eq
index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
overlay glue
glue-sub ou=groups,dc=example,dc=com
glue-sub ou=people,dc=example,dc=com
glue-sub "ou=groups,dc=example,dc=com"
glue-sub "ou=people,dc=example,dc=com"
#monitor#database monitor

View File

@ -54,7 +54,11 @@ suffix "ou=Groups,dc=example,dc=com"
directory ./testrun/db.3.a
rootdn "cn=Manager,ou=Groups,dc=example,dc=com"
rootpw secret
index objectClass eq
index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#monitor#database monitor

View File

@ -55,7 +55,11 @@ suffix "ou=People,dc=example,dc=com"
directory ./testrun/db.2.a
rootdn "cn=Manager,ou=People,dc=example,dc=com"
rootpw secret
index objectClass eq
index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#monitor#database monitor

View File

@ -37,12 +37,12 @@ directory ./testrun/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
# Need quality indices on "uid" to check "unchecked" limits...
#ldbm#index objectClass eq
#ldbm#index uid eq
#bdb#index objectClass eq
#bdb#index uid eq
#hdb#index objectClass eq
#hdb#index uid eq
#ldbm#index objectClass eq
#ldbm#index uid eq
# Need extra limits for pagedResults on backends that support it...
#bdb#limits dn.exact="cn=Unlimited User,ou=Paged Results Users,dc=example,dc=com" size=4 size.pr=unlimited

View File

@ -39,7 +39,8 @@ suffix "dc=example,dc=com"
directory ./testrun/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#ldbm#index objectClass eq
#bdb#index objectClass eq
#hdb#index objectClass eq
#ldbm#index objectClass eq
#monitor#database monitor

View File

@ -45,6 +45,7 @@ directory ./testrun/db.2.a
rootdn "cn=Manager,ou=Meta,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
#hdb#index objectClass eq
#ldbm#index objectClass eq
#monitor#database monitor

View File

@ -42,9 +42,11 @@ suffix "o=University of Mich,c=US"
directory ./testrun/db.2.a
rootdn "cn=Manager,o=University of Mich,c=US"
rootpw secret
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#monitor#database monitor

View File

@ -36,7 +36,8 @@ suffix "c=us"
directory ./testrun/db.1.a
rootdn "cn=Manager,c=us"
rootpw secret
#ldbm#index objectClass eq
#bdb#index objectClass eq
#hdb#index objectClass eq
#ldbm#index objectClass eq
#monitor#database monitor

View File

@ -39,8 +39,12 @@ suffix "o=refint"
directory ./testrun/db.1.a
rootdn "cn=Manager,o=refint"
rootpw secret
index objectClass eq
index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
overlay refint
refint_attributes manager secretary member

View File

@ -44,7 +44,9 @@ suffix "dc=example,dc=com"
directory ./testrun/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
index objectClass eq
#bdb#index objectClass eq
#hdb#index objectClass eq
#ldbm#index objectClass eq
database @RELAY@
suffix "o=Example,c=US"

View File

@ -38,10 +38,12 @@ suffix "dc=example,dc=com"
directory ./testrun/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
replogfile ./testrun/slapd.1.replog

View File

@ -49,9 +49,11 @@ rootdn "cn=Replica,dc=example,dc=com"
rootpw secret
updatedn "cn=Replica,dc=example,dc=com"
updateref @URI1@
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#monitor#database monitor

View File

@ -42,6 +42,8 @@ rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub

View File

@ -48,8 +48,9 @@ rootdse ./testdata/rootdse.ldif
database @BACKEND@
suffix "o=OpenLDAP Project,l=Internet"
directory ./testrun/db.1.a
#ldbm#index objectClass eq
#bdb#index objectClass eq
#hdb#index objectClass eq
#ldbm#index objectClass eq
#database @BACKEND@
#suffix "dc=example,dc=com"

View File

@ -39,11 +39,14 @@ suffix "dc=example,dc=com"
directory ./testrun/db.1.a
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#bdb#index entryUUID,entryCSN eq
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#hdb#index entryUUID,entryCSN eq
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
overlay syncprov
#syncprov-sessionlog 100

View File

@ -48,10 +48,12 @@ suffix "dc=example,dc=com"
directory ./testrun/db.4.a
rootdn "cn=Replica,dc=example,dc=com"
rootpw secret
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
# Don't change syncrepl spec yet
syncrepl rid=1

View File

@ -25,11 +25,14 @@ suffix "dc=example,dc=com"
directory ./testrun/db.5.a
rootdn "cn=Replica,dc=example,dc=com"
rootpw secret
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#bdb#index entryUUID,entryCSN eq
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#hdb#index entryUUID,entryCSN eq
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
# Don't change syncrepl spec yet
syncrepl rid=1

View File

@ -37,11 +37,14 @@ suffix "dc=example,dc=com"
directory ./testrun/db.6.a
rootdn "cn=Replica,dc=example,dc=com"
rootpw secret
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#bdb#index entryUUID,entryCSN eq
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#hdb#index entryUUID,entryCSN eq
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
# Don't change syncrepl spec yet
syncrepl rid=1

View File

@ -39,12 +39,15 @@ suffix "dc=example,dc=com"
directory ./testrun/db.2.a
rootdn "cn=Replica,dc=example,dc=com"
rootpw secret
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#ldbm#index entryUUID eq
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#bdb#index entryUUID,entryCSN eq
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#hdb#index entryUUID,entryCSN eq
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#ldbm#index entryUUID eq
# Don't change syncrepl spec yet
syncrepl rid=1
@ -64,6 +67,4 @@ updateref @URI1@
overlay syncprov
syncprov-sessionlog 100
#monitor#database monitor

View File

@ -37,12 +37,15 @@ suffix "dc=example,dc=com"
directory ./testrun/db.3.a
rootdn "cn=Replica,dc=example,dc=com"
rootpw secret
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#ldbm#index entryUUID eq
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#bdb#index entryUUID,entryCSN eq
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#hdb#index entryUUID,entryCSN eq
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#ldbm#index entryUUID eq
# Don't change syncrepl spec yet
syncrepl rid=1

View File

@ -44,8 +44,12 @@ suffix "o=translucent"
directory ./testrun/db.2.a
rootdn "o=translucent"
rootpw secret
index objectClass eq
index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
overlay translucent
translucent_no_glue

View File

@ -40,6 +40,10 @@ suffix "o=translucent"
directory ./testrun/db.1.a
rootdn "o=translucent"
rootpw secret
index objectClass eq
index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub

View File

@ -40,6 +40,8 @@ rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub