cache 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 for storing TDB files containing non-persistent data that will be kept across service restarts. The directory should be placed on persistent storage, but the data can be safely deleted by an administrator.

Example: /var/run/samba/locks/cache

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

cache directory

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Samba\smb_conf\cache directory
Value Namecache directory
Value TypeREG_SZ
Default Value

samba.admx

Administrative Templates (Computers)