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