This parameter controls whether SMB share modes are
translated into UNIX flocks.
Kernel share modes provide a minimal level of interoperability
with local UNIX processes and NFS operations by preventing
access with flocks corresponding to the SMB share modes.
Generally, it is very desirable to leave this enabled.
Note that in order to use SMB2 durable file handles on a share,
you have to turn kernel share modes off.
This parameter defaults to yes and
is translated to a no-op on systems that do not have the
necessary kernel flock support.
yes