From e53977cef73d88b819329166b277283eb8ad2d72 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 7 May 2004 15:28:39 +0000 Subject: [PATCH] fix test006 --- tests/data/acl.out.master | 1 + tests/data/slapd-acl.conf | 17 ++++++----------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/tests/data/acl.out.master b/tests/data/acl.out.master index d9b698767d..bc73b773ca 100644 --- a/tests/data/acl.out.master +++ b/tests/data/acl.out.master @@ -70,6 +70,7 @@ homePostalAddress: 123 Wesley $ Anytown, MI 48103 description: Mythical manager of the rsdd unix project drink: water homePhone: +1 313 555 2333 +homePhone: +1 313 555 5444 pager: +1 313 555 3233 facsimileTelephoneNumber: +1 313 555 2274 telephoneNumber: +1 313 555 9022 diff --git a/tests/data/slapd-acl.conf b/tests/data/slapd-acl.conf index 91e7cb59f7..a472bbda31 100644 --- a/tests/data/slapd-acl.conf +++ b/tests/data/slapd-acl.conf @@ -69,21 +69,16 @@ access to attr=member,uniquemember by dnattr=uniquemember selfwrite by * read -access to attr=member,uniquemember filter=(mail=*com) +access to attr=member,uniquemember filter="(mail=*com)" by * read -access to filter="(&(objectclass=groupofnames)(objectClass=groupofuniquenames) - )" - by dn.base="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc= - example,dc=com" =sc continue - by dn.regex="^cn=Bjorn Jensen,ou=Information Technology Division,ou=People,d - c=example,dc=com$" +rw stop +access to filter="(&(objectclass=groupofnames)(objectClass=groupofuniquenames))" + by dn.base="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com" =sc continue + by dn.regex="^cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com$" +rw stop by * break -access to dn.children="ou=Information Technology Division,ou=People,dc=exampl - e,dc=com" - by group/groupOfUniqueNames/uniqueMember.exact="cn=ITD Staff,ou=Groups,dc=ex - ample,dc=com" write +access to dn.children="ou=Information Technology Division,ou=People,dc=example,dc=com" + by group/groupOfUniqueNames/uniqueMember.exact="cn=ITD Staff,ou=Groups,dc=example,dc=com" write by * read access to filter="(name=X*Y*Z)" -- 2.39.5