Friday, February 7, 2014

winbind nsswitch error

yeah. so i re-compiled my samba binaries and i see this:
nsswitch/winbindd.c:request_len_recv(544)
  request_len_recv: Invalid request size received: 2096 (expected 2088)
oh super.
  
this says that the nsswitch subsystem is attempting to access winbind and it
 looks like i did not shut it down properly after i installed my new samba 
binaries.a ps aux will show that.  simply stop the service and kill 
any others

/etc/init.d/winbind stop

kill $(ps aux | grep 'winbind' | awk '{print $2}')

/etc/init.d/winbind stard

now stare at the log file:

tail -f -n 30 /var/log/samba/log.winbind

hopefully, all you'll see is:

[2014/02/07 12:00:00,  0] winbindd/winbindd.c:1348(main)
  winbindd version 3.6.8 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2014/02/07 12:00:00,965625,  0] winbindd/winbindd_cache.c:3147(initialize_winbindd_cache)
  initialize_winbindd_cache: clearing cache and re-creating with version number 2

some people say reboot the system.  i think it is better idea to see what's 
calling winbind; check and see if anything in /etc/nsswitch.conf or 
/etc/pam.d is pointing to it.  lsof can be a 
good friend, too.
Post a Comment