state directory

Usually, most of the TDB files are stored in the lock directory. Since Samba 3.4.0, it is possible to differentiate between TDB files with persistent data and TDB files with non-persistent data using the state directory and the cache directory options.
This option specifies the directory where TDB files containing important persistent data will be stored.

Example: /var/run/samba/locks/state

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

state directory

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Samba\smb_conf\state directory
Value Namestate directory
Value TypeREG_SZ
Default Value

samba.admx

Administrative Templates (Computers)