socket prob with 2.1.131 and samba 2.0.0b1

Andy Higgins (higgins@ns.vvm.com)
Wed, 9 Dec 1998 14:18:44 -0600 (EST)


Hello,

Has anyone else tried samba 2.0.x on 2.1.131..we've been running it on
2.0.36 for a while as a domain controller with no problems.. then
yesterday upgraded to 2.1.131..and users could no longer log into the
domain.. wins queries seemed to work..but they would get authentication
errors and I saw these errors in log.smb.. Switched back to 2.0.36 and it
worked right away. Other than that it was clearly faster than 2.0 or any
2.1 i have personally tried. Good Work guys! :)

[1998/12/09 09:44:02, 0] lib/util_sock.c:write_socket(191)
write_socket: Error writing 4 bytes to socket 6: ERRNO = Broken pipe
[1998/12/09 09:44:02, 0] lib/util_sock.c:send_smb(564)
Error writing 4 bytes to client. -1. Exiting
[1998/12/09 09:51:28, 0] lib/util_sock.c:write_socket(191)
write_socket: Error writing 4 bytes to socket 6: ERRNO = Broken pipe
[1998/12/09 09:51:28, 0] lib/util_sock.c:send_smb(564)
Error writing 4 bytes to client. -1. Exiting

from util_sock.c ..

BOOL send_smb(int fd,char *buffer)
{
size_t len;
size_t nwritten=0;
ssize_t ret;
len = smb_len(buffer) + 4;

while (nwritten < len)
{
ret = write_socket(fd,buffer+nwritten,len - nwritten);
if (ret <= 0)
{
DEBUG(0,("Error writing %d bytes to client. %d.
Exiting\n",len,ret));
close_sockets();
exit(1);
}
nwritten += ret;
}

return True;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/