2005-12-21 03:47:31 +08:00
|
|
|
# $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
|
|
|
|
|
|
|
|
#######################################################################
|
2007-09-02 01:33:07 +08:00
|
|
|
# database definitions
|
2005-12-21 03:47:31 +08:00
|
|
|
#######################################################################
|
|
|
|
|
|
|
|
database @BACKEND@
|
|
|
|
suffix "ou=Special,dc=example,dc=com"
|
|
|
|
subordinate
|
|
|
|
rootdn "cn=Manager,dc=example,dc=com"
|
|
|
|
directory @TESTDIR@/db.2.a
|
|
|
|
|
|
|
|
# Indices to maintain
|
|
|
|
#bdb#index default pres,eq
|
2006-01-13 18:55:13 +08:00
|
|
|
#bdb#index objectClass eq
|
2005-12-21 03:47:31 +08:00
|
|
|
#bdb#index sn pres,eq,sub
|
|
|
|
#hdb#index default pres,eq
|
2006-01-13 18:55:13 +08:00
|
|
|
#hdb#index objectClass eq
|
2005-12-21 03:47:31 +08:00
|
|
|
#hdb#index sn pres,eq,sub
|
|
|
|
|
|
|
|
database @BACKEND@
|
|
|
|
suffix "dc=example,dc=com"
|
|
|
|
rootdn "cn=Manager,dc=example,dc=com"
|
|
|
|
rootpw secret
|
|
|
|
directory @TESTDIR@/db.1.a
|
|
|
|
|
|
|
|
# Indices to maintain
|
|
|
|
#bdb#index default pres,eq
|
|
|
|
#bdb#index objectClass eq
|
2006-01-13 18:55:13 +08:00
|
|
|
#bdb#index sn pres,eq,sub
|
2005-12-21 03:47:31 +08:00
|
|
|
#hdb#index default pres,eq
|
|
|
|
#hdb#index objectClass eq
|
2006-01-13 18:55:13 +08:00
|
|
|
#hdb#index sn pres,eq,sub
|
2005-12-21 03:47:31 +08:00
|
|
|
|