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

Re: 2.3.23 crashes on start up



This is apparently from a bad patch to ITS#4503, fixed in CVS back-ldif/ldif.c. It seems not all of the necessary patches made it into 2.3.23 as they should have.

Dieter Kluenter wrote:
Hi,
I have just installed OpenLDAP-2.3.23 with BerkeleyDB 2.3.27.
Creating the Database with slapadd and starting slapd with
slapd -d-1 h "ldap:/// ldapi" -f /usr/local/etc/openldap/slapd.conf -F
/usr/local/etc/openldap/slapd.d/ -u ldap -g ldap
That worked fine, all files have been created in slapd.d and slapd was
running.
After killing the process and restarting slapd with
./slapd -d-1 -h "ldap:/// ldapi:///" -u ldap -g ldap
 slapd crashes
The last lines of debugging ouput are

,----[ debugging output ]
| => test_filter
|     PRESENT
| => access_allowed: search access to "cn=config" "objectClass" requested
| <= root access granted
| <= test_filter 6
| slapd: ldif.c:416: r_enum_tree: Assertion `itmp.bv_val[ 0 ] != '-'' failed.
`----

-Dieter



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