]> git.sur5r.net Git - openldap/blob - tests/data/slapd-syncrepl-multiproxy.conf
Sync with HEAD for OL 2.4.5
[openldap] / tests / data / slapd-syncrepl-multiproxy.conf
1 # slave slapd config -- for testing of SYNC replication with intermediate proxy
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2007 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
11 ##
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
15
16 include         @SCHEMADIR@/core.schema
17 include         @SCHEMADIR@/cosine.schema
18 include         @SCHEMADIR@/inetorgperson.schema
19 include         @SCHEMADIR@/openldap.schema
20 include         @SCHEMADIR@/nis.schema
21 #
22 pidfile         @TESTDIR@/slapd.1.pid
23 argsfile        @TESTDIR@/slapd.1.args
24
25 #mod#modulepath ../servers/slapd/back-@BACKEND@/
26 #mod#moduleload back_@BACKEND@.la
27 #monitormod#modulepath  ../servers/slapd/back-monitor/
28 #monitormod#moduleload  back_monitor.la
29 #syncprovmod#modulepath ../servers/slapd/overlays/
30 #syncprovmod#moduleload syncprov.la
31 #ldapmod#modulepath ../servers/slapd/back-ldap/
32 #ldapmod#moduleload back_ldap.la
33
34 #######################################################################
35 # master database definitions
36 #######################################################################
37
38 database        @BACKEND@
39 suffix          "dc=example,dc=com"
40 directory       @TESTDIR@/db.1.a
41 rootdn          "cn=Manager,dc=example,dc=com"
42 rootpw          secret
43 #bdb#index              objectClass     eq
44 #bdb#index              cn,sn,uid       pres,eq,sub
45 #bdb#index              entryUUID,entryCSN      eq
46 #hdb#index              objectClass     eq
47 #hdb#index              cn,sn,uid       pres,eq,sub
48 #hdb#index              entryUUID,entryCSN      eq
49
50 overlay syncprov
51 syncprov-sessionlog 100
52
53 #######################################################################
54 # consumer proxy database definitions
55 #######################################################################
56
57 database        ldap
58 hidden          on
59 suffix          "dc=example,dc=com"
60 rootdn          "cn=Whoever"
61 uri             @URI2@
62
63 acl-bind        bindmethod=simple
64                 binddn="cn=Monitor"
65                 credentials=monitor
66
67 # Don't change syncrepl spec yet
68
69 syncrepl        rid=1
70                 provider=@URI1@
71                 binddn="cn=Manager,dc=example,dc=com"
72                 bindmethod=simple
73                 credentials=secret
74                 searchbase="dc=example,dc=com"
75                 filter="(objectClass=*)"
76                 schemachecking=off
77                 scope=sub
78                 type=refreshAndPersist
79                 retry="5 5 300 5"
80
81 database        ldap
82 hidden          on
83 suffix          "dc=example,dc=com"
84 rootdn          "cn=Whoever"
85 uri             @URI3@
86
87 acl-bind        bindmethod=simple
88                 binddn="cn=Monitor"
89                 credentials=monitor
90
91 # Don't change syncrepl spec yet
92
93 syncrepl        rid=2
94                 provider=@URI1@
95                 binddn="cn=Manager,dc=example,dc=com"
96                 bindmethod=simple
97                 credentials=secret
98                 searchbase="dc=example,dc=com"
99                 filter="(objectClass=*)"
100                 schemachecking=off
101                 scope=sub
102                 type=refreshOnly
103                 interval=00:00:00:10
104                 retry="5 5 300 5"
105
106 #monitor#database       monitor