Thank you for answering. I am testing Samba 3.0.1Pre1 on RH9 . MS Word 97 keeps
opening already opened files without sending any warning as it would normally do when
accessing W2K servers. Same program , same files behave differently with Samba and
W2K. However, I found that Powerpoint is nevertheless able to sense correctly the
situation by always giving such warnings - " test.ppt is already opened by .. do you
want to make a copy?" - I haven't tried other applications such as Excel or else.
I tried every relevant combination of strict locking, locking, oplocks but still
couldn't understand why MS Word is unable to sense the file opening!!
I don't have other problems related to authentication, home dirs, roaming profiles,
etc.
Can you please give me a hint , shall I try Samba 3.0.0 ?
Thank you,
Cristian
-----Original Message-----
From: Jeremy Allison [mailto:[EMAIL PROTECTED]
Sent: 04 November 2003 18:22
To: Vladuta Cristian
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] very odd behavior for concurrent file
access in Samba3.0.0 with MS Word
On Tue, Nov 04, 2003 at 12:22:34PM +0200, Vladuta Cristian wrote:
>
> Leaving all locks/oplocks by default, there is no way of preventing
a second MSWord user from opening an already open file with no warning message (in a
MS network the message would normally be " ..test.doc is already open by ...Do you
want to make a copy?")!! No such thing with Samba, as the second user might waist
hours on editing an already open file just ending with no results!! Don't you think
this is stupid?
>
> How can you advert other users that a file is already open in such
situations? I just want to avoid confusion and make the transition from a Windows
file server to Samba transparent.
Samba behaves identically to Windows 2000 in this regard
(keeping deny modes on shares). If your application behaves
one way with a W2K server it should behave exactly the
same with Samba. Indeed this is part of our test process.
MS Word does indeed isue this warning against Samba 3.0.
I'm not sure of the problem you're experiencing but please
be aware Samba is coded to give the same response as Windows.
Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba