smbd crashes with back trace when leaving AD domain

shani wijaya ridgetreeway at yahoo.com
Thu Oct 18 12:11:07 MDT 2012


Hi All

When we join a domain (With large number of user - ~25k) and subsequently leave the domain smbd crashes with the following backtrace in log.smbd

BACKTRACE: 21 stack frames:
   #0 smbd(log_stack_trace+0x2d) [0x77cac5]
   #1 smbd(smb_panic+0x7c) [0x77cbf7]
   #2 smbd [0x76bd6c]
   #3 [0xf7c420]
   #4 /usr/lib/libkrb5.so.3(krb5int_locate_server+0x114) [0x217f14]
   #5 /usr/lib/libkrb5.so.3(krb5_locate_kdc+0x46) [0x2184e6]
   #6 /usr/lib/libkrb5.so.3(krb5_sendto_kdc+0xb0) [0x21a580]
   #7 /usr/lib/libkrb5.so.3 [0x1f8b82]
   #8 /usr/lib/libkrb5.so.3(krb5_get_init_creds+0x78d) [0x1f9c3d]
   #9 /usr/lib/libkrb5.so.3(krb5_get_init_creds_password+0x2bb) [0x1fbecb]
   #10 smbd(kerberos_kinit_password_ext+0x22b) [0xac5ccb]
   #11 smbd(ads_kinit_password+0x11f) [0xac5fae]
   #12 smbd [0xaba0b6]
   #13 smbd(ads_sasl_bind+0x185) [0xab83f5]
   #14 smbd(ads_connect+0xafd) [0xab69d9]
   #15 smbd(check_published_printers+0x116) [0x7b5118]
   #16 smbd(nt_printing_init+0xc1e) [0x7bc09b]
   #17 smbd(print_backend_init+0x186) [0x7aee91]
   #18 smbd(main+0xa62) [0xb0cf30]
   #19 /lib/libc.so.6(__libc_start_main+0xdc) [0xd2ce9c]
   #20 smbd [0x4b3b61]
[2012/10/17 14:29:59.452640,  0] lib/fault.c:326(dump_core)

Can anybody shed some light on this?

We are using CentOS 5.8 and using authconfig to configure AD.
As far as I can tell smb.conf and krb5.conf are configured properly.

This is not frequent though. We have to join and leave the domain several
times before we reproduce this problem. I have also seen cases that when we run
kinit, the knint segfaults in the same system. But I have seen this only a few
times.

Any insights will be much appreciated.

Thanks in advance
Ridgetree




More information about the samba-technical mailing list