xref: /netbsd-src/external/bsd/openldap/dist/tests/data/slapd-dsee-consumer1.conf (revision d16b7486a53dcb8072b60ec6fcb4373a2d0c27b7)
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
21include		@SCHEMADIR@/dsee.schema
22#
23pidfile		@TESTDIR@/slapd.2.pid
24argsfile	@TESTDIR@/slapd.2.args
25
26#mod#modulepath	../servers/slapd/back-@BACKEND@/
27#mod#moduleload	back_@BACKEND@.la
28
29#######################################################################
30# consumer database definitions
31#######################################################################
32
33database	@BACKEND@
34suffix		"dc=example,dc=com"
35rootdn		"cn=Replica,dc=example,dc=com"
36rootpw		secret
37#null#bind		on
38#~null~#directory	@TESTDIR@/db.2.a
39#indexdb#index		objectClass	eq
40#indexdb#index		cn,sn,uid	pres,eq,sub
41#indexdb#index		entryUUID,entryCSN	eq
42#ndb#dbname db_2
43#ndb#include @DATADIR@/ndb.conf
44
45# Don't change syncrepl spec yet
46syncrepl	rid=1
47		provider=@URI1@
48		binddn="cn=Directory Manager"
49		bindmethod=simple
50		credentials=secret21
51		searchbase="dc=example,dc=com"
52		filter="(objectClass=*)"
53		schemachecking=off
54		scope=sub
55		type=refreshOnly
56		logbase="cn=changelog"
57		syncdata=changelog
58		retry="3 +" interval=00:00:00:03
59updateref	@URI1@
60
61database	monitor
62