Issue 15906 - Wrong LOCK (share mode) on Samba shares
Summary: Wrong LOCK (share mode) on Samba shares
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: thorsten.martens
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-22 10:32 UTC by pratesi
Modified: 2004-03-18 15:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pratesi 2003-06-22 10:32:49 UTC
The Linux version of OOo 1.1beta2 (and of 1.1beta, too) locks files
in a wrong way on Samba shares: according to the smbstatus report,
the DenyMode is set to DENY_NONE; this allows to other clients to open
and edit/save a document even though the document is already opened
as read/write by another user.
The DenyMode should be set to DENY_WRITE, just as it is done by OOo 1.1Beta
and OOo 1.1Beta2 for mswindows.

I have performed the tests using a MDK 9.1 client and a RH 7.3 Samba server
(Samba version 2.2.7).

Marco Pratesi
Comment 1 pratesi 2003-06-22 10:44:22 UTC
I forgot to explicitly point out that I have read the other
bug reports related to this topic and that I have already
uncommented the following lines:

SAL_ENABLE_FILE_LOCKING=1
export SAL_ENABLE_FILE_LOCKING

i.e. I am aware of the need of this setting, but it has not been
sufficient: this setting has worked correctly on the local ext3
filesystem, but has not worked on the Samba share.

Marco Pratesi
Comment 2 Olaf Felka 2003-06-23 11:56:22 UTC
This is truely not a P1 issue.
Comment 3 pratesi 2003-06-24 17:43:36 UTC
If issue 13940 is a P1 issue, why this issue is not?

I don't know if this is a P1 issue, but IMHO it is a heavy problem,
as it prevents the use of Linux for office automation
on an analogous scenario.

Marco Pratesi
Comment 4 thorsten.martens 2003-06-30 10:14:35 UTC
Testet on a recent build of staroffice (645m8) and found the problem
not reproducible. 
Comment 5 pratesi 2003-07-01 06:42:08 UTC
Is it possible to find somewhere an OOo 645m8 build?

I have read
http://www.openoffice.org/dev_docs/source/644/
and I have a doubt: will 645 builds be used for OOo 1.1 / SO 6.1
or for later releases?

Marco Pratesi
Comment 6 thorsten.martens 2004-03-18 15:07:21 UTC
.