# stand-alone slapd config -- for testing (with indexing)
# $OpenLDAP$
## This work is part of OpenLDAP Software .
##
## Copyright 1998-2021 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
##
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## .
include @SCHEMADIR@/core.schema
include @SCHEMADIR@/cosine.schema
include @SCHEMADIR@/inetorgperson.schema
include @SCHEMADIR@/openldap.schema
include @SCHEMADIR@/nis.schema
include @DATADIR@/test.schema
#
pidfile @TESTDIR@/slapd.MPR.pid
argsfile @TESTDIR@/slapd.MPR.args
serverid MPR
#mod#modulepath ../servers/slapd/back-@BACKEND@/:../servers/slapd/overlays
#mod#moduleload back_@BACKEND@.la
#syncprovmod#modulepath ../servers/slapd/overlays/
#syncprovmod#moduleload syncprov.la
#accesslogmod#modulepath ../servers/slapd/overlays/
#accesslogmod#moduleload accesslog.la
database config
rootpw config
database @BACKEND@
suffix "dc=example,dc=com"
rootdn "cn=Manager,dc=example,dc=com"
rootpw secret
#~null~#directory @TESTDIR@/srvMPR/db.1
#indexdb#index objectClass eq
#indexdb#index cn,sn,uid pres,eq,sub
syncrepl
rid=001
provider=MMC1
bindmethod=simple
binddn="cn=Manager,dc=example,dc=com"
credentials=secret
type=refreshAndPersist
searchbase="dc=example,dc=com"
filter="(objectclass=*)"
scope=sub
schemachecking=on
retry="5 10 60 +"
logbase="cn=log"
logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"
syncdata=accesslog
sizeLimit=unlimited
timelimit=unlimited
syncrepl
rid=002
provider=MMC2
bindmethod=simple
binddn="cn=Manager,dc=example,dc=com"
credentials=secret
type=refreshAndPersist
searchbase="dc=example,dc=com"
filter="(objectclass=*)"
scope=sub
schemachecking=on
retry="5 10 60 +"
logbase="cn=log"
logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"
syncdata=accesslog
sizeLimit=unlimited
timelimit=unlimited
syncrepl
rid=003
provider=MMC3
bindmethod=simple
binddn="cn=Manager,dc=example,dc=com"
credentials=secret
type=refreshAndPersist
searchbase="dc=example,dc=com"
filter="(objectclass=*)"
scope=sub
schemachecking=on
retry="5 10 60 +"
logbase="cn=log"
logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"
syncdata=accesslog
sizeLimit=unlimited
timelimit=unlimited
syncrepl
rid=004
provider=MMC4
bindmethod=simple
binddn="cn=Manager,dc=example,dc=com"
credentials=secret
type=refreshAndPersist
searchbase="dc=example,dc=com"
filter="(objectclass=*)"
scope=sub
schemachecking=on
retry="5 10 60 +"
logbase="cn=log"
logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"
syncdata=accesslog
sizeLimit=unlimited
timelimit=unlimited
multiprovider TRUE
overlay syncprov
syncprov-sessionlog 100
syncprov-checkpoint 100 10
overlay accesslog
logdb cn=log
logops writes
logsuccess TRUE
logpurge 24:00 01+00:00
database @BACKEND@
suffix "cn=log"
rootdn "cn=Manager,dc=example,dc=com"
#~null~#directory @TESTDIR@/srvMPR/db.2
#indexdb#index objectClass eq
#indexdb#index entryCSN,entryUUID,reqEnd,reqResult,reqStart eq
#mdb#maxsize @MAPSIZE@
overlay syncprov
syncprov-reloadhint true
syncprov-nopresent true
database monitor