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/>.
|
|
|
|
##
|
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.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
|
2004-11-26 06:58:19 +08:00
|
|
|
#syncprovmod#modulepath ../servers/slapd/overlays/
|
|
|
|
#syncprovmod#moduleload syncprov.la
|
2005-01-20 04:40:30 +08:00
|
|
|
#ldapmod#modulepath ../servers/slapd/back-ldap/
|
|
|
|
#ldapmod#moduleload back_ldap.la
|
|
|
|
|
|
|
|
#ldapyes#overlay chain
|
|
|
|
#ldapyes#chain-uri @URI1@
|
|
|
|
#ldapyes#chain-idassert-method "simple"
|
|
|
|
#ldapyes#chain-idassert-authcDN "cn=Manager,dc=example,dc=com"
|
|
|
|
#ldapyes#chain-idassert-passwd secret
|
|
|
|
#ldapyes#chain-idassert-mode self
|
|
|
|
#ldapmod#overlay chain
|
|
|
|
#ldapmod#chain-uri @URI1@
|
|
|
|
#ldapmod#chain-idassert-method "simple"
|
|
|
|
#ldapmod#chain-idassert-authcDN "cn=Manager,dc=example,dc=com"
|
|
|
|
#ldapmod#chain-idassert-passwd secret
|
|
|
|
#ldapmod#chain-idassert-mode self
|
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
|
|
|
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=*)"
|
2005-01-11 08:07:29 +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
|
2005-01-19 22:45:35 +08:00
|
|
|
updateref @URI1@
|
2004-07-27 04:26:52 +08:00
|
|
|
|
2004-11-26 06:58:19 +08:00
|
|
|
overlay syncprov
|
|
|
|
|
2004-07-27 04:26:52 +08:00
|
|
|
#monitor#database monitor
|