CVS update: samba/source/passdb

Simo Sorce simo.sorce at xsec.it
Wed Jul 9 09:22:02 GMT 2003


On Wed, 2003-07-09 at 01:24, Andrew Bartlett wrote:
> On Tue, Jul 08, 2003 at 09:58:29PM +0000, jra at samba.org wrote:
> > 
> > Date:	Tue Jul  8 21:58:29 2003
> > Author:	jra
> > 
> > Update of /data/cvs/samba/source/passdb
> > In directory dp.samba.org:/tmp/cvs-serv27580/passdb
> > 
> > Modified Files:
> >       Tag: SAMBA_3_0
> > 	passdb.c pdb_tdb.c 
> > Log Message:
> > Moved SAM_ACCOUNT marshall/unmarshall functions to make them externally
> > available. Removed extra auth_init (thanks metze).
> > Jeremy.
> 
> I'm wondering why you want to do this...
> 
> The pdb_tdb format is not ideal - if there is a new place we are saving
> and restoring SAM_ACCOUNT structures, then I think that we should use genstruct.
> 
> That would preserve the whole SID, and the 'initialised' flags, for example.

Yes and I have a lot of code to do that.
It's not yet ready, but a good starting point.
Let me know if you're interested in that.
Keep in mind I already made the genstruct_samba code with specialized
type storage for some samba internal data structures.

Simo.

-- 
Simo Sorce - simo.sorce at xsec.it
Xsec s.r.l. - http://www.xsec.it
via Durando 10 Ed. G - 20158 - Milano
mobile: +39 329 328 7702
tel. +39 02 2399 7130 - fax: +39 02 700 442 399
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030709/a628c881/attachment.bin


More information about the samba-technical mailing list