[Samba] smb keeps stale connections from logged out users and shut down clients

Frederik freggy at gmail.com
Tue Feb 10 09:11:59 GMT 2009


On Mon, Feb 9, 2009 at 3:35 PM, Volker Lendecke
<Volker.Lendecke at sernet.de> wrote:
> On Mon, Feb 09, 2009 at 03:17:27PM +0100, Frederik wrote:
>> We are using Samba 3.0.33 as a PDC and file server for Windows XP
>> clients, but seem to be suffering lots of stale connections. smbstatus
>> still shows connections from users already logged out and even from
>> systems which have already been shut down.
>>
>> Restarting the samba service, cleans up all stale connections.
>>
>> We tried deadtime = 5 in the samba configuration file, but this does
>> not help at all.
>
> The parameter "keepalive" doesn't help either?

No. I added the socket option SO_KEEPALIVE and keepalive = 300 in
addition to deadtime = 5 which was already there, but smbstatus is
again showing two different users connected from the same Windows XP
desktop.

-- 
Frederik


More information about the samba mailing list