]> git.sur5r.net Git - openldap/commitdiff
Partially test new ACL styles.
authorKurt Zeilenga <kurt@openldap.org>
Tue, 13 Jun 2000 03:24:12 +0000 (03:24 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 13 Jun 2000 03:24:12 +0000 (03:24 +0000)
tests/data/slapd-acl.conf

index 63df714c1b200c50c721be159647f256336dd5aa..8c11c148979527532ad939face7f96369d150104 100644 (file)
@@ -39,7 +39,8 @@ access                to filter="objectclass=person" attr=userpassword
 
 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
+               by dn.regex=".+,o=University of Michigan,c=US" +c continue
+               by dn.subtree="o=University of Michigan, c=US" +rs continue
                by * stop
 
 access         to attr=member
@@ -47,7 +48,7 @@ access                to attr=member
                by * read
 
 access         to filter="objectclass=groupofnames"
-               by dn="^cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=University of Michigan,c=US$" =sc continue
+               by dn.base="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
                by * break