[Samba] Win98 Network File Caching?

Jeremy Allison jra at samba.org
Wed Jun 9 04:51:13 GMT 2004


On Wed, Jun 09, 2004 at 09:33:30AM +0800, David Rea wrote:
> Hi Guys,
> 
> This is a strange one. We use Samba on a SCO UNIX Box that shares various
> files out. If you are on a Win98 system and copy a text document over to the
> local disk on win98 and then modify the file on a single line from the SCO
> system and then re-copy that file again to the 98 box it doesn't recognise
> any difference. It doesn't appear to occur with XP and Linux systems
> mounting the Samba shares at all. So I am assuming this is a problem with
> Win98?
> 
> Can anyone please share some light on this subject, I have done lots and
> lots of searching with no luck on how to overcome this issue. I have tried
> various things like disable caching on Windows etc etc etc. Nothing helps
> :-(

This is almost certainly due to oplocks on the client. To
prevent this either turn off oplocks on the Samba server
(oplocks = no on the share definition) or use Linux, which
has a kernel that natively supports oplocks. Hmmm. As you're
on a SCO system I'd definitely suggest the latter. Using a
system whose author shows a predilection for suing their
own customers isn't a good idea...

Jeremy.


More information about the samba mailing list