The winbind may crash in 15 minutes after restarting samba and may work fine for three days. The average is about 20 hours. I don't think it's about too many connections or whatever, because it often crashes at night too. The problem appeared about month ago, no changes to the configurations of both samba server on FreeBSD7 gateway and AD on Win2003 were made that time. Thanks in advance. The samba is built with options: _OPTIONS_READ=samba-3.0.32_2,1 WITH_LDAP=true WITH_ADS=true WITH_WINBIND=true WITH_ACL_SUPPORT=true WITH_AIO_SUPPORT=true WITH_FAM_SUPPORT=true WITH_SYSLOG=true WITH_QUOTAS=true WITH_UTMP=true WITH_PAM_SMBPASS=true WITH_DNSUPDATE=true WITH_POPT=true WITH_PCH=true and with patches from bug #5814 and #5737 Jan 5 22:20:03 proxy winbindd[70676]: [2009/01/05 22:20:03, 0] lib/fault.c:fault_report(41) Jan 5 22:20:03 proxy winbindd[70676]: =============================================================== Jan 5 22:20:03 proxy winbindd[70676]: [2009/01/05 22:20:03, 0] lib/fault.c:fault_report(42) Jan 5 22:20:03 proxy winbindd[70676]: INTERNAL ERROR: Signal 6 in pid 70676 (3.0.32) Jan 5 22:20:03 proxy winbindd[70676]: Please read the Trouble-Shooting section of the Samba3-HOWTO Jan 5 22:20:03 proxy winbindd[70676]: [2009/01/05 22:20:03, 0] lib/fault.c:fault_report(44) Jan 5 22:20:03 proxy winbindd[70676]: Jan 5 22:20:03 proxy winbindd[70676]: From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf Jan 5 22:20:03 proxy winbindd[70676]: [2009/01/05 22:20:03, 0] lib/fault.c:fault_report(45) Jan 5 22:20:03 proxy winbindd[70676]: =============================================================== Jan 5 22:20:03 proxy winbindd[70676]: [2009/01/05 22:20:03, 0] lib/util.c:smb_panic(1633) Jan 5 22:20:03 proxy winbindd[70676]: PANIC (pid 70676): internal error Jan 5 22:20:03 proxy winbindd[70676]: [2009/01/05 22:20:03, 0] lib/util.c:log_stack_trace(1737) Jan 5 22:20:03 proxy winbindd[70676]: BACKTRACE: 19 stack frames: Jan 5 22:20:03 proxy winbindd[70676]: #0 0xd313d <smb_panic+93> at /usr/local/sbin/winbindd Jan 5 22:20:03 proxy winbindd[70676]: #1 0xbd4f6 <dump_core_setup+1014> at /usr/local/sbin/winbindd Jan 5 22:20:03 proxy winbindd[70676]: #2 0xbfbfffb4 Jan 5 22:20:03 proxy winbindd[70676]: #3 0x2067ab8a <abort+106> at /lib/libc.so.7 Jan 5 22:20:03 proxy winbindd[70676]: #4 0x20663096 <__assert+86> at /lib/libc.so.7 Jan 5 22:20:03 proxy winbindd[70676]: #5 0x2057043f <ldap_parse_result+863> at /usr/local/lib/libldap-2.4.so.3 Jan 5 22:20:03 proxy winbindd[70676]: #6 0x1db41c <ads_clear_service_principal_names+2172> at /usr/local/sbin/winbindd Jan 5 22:20:03 proxy winbindd[70676]: #7 0x1db79f <ads_do_search_all_args+111> at /usr/local/sbin/winbindd Jan 5 22:20:03 proxy winbindd[70676]: #8 0x1e4cd6 <ads_atype_map+918> at /usr/local/sbin/winbindd Jan 5 22:20:03 proxy winbindd[70676]: #9 0x1e502a <ads_do_search_retry+58> at /usr/local/sbin/winbindd Jan 5 22:20:03 proxy winbindd[70676]: #10 0x1e51fd <ads_search_retry+77> at /usr/local/sbin/winbindd Jan 5 22:20:03 proxy winbindd[70676]: #11 0x6854e <msrpc_name_to_sid+15550> at /usr/local/sbin/winbindd Jan 5 22:20:03 proxy winbindd[70676]: #12 0x4f8fd <cache_name2sid+10973> at /usr/local/sbin/winbindd Jan 5 22:20:03 proxy winbindd[70676]: #13 0x4464b <winbindd_getgroups+1851> at /usr/local/sbin/winbindd Jan 5 22:20:03 proxy winbindd[70676]: #14 0x46dd8 <winbindd_getgrent+968> at /usr/local/sbin/winbindd Jan 5 22:20:03 proxy winbindd[70676]: #15 0x3fb30 <request_finished_cont+896> at /usr/local/sbin/winbindd Jan 5 22:20:03 proxy winbindd[70676]: #16 0x40129 <winbind_check_sighup+521> at /usr/local/sbin/winbindd Jan 5 22:20:03 proxy winbindd[70676]: #17 0x40ba4 <main+2420> at /usr/local/sbin/winbindd Jan 5 22:20:03 proxy winbindd[70676]: #18 0x3ed49 <_start+137> at /usr/local/sbin/winbindd Jan 5 22:20:03 proxy winbindd[70676]: [2009/01/05 22:20:03, 0] lib/fault.c:dump_core(181) Jan 5 22:20:03 proxy winbindd[70676]: dumping core in /var/log/samba/cores/winbindd Jan 5 22:20:03 proxy winbindd[70676]: Jan 5 22:20:03 proxy kernel: pid 70676 (winbindd), uid 0: exited on signal 6 (core dumped)
The string that's first in the log.winbindd above. Assertion failed: (r != NULL), function ldap_parse_result, file error.c, line 272.
3.0.34 didn't fix the bug
this 11y old bug report is not a generic bug (these days) I think, it would have popped up more often otherwise.