panic in 3.0beta2 with using libnss_ldap but NOT samba ldap

Steve Langasek vorlon at netexpress.net
Tue Aug 5 11:59:54 GMT 2003


On Mon, Aug 04, 2003 at 05:43:51PM -0400, Bradley W. Langhorst wrote:
> This occurs immediately upon attempting to connect

> i'm not sure why this should fail.
> it might be slow but it should work right?

> this happened on samba 2.2 as well

> I don't know how to proceed - please advise

>   smb_panic(): action returned status 0
> [2003/08/04 17:16:36, 0] lib/util.c:smb_panic(1462)
>   PANIC: internal error
> [2003/08/04 17:16:36, 0] lib/util.c:smb_panic(1469)
>   BACKTRACE: 32 stack frames:
>    #0 /usr/sbin/smbd(smb_panic+0xc9) [0x817eb71]
>    #1 /usr/sbin/smbd [0x8170116]
>    #2 /lib/libc.so.6 [0x401d99d8]
>    #3 /usr/lib/libldap.so.2(gnutls_SSL_get_certificate+0x39)
> [0x400fec4e]
>    #4 /usr/lib/libldap.so.2(ldap_pvt_tls_get_my_dn+0x1e) [0x400fcdaf]
>    #5 /usr/lib/libldap.so.2(ldap_int_tls_start+0x116) [0x400fdbce]
>    #6 /usr/lib/libldap.so.2(ldap_start_tls_s+0xb2) [0x400fdf20]
>    #7 /lib/libnss_ldap.so.2 [0x4040abbf]
>    #8 /lib/libnss_ldap.so.2(_nss_ldap_initgroups_dyn+0x54) [0x4040cefc]

Hmm -- Debian testing/unstable system?

$ ldd /usr/sbin/smbd |grep gnutls
        libgnutls.so.5 => /usr/lib/libgnutls.so.5 (0x000002000022a000)
        libgnutls.so.7 => /usr/lib/libgnutls.so.7 (0x00000200004f8000)
$

Debian's Samba packages are currently waiting for libcups to be
recompiled against the new gnutls; see Debian bug #201744.  A workaround
would be to disable TLS support in nss_ldap; in theory, running nscd
should also work, though I've heard of segfaults even with nscd running.

Regards,
-- 
Steve Langasek
postmodern programmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030805/b8fe5b0a/attachment.bin


More information about the samba-technical mailing list