]> git.sur5r.net Git - openldap/blob - tests/data/slapd-syncrepl-slave-persist1.conf
ITS#3671 must release conn->c_mutex to allow blocked writers to exit
[openldap] / tests / data / slapd-syncrepl-slave-persist1.conf
1 # slave slapd config -- for testing of SYNC replication
2 # $OpenLDAP: pkg/ldap/tests/data/slapd-syncrepl-slave-persist1.conf,v 1.4.2.4 
3  2003/12/15 22:05:29 kurt Exp $
4 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ##
6 ## Copyright 1998-2005 The OpenLDAP Foundation.
7 ## All rights reserved.
8 ##
9 ## Redistribution and use in source and binary forms, with or without
10 ## modification, are permitted only as authorized by the OpenLDAP
11 ## Public License.
12 ##
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>.
16
17 include ./schema/core.schema
18 include ./schema/cosine.schema
19 include ./schema/inetorgperson.schema
20 include ./schema/openldap.schema
21 include ./schema/nis.schema
22 #
23 pidfile     ./testrun/slapd.4.pid
24 argsfile    ./testrun/slapd.4.args
25
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 #syncprovmod#modulepath ../servers/slapd/overlays/
31 #syncprovmod#moduleload syncprov.la
32 #ldapmod#modulepath ../servers/slapd/back-ldap/
33 #ldapmod#moduleload back_ldap.la
34
35 #ldapyes#overlay                chain
36 #ldapyes#chain-uri              @URI1@
37 #ldapyes#chain-idassert-method  "simple"
38 #ldapyes#chain-idassert-authcDN "cn=Manager,dc=example,dc=com"
39 #ldapyes#chain-idassert-passwd  secret
40 #ldapyes#chain-idassert-mode    self
41 #ldapmod#overlay                chain
42 #ldapmod#chain-uri              @URI1@
43 #ldapmod#chain-idassert-method  "simple"
44 #ldapmod#chain-idassert-authcDN "cn=Manager,dc=example,dc=com"
45 #ldapmod#chain-idassert-passwd  secret
46 #ldapmod#chain-idassert-mode    self
47
48 #######################################################################
49 # consumer database definitions
50 #######################################################################
51
52 database        @BACKEND@
53 suffix          "dc=example,dc=com"
54 directory       ./testrun/db.4.a
55 rootdn          "cn=Replica,dc=example,dc=com"
56 rootpw          secret
57 #ldbm#index             objectClass     eq
58 #ldbm#index             cn,sn,uid       pres,eq,sub
59 #bdb#index              objectClass     eq
60 #bdb#index              cn,sn,uid       pres,eq,sub
61
62 # Don't change syncrepl spec yet
63 syncrepl rid=1
64                  provider=@URI1@
65                  binddn="cn=Manager,dc=example,dc=com"
66                  bindmethod=simple
67                  credentials=secret
68                  searchbase="dc=example,dc=com"
69                  filter="(objectClass=*)"
70                  attrs="*,+"
71                  schemachecking=off
72                  scope=sub
73                  type=refreshAndPersist
74 updateref       @URI1@
75
76 overlay syncprov
77
78 #monitor#database monitor