[Samba] session keep alive

Urs Golla urs.golla at gmail.com
Thu Jan 29 09:44:44 GMT 2009


I have several (>40) linux servers and which use winbind for
authentication (ads backend). Some of them (6) are behind a load
balancer (Big-IP) which acts as an ordinary router at the moment. When
I try to logon to one of these servers with my ads account I get
"permission denied". But if I try it again then it works without
problems. As soon as there is no "winbind activity" (no user is loged
on to the servers) for some hours it starts again.

The winbind logfile says:

write_socket: Error writing 270 bytes to socket 18: ERRNO = Connection
reset by peer
[2009/01/29 02:14:33, 0] libsmb/clientgen.c:cli_send_smb(189)
 Error writing 270 bytes to client. -1 (Connection reset by peer)
[2009/01/29 02:14:33, 0] rpc_client/cli_pipe.c:rpc_api_pipe(790)
 rpc_api_pipe: Remote machine MYDC pipe \lsarpc fnum 0xc00freturned
critical error. Error was Write error: Connection reset by peer
[2009/01/29 02:14:33, 1] nsswitch/winbindd_group.c:winbindd_getgrnam(519)

As far as I know the load balancer sends a reset package after some
hours if there was no activity. Is there a keepalive function for
this? I think the keepalive paramter is only for sessions to the
clients and not for sessions to the domain controller.


More information about the samba mailing list