[PATCH] Upgrade for TDBSAM format

Jeremy Allison jra at samba.org
Sat Nov 1 01:38:48 GMT 2003

On Mon, Oct 20, 2003 at 06:23:50PM +0200, Aur?lien Degr?mont wrote:
> Hi,
> Following the discussion i've got with Simo and Andrew B. about 
> upgrading tdbsam, there is a patch for tdbsam.
> This patch add :
> - A version to tdbsam.
> - A version management system.
> - Tranparent and automatic conversion of tdbsam files to the latest 
> version when they're opened.
> Thanks to this, we will be able to add some new fields, and change some 
> field formats of current tdbsam as explain is my other mail.
> It needs tests.
> Waiting for your comments...

Your version of the old tdb format is not current with what
is in SAMBA_3_0 CVS. In CVS the one of the DWORDs has been
replaced with 2 WORDs (bad_password_count and logon_count).

This means the init_buffer_from_sam_v0 in this patch is a
regression to what we have.

The patch looks good, it's just going to need some work to
apply with what we currently have in SAMBA_3_0 CVS.

That is what is taking me the time to apply it.


More information about the samba-technical mailing list