Visual Studio 6 + Samba 2.2.5 misbehaves.

Andrew Bartlett abartlet at
Thu Aug 1 05:32:03 GMT 2002

Fredrik Ohrn wrote:
> On 1 Aug 2002, Mike Gerdts wrote:
> > This sounds like you have clocks out of sync.  Be sure that the time on
> > your workstation, the Samba server, and any NFS servers that Samba may
> > get shares from all have clocks that are in sync.  I highly suggest
> > using NTP between all servers.  Once you have NTP running on a unix
> > server, you can convince win2k clients to sync with that server using:
> >
> > net time /setsntp:unixservername
> >
> That was a good start, the client and server was 20 seconds out of sync.
> Now the "file changed outside editor" message is gone. I just tried the
> same procedure on two XP boxes sharing files with their clocks out of
> sync. The problem never surfaced.
> Is this a bug in samba that it cant handle out of sync clocks or is it
> just not possible to do a better implementation?
> Also the "delayed write failed" doesn't happen right away as it did
> before. Now I have to wait untill samba disconnects the drive due to
> inactivity (as specified by deadtime). Stopping and restarting Visual
> Studio cures it (untill the nex timeout).

As a basic rule, setting 'deadtime' is a bad idea.  Is there any reason
to set this paramater?

Andrew Bartlett

Andrew Bartlett                                 abartlet at
Manager, Authentication Subsystems, Samba Team  abartlet at
Student Network Administrator, Hawker College   abartlet at

More information about the samba-technical mailing list