2003-05-09 14:50:44 +08:00
|
|
|
# slave slapd config -- for testing of SYNC replication
|
2004-04-22 06:14:01 +08:00
|
|
|
# $OpenLDAP: pkg/ldap/tests/data/slapd-syncrepl-slave-persist1.conf,v 1.4.2.4
|
|
|
|
2003/12/15 22:05:29 kurt Exp $
|
2003-11-29 04:00:23 +08:00
|
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
##
|
2004-04-22 06:14:01 +08:00
|
|
|
## Copyright 1998-2003 The OpenLDAP Foundation.
|
2003-11-29 04:00:23 +08:00
|
|
|
## All rights reserved.
|
|
|
|
##
|
|
|
|
## Redistribution and use in source and binary forms, with or without
|
|
|
|
## modification, are permitted only as authorized by the OpenLDAP
|
|
|
|
## Public License.
|
|
|
|
##
|
|
|
|
## A copy of this license is available in the file LICENSE in the
|
|
|
|
## top-level directory of the distribution or, alternatively, at
|
|
|
|
## <http://www.OpenLDAP.org/license.html>.
|
|
|
|
|
2003-05-09 14:50:44 +08:00
|
|
|
include ./schema/core.schema
|
|
|
|
include ./schema/cosine.schema
|
|
|
|
include ./schema/inetorgperson.schema
|
|
|
|
include ./schema/openldap.schema
|
2003-08-08 00:42:40 +08:00
|
|
|
include ./schema/nis.schema
|
2003-05-09 14:50:44 +08:00
|
|
|
#
|
2003-10-22 13:14:08 +08:00
|
|
|
pidfile ./testrun/slapd.4.pid
|
|
|
|
argsfile ./testrun/slapd.4.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"
|
2003-10-22 13:14:08 +08:00
|
|
|
directory ./testrun/db.4.a
|
2004-04-22 06:14:01 +08:00
|
|
|
rootdn "cn=Replica,dc=example,dc=com"
|
2003-05-09 14:50:44 +08:00
|
|
|
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
|
2003-11-27 06:45:21 +08:00
|
|
|
syncrepl rid=1
|
2004-07-26 21:45:28 +08:00
|
|
|
provider=@URI1@
|
2004-04-22 06:14:01 +08:00
|
|
|
updatedn="cn=Replica,dc=example,dc=com"
|
|
|
|
binddn="cn=Manager,dc=example,dc=com"
|
2003-05-09 14:50:44 +08:00
|
|
|
bindmethod=simple
|
|
|
|
credentials=secret
|
2004-04-22 06:14:01 +08:00
|
|
|
searchbase="dc=example,dc=com"
|
2003-06-11 02:32:20 +08:00
|
|
|
filter="(objectClass=*)"
|
2003-05-09 14:50:44 +08:00
|
|
|
attrs="*"
|
2003-09-04 05:42:52 +08:00
|
|
|
schemachecking=off
|
2003-05-09 14:50:44 +08:00
|
|
|
scope=sub
|
2003-05-21 03:58:11 +08:00
|
|
|
type=refreshAndPersist
|
2004-07-27 04:26:52 +08:00
|
|
|
|
|
|
|
#monitor#database monitor
|