]> git.sur5r.net Git - openldap/blobdiff - tests/data/slapd-glue.conf
Set sync intervals to 3 seconds
[openldap] / tests / data / slapd-glue.conf
index 5bf85b1a8e9c27f8b071c40836a6d5cca19c5506..1a7cd76ee7107912a89963600a0c9d6615c30db9 100644 (file)
@@ -1,60 +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
-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>.
+
+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"
-rootpw         secret
-#ldbm#index            objectclass     eq
-#ldbm#index            uid     pres,eq,sub
-#ldbm#index            cn,sn   pres,eq,sub,subany
-#ldbm#dbnosync
-#ldbm#dbnolocking
+directory      @TESTDIR@/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
+#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"
-rootpw         secret
-#ldbm#index            objectclass     eq
-#ldbm#index            uid     pres,eq,sub
-#ldbm#index            cn,sn   pres,eq,sub,subany
-#ldbm#dbnosync
-#ldbm#dbnolocking
+directory      @TESTDIR@/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
+#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"
+directory      @TESTDIR@/db.1.c
+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
 #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