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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to