openldap/tests/data/slapd-acl.conf

53 lines
1.4 KiB
Plaintext
Raw Normal View History

1999-09-09 06:52:19 +08:00
# $OpenLDAP$
1998-08-09 08:43:13 +08:00
#
# master slapd config -- for testing
#
include ./data/slapd.at.conf
include ./data/slapd.oc.conf
schemacheck off
pidfile ./test-db/slapd.pid
argsfile ./test-db/slapd.args
1998-08-09 08:43:13 +08:00
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
cachesize 0
1998-08-09 08:43:13 +08:00
suffix "o=University of Michigan, c=US"
directory ./test-db
rootdn "cn=Manager, o=University of Michigan, c=US"
rootpw secret
index cn,sn,uid pres,eq,approx
index default none
lastmod on
defaultaccess none
#
# normal installations should protect root dse,
# cn=monitor, cn=schema, and cn=config
#
1998-08-09 08:43:13 +08:00
access to attr=objectclass
1999-10-22 05:23:43 +08:00
by * =rsc stop
access to filter="objectclass=person" attr=userpassword
by anonymous auth
1999-10-22 02:48:16 +08:00
by self write
1999-10-27 06:52:53 +08:00
access to dn=".*,ou=Alumni Association,ou=People,o=University of Michigan,c=US$"
by dn="^$" +x continue
by dn=".*,o=University of Michigan,c=US$" +rsc continue
1999-10-22 05:23:43 +08:00
by * stop
1998-08-09 08:43:13 +08:00
access to attr=member
by dnattr=member selfwrite
by * read
1998-08-09 08:43:13 +08:00
access to filter="objectclass=rfc822mailgroup"
1999-10-22 07:17:17 +08:00
by dn="^cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=University of Michigan,c=US$" =sc continue
by dn="^cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=University of Michigan,c=US$" +rw stop
1999-10-22 05:23:43 +08:00
by * break
1998-08-09 08:43:13 +08:00
access to * by * read