lock directory

This option specifies the directory where lock files will be placed. The lock files are used to implement the option.
Note: This option can not be set inside registry configurations. The files placed in this directory are not required across service restarts and can be safely placed on volatile storage (e.g. tmpfs in Linux)

Example: /var/run/samba/locks

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family

lock directory

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Samba\smb_conf\lock directory
Value Namelock directory
Value TypeREG_SZ
Default Value

samba.admx

Administrative Templates (Computers)