Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / bsd / openldap / dist / tests / data / slapd-syncrepl-multiproxy.conf
blobfd3301abb7ac1699e25f797a103260d51885990c
1 # slave slapd config -- for testing of SYNC replication with intermediate proxy
2 # $OpenLDAP: pkg/ldap/tests/data/slapd-syncrepl-multiproxy.conf,v 1.2.2.4 2008/02/11 23:26:50 kurt Exp $
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2008 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.
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>.
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
22 pidfile         @TESTDIR@/slapd.1.pid
23 argsfile        @TESTDIR@/slapd.1.args
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
34 #######################################################################
35 # master database definitions
36 #######################################################################
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
50 overlay syncprov
51 syncprov-sessionlog 100
53 #######################################################################
54 # consumer proxy database definitions
55 #######################################################################
57 database        ldap
58 hidden          on
59 suffix          "dc=example,dc=com"
60 rootdn          "cn=Whoever"
61 uri             @URI2@
63 acl-bind        bindmethod=simple
64                 binddn="cn=Monitor"
65                 credentials=monitor
67 # Don't change syncrepl spec yet
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"
81 database        ldap
82 hidden          on
83 suffix          "dc=example,dc=com"
84 rootdn          "cn=Whoever"
85 uri             @URI3@
87 acl-bind        bindmethod=simple
88                 binddn="cn=Monitor"
89                 credentials=monitor
91 # Don't change syncrepl spec yet
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"
106 #monitor#database       monitor