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

ldapsearch crashes under ldaps:// connections (ITS#1057)

Full_Name: Sergei Dneprov
Version: 2.0.7
OS: RedHat 7.0
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

RedHat 7.0 installs Cyrus SASL package by default. So if -with-cyrus-sasl=no is
not specified when compiling openLDAP package, then when running in gdb

gdb ldapsearch 

gdb>set args -H"ldaps://ldap.openldap.org" 

program crashes with following error:

Program received signal SIGSEGV, Segmentation fault.
0x8053a33 in ldap_int_sasl_external (ld=0x80fd898,
    authid=0x811b768 "/C=US/O=OpenLDAP
www.openldap.org", ssf=168) at cyrus.c:664
664             sasl_conn_t *ctx = ld->ld_defconn->lconn_sasl_ctx;

Searching in non-secure ldap:// hosts works well.

After recompiling OpenLDAP without SASL both ldap:// and ldaps:// connections
works fine.