]> git.sur5r.net Git - openldap/blobdiff - tests/data/slapd-syncrepl-slave-refresh1.conf
ITS#7344 Add initial testsuite for slapo-constraint
[openldap] / tests / data / slapd-syncrepl-slave-refresh1.conf
index ec94559d10554b9f35a3e3ec0c1727ec0b7260f3..78c74794f363731f47bb3a7502549bd792e12e75 100644 (file)
@@ -1,9 +1,8 @@
 # slave slapd config -- for testing of SYNC replication
-# $OpenLDAP: pkg/ldap/tests/data/slapd-syncrepl-slave-refresh1.conf,v 1.5.2.4 
- 2003/12/15 22:05:29 kurt Exp $
+# $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2006 The OpenLDAP Foundation.
+## Copyright 1998-2012 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -36,18 +35,15 @@ argsfile    @TESTDIR@/slapd.2.args
 
 database       @BACKEND@
 suffix         "dc=example,dc=com"
-directory      @TESTDIR@/db.2.a
 rootdn         "cn=Replica,dc=example,dc=com"
 rootpw         secret
-#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
-#ldbm#index            objectClass     eq
-#ldbm#index            cn,sn,uid       pres,eq,sub
-#ldbm#index            entryUUID       eq
+#null#bind             on
+#~null~#directory      @TESTDIR@/db.2.a
+#indexdb#index         objectClass     eq
+#indexdb#index         cn,sn,uid       pres,eq,sub
+#indexdb#index         entryUUID,entryCSN      eq
+#ndb#dbname db_2
+#ndb#include @DATADIR@/ndb.conf
 
 # Don't change syncrepl spec yet
 syncrepl       rid=1
@@ -57,11 +53,10 @@ syncrepl    rid=1
                credentials=secret
                searchbase="dc=example,dc=com"
                filter="(objectClass=*)"
-               attrs="*"
                schemachecking=off
                scope=sub
                type=refreshOnly
-               interval=00:00:00:10
+               interval=00:00:00:03
 updateref      @URI1@
 
 overlay                syncprov