]> git.sur5r.net Git - openldap/blobdiff - tests/data/slapd-syncrepl-master.conf
happy belated New Year
[openldap] / tests / data / slapd-syncrepl-master.conf
index bb51cdd1dd1181edf1853184b0086d829145239c..69c39df50e140155a3588f169de26d9021d128cb 100644 (file)
@@ -1,30 +1,53 @@
-# $OpenLDAP$
-#
 # master slapd config -- for testing of SYNC replication
+# $OpenLDAP$
+## This work is part of OpenLDAP Software <http://www.openldap.org/>.
+##
+## Copyright 1998-2010 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
 #
-ucdata-path    ./ucdata
-include ./schema/core.schema
-include ./schema/cosine.schema
-include ./schema/inetorgperson.schema
-include ./schema/openldap.schema
-include ./schema/nis.schema
-#
-pidfile     ./testrun/slapd.1.pid
-argsfile    ./testrun/slapd.1.args
+pidfile                @TESTDIR@/slapd.1.pid
+argsfile       @TESTDIR@/slapd.1.args
 
-modulepath      ../servers/slapd/back-@BACKEND@/
-@MODULELOAD@
+#mod#modulepath        ../servers/slapd/back-@BACKEND@/
+#mod#moduleload        back_@BACKEND@.la
+#monitormod#modulepath ../servers/slapd/back-monitor/
+#monitormod#moduleload back_monitor.la
+#syncprovmod#modulepath ../servers/slapd/overlays/
+#syncprovmod#moduleload syncprov.la
 
 #######################################################################
 # master database definitions
 #######################################################################
 
 database       @BACKEND@
-suffix         "o=University of Michigan,c=US"
-directory      ./testrun/db.1.a
-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            cn,sn,uid       pres,eq,sub
+#~null~#directory      @TESTDIR@/db.1.a
 #bdb#index             objectClass     eq
 #bdb#index             cn,sn,uid       pres,eq,sub
+#bdb#index             entryUUID,entryCSN      eq
+#hdb#index             objectClass     eq
+#hdb#index             cn,sn,uid       pres,eq,sub
+#hdb#index             entryUUID,entryCSN      eq
+#ndb#dbname db_1
+#ndb#include @DATADIR@/ndb.conf
+
+overlay        syncprov
+#syncprov-sessionlog 100
+
+#monitor#database      monitor