Visual Studio 6 + Samba 2.2.5 misbehaves.

Fredrik Ohrn ohrn at
Thu Aug 1 05:25:02 GMT 2002

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).


   "It is easy to be blinded to the essential uselessness of computers by
   the sense of accomplishment you get from getting them to work at all."
                                                   - Douglas Adams

Fredrik Öhrn                               Chalmers University of Technology
ohrn at                                                  Sweden

More information about the samba-technical mailing list