[Samba] WinXP + Samba: Explorer locking problem

_Chris McKeever_ tech-mail at prupref.com
Thu Jul 17 13:55:23 GMT 2003



> -----Original Message-----
> From: Steve [mailto:honema at web.de]
> Sent: Thursday, July 17, 2003 8:55 AM
> To: samba at lists.samba.org
> Subject: [Samba] WinXP + Samba: Explorer locking problem
> 
> 
> 
> I've the following problem using WinXP + Samba 2.2.7:
> 
> Whenever I use the Windows Explorer and roll the mouse 
> pointer over a file (even without pressing the button), 
> Windows locks that file (maybe to retrieve some more info?). 
> This lock stays there for approx. 2-5 seconds ("watch smbstatus").
> When I want to move or delete the file from Windows within 
> this time, I consequently get a "file locked" error - it's 
> hard to move a file without touching it with the mouse :)  
> This makes using the Win Explorer quite annoying.
> 
> So I wonder if
> - anyone else has observed this problem?
> - this a WinXP or a Samba problem, or both?
> - I can make WinXP not to lock the files?
> - there is some config option for Samba to release locks 
> earlier, or to cache file infos, or else?

do you have oplocks on or off?  I haven't had any good luck with them being
on, so I just set them all to off.  

> 
> For most settings I use default options (oplocks, l2ops, 
> kernel ops activated). The samba server runs on Linux 2.4.21, 
> and the shares reside on a reiserfs disk.
> 
> Any help is welcome; if additional config details are 
> required I'll post it.
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 



More information about the samba mailing list