]> git.sur5r.net Git - openldap/blobdiff - tests/data/slapd-emptydn.conf
ITS#5810 support back-null
[openldap] / tests / data / slapd-emptydn.conf
index 5db18ba6040a924e5a6f68c677e9d1cf3f496609..21605612fbdb5239a06c0b396322c1edd9d9641c 100644 (file)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 2004 The OpenLDAP Foundation.
+## Copyright 2004-2009 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
 ## 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
+include                @SCHEMADIR@/core.schema
+include                @SCHEMADIR@/cosine.schema
+include                @SCHEMADIR@/inetorgperson.schema
+include                @SCHEMADIR@/openldap.schema
+include                @SCHEMADIR@/nis.schema
 
 #
-pidfile     ./testrun/slapd.1.pid
-argsfile    ./testrun/slapd.1.args
+pidfile                @TESTDIR@/slapd.1.pid
+argsfile       @TESTDIR@/slapd.1.args
 
 access         to dn.exact=""
                by * read
@@ -40,11 +40,15 @@ access              to dn.exact="cn=Subschema"
 
 database       @BACKEND@
 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
+#~null~#directory      @TESTDIR@/db.1.a
+#bdb#index             objectClass     eq
+#bdb#index             cn,sn,uid       pres,eq,sub
+#hdb#index             objectClass     eq
+#hdb#index             cn,sn,uid       pres,eq,sub
+#ndb#dbname db_1
+#ndb#include @DATADIR@/ndb.conf
 
 access         to attrs=userPassword
                by dn.exact="cn=Manager,c=US" write
@@ -55,13 +59,21 @@ access              to dn.subtree="dc=example,dc=com"
                by dn.exact="cn=Manager,c=US" write
                by * read
 
+#monitor#database      monitor
+#monitor#access to dn.subtree="cn=Monitor"
+#monitor#      by * read
+
 database       @BACKEND@
 suffix         ""
-directory      ./testrun/db.2.a
 rootdn         "cn=Manager,c=US"
 rootpw         secret
-index          objectClass     eq
-index          cn,sn,uid       pres,eq,sub
+#~null~#directory      @TESTDIR@/db.2.a
+#bdb#index             objectClass     eq
+#bdb#index             cn,sn,uid       pres,eq,sub
+#hdb#index             objectClass     eq
+#hdb#index             cn,sn,uid       pres,eq,sub
+#ndb#dbname db_2
+#ndb#include @DATADIR@/ndb.conf
 
 access         to attrs=userPassword
                by self =wx
@@ -69,5 +81,3 @@ access                to attrs=userPassword
 
 access         to dn.subtree=""
                by * read
-
-#monitor#database monitor