The TDB2 decision (ntdb?)

simo idra at
Sun May 13 19:23:07 MDT 2012

On Sat, 2012-05-12 at 13:30 +0930, Rusty Russell wrote: 
> Here's the summary of what was decided with TDB2: please correct if this
> is wrong!
> (1) TDB2 will be used in Samba 4.0, introduced during/before beta.
>     => If it takes longer than 2 weeks, it won't make the first beta.
>     => Rusty will get autoconf tdb2 working.
> (2) TDB2 should not be backwards compatible with TDB1.
>     => Rusty to remove tdb1 compat code from tdb2.
> (3) TDB2 should be a separate library, not a version bump.
>     => You will be able to link against both.
>     => API names to change from tdb_* to <newname>_*
>     => Rusty to poll for a new name: ntdb?
> (4) SAMBA 4 will use the TDB2 on-disk format.
>     => You can use tdbbackup then tdb2restore to update (offline).
> (5) Volker (?) will look at expanding the db_wrap usage so that we can
>     potentially interchange tdb1 and tdb2.

Thanks for the summary Rusty, I like this plan.

> Thanks,
> Rusty.
> PS.  Name suggestions welcome!

I think you should choose it, any short name is going to be pretty much
taken already as there countless 'databases'. So choose one you like and
convey the idea behind the design philosophy of 'tdb2' that is possibly
pronounceable and we are golden.

Ah and just came to mind that a word with t, d and b that is almost a
palindrome is 'tidbit', if you like it :)


Simo Sorce
Samba Team GPL Compliance Officer <simo at>
Principal Software Engineer at Red Hat, Inc. <simo at>

More information about the samba-technical mailing list