Moshe Aelion
2011-Aug-06 03:07 UTC
[Samba] Samba winbindd: "Invalid request size received" problem
Hi experts - I hope you can help me. I am trying to resolve Windows host names (aka Netbios names, aka "UNC names) from a Linux box. I have added "dns wins" to the "hosts" line at the nsswitch configuration file: /etc/nsswitch.conf, and installed samba 3.2.2 and ran winbindd -D". Now, when I go: "wbinfo -N venus" (where venus is a Windows UNC pc host name on the LAN), it responds: "192.168.0.12" (which is venus' IP address). But, when I go: "ping venus", it says: "ping: bad address: venus", and in the log file: ffp/var/log/samba/log.winbindd it says: "winbindd/winbindd.c:request_len_recv(616) request_len_recv: Invalid request size received: 1844 (expected 2096)" When I try to copy a file from the Windows PC to the Linux box, going: rsync -v "venus:e/my Documents/Temp/a.txt" . (where a.txt is the file I'd like to copy), it says: "ssh: Could not resolve hostname venus: Name or service not known", and in: ffp/var/log/samba/log.winbindd it says again: "winbindd/winbindd.c:request_len_recv(616) request_len_recv: Invalid request size received: 1844 (expected 2096)". More info: I am running a Linux system whose kernel version is: "2.6.12.6-arm1". It's a D-Link DNS-323 NAS box with an ARM processor. I have stopped and restarted winbindd. Your help will be appreciated. Thanks in advance - Gail
Christian M Ambach
2011-Aug-11 20:19 UTC
[Samba] Samba winbindd: "Invalid request size received" problem
Moshe wrote on 08/06/2011 05:07:00 AM:> I am trying to resolve Windows host names (aka Netbios names, aka > "UNC names) from a Linux box. > I have added "dns wins" to the "hosts" line at the nsswitch > configuration file: /etc/nsswitch.conf, and installed samba 3.2.2 > and ran winbindd -D".[...]> More info: I am running a Linux system whose kernel version is: "2. > 6.12.6-arm1". It's a D-Link DNS-323 NAS box with an ARM processor. > I have stopped and restarted winbindd.I gave it a quick test and such a setup works with Samba 3.6. You should try to upgrade to a newer Samba version anyway as 3.2 is quite old. Maybe you can find binary packages that you can install on the box instead of having to compile your own ones. Regards, Christian