Problems With WinWord mail merge, opening and closing files
Jeremy Allison
jallison at whistle.com
Fri Jul 17 17:07:19 GMT 1998
Richard Sharpe wrote:
> today I encountered a problem at a customer site with Samba 1.9.19p1alpha2.
>
> The customer was using mail merge, and when they tried to use it, Word
> complained that a file was locked by someone else. The user was sure that
> no one else had that file open.
>
> We checked, and indeed, it as not open for anyone else, and there were no
> other locks on it, except for one owned by the user.
>
> I then got a trace of the whole process, from staring up word and opening
> the file.
>
> It seems that mail merge opens the file for reading and then closes it and
> reopens it again quickly. I have not looked carefully at the trace or the
> code yet, but is it possible that Samba is getting confused with the open
> happening quickly after the close?
>
That shouldn't be able to happen. The close will flush all
knowledge of the file from Samba (oplocks, share modes etc.)
Do you have a debulg level 10 log ?
Cheers,
Jeremy.
--
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------
More information about the samba-technical
mailing list