From: Hallvard Furuseth Date: Sun, 29 Nov 2009 18:38:04 +0000 (+0000) Subject: ITS#5810 support back-null X-Git-Tag: ACLCHECK_0~47 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e0124c5e1502b548b4670fb788eb8cb881439482;p=openldap ITS#5810 support back-null --- diff --git a/tests/data/regressions/its4184/slapd.conf b/tests/data/regressions/its4184/slapd.conf index e44b929825..030cc9dd7c 100644 --- a/tests/data/regressions/its4184/slapd.conf +++ b/tests/data/regressions/its4184/slapd.conf @@ -38,7 +38,7 @@ database @BACKEND@ suffix "ou=Special,dc=example,dc=com" subordinate rootdn "cn=Manager,dc=example,dc=com" -directory @TESTDIR@/db.2.a +#~null~#directory @TESTDIR@/db.2.a # Indices to maintain #bdb#index default pres,eq @@ -52,7 +52,8 @@ database @BACKEND@ suffix "dc=example,dc=com" rootdn "cn=Manager,dc=example,dc=com" rootpw secret -directory @TESTDIR@/db.1.a +#null#bind on +#~null~#directory @TESTDIR@/db.1.a # Indices to maintain #bdb#index default pres,eq diff --git a/tests/data/slapd-2db.conf b/tests/data/slapd-2db.conf index 83ee32782f..218c69c7dc 100644 --- a/tests/data/slapd-2db.conf +++ b/tests/data/slapd-2db.conf @@ -32,8 +32,8 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "cn=Everyone,ou=Groups,dc=example,dc=com" -directory @TESTDIR@/db.1.a subordinate +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq @@ -43,9 +43,9 @@ subordinate database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.b rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.b #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-aci.conf b/tests/data/slapd-aci.conf index d47548798c..7db7860dd3 100644 --- a/tests/data/slapd-aci.conf +++ b/tests/data/slapd-aci.conf @@ -43,9 +43,9 @@ access to dn="cn=Subschema" database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-acl.conf b/tests/data/slapd-acl.conf index 0204e3da88..131b7a6f16 100644 --- a/tests/data/slapd-acl.conf +++ b/tests/data/slapd-acl.conf @@ -43,9 +43,9 @@ access to * database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-cache-master.conf b/tests/data/slapd-cache-master.conf index db55b5965c..7430581f97 100644 --- a/tests/data/slapd-cache-master.conf +++ b/tests/data/slapd-cache-master.conf @@ -33,9 +33,9 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-chain1.conf b/tests/data/slapd-chain1.conf index b04990910d..ac3237a636 100644 --- a/tests/data/slapd-chain1.conf +++ b/tests/data/slapd-chain1.conf @@ -51,9 +51,10 @@ chain-idassert-bind bindmethod=simple database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#null#bind on +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-chain2.conf b/tests/data/slapd-chain2.conf index 651c195b3b..ccf804e955 100644 --- a/tests/data/slapd-chain2.conf +++ b/tests/data/slapd-chain2.conf @@ -40,9 +40,9 @@ argsfile @TESTDIR@/slapd.2.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.2.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.2.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-component.conf b/tests/data/slapd-component.conf index 63928b3eed..c65b786c1f 100644 --- a/tests/data/slapd-component.conf +++ b/tests/data/slapd-component.conf @@ -38,9 +38,9 @@ moduleload @DATADIR@/comp_libs/compmatch.la database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #hdb#index objectClass eq #ndb#dbname db_1 diff --git a/tests/data/slapd-config-undo.conf b/tests/data/slapd-config-undo.conf index edf0087b05..82b5af068c 100644 --- a/tests/data/slapd-config-undo.conf +++ b/tests/data/slapd-config-undo.conf @@ -7,9 +7,9 @@ include @SCHEMADIR@/core.schema database @BACKEND@ suffix "o=undo" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,o=undo" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-dds.conf b/tests/data/slapd-dds.conf index 0316cb872f..a384a04c6c 100644 --- a/tests/data/slapd-dds.conf +++ b/tests/data/slapd-dds.conf @@ -37,9 +37,9 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #bdb#index entryExpireTimestamp eq diff --git a/tests/data/slapd-deltasync-master.conf b/tests/data/slapd-deltasync-master.conf index 28c197e24f..96c24b7776 100644 --- a/tests/data/slapd-deltasync-master.conf +++ b/tests/data/slapd-deltasync-master.conf @@ -37,8 +37,8 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "cn=log" -directory @TESTDIR@/db.1.b rootdn "cn=Manager,dc=example,dc=com" +#~null~#directory @TESTDIR@/db.1.b #bdb#index objectClass eq #bdb#index entryUUID,entryCSN eq #hdb#index objectClass eq @@ -53,9 +53,9 @@ syncprov-nopresent true rootdn "cn=Manager,dc=example,dc=com" database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #bdb#index entryUUID,entryCSN eq diff --git a/tests/data/slapd-deltasync-slave.conf b/tests/data/slapd-deltasync-slave.conf index 2244e9862e..2eae0ea7f8 100644 --- a/tests/data/slapd-deltasync-slave.conf +++ b/tests/data/slapd-deltasync-slave.conf @@ -44,9 +44,10 @@ argsfile @TESTDIR@/slapd.2.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.2.a rootdn "cn=Replica,dc=example,dc=com" rootpw secret +#null#bind on +#~null~#directory @TESTDIR@/db.2.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-dn.conf b/tests/data/slapd-dn.conf index fa205e1e49..636810d1cf 100644 --- a/tests/data/slapd-dn.conf +++ b/tests/data/slapd-dn.conf @@ -35,9 +35,9 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-dynlist.conf b/tests/data/slapd-dynlist.conf index 23decedbc9..6fdc7749fb 100644 --- a/tests/data/slapd-dynlist.conf +++ b/tests/data/slapd-dynlist.conf @@ -40,9 +40,9 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-emptydn.conf b/tests/data/slapd-emptydn.conf index db93476b33..21605612fb 100644 --- a/tests/data/slapd-emptydn.conf +++ b/tests/data/slapd-emptydn.conf @@ -40,9 +40,9 @@ access to dn.exact="cn=Subschema" database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq @@ -65,9 +65,9 @@ access to dn.subtree="dc=example,dc=com" database @BACKEND@ suffix "" -directory @TESTDIR@/db.2.a rootdn "cn=Manager,c=US" rootpw secret +#~null~#directory @TESTDIR@/db.2.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-glue-syncrepl1.conf b/tests/data/slapd-glue-syncrepl1.conf index cb79368859..882f9ef8cb 100644 --- a/tests/data/slapd-glue-syncrepl1.conf +++ b/tests/data/slapd-glue-syncrepl1.conf @@ -34,8 +34,8 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "ou=Information Technology Division,ou=People,dc=example,dc=com" subordinate -directory @TESTDIR@/db.1.a rootdn "cn=Manager 1,dc=example,dc=com" +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectclass eq #bdb#index uid pres,eq,sub #bdb#index cn,sn pres,eq,sub,subany @@ -52,8 +52,8 @@ overlay syncprov database @BACKEND@ suffix "ou=Groups,dc=example,dc=com" subordinate -directory @TESTDIR@/db.1.b rootdn "cn=Manager 1,dc=example,dc=com" +#~null~#directory @TESTDIR@/db.1.b #bdb#index objectclass eq #bdb#index uid pres,eq,sub #bdb#index cn,sn pres,eq,sub,subany @@ -83,9 +83,9 @@ updateref @URI2@ database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.c rootdn "cn=Manager 1,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.c #bdb#index objectclass eq #bdb#index uid pres,eq,sub #bdb#index cn,sn pres,eq,sub,subany diff --git a/tests/data/slapd-glue-syncrepl2.conf b/tests/data/slapd-glue-syncrepl2.conf index 752824fef3..2096fcc59f 100644 --- a/tests/data/slapd-glue-syncrepl2.conf +++ b/tests/data/slapd-glue-syncrepl2.conf @@ -34,8 +34,8 @@ argsfile @TESTDIR@/slapd.2.args database @BACKEND@ suffix "ou=Information Technology Division,ou=People,dc=example,dc=com" subordinate -directory @TESTDIR@/db.2.a rootdn "cn=Manager 2,dc=example,dc=com" +#~null~#directory @TESTDIR@/db.2.a #bdb#index objectclass eq #bdb#index uid pres,eq,sub #bdb#index cn,sn pres,eq,sub,subany @@ -66,8 +66,8 @@ updateref @URI1@ database @BACKEND@ suffix "ou=Groups,dc=example,dc=com" subordinate -directory @TESTDIR@/db.2.b rootdn "cn=Manager 2,dc=example,dc=com" +#~null~#directory @TESTDIR@/db.2.b #bdb#index objectclass eq #bdb#index uid pres,eq,sub #bdb#index cn,sn pres,eq,sub,subany @@ -85,9 +85,9 @@ overlay syncprov database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.2.c rootdn "cn=Manager 2,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.2.c #bdb#index objectclass eq #bdb#index uid pres,eq,sub #bdb#index cn,sn pres,eq,sub,subany diff --git a/tests/data/slapd-glue.conf b/tests/data/slapd-glue.conf index 1a7cd76ee7..4f3a091daf 100644 --- a/tests/data/slapd-glue.conf +++ b/tests/data/slapd-glue.conf @@ -33,8 +33,8 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "ou=Information Technology Division,ou=People,dc=example,dc=com" subordinate -directory @TESTDIR@/db.1.a rootdn "cn=Manager, dc=example,dc=com" +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectclass eq #bdb#index uid pres,eq,sub #bdb#index cn,sn pres,eq,sub,subany @@ -47,8 +47,8 @@ rootdn "cn=Manager, dc=example,dc=com" database @BACKEND@ suffix "ou=Groups,dc=example,dc=com" subordinate -directory @TESTDIR@/db.1.b rootdn "cn=Manager, dc=example,dc=com" +#~null~#directory @TESTDIR@/db.1.b #bdb#index objectclass eq #bdb#index uid pres,eq,sub #bdb#index cn,sn pres,eq,sub,subany @@ -60,9 +60,9 @@ rootdn "cn=Manager, dc=example,dc=com" database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.c rootdn "cn=Manager, dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.c #bdb#index objectclass eq #bdb#index uid pres,eq,sub #bdb#index cn,sn pres,eq,sub,subany diff --git a/tests/data/slapd-idassert.conf b/tests/data/slapd-idassert.conf index 8ad79cf0b6..b7ba691761 100644 --- a/tests/data/slapd-idassert.conf +++ b/tests/data/slapd-idassert.conf @@ -59,9 +59,9 @@ access to * database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq @@ -77,9 +77,9 @@ access to dn.exact="cn=Proxy,ou=Admin,dc=example,dc=com" database @BACKEND@ suffix "dc=example,dc=it" -directory @TESTDIR@/db.2.a rootdn "cn=Manager,dc=example,dc=it" rootpw secret +#~null~#directory @TESTDIR@/db.2.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-ldapglue.conf b/tests/data/slapd-ldapglue.conf index 9b9356867f..d15f43a992 100644 --- a/tests/data/slapd-ldapglue.conf +++ b/tests/data/slapd-ldapglue.conf @@ -68,9 +68,9 @@ uri "@URI2@" # root database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-ldapgluegroups.conf b/tests/data/slapd-ldapgluegroups.conf index 40abe7a8e2..60dd332d62 100644 --- a/tests/data/slapd-ldapgluegroups.conf +++ b/tests/data/slapd-ldapgluegroups.conf @@ -50,9 +50,9 @@ access to * # people branch database @BACKEND@ suffix "ou=Groups,dc=example,dc=com" -directory @TESTDIR@/db.3.a rootdn "cn=Manager,ou=Groups,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.3.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-ldapgluepeople.conf b/tests/data/slapd-ldapgluepeople.conf index e23eaea440..940ff9d053 100644 --- a/tests/data/slapd-ldapgluepeople.conf +++ b/tests/data/slapd-ldapgluepeople.conf @@ -51,9 +51,10 @@ access to * # people branch database @BACKEND@ suffix "ou=People,dc=example,dc=com" -directory @TESTDIR@/db.2.a rootdn "cn=Manager,ou=People,dc=example,dc=com" rootpw secret +#null#bind on +#~null~#directory @TESTDIR@/db.2.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-limits.conf b/tests/data/slapd-limits.conf index ccdc5535c4..654007e846 100644 --- a/tests/data/slapd-limits.conf +++ b/tests/data/slapd-limits.conf @@ -33,9 +33,10 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a + # Need quality indices on "uid" to check "unchecked" limits... #bdb#index objectClass eq #bdb#index uid eq diff --git a/tests/data/slapd-master.conf b/tests/data/slapd-master.conf index cbb9276ab8..e8dcc62ad9 100644 --- a/tests/data/slapd-master.conf +++ b/tests/data/slapd-master.conf @@ -35,9 +35,9 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #hdb#index objectClass eq #ndb#dbname db_1 diff --git a/tests/data/slapd-meta-target1.conf b/tests/data/slapd-meta-target1.conf index 5e9195437b..ddb9dc440c 100644 --- a/tests/data/slapd-meta-target1.conf +++ b/tests/data/slapd-meta-target1.conf @@ -38,9 +38,10 @@ sockbuf_max_incoming 4194303 database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#null#bind on +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-meta-target2.conf b/tests/data/slapd-meta-target2.conf index 58221b9173..5e76e65912 100644 --- a/tests/data/slapd-meta-target2.conf +++ b/tests/data/slapd-meta-target2.conf @@ -43,9 +43,10 @@ idletimeout 5 database @BACKEND@ suffix "ou=Meta,dc=example,dc=com" -directory @TESTDIR@/db.2.a rootdn "cn=Manager,ou=Meta,dc=example,dc=com" rootpw secret +#null#bind on +#~null~#directory @TESTDIR@/db.2.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-ppolicy.conf b/tests/data/slapd-ppolicy.conf index 35eef20cc4..57008a4538 100644 --- a/tests/data/slapd-ppolicy.conf +++ b/tests/data/slapd-ppolicy.conf @@ -33,9 +33,9 @@ include @SCHEMADIR@/ppolicy.schema database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #hdb#index objectClass eq #ndb#dbname db_1 diff --git a/tests/data/slapd-proxycache.conf b/tests/data/slapd-proxycache.conf index e0da53b26b..62c8b3e428 100644 --- a/tests/data/slapd-proxycache.conf +++ b/tests/data/slapd-proxycache.conf @@ -57,7 +57,7 @@ pcachebind (&(objectclass=person)(uid=)) 1 @BTTR@ sub "ou=Alumni Association,ou #bdb#cachesize 20 #hdb#cachesize 20 -directory @TESTDIR@/db.2.a +#~null~#directory @TESTDIR@/db.2.a #bdb#index objectClass eq #bdb#index cn,sn,uid,mail pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-pw.conf b/tests/data/slapd-pw.conf index 2ca7ee0cd5..e747a6e12e 100644 --- a/tests/data/slapd-pw.conf +++ b/tests/data/slapd-pw.conf @@ -33,9 +33,10 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#null#bind on +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-ref-slave.conf b/tests/data/slapd-ref-slave.conf index 8c0d97c595..11bc9e2ce0 100644 --- a/tests/data/slapd-ref-slave.conf +++ b/tests/data/slapd-ref-slave.conf @@ -38,9 +38,9 @@ database @BACKEND@ #hdb#cachesize 0 suffix "o=University of Mich,c=US" -directory @TESTDIR@/db.2.a rootdn "cn=Manager,o=University of Mich,c=US" rootpw secret +#~null~#directory @TESTDIR@/db.2.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-referrals.conf b/tests/data/slapd-referrals.conf index 7df5ab6e80..3b1d63ec7c 100644 --- a/tests/data/slapd-referrals.conf +++ b/tests/data/slapd-referrals.conf @@ -32,9 +32,9 @@ argsfile @TESTDIR@/slapd.args database @BACKEND@ suffix "c=us" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,c=us" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #hdb#index objectClass eq #ndb#dbname db_1 diff --git a/tests/data/slapd-refint.conf b/tests/data/slapd-refint.conf index c8ecf3bea6..81016406cf 100644 --- a/tests/data/slapd-refint.conf +++ b/tests/data/slapd-refint.conf @@ -36,9 +36,9 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "o=refint" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,o=refint" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-relay.conf b/tests/data/slapd-relay.conf index 11d3f6b620..6bdd522f3c 100644 --- a/tests/data/slapd-relay.conf +++ b/tests/data/slapd-relay.conf @@ -41,9 +41,10 @@ argsfile @TESTDIR@/slapd.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#null#bind on +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #hdb#index objectClass eq #ndb#dbname db_1 diff --git a/tests/data/slapd-repl-slave-remote.conf b/tests/data/slapd-repl-slave-remote.conf index a8738c55fe..cd48800ce0 100644 --- a/tests/data/slapd-repl-slave-remote.conf +++ b/tests/data/slapd-repl-slave-remote.conf @@ -50,13 +50,14 @@ access to * database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.2.a rootdn "cn=Replica,dc=example,dc=com" rootpw secret # HACK: use the RootDN of the monitor database as UpdateDN so ACLs apply # without the need to write the UpdateDN before starting replication updatedn "cn=Monitor" updateref @URI1@ +#null#bind on +#~null~#directory @TESTDIR@/db.2.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #bdb#index entryUUID pres,eq diff --git a/tests/data/slapd-retcode.conf b/tests/data/slapd-retcode.conf index a6953ac881..86e2bab5ce 100644 --- a/tests/data/slapd-retcode.conf +++ b/tests/data/slapd-retcode.conf @@ -37,9 +37,9 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-schema.conf b/tests/data/slapd-schema.conf index f9fc236177..3c07860431 100644 --- a/tests/data/slapd-schema.conf +++ b/tests/data/slapd-schema.conf @@ -46,7 +46,7 @@ rootdse @DATADIR@/rootdse.ldif database @BACKEND@ suffix "o=OpenLDAP Project,l=Internet" -directory @TESTDIR@/db.1.a +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #hdb#index objectClass eq #ndb#dbname db_1_a diff --git a/tests/data/slapd-syncrepl-master.conf b/tests/data/slapd-syncrepl-master.conf index c56895cd45..866b76a6e4 100644 --- a/tests/data/slapd-syncrepl-master.conf +++ b/tests/data/slapd-syncrepl-master.conf @@ -35,9 +35,9 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #bdb#index entryUUID,entryCSN eq diff --git a/tests/data/slapd-syncrepl-multiproxy.conf b/tests/data/slapd-syncrepl-multiproxy.conf index 84e6ef30c8..16a4b8cf2f 100644 --- a/tests/data/slapd-syncrepl-multiproxy.conf +++ b/tests/data/slapd-syncrepl-multiproxy.conf @@ -37,9 +37,9 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #bdb#index entryUUID,entryCSN eq diff --git a/tests/data/slapd-syncrepl-slave-persist1.conf b/tests/data/slapd-syncrepl-slave-persist1.conf index 4a41e55a25..70e072de9d 100644 --- a/tests/data/slapd-syncrepl-slave-persist1.conf +++ b/tests/data/slapd-syncrepl-slave-persist1.conf @@ -44,9 +44,10 @@ argsfile @TESTDIR@/slapd.4.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.4.a rootdn "cn=Replica,dc=example,dc=com" rootpw secret +#null#bind on +#~null~#directory @TESTDIR@/db.4.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #bdb#index entryUUID,entryCSN eq diff --git a/tests/data/slapd-syncrepl-slave-persist2.conf b/tests/data/slapd-syncrepl-slave-persist2.conf index 6f9617362e..6412cd5383 100644 --- a/tests/data/slapd-syncrepl-slave-persist2.conf +++ b/tests/data/slapd-syncrepl-slave-persist2.conf @@ -21,9 +21,9 @@ argsfile @TESTDIR@/slapd.5.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.5.a rootdn "cn=Replica,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.5.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #bdb#index entryUUID,entryCSN eq diff --git a/tests/data/slapd-syncrepl-slave-persist3.conf b/tests/data/slapd-syncrepl-slave-persist3.conf index 753314651e..825c5fe113 100644 --- a/tests/data/slapd-syncrepl-slave-persist3.conf +++ b/tests/data/slapd-syncrepl-slave-persist3.conf @@ -33,9 +33,9 @@ argsfile @TESTDIR@/slapd.6.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.6.a rootdn "cn=Replica,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.6.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #bdb#index entryUUID,entryCSN eq diff --git a/tests/data/slapd-syncrepl-slave-refresh1.conf b/tests/data/slapd-syncrepl-slave-refresh1.conf index 6accc9596d..b78bf23008 100644 --- a/tests/data/slapd-syncrepl-slave-refresh1.conf +++ b/tests/data/slapd-syncrepl-slave-refresh1.conf @@ -35,9 +35,9 @@ argsfile @TESTDIR@/slapd.2.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.2.a rootdn "cn=Replica,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.2.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #bdb#index entryUUID,entryCSN eq diff --git a/tests/data/slapd-syncrepl-slave-refresh2.conf b/tests/data/slapd-syncrepl-slave-refresh2.conf index a7a9c8d2c7..199b7d3aca 100644 --- a/tests/data/slapd-syncrepl-slave-refresh2.conf +++ b/tests/data/slapd-syncrepl-slave-refresh2.conf @@ -33,9 +33,9 @@ argsfile @TESTDIR@/slapd.3.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.3.a rootdn "cn=Replica,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.3.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #bdb#index entryUUID,entryCSN eq diff --git a/tests/data/slapd-translucent-local.conf b/tests/data/slapd-translucent-local.conf index 5d6e8c45f6..cc576b79ac 100644 --- a/tests/data/slapd-translucent-local.conf +++ b/tests/data/slapd-translucent-local.conf @@ -41,9 +41,10 @@ argsfile @TESTDIR@/slapd.2.args database @BACKEND@ suffix "o=translucent" -directory @TESTDIR@/db.2.a rootdn "o=translucent" rootpw secret +#null#bind on +#~null~#directory @TESTDIR@/db.2.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-translucent-remote.conf b/tests/data/slapd-translucent-remote.conf index d497f93f9e..8cfe4869f5 100644 --- a/tests/data/slapd-translucent-remote.conf +++ b/tests/data/slapd-translucent-remote.conf @@ -36,9 +36,10 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "o=translucent" -directory @TESTDIR@/db.1.a rootdn "o=translucent" rootpw secret +#null#bind on +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-unique.conf b/tests/data/slapd-unique.conf index 90e2f10ed2..37c741579f 100644 --- a/tests/data/slapd-unique.conf +++ b/tests/data/slapd-unique.conf @@ -36,9 +36,9 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "o=unique" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,o=unique" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-valregex.conf b/tests/data/slapd-valregex.conf index 72557c1a4b..5059e1d85c 100644 --- a/tests/data/slapd-valregex.conf +++ b/tests/data/slapd-valregex.conf @@ -43,9 +43,9 @@ access to * database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-valsort.conf b/tests/data/slapd-valsort.conf index 4e5c3e29ff..5e2071e794 100644 --- a/tests/data/slapd-valsort.conf +++ b/tests/data/slapd-valsort.conf @@ -34,9 +34,9 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "o=valsort" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,o=valsort" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd-whoami.conf b/tests/data/slapd-whoami.conf index d291547dc5..579134cdd4 100644 --- a/tests/data/slapd-whoami.conf +++ b/tests/data/slapd-whoami.conf @@ -53,9 +53,9 @@ access to * database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq diff --git a/tests/data/slapd.conf b/tests/data/slapd.conf index b2d94c8dd4..dcf52f3b4e 100644 --- a/tests/data/slapd.conf +++ b/tests/data/slapd.conf @@ -38,9 +38,9 @@ sockbuf_max_incoming 4194303 database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #bdb#checkpoint 1024 5 diff --git a/tests/data/slapd2.conf b/tests/data/slapd2.conf index ff7a8a543c..8d9a7a6c3e 100644 --- a/tests/data/slapd2.conf +++ b/tests/data/slapd2.conf @@ -33,9 +33,9 @@ argsfile @TESTDIR@/slapd.2.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.2.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.2.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #hdb#index objectClass eq