[Samba] shared files not locked -> samba culprit or clients?

Michael Gasch gasch at eva.mpg.de
Mon Oct 20 08:32:45 GMT 2003

hi tom

possibly it's not a bug in samba but a problem on client side?
you said, you tried even with 2k clients and it worked: was it the same 
excel version like on XP ?

maybe it's because of excel:
when opening files in excel, copies are made of this file until you 
close this file AFAIK

if another user opens the same file, a new tmp-file is created by excel
so maybe the older one is overwriten/deleted and the first client can't 
modify his document anymore?

may be you can define this excel behaviour in the "options-menu" ?


Jeremy Allison wrote:
> On Fri, Oct 17, 2003 at 06:10:35PM +0200, Tom Lazar wrote:
>>i have a question concerning the locking feature of samba (both 2.2.8 
>>and 3.0.0) that i haven't found answered in the documentation. at this 
>>point i am not sure, whether it's a bug in samba, the client 
>>applications or simply a misunderstanding of the locking feature itself 
>>on my part - at any rate it's a pressing problem, as my clients are 
>>losing both their data as well as their faith in the server!
> This was a bug in 3.0.0, has been fixed in the 3.0.1 CVS tree
> and in the 3.0.1 pre release.
> I posted the patch on this list, sorry for the problem. If you
> can't find it in the archives (look for "read only Excel file")
> mail me and I'll look it up.
> Jeremy.


          "Matrix - more than a vision"

Michael Gasch
Max Planck Institute for Evolutionary Anthropology
Deutscher Platz 6
04103 Leipzig


More information about the samba mailing list