[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Test006-ACL with ACL activated on Lastmod attrs (ITS#358)
Full_Name: Eric BREHIER
Version: 1.2.6 and 1.2.7
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (164.81.1.38)
Hello,
I wanted to hide lastmod attrs. Kurt applied ACLs on lastmod attrs
in servers/slapd/result.c 1.7.2.4.2.6.
Downloaded, make and make test : test006 failed.
My own tests are ok, lastmod attrs are hidden when I want to.
Test006 : ACLs test
Error in cmp $SEARCHFLT $LDIFFLT
which are : ldapsearch.flt and ldif.flt
The difference is in entry in ldapsearch.flt :
dn: cn=ITD Staff,ou=Groups,o=University of Michigan,c=US
associateddomain: umich.edu
requeststo: cn=Manager, o=University of Michigan, c=US
errorsto: cn=Manager, o=University of Michigan, c=US
owner: cn=Manager, o=University of Michigan, c=US
multilinedescription: All ITD Staff
cn: ITD Staff
joinable: FALSE
objectclass: rfc822mailgroup
member: cn=Manager, o=University of Michigan, c=US
member: cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=Univ
ersity of Michigan, c=US
member: cn=James A Jones 2, ou=Information Technology Division, ou=People, o=U
niversity of Michigan, c=US
member: cn=John Doe, ou=Information Technology Division, ou=People, o=Universi
ty of Michigan, c=US
member: cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of
Michigan, c=US
labeledurl: http://www.itd.umich.edu ITD Home Page
>>>>>>>> o=University of Michigan, c=US which is only in this file line 181
telephonenumber: +1 810 555 1212
I think it's a piece of lastmod attrs which are cut from ldapsearch.out, result
of the search
Found in ldapsearch.out for the same entry :
...
labeledurl: http://www.itd.umich.edu ITD Home Page
modifytimestamp: 19991103163020Z
modifiersname: cn=Bjorn Jensen, ou=Information Technology Division, ou=People,
o=University of Michigan, c=US
telephonenumber: +1 810 555 1212
I think it's a acfilter.sh problem more than a ACLs' one.
BUT, if I put back the old result.c, test006 succeeds !
I really don't understand where the problem is.
TIA
Eric