]> git.sur5r.net Git - openldap/blob - tests/data/slapd-syncrepl-multiproxy.conf
ITS#5810 support back-null
[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-2009 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 rootdn          "cn=Manager,dc=example,dc=com"
41 rootpw          secret
42 #~null~#directory       @TESTDIR@/db.1.a
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 #ndb#dbname db_1
50 #ndb#include @DATADIR@/ndb.conf
51
52 overlay syncprov
53 syncprov-sessionlog 100
54
55 #######################################################################
56 # consumer proxy database definitions
57 #######################################################################
58
59 database        ldap
60 hidden          on
61 suffix          "dc=example,dc=com"
62 rootdn          "cn=Whoever"
63 uri             @URI2@
64
65 acl-bind        bindmethod=simple
66                 binddn="cn=Monitor"
67                 credentials=monitor
68
69 # Don't change syncrepl spec yet
70
71 syncrepl        rid=1
72                 provider=@URI1@
73                 binddn="cn=Manager,dc=example,dc=com"
74                 bindmethod=simple
75                 credentials=secret
76                 searchbase="dc=example,dc=com"
77                 filter="(objectClass=*)"
78                 schemachecking=off
79                 scope=sub
80                 type=refreshAndPersist
81                 retry="3 5 300 5"
82
83 database        ldap
84 hidden          on
85 suffix          "dc=example,dc=com"
86 rootdn          "cn=Whoever"
87 uri             @URI3@
88
89 acl-bind        bindmethod=simple
90                 binddn="cn=Monitor"
91                 credentials=monitor
92
93 # Don't change syncrepl spec yet
94
95 syncrepl        rid=2
96                 provider=@URI1@
97                 binddn="cn=Manager,dc=example,dc=com"
98                 bindmethod=simple
99                 credentials=secret
100                 searchbase="dc=example,dc=com"
101                 filter="(objectClass=*)"
102                 schemachecking=off
103                 scope=sub
104                 type=refreshOnly
105                 interval=00:00:00:03
106                 retry="3 5 300 5"
107
108 #monitor#database       monitor