]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
slapd-syncrepl-slave-persist.conf : added
authorJong Hyuk Choi <jongchoi@openldap.org>
Tue, 20 May 2003 19:58:11 +0000 (19:58 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Tue, 20 May 2003 19:58:11 +0000 (19:58 +0000)
slapd-sycnrepl-slave-refresh.conf : renamed from slapd-syncrepl-slave.conf

tests/data/slapd-syncrepl-slave-persist.conf [new file with mode: 0644]
tests/data/slapd-syncrepl-slave-refresh.conf [moved from tests/data/slapd-syncrepl-slave.conf with 100% similarity]

diff --git a/tests/data/slapd-syncrepl-slave-persist.conf b/tests/data/slapd-syncrepl-slave-persist.conf
new file mode 100644 (file)
index 0000000..058f89f
--- /dev/null
@@ -0,0 +1,44 @@
+# $OpenLDAP$
+#
+# slave slapd config -- for testing of SYNC replication
+#
+ucdata-path    ./ucdata
+include ./schema/core.schema
+include ./schema/cosine.schema
+include ./schema/inetorgperson.schema
+include ./schema/openldap.schema
+#
+pidfile     ./test-repl/slapd.pid
+argsfile    ./test-repl/slapd.args
+
+modulepath      ../servers/slapd/back-@BACKEND@/
+@MODULELOAD@
+
+#######################################################################
+# ldbm database definitions
+#######################################################################
+
+database       @BACKEND@
+#ldbm#cachesize        0
+suffix         "o=University of Michigan,c=US"
+directory      ./test-repl
+rootdn         "cn=Replica,o=University of Michigan,c=US"
+rootpw         secret
+#ldbm#index            objectClass     eq
+#ldbm#index            cn,sn,uid       pres,eq,sub
+#bdb#index             objectClass     eq
+#bdb#index             cn,sn,uid       pres,eq,sub
+
+# Don't change syncrepl spec yet
+syncrepl id=1
+                master=ldap://localhost:9009
+                updatedn="cn=Replica,o=University of Michigan,c=US"
+                binddn="cn=Manager,o=University of Michigan,c=US"
+                bindmethod=simple
+                credentials=secret
+                searchbase="o=University of Michigan,c=US"
+                filter="objectClass=*"
+                attrs="*"
+                lastmod=req
+                scope=sub
+                type=refreshAndPersist