1# stand-alone slapd config -- for backglue testing (with indexing)
2# OpenLDAP: pkg/ldap/tests/data/slapd-glue-syncrepl2.conf,v 1.9.2.9 2010/04/19 19:14:27 quanah Exp
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 1998-2010 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
21pidfile		@TESTDIR@/slapd.2.pid
22argsfile	@TESTDIR@/slapd.2.args
23
24#mod#modulepath	../servers/slapd/back-@BACKEND@/
25#mod#moduleload	back_@BACKEND@.la
26#monitormod#modulepath ../servers/slapd/back-monitor/
27#monitormod#moduleload back_monitor.la
28#syncprovmod#moduleload ../servers/slapd/overlays/syncprov.la
29
30#######################################################################
31# database definitions
32#######################################################################
33
34database	@BACKEND@
35suffix		"ou=Information Technology Division,ou=People,dc=example,dc=com"
36subordinate
37rootdn		"cn=Manager 2,dc=example,dc=com"
38#~null~#directory	@TESTDIR@/db.2.a
39#bdb#index		objectclass	eq
40#bdb#index		uid	pres,eq,sub
41#bdb#index		cn,sn	pres,eq,sub,subany
42#bdb#index		entryUUID,entryCSN	pres
43#hdb#index		objectclass	eq
44#hdb#index		uid	pres,eq,sub
45#hdb#index		cn,sn	pres,eq,sub,subany
46#hdb#index		entryUUID,entryCSN	pres
47#ndb#dbname db_4
48#ndb#include @DATADIR@/ndb.conf
49
50
51syncrepl	rid=2
52		provider=@URI1@
53		binddn="cn=Manager 1,dc=example,dc=com"
54		bindmethod=simple
55		credentials=secret
56		searchbase="ou=Information Technology Division,ou=People,dc=example,dc=com"
57		filter="(objectClass=*)"
58		attrs="*,+"
59		schemachecking=off
60		scope=sub
61		type=refreshAndPersist
62		retry="3 10 300 5"
63updateref	@URI1@
64#overlay		syncprov
65
66database	@BACKEND@
67suffix		"ou=Groups,dc=example,dc=com"
68subordinate
69rootdn		"cn=Manager 2,dc=example,dc=com"
70#~null~#directory	@TESTDIR@/db.2.b
71#bdb#index		objectclass	eq
72#bdb#index		uid	pres,eq,sub
73#bdb#index		cn,sn	pres,eq,sub,subany
74#bdb#index		entryUUID,entryCSN	pres
75#hdb#index		objectclass	eq
76#hdb#index		uid	pres,eq,sub
77#hdb#index		cn,sn	pres,eq,sub,subany
78#hdb#index		entryUUID,entryCSN	pres
79#ndb#dbname db_5
80#ndb#include @DATADIR@/ndb.conf
81
82
83overlay		syncprov
84
85
86database	@BACKEND@
87suffix		"dc=example,dc=com"
88rootdn		"cn=Manager 2,dc=example,dc=com"
89rootpw		secret
90#~null~#directory	@TESTDIR@/db.2.c
91#bdb#index		objectclass	eq
92#bdb#index		uid	pres,eq,sub
93#bdb#index		cn,sn	pres,eq,sub,subany
94#hdb#index		objectclass	eq
95#hdb#index		uid	pres,eq,sub
96#hdb#index		cn,sn	pres,eq,sub,subany
97#ndb#dbname db_6
98#ndb#include @DATADIR@/ndb.conf
99
100
101#overlay		syncprov
102
103#monitor#database	monitor
104