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

Re: (ITS#4484) test006-acls failure



On Tue, 2006-04-11 at 19:12 +0000, kurt@OpenLDAP.org wrote:
> Full_Name: Kurt Zeilenga
> Version: HEAD
> OS: FreeBSD 4
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (24.205.218.53)
> Submitted by: kurt
> 
> 
> test006 fails in HEAD (current as of now):
> >>>>> Starting test006-acls ...
> running defines.sh
> Running slapadd to build slapd database...
> Starting slapd on TCP/IP port 9011...
> Testing slapd access control...
> 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
> >>>>> ./scripts/test006-acls failed (exit 1)
> *** Error code 1
> 
> 
> diff -u ldif.flt ldapsearch.flt | & more
> --- ldif.flt    Tue Apr 11 11:58:55 2006
> +++ ldapsearch.flt      Tue Apr 11 11:58:55 2006
> @@ -17,7 +17,6 @@
>  telephoneNumber: +1 313 555 0895
>  
>  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
> @@ -31,7 +30,6 @@
>  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
> 
> A quick examination of recent changes to HEAD did not reveal to me the
> cause of this failure (this was working just days agos).

This __should__ be related to ITS#4230 & ITS#4253; what might have
changed in your setup across builds is having SLAP_OVERLAY_ACCESS
defined or not.  The bug doesn't surface when SLAP_OVERLAY_ACCESS is
defined, which may occur as a consequence of having SLAPI enabled.

As per ITS#4230 & ITS#4253, I'd be very happy to fix them, but I have to
admit I'm unable to understand what that ACL state preservation code
does.  I'd rather vote for eliminating it.

p.




Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------