Hi! Is it possible to introduce an implicit server-side file locking mechanism in samba(3.2.5), so if one opens a shared file for writing, then a new user won't be able to open it for writing, but only read-only. Currently the following options are in the config file: # testparm -v |fgrep -i lock [...] kernel oplocks = Yes lock spin time = 200 oplock break wait time = 0 lock directory block size = 1024 veto oplock files blocking locks = Yes fake oplocks = No locking = Yes oplocks = Yes level2 oplocks = Yes oplock contention limit = 2 posix locking = Yes strict locking = Auto Thanks! Daniel -- LEVAI Daniel PGP key ID = 0x4AC0A4B1 Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4AC0 A4B1
On Fri, Jan 23, 2009 at 03:36:56PM +0100, L?VAI D?niel wrote:> Is it possible to introduce an implicit server-side file locking > mechanism in samba(3.2.5), so if one opens a shared file for writing, > then a new user won't be able to open it for writing, but only read-only.No. That's the application's duty, it can use so-called share modes. Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20090123/cf262010/attachment.bin