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

(ITS#5927) assertion error when using pcache

Full_Name: Matthew Hardin
Version: 2.4.13
OS: Red Hat Enterprise Linux 4 i686
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

Hi All,

We have an LDAP server that is proxying for Active Directory. Periodically slapd
throws an assertion:

slapd: [....]/ldap24/servers/slapd/schema_init.c:524: octetStringIndexer:
Assertion `i > 0' failed.
/etc/init.d/solserver: line 192:  6620 Aborted                 (core dumped)

Howard Chu's examination of the core file showed that the remote AD server
returned a member attribute with no values. This is only legal in LDAP when a
client sets the attrsonly flag in its search request, and that flag was not set

The indexer rightly asserts because pcache handed it an attribute with nothing

I'm not sure what the correct thing to do might be here, but it should not take
down the slapd.