[Samba] strangely lingering lock, samba 3.0.22

Jeremy Allison jra at samba.org
Tue Aug 1 20:45:34 GMT 2006


On Tue, Aug 01, 2006 at 03:35:09PM -0500, Logan Shaw wrote:
> Hello everyone,
> 
> Today a user (call them 'abc') came to me and described the
> following sequence of events:
> 
> 1.  They opened an Excel file, made some changes, saved it, and
>     closed it.
> 
> 2.  They tried to open it again and got an error dialog within
>     Excel that says this:
> 
> 	    File in Use
> 
> 	    FooBar.xls is locked for editing
> 
> 	    by 'abc'.
> 
> 	    Open 'Read-Only' or, click 'Notify' to open read-only
> 	    and receive notication when the document is no longer
> 	    in use.
> 
> 3.  They rebooted their desktop machine and tried again, and
>     got the same dialog again.
> 
> No matter what they do, the file remains locked.  The same file
> is locked for other Windows users and on other Windows computers
> as well, so obviously there is some sort of state on the Samba
> server that is telling the clients that the file is locked.

I added cleanup code for 3.0.23 that should fix this issue.
You might want to try 3.0.23a to see if it fixes it.

Jeremy.


More information about the samba mailing list