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

Re: ldapsearch core dump with 2.0.7 on Solaris 2.6



openldap-devel@thewrittenword.com wrote:
> 
> >From libraries/libldap/cyrus.c:
> 
> int
> ldap_int_sasl_external(
>         LDAP *ld,
>         const char * authid,
>         ber_len_t ssf )
> {
>         int sc;
>         sasl_conn_t *ctx = ld->ld_defconn->lconn_sasl_ctx;
>         sasl_external_properties_t extprops;
> 
>         if ( ctx == NULL ) {
>                 return LDAP_LOCAL_ERROR;
>         }
> 
> I'm trying to get RAND_egd() working correctly
> (libraries/libldap/tls.c has a bug). In the process of doing this, I
> get a coredump when running ldapsearch in ldap_int_sasl_external. It
> seems ld->ld_defconn is NULL. Is that bad? Where is ld_defconn suppose
> to be set?

A fix has been committed to HEAD and re1.2. See ITS 889.

-- 
Norbert Klasen
DFN Directory Services                           tel: +49 7071 29 70335
ZDV, Universität Tübingen                        fax: +49 7071 29 5912
Wächterstr. 76, 72074 Tübingen              http://www.directory.dfn.de
Germany                             norbert.klasen@zdv.uni-tuebingen.de