xref: /netbsd-src/external/bsd/openldap/dist/tests/data/slapd-deltasync-consumer.conf (revision e670fd5c413e99c2f6a37901bb21c537fcd322d2)
1# consumer slapd config -- for testing of Delta 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.2.pid
23argsfile	@TESTDIR@/slapd.2.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.2.a
49#indexdb#index		objectClass	eq
50#indexdb#index		cn,sn,uid	pres,eq,sub
51#ndb#dbname db_3
52#ndb#include @DATADIR@/ndb.conf
53
54# Don't change syncrepl spec yet
55syncrepl	rid=1
56		provider=@URI1@
57		binddn="cn=Manager,dc=example,dc=com"
58		bindmethod=simple
59		credentials=secret
60		searchbase="dc=example,dc=com"
61		filter="(objectClass=*)"
62		logbase="cn=log"
63		logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"
64		syncdata=accesslog
65		attrs="*,+"
66		schemachecking=off
67		scope=sub
68		type=refreshAndPersist
69		retry="3 +" interval=00:00:00:03
70updateref	@URI1@
71
72overlay		syncprov
73
74database	monitor
75