openldap/tests/data/slapd-repl-slave.conf

60 lines
2.0 KiB
Plaintext
Raw Normal View History

# slave slapd config -- for testing of replication
# $OpenLDAP: pkg/ldap/tests/data/slapd-repl-slave.conf,v 1.31.2.4 2003/12/15 2
2: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>.
include ./schema/core.schema
include ./schema/cosine.schema
include ./schema/inetorgperson.schema
include ./schema/openldap.schema
include ./schema/nis.schema
#
pidfile ./testrun/slapd.2.pid
argsfile ./testrun/slapd.2.args
1998-08-09 08:43:13 +08:00
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
#monitormod#modulepath ../servers/slapd/back-monitor/
#monitormod#moduleload back_monitor.la
#ldapmod#modulepath ../servers/slapd/back-ldap/
#ldapmod#moduleload back_ldap.la
#ldapyes#overlay chain
#ldapyes#chain-uri @URI1@
#ldapyes#chain-idassert-bind bindmethod=simple binddn="cn=Manager,dc=example,dc=com" credentials=secret mode=self
#ldapmod#overlay chain
#ldapmod#chain-uri @URI1@
#ldapmod#chain-idassert-bind bindmethod=simple binddn="cn=Manager,dc=example,dc=com" credentials=secret mode=self
1998-08-09 08:43:13 +08:00
#######################################################################
# database definitions
1998-08-09 08:43:13 +08:00
#######################################################################
database @BACKEND@
2002-01-14 11:42:24 +08:00
#ldbm#cachesize 0
suffix "dc=example,dc=com"
directory ./testrun/db.2.a
rootdn "cn=Replica,dc=example,dc=com"
1998-08-09 08:43:13 +08:00
rootpw secret
updatedn "cn=Replica,dc=example,dc=com"
updateref @URI1@
2001-10-04 05:27:37 +08:00
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#hdb#index objectClass eq
#hdb#index cn,sn,uid pres,eq,sub
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#monitor#database monitor