]> git.sur5r.net Git - openldap/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 [new file with mode: 0644]
tests/data/slapd-syncrepl-slave.conf [deleted file]

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
diff --git a/tests/data/slapd-syncrepl-slave-refresh.conf b/tests/data/slapd-syncrepl-slave-refresh.conf
new file mode 100644 (file)
index 0000000..82a4a52
--- /dev/null
@@ -0,0 +1,45 @@
+# $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=refreshOnly
+                interval=10
diff --git a/tests/data/slapd-syncrepl-slave.conf b/tests/data/slapd-syncrepl-slave.conf
deleted file mode 100644 (file)
index 82a4a52..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-# $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=refreshOnly
-                interval=10