[Samba] 3.0.21rc2: Winbindd and "Invalid request size received"

Jeremy Allison jra at samba.org
Fri Dec 9 06:31:05 GMT 2005


On Thu, Dec 08, 2005 at 05:39:52PM -0800, S Clark wrote:
> The ongoing saga of The Place We Can't Freakin' Get Samba To Work Even Though 
> It Works Everywhere Else...
> 
> We're experiencing winbind problems.  Can't authenticate from AD ("Windows 
> Server 2003") even though:
> 
> "getent passwd" works (shows a list of all users including on AD server).
> "getent group" works (shows list of all groups including AD)
> "wbinfo -u" works
> "wbinfo -n (name-of-AD-user)" works
> "wbinfo --user-domgroups=(SID-of-user-derived-from-above-command)" works....
> 
> But nobody seems to be able to authenticate.  Windows prompts them for a 
> password, then tells them it failed.  (Also - for some reason we still have 
> the problem of "getent passwd (user)" not returning anything.  This seems to 
> be perversely intermittent.  About an hour ago it was working with the same 
> software.  As were windows logins.)
> 
> /var/log/samba/log.winbindd shows:
> 
> [2005/12/08 19:17:12, 0] nsswitch/winbindd.c:request_len_recv(554)
>   request_len_recv: Invalid request size received: 1828

This usually means you're mixing an older winbindd nss library
with a newer version of winbindd. Check you've got the right
library installed.

Jeremy.


More information about the samba mailing list