2003-05-09 14:50:44 +08:00
|
|
|
# slave slapd config -- for testing of SYNC replication
|
2008-02-12 06:47:32 +08:00
|
|
|
# $OpenLDAP$
|
2003-11-29 04:00:23 +08:00
|
|
|
|
2005-09-29 07:38:15 +08:00
|
|
|
include @SCHEMADIR@/core.schema
|
|
|
|
include @SCHEMADIR@/cosine.schema
|
|
|
|
include @SCHEMADIR@/inetorgperson.schema
|
|
|
|
include @SCHEMADIR@/openldap.schema
|
|
|
|
include @SCHEMADIR@/nis.schema
|
2003-05-09 14:50:44 +08:00
|
|
|
#
|
2005-09-29 07:38:15 +08:00
|
|
|
pidfile @TESTDIR@/slapd.5.pid
|
|
|
|
argsfile @TESTDIR@/slapd.5.args
|
2003-05-09 14:50:44 +08:00
|
|
|
|
2003-12-04 19:15:07 +08:00
|
|
|
#mod#modulepath ../servers/slapd/back-@BACKEND@/
|
|
|
|
#mod#moduleload back_@BACKEND@.la
|
2004-07-27 04:26:52 +08:00
|
|
|
#monitormod#modulepath ../servers/slapd/back-monitor/
|
|
|
|
#monitormod#moduleload back_monitor.la
|
2003-05-09 14:50:44 +08:00
|
|
|
|
|
|
|
#######################################################################
|
2003-07-15 08:22:55 +08:00
|
|
|
# consumer database definitions
|
2003-05-09 14:50:44 +08:00
|
|
|
#######################################################################
|
|
|
|
|
|
|
|
database @BACKEND@
|
2004-04-22 06:14:01 +08:00
|
|
|
suffix "dc=example,dc=com"
|
|
|
|
rootdn "cn=Replica,dc=example,dc=com"
|
2003-05-09 14:50:44 +08:00
|
|
|
rootpw secret
|
2009-11-30 02:38:04 +08:00
|
|
|
#~null~#directory @TESTDIR@/db.5.a
|
2003-05-09 14:50:44 +08:00
|
|
|
#bdb#index objectClass eq
|
|
|
|
#bdb#index cn,sn,uid pres,eq,sub
|
2005-01-14 03:48:39 +08:00
|
|
|
#bdb#index entryUUID,entryCSN eq
|
2005-08-07 18:01:53 +08:00
|
|
|
#hdb#index objectClass eq
|
|
|
|
#hdb#index cn,sn,uid pres,eq,sub
|
|
|
|
#hdb#index entryUUID,entryCSN eq
|
2008-08-27 05:48:17 +08:00
|
|
|
#ndb#dbname db_5
|
|
|
|
#ndb#include @DATADIR@/ndb.conf
|
2007-06-15 06:29:29 +08:00
|
|
|
|
2003-05-09 14:50:44 +08:00
|
|
|
# Don't change syncrepl spec yet
|
2005-08-07 18:01:53 +08:00
|
|
|
syncrepl rid=1
|
|
|
|
provider=@URI4@
|
|
|
|
binddn="cn=Replica,dc=example,dc=com"
|
|
|
|
bindmethod=simple
|
|
|
|
credentials=secret
|
|
|
|
searchbase="dc=example,dc=com"
|
|
|
|
filter="(objectClass=*)"
|
|
|
|
attrs="*"
|
|
|
|
schemachecking=off
|
|
|
|
scope=sub
|
|
|
|
type=refreshAndPersist
|
2004-07-27 04:26:52 +08:00
|
|
|
|
2005-08-07 18:01:53 +08:00
|
|
|
#monitor#database monitor
|