Thanks for fixing oplock.c for Linux 2.0 in 2_2 CVS

Richard Bollinger rabollinger at
Thu May 30 16:40:02 GMT 2002

Please see:;en-us;Q297684

Which says in part...
When you perform drive mapping from a Windows 2000-based client computer to either a Microsoft
Windows NT or Windows 2000 network share, the drive mapping may be disconnected after 15 minutes
of inactivity and Windows Explorer may display a red "X" on the icon of the mapped drive.
However, if you attempt to access or browse the mapped drive, it reconnects quickly.

This behavior can occur because both Windows NT Server version 4.0 and Windows 2000 Server can
drop idle connections after a specified time-out period, which by default is 15 minutes, so that
server resources are not wasted on unused sessions. The connection can be re-established very
quickly at a later time, if required.

To resolve this behavior, use a command to change the default time-out period on the Windows NT
Server 4.0 or Windows 2000 Server: At a command prompt, type: net config server
/autodisconnect:30 .

The valid value range to configure this setting from a command line is from -1 through 65,535
minutes. To disable Autodisconnect, set it to -1 .

Rich Bollinger

----- Original Message -----
From: "Jeremy Allison" <jra at>
To: "Volker Lendecke" <Volker.Lendecke at SerNet.DE>
Cc: "Jeremy Allison" <jra at>; <abartlet at>; "Andrew Bartlett"
<abartlet at>; "Richard Bollinger" <rabollinger at>; "Samba Technical"
<samba-technical at>; <tridge at>
Sent: Thursday, May 30, 2002 5:32 PM
Subject: Re: Thanks for fixing oplock.c for Linux 2.0 in 2_2 CVS

On Thu, May 30, 2002 at 09:35:38AM +0200, Volker Lendecke wrote:
> On Wed, May 29, 2002 at 04:55:20PM -0700, Jeremy Allison wrote:
> > On Wed, May 29, 2002 at 04:48:27PM -0700, abartlet at wrote:
> > >
> > > And are you saying that Win2k will never 'idle' a client connection?  I'm
> > > sure I've seen smbfs being 'idled' by NT before...
> >
> > I don't think it ever drops the TCP connection on purpose.
> I'm quite positive it does. I have seen sites with 'security = server' fail
> miserably after having changed to W2k on the DC due to disconnects from the DC.

No, I mean that the Win2k server service won't drop a client
connection on purpose if there's no traffic on it (it doesn't
idle connections).


More information about the samba-technical mailing list