mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
65 lines
1.5 KiB
Plaintext
65 lines
1.5 KiB
Plaintext
# $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"
|
|
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
|
|
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
|
|
|