Greg Sheridan
2006-Sep-21 22:27 UTC
[Samba] Intermittent problems connecting to Samba share-Domain Ctlr issue
Hi everyone, We've been having intermittent problems connecting to Samba shares from Windows machines. I wrote a test program that tries to connect to the share and get a list of all of the files in it. It tries to do this every second. On some occasions this test program succeeds 14 times in a row before failing. It then fails once, and then succeeds 14 or so more times. It keeps repeating this pattern. Other times, this test program can consistently connect to that same share every second for over an hour. The error in the log seems to indicate that the problem happens when the Samba machine is talking to the Windows Domain Controller to authenticate the user. Here's the error from from the Linux machine's syslog(PGIDomainController is our Windows Domain Controller): ----------------------------------------------------------- Sep 18 20:50:12 scstor003 winbindd[1226]: cli_rpc_pipe_close: cli_close failed on pipe \NETLOGON, fnum 0x4006 to machine PGIDomainController. Error was Write error: Connection reset by peer ----------------------------------------------------------- We've also seen this block of error msgs: ----------------------------------------------------------- Sep 18 15:45:23 scstor008 winbindd[5195]: [2006/09/18 15:45:23, 0] lib/util_sock.c:write_data(559) Sep 18 15:45:23 scstor008 winbindd[5195]: write_data: write failure. Error = Connection reset by peer Sep 18 15:45:23 scstor008 winbindd[5195]: [2006/09/18 15:45:23, 0] libsmb/clientgen.c:write_socket(138) Sep 18 15:45:23 scstor008 winbindd[5195]: write_socket: Error writing 446 bytes to socket 15: ERRNO = Connection reset by peer Sep 18 15:45:23 scstor008 winbindd[5195]: [2006/09/18 15:45:23, 0] libsmb/clientgen.c:cli_send_smb(168) Sep 18 15:45:23 scstor008 winbindd[5195]: Error writing 446 bytes to client. -1 (Connection reset by peer) Sep 18 15:45:23 scstor008 winbindd[5195]: [2006/09/18 15:45:23, 0] rpc_client/cli_pipe.c:rpc_api_pipe(790) Sep 18 15:45:23 scstor008 winbindd[5195]: rpc_api_pipe: Remote machine PGIDomainController pipe \NETLOGON fnum 0x6returned critical error. Error was Write error: Connection reset by peer ----------------------------------------------------------- Any feedback on this would be greatly appreciated. Thanks, Greg Sheridan --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less.