[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3934) test006-acls fails



h.b.furuseth@usit.uio.no wrote:

>Full_Name: Hallvard B Furuseth
>Version: HEAD
>OS: Linux
>URL: ftp://ftp.openldap.org/incoming/Hallvard-Furuseth-050813.tgz
>Submission from: (NULL) (129.240.186.42)
>Submitted by: hallvard
>
>
>Test006 fails:
>
>nice ./run -b hdb test006-acls
>Cleaning up test run directory leftover from previous run.
>Running ./scripts/test006-acls...
>running defines.sh
>Running slapadd to build slapd database...
>./testrun/slapd.1.conf: line 57: warning: cannot assess the validity of the ACL
>scope within backend naming context
>./testrun/slapd.1.conf: line 62: warning: cannot assess the validity of the ACL
>scope within backend naming context
>./testrun/slapd.1.conf: line 74: warning: cannot assess the validity of the ACL
>scope within backend naming context
>./testrun/slapd.1.conf: line 78: warning: cannot assess the validity of the ACL
>scope within backend naming context
>./testrun/slapd.1.conf: line 84: warning: cannot assess the validity of the ACL
>scope within backend naming context
>./testrun/slapd.1.conf: line 96: warning: cannot assess the validity of the ACL
>scope within backend naming context
>Starting slapd on TCP/IP port 9011...
>Testing slapd access control...
>Waiting 5 seconds for slapd to start...
>Using ldapsearch to retrieve all the entries...
>Filtering ldapsearch results...
>Filtering original ldif used to create database...
>Comparing filter output...
>comparison failed - operations did not complete correctly
>
>=================================================================
>
>The difference is:
>
>diff -u2 testrun/ldapsearch.flt testrun/ldif.flt
>--- testrun/ldapsearch.flt	2005-08-13 21:39:06.757141642 +0200
>+++ testrun/ldif.flt	2005-08-13 21:39:06.762141476 +0200
>@@ -17,7 +17,19 @@
> telephoneNumber: +1 313 555 0895
> 
>-dn: ou=Add & Delete,dc=example,dc=com
>+dn: ou=Add/Delete,dc=example,dc=com
> objectClass: organizationalUnit
>-ou: Add & Delete
>+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
>
>==================================================================
>
>A .tgz file with the tests/testrun/ directory is attached.
>  
>
You might be using inconsistent data/scripts, because the test doesn't 
fail on any of my systems with fresh checkouts of either HEAD or RE23, 
and I renectly changed the test RDN from "ou=Add/Delete" to "ou=Add & 
Delete" while trying to make test006 pass with back-ldif, which doesn't 
like "/" in RDNs (I forgot to file an ITS about that, though).  Please 
check <tests/scripts/test006-acl> and <tests/data/acl.out.master>.

Ciao, p.


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497