mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
893aa3eddb
Done for keywords index,limits. (Also do 'mode' if there were any cases.) Change generated by: perl -i -pw0777e ' INIT { $q=qr/\#(?:[bh]|index|main)db\#/im; $k=qr/(?:index|limits|mode)\b/ } 0 while s/^$q($k.*\n)((?:$q.*\n)*?)\n?$q\1/\#maindb\#$1$2/imo; s/^\#maindb\#index/\#indexdb\#index/igm; ' tests/data/*.* tests/data/regressions/*/*.*
60 lines
1.4 KiB
Plaintext
60 lines
1.4 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"
|
|
#~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
|
|
|