]> git.sur5r.net Git - openldap/blob - tests/data/slapd-acl.conf
Backout "directory" option
[openldap] / tests / data / slapd-acl.conf
1 # $OpenLDAP$
2 #
3 # master slapd config -- for testing
4 #
5 include ./schema/core.schema
6 include ./schema/cosine.schema
7 include ./schema/inetorgperson.schema
8 schemacheck     off
9 pidfile     ./test-db/slapd.pid
10 argsfile    ./test-db/slapd.args
11
12 #######################################################################
13 # ldbm database definitions
14 #######################################################################
15
16 database        ldbm
17
18 cachesize       0
19 suffix          "o=University of Michigan, c=US"
20 directory       ./test-db
21 rootdn          "cn=Manager, o=University of Michigan, c=US"
22 rootpw          secret
23 index           objectClass     eq
24 index           cn,sn,uid       pres,eq,sub
25 lastmod         on
26
27 #
28 # normal installations should protect root dse,
29 # cn=monitor, cn=schema, and cn=config
30 #
31
32 access          to attr=objectclass
33                 by * =rsc stop
34
35 access          to filter="objectclass=person" attr=userpassword
36                 by anonymous auth
37                 by self write
38
39 access          to dn.children="ou=Alumni Association, ou=People, o=University of Michigan, c=US"
40                 by dn.regex=".+,o=University of Michigan,c=US" +c continue
41                 by dn.subtree="o=University of Michigan, c=US" +rs continue
42                 by * stop
43
44 access          to attr=member
45                 by dnattr=member selfwrite
46                 by * read
47
48 access          to filter="objectclass=groupofnames"
49                 by dn.base="cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=University of Michigan,c=US" =sc continue
50                 by dn="^cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=University of Michigan,c=US$" +rw stop
51                 by * break
52
53 access          to * by * read