X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fdata%2Facl.out.master;h=8fd99a621ffcadb9d0af9c3f0219e23ea8219dfe;hb=c6a45e144e3f2611a2fa3f3a444696c08a729b3e;hp=b44d98cb136048cfd0a0b01ba33f99f10cc6b79f;hpb=f0b72f5ca8117a6e9477b02834f1e0ed3136fbcc;p=openldap diff --git a/tests/data/acl.out.master b/tests/data/acl.out.master index b44d98cb13..8fd99a621f 100644 --- a/tests/data/acl.out.master +++ b/tests/data/acl.out.master @@ -1,3 +1,7 @@ +# Try to read an entry inside the Alumni Association container. +# It should give us noSuchObject if we're not bound... +# ... and should return all attributes if we're bound as anyone +# under Example. dn: cn=James A Jones 1,ou=Alumni Association,ou=People,dc=example,dc=com objectClass: OpenLDAPperson cn: James A Jones 1 @@ -16,6 +20,46 @@ mail: jaj@mail.alumni.example.com facsimileTelephoneNumber: +1 313 555 4332 telephoneNumber: +1 313 555 0895 +# Checking exact/regex attrval clause +dn: cn=Mark Elliot,ou=Alumni Association,ou=People,dc=example,dc=com +cn: Mark A Elliot + +dn: cn=Mark Elliot,ou=Alumni Association,ou=People,dc=example,dc=com +cn: Mark Elliot + +dn: cn=John Doe,ou=Information Technology Division,ou=People,dc=example,dc=com +cn: John Doe + +dn: cn=John Doe,ou=Information Technology Division,ou=People,dc=example,dc=com +cn: Jonathon Doe + +dn: cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc + =com +cn: Bjorn Jensen +cn: Biiff Jensen + +dn: cn=Barbara Jensen,ou=Information Technology Division,ou=People,dc=example, + dc=com +cn: Barbara Jensen +cn: Babs Jensen + +# Using ldapsearch to retrieve all the entries... +dn: ou=Add & Delete,dc=example,dc=com +objectClass: organizationalUnit +ou: Add & Delete + +dn: cn=Added by Bjorn (must succeed),ou=Add & Delete,dc=example,dc=com +objectClass: inetOrgPerson +cn: Added by Bjorn (must succeed) +sn: None +description: this attribute value has been added __after__entry creation +description: Bjorn will try to delete this attribute value (should fail) + +dn: cn=Added by Bjorn (renamed by Jaj),ou=Add & Delete,dc=example,dc=com +objectClass: inetOrgPerson +sn: None +cn: Added by Bjorn (renamed by Jaj) + dn: cn=All Staff,ou=Groups,dc=example,dc=com member: cn=Manager,dc=example,dc=com member: cn=Barbara Jensen,ou=Information Technology Division,ou=People,dc=exam @@ -24,7 +68,6 @@ member: cn=Jane Doe,ou=Alumni Association,ou=People,dc=example,dc=com member: cn=John Doe,ou=Information Technology Division,ou=People,dc=example,dc =com member: cn=Mark Elliot,ou=Alumni Association,ou=People,dc=example,dc=com -member: cn=James A Jones 1,ou=Alumni Association,ou=People,dc=example,dc=com member: cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=exa mple,dc=com member: cn=Jennifer Smith,ou=Alumni Association,ou=People,dc=example,dc=com @@ -32,6 +75,7 @@ member: cn=Dorothy Stevens,ou=Alumni Association,ou=People,dc=example,dc=com member: cn=Ursula Hampster,ou=Alumni Association,ou=People,dc=example,dc=com member: cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=exampl e,dc=com +member: cn=James A Jones 1,ou=Alumni Association,ou=People,dc=example,dc=com owner: cn=Manager,dc=example,dc=com cn: All Staff description: Everyone in the sample data @@ -79,8 +123,6 @@ telephoneNumber: +1 313 555 9022 dn: cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc =com objectClass: OpenLDAPperson -cn: Bjorn Jensen -cn: Biiff Jensen sn: Jensen uid: bjorn seeAlso: cn=All Staff,ou=Groups,dc=example,dc=com @@ -295,8 +337,6 @@ telephoneNumber: +1 313 555 7334 dn: cn=John Doe,ou=Information Technology Division,ou=People,dc=example,dc=com objectClass: OpenLDAPperson -cn: John Doe -cn: Jonathon Doe sn: Doe uid: johnd postalAddress: ITD $ 535 W. William $ Anytown, MI 48109