[Samba] What is the difference between lock dir , state dir and cache dir in samba 4

Björn JACKE bj at SerNet.DE
Mon Jul 1 07:50:35 MDT 2013

On 2013-07-01 at 13:34 +0200 Stéphane PURNELLE sent off:
> The question is in the subject.
> I need to know what is the difference betwen theses three directory ?
> What directory contain persistand tdb, what direcorty will contain sysvol 
> data and what directory for tempoary file and tdb.

have a look at http://www.pathname.com/fhs/pub/fhs-2.3.html to find out about
the different purposes of the paths like /var/{lib,lock,cache,run}.

Samba 4 puts the TDBs at the apropiate location if you or your package provider
used configure with --enable-fhs.


More information about the samba mailing list