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

Re: (ITS#7778) Index and derived attribute bug



yann.cezard@univ-pau.fr wrote:
> Full_Name: Yann Cezard
> Version: 2.4.38
> OS: Debian GNU/Linux Wheezy / amd64
> URL: ftp://ftp.openldap.org/incoming/Yann-Cezard-130109.tgz
> Submission from: (NULL) (2001:660:6701:14:225:64ff:fe92:685b)
>
>
> Hello,
>
> I hit a bug with the latest version of OpenLDAP (2.4.38) that was not present,
> at least in 2.4.17 (made a test on an older server that we were using before I
> discovered this).
> This happens on both lmdb and bdb backend (as we were using BDB before upgrading
> to 2.4.38, I tested with both on 2.4.38 to ensure that the problem was not LMDB
> related).

> The only ways to make the '(mail=*)' filter matches again the modified entry, is
> to modify the mail attribute, or to run slapindex.
> If you remove the index on the mail attribute, then there is no such problem.
> It only happens when deleting all/the last derived attributes (supannAutreMail
> here) from the entry.
>
> Sounds to me like a bug, isn't it ?

Thanks for the report, fixed now in git master.
>
> Regards.
>
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/