1# stand-alone slapd config -- for backglue testing (with indexing)
2# $OpenLDAP$
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 1998-2011 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.1.pid
22argsfile	@TESTDIR@/slapd.1.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 1,dc=example,dc=com"
38#~null~#directory	@TESTDIR@/db.1.a
39#indexdb#index		objectclass	eq
40#indexdb#index		uid	pres,eq,sub
41#indexdb#index		cn,sn	pres,eq,sub,subany
42#indexdb#index		entryUUID,entryCSN	pres
43#ndb#dbname db_1
44#ndb#include @DATADIR@/ndb.conf
45
46overlay		syncprov
47
48database	@BACKEND@
49suffix		"ou=Groups,dc=example,dc=com"
50subordinate
51rootdn		"cn=Manager 1,dc=example,dc=com"
52#~null~#directory	@TESTDIR@/db.1.b
53#indexdb#index		objectclass	eq
54#indexdb#index		uid	pres,eq,sub
55#indexdb#index		cn,sn	pres,eq,sub,subany
56#indexdb#index		entryUUID,entryCSN	pres
57#ndb#dbname db_2
58#ndb#include @DATADIR@/ndb.conf
59
60syncrepl	rid=1
61		provider=@URI2@
62		binddn="cn=Manager 2,dc=example,dc=com"
63		bindmethod=simple
64		credentials=secret
65		searchbase="ou=Groups,dc=example,dc=com"
66		filter="(objectClass=*)"
67		attrs="*,+"
68		schemachecking=off
69		scope=sub
70		type=refreshAndPersist
71		retry="3 10 300 5"
72updateref	@URI2@
73#overlay		syncprov
74
75
76database	@BACKEND@
77suffix		"dc=example,dc=com"
78rootdn		"cn=Manager 1,dc=example,dc=com"
79rootpw		secret
80#~null~#directory	@TESTDIR@/db.1.c
81#indexdb#index		objectclass	eq
82#indexdb#index		uid	pres,eq,sub
83#indexdb#index		cn,sn	pres,eq,sub,subany
84#ndb#dbname db_3
85#ndb#include @DATADIR@/ndb.conf
86
87#overlay		syncprov
88
89#monitor#database	monitor
90