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

(special) query causes slapd to crash when using back-ldap & a subordinate back-sql database (ITS#3005)



Full_Name: Guenther Starnberger
Version: OPENLDAP_REL_ENG_2_2, HEAD
OS: Debian Woody (Linux)
URL: ftp://ftp.openldap.org/incoming/guenther-starnberger-040306.conf
Submission from: (NULL) (62.116.93.254)


To 'produce' this bug I used the same setup as in ITS#2999:

One back-ldap database with the suffix "c=RU" and one subordinate back-sql
database with the suffix "o=sql,c=RU" which does use the example data for
postgresql provided in rdbms_depend/pgsql/.

The configuration file for this setup is available at
ftp://ftp.openldap.org/incoming/guenther-starnberger-040306.conf

Starting "ldapsearch -b 'c=RU' '(objectClass=*)' foobar" does crash the slapd:

# extended LDIF
#
# LDAPv3
# base <c=RU> with scope subtree
# filter: (objectClass=*)
# requesting: foobar
#
 
# RU
dn: c=RU
 
# blab, RU
dn: ou=blab,c=RU
ldap_result: Can't contact LDAP server (-1)