[Samba] 'deadtime' in Samba 3.0.13
Martin Zielinski
mz at seh.de
Thu Jul 7 10:20:11 GMT 2005
Peter Shull wrote:
> Hi,
>
> I currently have deadtime = 15 in my smb.conf. This featured worked good to
> disconnect clients that have been idle for > 15 minutes in the past. With
> the 3.0.13 version, it seems to do nothing. As in, it just keeps the user
> connected indefinitely.
>
> Here is what I see when no one is currently at the office and everyone is
> logged off their computer.
>
> Thanks
>
[...]
On my system the clients keep one spoolss pipe open. When the client
opens a printer window and closes it afterwards, one connection remains
(No Tree Disconnect AndX Request).
Except for the printer administrator. The printeradmin calls the
disconnect-request and the daedtime functions (mostly).
In smbd/conn.c : conn_idle_all() the deadtime is ignored, if one or more
files are still open.
Testing with older versions shows, that the behaviour hasn't changed.
It's the same with samba 3.0.6.
But I could swear, I would have had problems with this earlier ...?
Anyone who does _not_ see this behaviour?
Martin
--
Martin Zielinski mz at seh.de
Software Development
SEH Computertechnik GmbH www.seh.de
More information about the samba
mailing list