lock dir 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) &pathconfig.LOCKDIR; /var/run/samba/locks