xref: /netbsd-src/external/bsd/openldap/dist/tests/data/regressions/its8752/slapd.conf.mpr (revision 70f7362772ba52b749c976fb5e86e39a8b2c9afc)
1# stand-alone slapd config -- for testing (with indexing)
2# $OpenLDAP$
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 1998-2021 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
16include		@SCHEMADIR@/core.schema
17include		@SCHEMADIR@/cosine.schema
18include		@SCHEMADIR@/inetorgperson.schema
19include		@SCHEMADIR@/openldap.schema
20include		@SCHEMADIR@/nis.schema
21include		@DATADIR@/test.schema
22
23#
24pidfile		@TESTDIR@/slapd.MPR.pid
25argsfile	@TESTDIR@/slapd.MPR.args
26
27serverid	MPR
28#mod#modulepath ../servers/slapd/back-@BACKEND@/:../servers/slapd/overlays
29#mod#moduleload back_@BACKEND@.la
30#syncprovmod#modulepath ../servers/slapd/overlays/
31#syncprovmod#moduleload syncprov.la
32#accesslogmod#modulepath ../servers/slapd/overlays/
33#accesslogmod#moduleload accesslog.la
34
35database	config
36rootpw		config
37
38database        @BACKEND@
39suffix          "dc=example,dc=com"
40rootdn          "cn=Manager,dc=example,dc=com"
41rootpw          secret
42#~null~#directory	@TESTDIR@/srvMPR/db.1
43#indexdb#index		objectClass	eq
44#indexdb#index		cn,sn,uid	pres,eq,sub
45
46syncrepl
47    rid=001
48    provider=MMC1
49    bindmethod=simple
50    binddn="cn=Manager,dc=example,dc=com"
51    credentials=secret
52    type=refreshAndPersist
53    searchbase="dc=example,dc=com"
54    filter="(objectclass=*)"
55    scope=sub
56    schemachecking=on
57    retry="5 10 60 +"
58    logbase="cn=log"
59    logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"
60    syncdata=accesslog
61    sizeLimit=unlimited
62    timelimit=unlimited
63
64syncrepl
65    rid=002
66    provider=MMC2
67    bindmethod=simple
68    binddn="cn=Manager,dc=example,dc=com"
69    credentials=secret
70    type=refreshAndPersist
71    searchbase="dc=example,dc=com"
72    filter="(objectclass=*)"
73    scope=sub
74    schemachecking=on
75    retry="5 10 60 +"
76    logbase="cn=log"
77    logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"
78    syncdata=accesslog
79    sizeLimit=unlimited
80    timelimit=unlimited
81
82syncrepl
83    rid=003
84    provider=MMC3
85    bindmethod=simple
86    binddn="cn=Manager,dc=example,dc=com"
87    credentials=secret
88    type=refreshAndPersist
89    searchbase="dc=example,dc=com"
90    filter="(objectclass=*)"
91    scope=sub
92    schemachecking=on
93    retry="5 10 60 +"
94    logbase="cn=log"
95    logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"
96    syncdata=accesslog
97    sizeLimit=unlimited
98    timelimit=unlimited
99
100syncrepl
101    rid=004
102    provider=MMC4
103    bindmethod=simple
104    binddn="cn=Manager,dc=example,dc=com"
105    credentials=secret
106    type=refreshAndPersist
107    searchbase="dc=example,dc=com"
108    filter="(objectclass=*)"
109    scope=sub
110    schemachecking=on
111    retry="5 10 60 +"
112    logbase="cn=log"
113    logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"
114    syncdata=accesslog
115    sizeLimit=unlimited
116    timelimit=unlimited
117
118multiprovider		TRUE
119
120overlay syncprov
121syncprov-sessionlog	100
122syncprov-checkpoint	100 10
123
124overlay accesslog
125logdb			cn=log
126logops			writes
127logsuccess		TRUE
128logpurge		24:00 01+00:00
129
130database        @BACKEND@
131suffix          "cn=log"
132rootdn          "cn=Manager,dc=example,dc=com"
133#~null~#directory	@TESTDIR@/srvMPR/db.2
134#indexdb#index		objectClass	eq
135#indexdb#index		entryCSN,entryUUID,reqEnd,reqResult,reqStart eq
136#mdb#maxsize        @MAPSIZE@
137
138overlay syncprov
139syncprov-reloadhint true
140syncprov-nopresent true
141
142database   monitor
143