1# consumer slapd config -- for testing of SYNC replication
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
21#
22pidfile		@TESTDIR@/slapd.4.pid
23argsfile	@TESTDIR@/slapd.4.args
24
25#mod#modulepath	../servers/slapd/back-@BACKEND@/
26#mod#moduleload	back_@BACKEND@.la
27#syncprovmod#modulepath ../servers/slapd/overlays/
28#syncprovmod#moduleload syncprov.la
29#ldapmod#modulepath ../servers/slapd/back-ldap/
30#ldapmod#moduleload back_ldap.la
31
32#ldapyes#overlay		chain
33#ldapyes#chain-uri		@URI1@
34#ldapyes#chain-idassert-bind	bindmethod=simple binddn="cn=Manager,dc=example,dc=com" credentials=secret mode=self
35#ldapmod#overlay		chain
36#ldapmod#chain-uri		@URI1@
37#ldapmod#chain-idassert-bind	bindmethod=simple binddn="cn=Manager,dc=example,dc=com" credentials=secret mode=self
38
39#######################################################################
40# consumer database definitions
41#######################################################################
42
43database	@BACKEND@
44suffix		"dc=example,dc=com"
45rootdn		"cn=consumer,dc=example,dc=com"
46rootpw		secret
47#null#bind		on
48#~null~#directory	@TESTDIR@/db.4.a
49#indexdb#index		objectClass	eq
50#indexdb#index		cn,sn,uid	pres,eq,sub
51#indexdb#index		entryUUID,entryCSN	eq
52#ndb#dbname db_4
53#ndb#include @DATADIR@/ndb.conf
54
55# Don't change syncrepl spec yet
56syncrepl	rid=1
57		provider=@URI1@
58		binddn="cn=Manager,dc=example,dc=com"
59		bindmethod=simple
60		credentials=secret
61		searchbase="dc=example,dc=com"
62		filter="(objectClass=*)"
63		attrs="*,+"
64		schemachecking=off
65		scope=sub
66		type=refreshAndPersist
67		retry="3 5 300 5"
68updateref	@URI1@
69
70overlay		syncprov
71
72database	monitor
73