From: Jong Hyuk Choi Date: Tue, 20 May 2003 19:58:11 +0000 (+0000) Subject: slapd-syncrepl-slave-persist.conf : added X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~98 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=89270499f85be4e3c0c5add0644d640ec2f9c3b0;p=openldap slapd-syncrepl-slave-persist.conf : added slapd-sycnrepl-slave-refresh.conf : renamed from slapd-syncrepl-slave.conf --- diff --git a/tests/data/slapd-syncrepl-slave-persist.conf b/tests/data/slapd-syncrepl-slave-persist.conf new file mode 100644 index 0000000000..058f89fa64 --- /dev/null +++ b/tests/data/slapd-syncrepl-slave-persist.conf @@ -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 index 0000000000..82a4a52e99 --- /dev/null +++ b/tests/data/slapd-syncrepl-slave-refresh.conf @@ -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 index 82a4a52e99..0000000000 --- a/tests/data/slapd-syncrepl-slave.conf +++ /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