1# stand-alone slapd config -- for testing (with indexing)
2# $OpenLDAP$
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 2005-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		@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#ddsmod#modulepath ../servers/slapd/overlays/
30#ddsmod#moduleload dds.la
31
32#######################################################################
33# database definitions
34#######################################################################
35
36database	@BACKEND@
37suffix		"dc=example,dc=com"
38rootdn		"cn=Manager,dc=example,dc=com"
39rootpw		secret
40#~null~#directory	@TESTDIR@/db.1.a
41#indexdb#index		objectClass	eq
42#indexdb#index		cn,sn,uid	pres,eq,sub
43#indexdb#index		entryExpireTimestamp	eq
44#ndb#dbname db_1
45#ndb#include @DATADIR@/ndb.conf
46add_content_acl	on
47
48overlay		dds
49dds-max-ttl	1d
50dds-min-ttl	10s
51dds-default-ttl	1h
52dds-interval	5s
53dds-tolerance	1s
54
55# This is to test the meeting feature
56access to attrs=userPassword
57	by self write
58	by * read
59
60access to dn.base="ou=Groups,dc=example,dc=com"
61                attrs=children
62        by users write
63
64access to dn.onelevel="ou=Groups,dc=example,dc=com"
65                attrs=entryTtl
66        by dnattr=member manage
67        by * read
68
69access to dn.onelevel="ou=Groups,dc=example,dc=com"
70        by dnattr=creatorsName write
71        by * break
72
73access to dn.onelevel="ou=Groups,dc=example,dc=com"
74                attrs=entry
75        by * read
76
77access to dn.onelevel="ou=Groups,dc=example,dc=com"
78                attrs=member
79        by users selfwrite
80        by * read
81
82access to *
83	by * read
84
85database	monitor
86