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 [root@spicy p]# smbstatus Samba version 3.0.13 PID Username Group Machine ------------------------------------------------------------------- 30929 annie gna gna1 (192.168.0.203) 20848 scott ops tech5 (192.168.0.238) 19045 deedee gna gna2 (192.168.0.204) 20848 scott ops tech5 (192.168.0.238) 30575 ed sales gna7 (192.168.0.239) 24569 lee ops tech4 (192.168.0.249) 24569 lee ops tech4 (192.168.0.249) 22741 ken ops tech2 (192.168.0.212) 22741 ken ops tech2 (192.168.0.212) 4456 roa admin gna8 (192.168.0.237) 19045 deedee gna gna2 (192.168.0.204) 19435 ralph ops tech1 (192.168.0.240) 30929 annie gna gna1 (192.168.0.203) 30575 ed sales gna7 (192.168.0.239) Service pid machine Connected at ------------------------------------------------------- IPC$ 24569 tech4 Wed Jul 6 09:26:47 2005 IPC$ 19045 gna2 Wed Jul 6 11:34:13 2005 IPC$ 22741 tech2 Thu Jun 23 07:53:11 2005 IPC$ 30929 gna1 Tue Jul 5 14:59:59 2005 Intranet 4456 gna8 Tue Jul 5 11:47:09 2005 deedee 19045 gna2 Wed Jul 6 08:12:04 2005 IPC$ 19045 gna2 Tue Jul 5 09:54:10 2005 IPC$ 30575 gna7 Fri Jul 1 13:24:03 2005 IPC$ 22741 tech2 Wed Jul 6 09:00:20 2005 IPC$ 19435 tech1 Wed Jun 22 15:28:52 2005 IPC$ 29941 firesafe Wed Jul 6 12:57:52 2005 Lemon 4456 gna8 Tue Jul 5 08:57:26 2005 Ops 19435 tech1 Wed Jun 29 20:28:57 2005 IPC$ 24569 tech4 Fri Jun 17 10:49:16 2005 IPC$ 4456 gna8 Tue Jul 5 08:50:30 2005 IPC$ 20848 tech5 Wed Jul 6 13:13:46 2005 IPC$ 30575 gna7 Wed Jul 6 12:51:04 2005 IPC$ 20848 tech5 Thu Jun 30 08:15:54 2005 IPC$ 30929 gna1 Fri Jul 1 12:45:32 2005 Thanks for the help!
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@seh.de Software Development SEH Computertechnik GmbH www.seh.de