This option checks every file access for a byte-range lock on the range of bytes being accessed. This is typically not needed if a client adheres to all the locking mechanisms in place. This option is set to
no
by default; however, you can reset it per share as follows:
[accounting]
strict locking = yes
If this option is set to
yes
, mandatory locks are enforced on any file with byte-range locks.