# $OpenLDAP$
#
# ITS 4184 slapd.conf

include		@SCHEMADIR@/core.schema
include         @SCHEMADIR@/cosine.schema
include         @SCHEMADIR@/nis.schema
include         @SCHEMADIR@/misc.schema

pidfile		@TESTDIR@/slapd.pid
argsfile	@TESTDIR@/slapd.args

#mod#modulepath	../servers/slapd/back-@BACKEND@/
#mod#moduleload	back_@BACKEND@.la

loglevel	0

# ACL issue: with this ACL doesn't show up
#access to * by * write

# database access control definitions
access to attrs=userPassword
        by self write
	by group="cn=A Group,ou=Groups,dc=example,dc=com" write
	by group="cn=Another Group,ou=Groups,dc=example,dc=com" write
        by anonymous auth

access to *
        by self write
	by group="cn=Another Group,ou=Groups,dc=example,dc=com" write
        by * read

#######################################################################
# database definitions
#######################################################################

database	@BACKEND@
suffix		"ou=Special,dc=example,dc=com"
subordinate
rootdn          "cn=Manager,dc=example,dc=com"
#~null~#directory	@TESTDIR@/db.2.a

# Indices to maintain
#indexdb#index		default pres,eq
#indexdb#index		objectClass eq
#indexdb#index		sn pres,eq,sub

database	@BACKEND@
suffix		"dc=example,dc=com"
rootdn		"cn=Manager,dc=example,dc=com"
rootpw		secret
#null#bind		on
#~null~#directory	@TESTDIR@/db.1.a

# Indices to maintain
#indexdb#index		default pres,eq
#indexdb#index		objectClass eq
#indexdb#index		sn pres,eq,sub

