slapd.conf   [plain text]


# $OpenLDAP: pkg/ldap/tests/data/regressions/its4184/slapd.conf,v 1.2.2.2 2010/04/19 19:14:30 quanah Exp $
#
# 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
#bdb#index		default pres,eq
#bdb#index		objectClass eq
#bdb#index		sn pres,eq,sub
#hdb#index		default pres,eq
#hdb#index		objectClass eq
#hdb#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
#bdb#index		default pres,eq
#bdb#index		objectClass eq
#bdb#index		sn pres,eq,sub
#hdb#index		default pres,eq
#hdb#index		objectClass eq
#hdb#index		sn pres,eq,sub