1998-08-09 08:43:13 +08:00
|
|
|
# master slapd config -- for testing of replication
|
2004-04-22 06:14:01 +08:00
|
|
|
# $OpenLDAP: pkg/ldap/tests/data/slapd-repl-master.conf,v 1.27.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>.
|
|
|
|
|
2000-05-30 00:39:16 +08:00
|
|
|
include ./schema/core.schema
|
|
|
|
include ./schema/cosine.schema
|
|
|
|
include ./schema/inetorgperson.schema
|
2001-12-20 07:41:31 +08:00
|
|
|
include ./schema/openldap.schema
|
2003-08-08 00:42:40 +08:00
|
|
|
include ./schema/nis.schema
|
2000-05-30 00:39:16 +08:00
|
|
|
#
|
2003-10-22 13:14:08 +08:00
|
|
|
pidfile ./testrun/slapd.1.pid
|
|
|
|
argsfile ./testrun/slapd.1.args
|
1998-08-09 08:43:13 +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-04-30 11:04:18 +08:00
|
|
|
|
1998-08-09 08:43:13 +08:00
|
|
|
#######################################################################
|
2004-10-05 06:02:31 +08:00
|
|
|
# database definitions
|
1998-08-09 08:43:13 +08:00
|
|
|
#######################################################################
|
|
|
|
|
2000-10-02 06:46:52 +08:00
|
|
|
database @BACKEND@
|
2002-01-14 11:42:24 +08:00
|
|
|
#ldbm#cachesize 0
|
2004-04-22 06:14:01 +08:00
|
|
|
suffix "dc=example,dc=com"
|
2003-10-22 13:14:08 +08:00
|
|
|
directory ./testrun/db.1.a
|
2004-04-22 06:14:01 +08:00
|
|
|
rootdn "cn=Manager,dc=example,dc=com"
|
1998-08-09 08:43:13 +08:00
|
|
|
rootpw secret
|
2001-10-04 05:27:37 +08:00
|
|
|
#bdb#index objectClass eq
|
|
|
|
#bdb#index cn,sn,uid pres,eq,sub
|
2005-08-07 18:01:53 +08:00
|
|
|
#hdb#index objectClass eq
|
|
|
|
#hdb#index cn,sn,uid pres,eq,sub
|
|
|
|
#ldbm#index objectClass eq
|
|
|
|
#ldbm#index cn,sn,uid pres,eq,sub
|
1998-08-09 08:43:13 +08:00
|
|
|
|
2003-10-22 13:14:08 +08:00
|
|
|
replogfile ./testrun/slapd.1.replog
|
1998-08-09 08:43:13 +08:00
|
|
|
|
2004-07-26 21:45:28 +08:00
|
|
|
replica host=localhost:@PORT2@
|
2004-04-22 06:14:01 +08:00
|
|
|
binddn="cn=Replica,dc=example,dc=com"
|
1998-08-09 08:43:13 +08:00
|
|
|
bindmethod=simple
|
|
|
|
credentials=secret
|
2004-07-27 04:26:52 +08:00
|
|
|
|
2005-08-07 18:01:53 +08:00
|
|
|
#monitor#database monitor
|