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

Ongoing problems with TLS it seems



Hi all,

I've been getting these errors recently (since a libldap upgrade I
think) and it is becoming quite frustrating.  It is happening to any
service that uses ldap for resolution (nss, mail, samba etc).

The platform is Debian Stable (sarge) with :

Pkg : libldap-2.2-7, Version : 2.2.23-8
Pkg : libgnutls11  , Version : 1.0.16-13.1
Pkg : libsasl2     , Version : 2.1.19-1.5

The server end is the same platform with :

Pkg : slapd        , Version : 2.2.23-8

I've found a few posts that indicate it is a bug in libldap, can anyone
confirm or deny this for me ?

How can I help fix this ?

I've got a gdb transcript below,

Thanks
Dave

----

GNU gdb 6.3-debian
...
#0  0x4005d83b in raise ()
  from /lib/tls/libc.so.6
(gdb) bt
#0  0x4005d83b in raise () from /lib/tls/libc.so.6
#1  0x4005efa2 in abort () from /lib/tls/libc.so.6
#2  0x400572df in __assert_fail () from /lib/tls/libc.so.6
#3  0x401b4dcd in ldap_int_sasl_open () from /usr/lib/libldap_r.so.2
#4  0x401af45e in ldap_int_open_connection () from /usr/lib/libldap_r.so.2
#5  0x401c1299 in ldap_new_connection () from /usr/lib/libldap_r.so.2
#6  0x401aef11 in ldap_open_defconn () from /usr/lib/libldap_r.so.2
#7  0x401c0e0f in ldap_send_initial_request () from /usr/lib/libldap_r.so.2
#8  0x401b7137 in ldap_sasl_bind () from /usr/lib/libldap_r.so.2
#9  0x401b7b50 in ldap_simple_bind () from /usr/lib/libldap_r.so.2
#10 0x4018b974 in ?? () from /lib/libnss_ldap.so.2
#11 0x08064d90 in ?? ()
#12 0x00000000 in ?? ()
#13 0x00000000 in ?? ()
#14 0x401d8734 in ?? () from /usr/lib/libldap_r.so.2
#15 0x00006000 in ?? ()
#16 0x08064d94 in ?? ()
#17 0xbfffc748 in ?? ()
#18 0x40198888 in ?? () from /lib/libnss_ldap.so.2
#19 0x40198b00 in ?? () from /lib/libnss_ldap.so.2
#20 0x40198b00 in ?? () from /lib/libnss_ldap.so.2
#21 0xbfffc748 in ?? ()
#22 0x4018b74d in ?? () from /lib/libnss_ldap.so.2
---Type <return> to continue, or q <return> to quit---
#23 0x0000001e in ?? ()
#24 0x00000000 in ?? ()
#25 0x40198b8c in ?? () from /lib/libnss_ldap.so.2
#26 0x40198888 in ?? () from /lib/libnss_ldap.so.2
#27 0x00000008 in ?? ()
#28 0x40198b00 in ?? () from /lib/libnss_ldap.so.2
#29 0xbfffc788 in ?? ()
#30 0x4018b58d in ?? () from /lib/libnss_ldap.so.2
#31 0x08064d90 in ?? ()
#32 0x0000001e in ?? ()
#33 0x00000000 in ?? ()
#34 0x00000000 in ?? ()
#35 0x00000000 in ?? ()
#36 0x40167840 in __after_morecore_hook () from /lib/tls/libc.so.6
#37 0x00000001 in ?? ()
#38 0x08061df8 in ?? ()
#39 0x0000001e in ?? ()
#40 0x00000000 in ?? ()
#41 0x40167840 in __after_morecore_hook () from /lib/tls/libc.so.6
#42 0x40198888 in ?? () from /lib/libnss_ldap.so.2
#43 0x4017d280 in ?? ()
#44 0xbfffd090 in ?? ()
#45 0xbfffc798 in ?? ()
---Type <return> to continue, or q <return> to quit---
#46 0x4018afae in ?? () from /lib/libnss_ldap.so.2
#47 0x40167840 in __after_morecore_hook () from /lib/tls/libc.so.6
#48 0x40198888 in ?? () from /lib/libnss_ldap.so.2
#49 0xbfffcff8 in ?? ()
#50 0x4018c9ea in ?? () from /lib/libnss_ldap.so.2
#51 0x400460bc in ?? () from /lib/tls/libc.so.6
#52 0xbfffcd30 in ?? ()
#53 0x4000b581 in _dl_map_object_deps () from /lib/ld-linux.so.2
Previous frame inner to this frame (corrupt stack?)