xref: /netbsd-src/external/bsd/openldap/dist/tests/data/slapd-dynlist.conf (revision 6a1508dad3515842aa76bf5ec8fc2daab5f5af02)
1# stand-alone slapd config -- for testing (with indexing)
2## This work is part of OpenLDAP Software <http://www.openldap.org/>.
3##
4## Copyright 1998-2008 The OpenLDAP Foundation.
5## All rights reserved.
6##
7## Redistribution and use in source and binary forms, with or without
8## modification, are permitted only as authorized by the OpenLDAP
9## Public License.
10##
11## A copy of this license is available in the file LICENSE in the
12## top-level directory of the distribution or, alternatively, at
13## <http://www.OpenLDAP.org/license.html>.
14
15include		@SCHEMADIR@/core.schema
16include		@SCHEMADIR@/cosine.schema
17include		@SCHEMADIR@/inetorgperson.schema
18include		@SCHEMADIR@/openldap.schema
19include		@SCHEMADIR@/nis.schema
20include		@SCHEMADIR@/dyngroup.schema
21include		@DATADIR@/test.schema
22
23#
24pidfile		@TESTDIR@/slapd.1.pid
25argsfile	@TESTDIR@/slapd.1.args
26
27#mod#modulepath	../servers/slapd/back-@BACKEND@/
28#mod#moduleload	back_@BACKEND@.la
29#monitormod#modulepath ../servers/slapd/back-monitor/
30#monitormod#moduleload back_monitor.la
31#dynlistmod#modulepath ../servers/slapd/overlays/
32#dynlistmod#moduleload dynlist.la
33
34#######################################################################
35# database definitions
36#######################################################################
37
38#monitor#database	monitor
39
40database	@BACKEND@
41suffix		"dc=example,dc=com"
42directory	@TESTDIR@/db.1.a
43rootdn		"cn=Manager,dc=example,dc=com"
44rootpw		secret
45#bdb#index		objectClass	eq
46#bdb#index		cn,sn,uid	pres,eq,sub
47#hdb#index		objectClass	eq
48#hdb#index		cn,sn,uid	pres,eq,sub
49
50# we'll reconfigure the attrset dynamically
51overlay			dynlist
52dynlist-attrset	groupOfURLs memberURL
53
54database config
55include @TESTDIR@/configpw.conf
56