TDBs and various other files?

Neil Hoggarth neil.hoggarth at
Mon Jun 24 05:37:04 GMT 2002

On Sun, 23 Jun 2002, Nir Soffer wrote:

> brlock.tdb		- Seems to be a lock database. Does that have any
> 			  effect if I turn locking off?
> ...
> locking.tdb		- Looks like a lock database too, what's the
>			  difference between this one one and brlock?
>                         Does _that_ have any effect if I turn locking
>                         off?

I don't know much about these things, but I can add one piece to the
puzzle: locking.tdb is used to record whole-file locks, whereas
brlock.tdb is used to record byte-range locks (an SMB client updating
something like a database file can ask Samba for a lock on a part of a
file, while still allowing other clients access to other parts of the

Neil Hoggarth                                 Departmental Computer Officer
<neil.hoggarth at>                   Laboratory of Physiology                  University of Oxford, UK

More information about the samba-technical mailing list