openldap/tests/data/slapd-acl.conf

71 lines
2 KiB
Text
Raw Normal View History

1999-09-08 18:52:19 -04:00
# $OpenLDAP$
1998-08-08 20:43:13 -04:00
#
# master slapd config -- for testing
#
2000-09-03 19:48:35 -04:00
ucdata-path ./ucdata
include ./schema/core.schema
include ./schema/cosine.schema
include ./schema/inetorgperson.schema
include ./schema/openldap.schema
pidfile ./test-db/slapd.pid
argsfile ./test-db/slapd.args
1998-08-08 20:43:13 -04:00
2001-09-01 01:01:31 -04:00
# global ACLs
access to dn.base="" attr=objectClass by users read
access to * by * read
1998-08-08 20:43:13 -04:00
#######################################################################
# ldbm database definitions
#######################################################################
database @BACKEND@
2002-01-13 22:42:24 -05:00
#ldbm#cachesize 0
2001-12-06 02:32:53 -05:00
suffix "o=University of Michigan,c=US"
1998-08-08 20:43:13 -04:00
directory ./test-db
2001-12-06 02:32:53 -05:00
rootdn "cn=Manager,o=University of Michigan,c=US"
1998-08-08 20:43:13 -04:00
rootpw secret
2001-08-01 00:50:47 -04:00
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
2001-10-03 17:27:37 -04:00
#bdb#index objectClass eq
#bdb#index cn,sn,uid pres,eq,sub
#
2003-02-24 12:15:31 -05:00
# normal installations should protect root dse, cn=monitor, cn=subschema
#
access to dn="" by * read
access to dn.base="" by * read
1998-08-08 20:43:13 -04:00
access to attr=objectclass
1999-10-21 17:23:43 -04:00
by * =rsc stop
2002-01-03 13:31:18 -05:00
access to filter="(objectclass=person)" attr=userpassword
by anonymous auth
1999-10-21 14:48:16 -04:00
by self write
2001-12-06 02:32:53 -05:00
access to dn.children="ou=Alumni Association,ou=People,o=University of Michigan,c=US"
2000-06-12 23:24:12 -04:00
by dn.regex=".+,o=University of Michigan,c=US" +c continue
2001-12-06 02:32:53 -05:00
by dn.subtree="o=University of Michigan,c=US" +rs continue
1999-10-21 17:23:43 -04:00
by * stop
1998-08-08 20:43:13 -04:00
access to attr=member
by dnattr=member selfwrite
by * read
2002-03-23 20:55:11 -05:00
access to attr=member filter=(mail=*edu)
by * read
2002-01-03 13:31:18 -05:00
access to filter="(objectclass=groupofnames)"
by dn.base="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=University of Michigan,c=US" =sc continue
1999-10-21 19:17:17 -04:00
by dn="^cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=University of Michigan,c=US$" +rw stop
1999-10-21 17:23:43 -04:00
by * break
2002-09-13 11:04:04 -04:00
access to dn.children="ou=Information Technology Division,ou=People,o=University of Michigan,c=US"
by group.exact="cn=ITD Staff,ou=Groups,o=University of Michigan,c=US" write
by * read
2002-03-01 13:58:11 -05:00
access to filter="(name=X*Y*Z)"
by * continue
2001-09-01 01:01:31 -04:00
# fall into global ACLs