xref: /netbsd-src/external/bsd/openldap/dist/tests/data/slapd-glue.conf (revision 6db267571823ee3b0a1d61478df085a087f2e990)
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-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
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
27#######################################################################
28# database definitions
29#######################################################################
30
31database	@BACKEND@
32suffix		"ou=Information Technology Division,ou=People,dc=example,dc=com"
33subordinate
34rootdn		"cn=Manager, dc=example,dc=com"
35#~null~#directory	@TESTDIR@/db.1.a
36#indexdb#index		objectclass	eq
37#indexdb#index		uid	pres,eq,sub
38#indexdb#index		cn,sn	pres,eq,sub,subany
39#ndb#dbname db_1
40#ndb#include @DATADIR@/ndb.conf
41
42database	@BACKEND@
43suffix		"ou=Groups,dc=example,dc=com"
44subordinate
45rootdn		"cn=Manager, dc=example,dc=com"
46#~null~#directory	@TESTDIR@/db.1.b
47#indexdb#index		objectclass	eq
48#indexdb#index		uid	pres,eq,sub
49#indexdb#index		cn,sn	pres,eq,sub,subany
50#ndb#dbname db_2
51#ndb#include @DATADIR@/ndb.conf
52
53database	@BACKEND@
54suffix		"dc=example,dc=com"
55rootdn		"cn=Manager, dc=example,dc=com"
56rootpw		secret
57#~null~#directory	@TESTDIR@/db.1.c
58#indexdb#index		objectclass	eq
59#indexdb#index		uid	pres,eq,sub
60#indexdb#index		cn,sn	pres,eq,sub,subany
61#ndb#dbname db_3
62#ndb#include @DATADIR@/ndb.conf
63
64database	monitor
65