1 # slave slapd config -- for testing of replication
2 # $OpenLDAP: pkg/ldap/tests/data/slapd-repl-slave.conf,v 1.31.2.4 2003/12/15 2
4 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
6 ## Copyright 1998-2007 The OpenLDAP Foundation.
7 ## All rights reserved.
9 ## Redistribution and use in source and binary forms, with or without
10 ## modification, are permitted only as authorized by the OpenLDAP
13 ## A copy of this license is available in the file LICENSE in the
14 ## top-level directory of the distribution or, alternatively, at
15 ## <http://www.OpenLDAP.org/license.html>.
17 include @SCHEMADIR@/core.schema
18 include @SCHEMADIR@/cosine.schema
19 include @SCHEMADIR@/inetorgperson.schema
20 include @SCHEMADIR@/openldap.schema
21 include @SCHEMADIR@/nis.schema
23 pidfile @TESTDIR@/slapd.2.pid
24 argsfile @TESTDIR@/slapd.2.args
26 #mod#modulepath ../servers/slapd/back-@BACKEND@/
27 #mod#moduleload back_@BACKEND@.la
28 #monitormod#modulepath ../servers/slapd/back-monitor/
29 #monitormod#moduleload back_monitor.la
30 #ldapmod#modulepath ../servers/slapd/back-ldap/
31 #ldapmod#moduleload back_ldap.la
33 #ldapyes#overlay chain
34 #ldapyes#chain-uri @URI1@
35 #ldapyes#chain-idassert-bind bindmethod=simple binddn="cn=Manager,dc=example,dc=com" credentials=secret mode=self
36 #ldapmod#overlay chain
37 #ldapmod#chain-uri @URI1@
38 #ldapmod#chain-idassert-bind bindmethod=simple binddn="cn=Manager,dc=example,dc=com" credentials=secret mode=self
40 #######################################################################
41 # database definitions
42 #######################################################################
46 suffix "dc=example,dc=com"
47 directory @TESTDIR@/db.2.a
48 rootdn "cn=Replica,dc=example,dc=com"
50 updatedn "cn=Replica,dc=example,dc=com"
52 #bdb#index objectClass eq
53 #bdb#index cn,sn,uid pres,eq,sub
54 #hdb#index objectClass eq
55 #hdb#index cn,sn,uid pres,eq,sub
56 #ldbm#index objectClass eq
57 #ldbm#index cn,sn,uid pres,eq,sub
59 #monitor#database monitor