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-refresh1.conf,v 1.5.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/>.
|
|
|
|
##
|
2005-01-02 04:49:32 +08:00
|
|
|
## Copyright 1998-2005 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.2.pid
|
|
|
|
argsfile ./testrun/slapd.2.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
|
2004-11-26 06:58:19 +08:00
|
|
|
#syncprovmod#modulepath ../servers/slapd/overlays/
|
|
|
|
#syncprovmod#moduleload syncprov.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.2.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
|
2005-01-14 03:48:39 +08:00
|
|
|
#ldbm#index entryUUID eq
|
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
|
2003-11-10 10:44:25 +08:00
|
|
|
|
2003-05-09 14:50:44 +08:00
|
|
|
# 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
|
|
|
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
|
|
|
|
type=refreshOnly
|
2003-11-06 00:10:43 +08:00
|
|
|
interval=00:00:00:10
|
2004-07-27 04:26:52 +08:00
|
|
|
|
2004-11-26 06:58:19 +08:00
|
|
|
overlay syncprov
|
2005-01-14 12:26:18 +08:00
|
|
|
#syncprov-sessionlog 100
|
2005-01-14 03:48:39 +08:00
|
|
|
|
2004-11-26 06:58:19 +08:00
|
|
|
|
|
|
|
|
2004-07-27 04:26:52 +08:00
|
|
|
#monitor#database monitor
|