Bug#405495: libsasl2-modules-ldap: libldapdb segfaults

Jean Charles Delepine delepine at u-picardie.fr
Fri Jan 5 16:55:59 CET 2007


Jean Charles Delepine <delepine at u-picardie.fr> écrivait (wrote) :

> > sasl_auxprop_plugin: ldapdb
> > sasl_ldapdb_uri: ldap://ldap.u-picardie.fr/
> > sasl_ldapdb_mech: DIGEST-MD5
> > sasl_ldapdb_id: mailadmin
> > sasl_ldapdb_pw: xxxxxxxxx
> > sasl_log_level: 255
> > sasl_auto_transition: yes

> I have to admit I don't understand...

Usage of DIGEST-MD5 with ldapdb seems very broken in cyrus-sasl-2.1.22 :

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47114434850416 (LWP 1919)]
0x00002ad9b1afdc60 in pthread_mutex_lock () from /lib/libpthread.so.0
#0  0x00002ad9b1afdc60 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x00002ad9b174436e in ldap_pvt_sasl_mutex_lock ()
   from /usr/lib/libldap_r.so.2
#2  0x00002ad9b120ff12 in digestmd5_client_mech_step (conn_context=0x619010, 
    params=0x618c00, serverin=0x0, serverinlen=0, prompt_need=0x0, 
    clientout=0x7ffffc78d4b8, clientoutlen=0x7ffffc78d4c8, oparams=0x618290)
    at digestmd5.c:3955
#3  0x00002ad9ae4355c2 in sasl_client_step (conn=0x617a20, 
    serverin=0x7ffffc78d4c8 "", serverinlen=2981092432, prompt_need=0x1, 
    clientout=0x7ffffc78d4b8, clientoutlen=0x7ffffc78d4c8) at client.c:658
#4  0x00002ad9ae435a6e in sasl_client_start (conn=0x617a20, 
    mechlist=0x618fd0 " \"DIGEST-MD5\" \"LOGIN\" \"NTLM\" \"CRAM-MD5\" \"PLAIN\"
\r\n", prompt_need=0x0, clientout=0x7ffffc78d4b8, clientoutlen=0x7ffffc78d4c8, 
    mech=0x7ffffc78d4c0) at client.c:606
#5  0x000000000043bc45 in mboxlist_findall ()
#6  0x0000000000433c5d in mboxlist_findall ()
#7  0x0000000000431d6d in mboxlist_findall ()
#8  0x0000000000410888 in ?? ()
#9  0x000000000041898f in idle_update ()
#10 0x0000000000419c14 in idle_update ()
#11 0x00000000004072d1 in ?? ()
#12 0x00002ad9aee374ca in __libc_start_main () from /lib/libc.so.6
#13 0x0000000000406a7a in ?? ()
#14 0x00007ffffc792438 in ?? ()
#15 0x0000000000000000 in ?? ()


work around : sasl_mech_list: LOGIN PLAIN CRAM-MD5 NTLM

-- 
> R : Tu vois !            || Jean Charles Delépine - Université de Picardie
> > Q : Tu crois ?          
> > > R : Ça casse l'ordre chronologique de l'échange.
> > > > Q : En quoi répondre au dessus est-il gênant ?




More information about the Pkg-cyrus-sasl2-debian-devel mailing list