Commit f5beb2e0 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

add indices for all backends that support them; clenup

parent e355c9ef
......@@ -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
......@@ -103,4 +105,4 @@ access to dn.subtree="ou=Add & Delete,dc=example,dc=com"
# fall into global ACLs
#monitor#database monitor
#monitor#database monitor
......@@ -44,4 +44,4 @@ rootpw secret
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#monitor#database monitor
#monitor#database monitor
......@@ -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
#monitor#database monitor
......@@ -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;
......@@ -55,4 +59,4 @@ chain-uri @URI1@
chain-acl-authcDN "cn=Manager,dc=example,dc=com"
chain-acl-passwd secret
#monitor#database monitor
#monitor#database monitor
......@@ -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
#monitor#database monitor
......@@ -44,4 +44,4 @@ rootpw secret
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#monitor#database monitor
#monitor#database monitor
......@@ -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"
......
......@@ -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"
......
......@@ -36,43 +36,52 @@ 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"
glue-sub "ou=Information Technology Division,ou=People,dc=example,dc=com"
glue-sub "ou=Groups,dc=example,dc=com"
#monitor#database monitor
#monitor#database monitor
......@@ -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"
......@@ -119,4 +127,4 @@ access to *
by dn.exact="cn=Sandbox,ou=Admin,dc=example,dc=com" search
by * none
#monitor#database monitor
#monitor#database monitor
......@@ -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
overlay glue
glue-sub ou=groups,dc=example,dc=com
glue-sub ou=people,dc=example,dc=com
#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"
#monitor#database monitor
#monitor#database monitor
......@@ -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
#monitor#database monitor
......@@ -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
#monitor#database monitor
......@@ -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
......@@ -67,4 +67,4 @@ limits dn.subtree="ou=Admin,dc=example,dc=com" size.soft=3
limits users size.soft=2
limits anonymous size.soft=1
#monitor#database monitor
#monitor#database monitor
......@@ -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
#monitor#database monitor
......@@ -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
......@@ -53,4 +53,4 @@ access to *
by self write
by * read
#monitor#database monitor
#monitor#database monitor
......@@ -53,7 +53,7 @@ proxytemplate (mail=) 0 @CACHETTL@
#bdb#cachesize 20
#hdb#cachesize 20
#ldbm#cachesize 20
directory ./testrun/db.2.a
directory ./testrun/db.2.a
#bdb#index objectClass eq
#bdb#index cn,sn,uid,mail pres,eq,sub
#hdb#index objectClass eq
......@@ -61,4 +61,4 @@ directory ./testrun/db.2.a
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid,mail pres,eq,sub
#monitor#database monitor
#monitor#database monitor
......@@ -57,4 +57,4 @@ access to *
by self write
by * read
#monitor#database monitor
#monitor#database monitor
......@@ -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
#monitor#database monitor
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment