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

Re: (ITS#5581) slapd: search.c:970: oc_filter: Assertion `f != ((void *)0)' failed.



amg1127@cefetrs.tche.br wrote:

> I submitted a bug report in Ubuntu's Launchpad. The address is:
> 
> https://bugs.launchpad.net/ubuntu/+source/openldap2.3/+bug/243337
> 
> The bug refers to 2.4.9, but it is reproducible in OpenLDAP 2.4.10 (I could
> reproduce it, at least).

Your logs show something relatively odd: apparently, slapo-unique(5) is 
trying to perform an internal search with a really malformed filter:

==> unique_search ,
str2filter "(&objectClass=posixGroup(|(gidNumber=1000)))"
put_filter: "(&objectClass=posixGroup(|(gidNumber=1000)))"
put_filter: AND
put_filter_list "objectClass=posixGroup(|(gidNumber=1000))"

Can you please try using "(objectClass=posixGroup)" instead of 
"objectClass=posixGroup" as the unique_uri filter in your test slapd.conf?

p.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   ando@sys-net.it
-----------------------------------