[Samba] winbindd 3.0.10 stops functioning

Joe Kraft hishadow at netcabo.pt
Fri Jan 7 18:18:36 GMT 2005


I've recently upgraded from a 3.0.4 (or 3.0.6, I don't remember) to 
Samba 3.0.10 on a FreeBSD 5.2.1 system and now I'm having problems with 
winbind.

It seems to run fine for a while, but then it hangs and starts taking a 
lot of CPU time (80-90% while idling), eventually it dumps core.  I 
commented out the 'client use spnego' line because that caused winbindd 
to hang immediately after startup.  My smb.conf is attached.

I've attached the where from gdb of the core file, I have two core dumps 
from different days with the same stack trace.

I've also attached the last bit of the log.winbindd before winbindd 
stops functioning.  It's nothing exciting except it just stops.  On a 
side note I suppose all of those "No rid for..." messages should be 
telling me something, but I'm not sure what.

I did have one log which had the little note about looking at the BUGS 
section on the HOWTO and something about an INTERNAL ERROR, but stupidly 
I didn't put it in a safe place and I've lost it.

Thanks for any help you can give,
Joe.



[root at kara root]# winbindd --version
Version 3.0.10

[root at kara samba]# klist --version
klist (Heimdal 0.6)

#======== Global Settings ===============
[global]
    security = ADS
    realm = home.local
    workgroup = HOME
    netbios name = KARA
    server string = Hi I'm Kara

    encrypt passwords = yes
    ldap ssl = on

    server schannel = yes
    server signing = mandatory

    client schannel = yes
    client signing = mandatory
    # squid doesn't like ntlmv2 auth
#   client ntlmv2 auth = yes
#   client use spnego = yes
         # winbindd hangs with this turned on
    client use spnego = no

    winbind separator = +
    idmap uid = 10000-11000
    idmap gid = 10000-11000
    winbind enum users = Yes
    winbind enum groups = Yes
    template homedir = /home/%D/%U
    template shell = /usr/local/bin/bash

    log file = /var/log/samba/log.%m
    max log size = 100
#   log level = 2 passdb:2 winbind:2 auth:2




#0  0x28520dcf in kill () from /lib/libc.so.5
#1  0x28515878 in raise () from /lib/libc.so.5
#2  0x2858df82 in abort () from /lib/libc.so.5
#3  0x080cb70e in smb_panic2 ()
#4  0x080cb519 in smb_panic ()
#5  0x080b76ac in fault_report ()
#6  0x080b7721 in sig_fault ()
#7  <signal handler called>
#8  0x2857631c in strcmp () from /lib/libc.so.5
#9  0x2833f02b in krb5_cc_register () from /usr/lib/libkrb5.so.7
#10 0x2833f138 in krb5_cc_resolve () from /usr/lib/libkrb5.so.7
#11 0x2833f360 in krb5_cc_default () from /usr/lib/libkrb5.so.7
#12 0x080eedc2 in cli_krb5_get_ticket ()
#13 0x080efc61 in spnego_gen_negTokenTarg ()
#14 0x081784fc in ads_sasl_spnego_krb5_bind ()
#15 0x08178866 in ads_sasl_spnego_bind ()
#16 0x08178f97 in ads_sasl_bind ()
#17 0x081722d8 in ads_connect ()
#18 0x08082145 in ads_cached_connection ()
#19 0x080845ae in sequence_number ()
#20 0x080768d6 in refresh_sequence_number ()
#21 0x08076b2c in wcache_fetch ()
#22 0x08077968 in enum_dom_groups ()
#23 0x0807161f in get_sam_group_entries ()
#24 0x08071d21 in winbindd_getgrent ()
#25 0x0806d214 in process_request ()
#26 0x0806d581 in winbind_process_packet ()
#27 0x0806da2c in process_loop ()
#28 0x0806e5af in main ()
#29 0x0806ca12 in _start ()



[2005/01/07 15:10:01, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Server Operators !?
[2005/01/07 15:10:01, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Account Operators !?
[2005/01/07 15:10:01, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Print Operators !?
[2005/01/07 15:10:01, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Pre-Windows 2000 Compatible Access !?
[2005/01/07 15:20:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Administrators !?
[2005/01/07 15:20:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Users !?
[2005/01/07 15:20:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Guests !?
[2005/01/07 15:20:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Backup Operators !?
[2005/01/07 15:20:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Replicator !?
[2005/01/07 15:20:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Server Operators !?
[2005/01/07 15:20:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Account Operators !?
[2005/01/07 15:20:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Print Operators !?
[2005/01/07 15:20:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Pre-Windows 2000 Compatible Access !?
[2005/01/07 15:30:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Administrators !?
[2005/01/07 15:30:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Users !?
[2005/01/07 15:30:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Guests !?
[2005/01/07 15:30:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Backup Operators !?
[2005/01/07 15:30:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Replicator !?
[2005/01/07 15:30:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Server Operators !?
[2005/01/07 15:30:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Account Operators !?
[2005/01/07 15:30:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Print Operators !?
[2005/01/07 15:30:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Pre-Windows 2000 Compatible Access !?
[2005/01/07 15:40:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Administrators !?
[2005/01/07 15:40:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Users !?
[2005/01/07 15:40:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Guests !?
[2005/01/07 15:40:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Backup Operators !?
[2005/01/07 15:40:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Replicator !?
[2005/01/07 15:40:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Server Operators !?
[2005/01/07 15:40:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Account Operators !?
[2005/01/07 15:40:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Print Operators !?
[2005/01/07 15:40:00, 1] nsswitch/winbindd_ads.c:enum_dom_groups(282)
   No rid for Pre-Windows 2000 Compatible Access !?



More information about the samba mailing list