1# slave slapd config -- for testing of SYNC replication 2# $OpenLDAP$ 3 4include @SCHEMADIR@/core.schema 5include @SCHEMADIR@/cosine.schema 6include @SCHEMADIR@/inetorgperson.schema 7include @SCHEMADIR@/openldap.schema 8include @SCHEMADIR@/nis.schema 9# 10pidfile @TESTDIR@/slapd.5.pid 11argsfile @TESTDIR@/slapd.5.args 12 13#mod#modulepath ../servers/slapd/back-@BACKEND@/ 14#mod#moduleload back_@BACKEND@.la 15#monitormod#modulepath ../servers/slapd/back-monitor/ 16#monitormod#moduleload back_monitor.la 17 18####################################################################### 19# consumer database definitions 20####################################################################### 21 22database @BACKEND@ 23suffix "dc=example,dc=com" 24rootdn "cn=Replica,dc=example,dc=com" 25rootpw secret 26#~null~#directory @TESTDIR@/db.5.a 27#indexdb#index objectClass eq 28#indexdb#index cn,sn,uid pres,eq,sub 29#indexdb#index entryUUID,entryCSN eq 30#ndb#dbname db_5 31#ndb#include @DATADIR@/ndb.conf 32 33# Don't change syncrepl spec yet 34syncrepl rid=1 35 provider=@URI4@ 36 binddn="cn=Replica,dc=example,dc=com" 37 bindmethod=simple 38 credentials=secret 39 searchbase="dc=example,dc=com" 40 filter="(objectClass=*)" 41 attrs="*" 42 schemachecking=off 43 scope=sub 44 type=refreshAndPersist 45 46#monitor#database monitor 47