[Samba] Automatic & Permanent Disconnect of WinXP Clients

John H Terpstra - Samba Team jht at samba.org
Sat Mar 28 00:16:10 GMT 2009


Adam Tauno Williams wrote:
>> I'd like to enable my Samba server, either by the correct choice of standard configuration 
> parameters or by custom script, to permanently log off and disconnect WinXP clients that have 
> been "inactive" for a specified period of time.
>> >From my travels around the Web, I've seen this basic question asked by others, but no 
> solutions have materialized.
> 
> This is a domain policy issue and has nothing to do (specifically)  with 
> Samba.  Configure your ntconfig.pol file appropriately via POLEDIT.
> 
>> The "deadtime" and "keepalive" parameters seem intended to enhance Samba 
> server performance, not permanently log off users.  
> 
> Correct.  Disconnect != Logoff.

One of the problems in dealing with forced disconnection of idle clients
is that often the client has actually dropped the connection without
telling the server.  As Adam has said, this is a client behavioral
problem, and not something the server can do much about.

Adam's suggestion is one answer.  The other way is to create a default
network user profile that already has auto-disconnection policies set.
Both of these are outside of the scope of samba-specific issues.
Suggest you refer to the Microsoft Knowledge Base for Windows NT4 for
information regarding profiles and profile policies.

Cheers,
John T.


More information about the samba mailing list