]> git.sur5r.net Git - openldap/blobdiff - tests/data/slapd-chain2.conf
allow a friendly behavior of write stress testers...
[openldap] / tests / data / slapd-chain2.conf
index 99e67fec89ca609e098bba5b4bc25bf6f06b0f56..4edbf7006e442f271d7ac9ff09ca22cc5b5295a4 100644 (file)
 ## top-level directory of the distribution or, alternatively, at
 ## <http://www.OpenLDAP.org/license.html>.
 
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile     ./testrun/slapd.2.pid
-argsfile    ./testrun/slapd.2.args
+include                @SCHEMADIR@/core.schema
+include                @SCHEMADIR@/cosine.schema
+include                @SCHEMADIR@/inetorgperson.schema
+include                @SCHEMADIR@/openldap.schema
+include                @SCHEMADIR@/nis.schema
+pidfile                @TESTDIR@/slapd.2.pid
+argsfile       @TESTDIR@/slapd.2.args
 
 #mod#modulepath        ../servers/slapd/back-@BACKEND@/
 #mod#moduleload        back_@BACKEND@.la
@@ -41,16 +41,22 @@ argsfile    ./testrun/slapd.2.args
 database       @BACKEND@
 #ldbm#cachesize        0
 suffix         "dc=example,dc=com"
-directory      ./testrun/db.2.a
+directory      @TESTDIR@/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;
 # the chain-URI is configured, so only that URI is chained
 overlay                chain
 chain-uri      @URI1@
+chain-acl-authcDN      "cn=Manager,dc=example,dc=com"
+chain-acl-passwd       secret
 
-#monitor#database monitor
+#monitor#database      monitor