]> git.sur5r.net Git - openldap/blobdiff - tests/data/slapd-glue.conf
ITS#5810 support back-null
[openldap] / tests / data / slapd-glue.conf
index e3979d08337c890fd9d87b8c4ffac413c1fd575e..4f3a091daf1d688f186a5f05c4e77a732d7ca9e5 100644 (file)
@@ -1,62 +1,75 @@
+# stand-alone slapd config -- for backglue testing (with indexing)
 # $OpenLDAP$
-#
-# stand-alone slapd config -- for backglue testing
-#      with indexing
-#
-ucdata-path    ./ucdata
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-pidfile     ./test-db/slapd.pid
-argsfile    ./test-db/slapd.args
+## This work is part of OpenLDAP Software <http://www.openldap.org/>.
+##
+## Copyright 1998-2009 The OpenLDAP Foundation.
+## All rights reserved.
+##
+## Redistribution and use in source and binary forms, with or without
+## modification, are permitted only as authorized by the OpenLDAP
+## Public License.
+##
+## A copy of this license is available in the file LICENSE in the
+## top-level directory of the distribution or, alternatively, at
+## <http://www.OpenLDAP.org/license.html>.
 
-modulepath      ../servers/slapd/back-@BACKEND@/
-@MODULELOAD@
+include                @SCHEMADIR@/core.schema
+include                @SCHEMADIR@/cosine.schema
+include                @SCHEMADIR@/inetorgperson.schema
+include                @SCHEMADIR@/openldap.schema
+include                @SCHEMADIR@/nis.schema
+pidfile                @TESTDIR@/slapd.1.pid
+argsfile       @TESTDIR@/slapd.1.args
+
+#mod#modulepath        ../servers/slapd/back-@BACKEND@/
+#mod#moduleload        back_@BACKEND@.la
+#monitormod#modulepath ../servers/slapd/back-monitor/
+#monitormod#moduleload back_monitor.la
 
 #######################################################################
-# ldbm database definitions
+# database definitions
 #######################################################################
 
 database       @BACKEND@
-suffix         "ou=Information Technology Division,ou=People,o=University of Michigan, c=US"
+suffix         "ou=Information Technology Division,ou=People,dc=example,dc=com"
 subordinate
-directory      ./test-db/C_db1
-rootdn         "cn=Manager, o=University of Michigan, c=US"
-#ldbm#index            objectclass     eq
-#ldbm#index            uid     pres,eq,sub
-#ldbm#index            cn,sn   pres,eq,sub,subany
-#ldbm#dbnosync
-#ldbm#dbnolocking
+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
+#hdb#index             objectclass     eq
+#hdb#index             uid     pres,eq,sub
+#hdb#index             cn,sn   pres,eq,sub,subany
+#ndb#dbname db_1
+#ndb#include @DATADIR@/ndb.conf
 
 database       @BACKEND@
-suffix         "ou=Groups,o=University of Michigan, c=US"
+suffix         "ou=Groups,dc=example,dc=com"
 subordinate
-directory      ./test-db/C_db2
-rootdn         "cn=Manager, o=University of Michigan, c=US"
-#ldbm#index            objectclass     eq
-#ldbm#index            uid     pres,eq,sub
-#ldbm#index            cn,sn   pres,eq,sub,subany
-#ldbm#dbnosync
-#ldbm#dbnolocking
+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
+#hdb#index             objectclass     eq
+#hdb#index             uid     pres,eq,sub
+#hdb#index             cn,sn   pres,eq,sub,subany
+#ndb#dbname db_2
+#ndb#include @DATADIR@/ndb.conf
 
 database       @BACKEND@
-suffix         "o=University of Michigan, c=US"
-directory      ./test-db/C_db3
-rootdn         "cn=Manager, o=University of Michigan, c=US"
+suffix         "dc=example,dc=com"
+rootdn         "cn=Manager, dc=example,dc=com"
 rootpw         secret
-#ldbm#index            objectclass     eq
-#ldbm#index            uid     pres,eq,sub
-#ldbm#index            cn,sn   pres,eq,sub,subany
-#ldbm#dbnosync
-#ldbm#dbnolocking
+#~null~#directory      @TESTDIR@/db.1.c
 #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
+#ndb#dbname db_3
+#ndb#include @DATADIR@/ndb.conf
+
+#monitor#database      monitor