svn commit: samba r2051 - in branches/SAMBA_4_0/source: auth rpc_server/lsa rpc_server/netlogon rpc_server/samr

tridge at samba.org tridge at samba.org
Wed Aug 25 06:44:23 GMT 2004


Author: tridge
Date: 2004-08-25 06:44:23 +0000 (Wed, 25 Aug 2004)
New Revision: 2051

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source&rev=2051&nolog=1

Log:
switched the samdb over to using the new destructor and reference
count features of talloc, instead of re-implementing both those
features inside of samdb (which is what we did before).

This makes samdb considerably simpler, and also fixes some bugs, as I
found some error paths that didn't call samdb_close(). Those are now
handled by the fact that a talloc_free() will auto-close and destroy
the samdb context, using a destructor.





Modified:
   branches/SAMBA_4_0/source/auth/auth_sam.c
   branches/SAMBA_4_0/source/rpc_server/lsa/dcesrv_lsa.c
   branches/SAMBA_4_0/source/rpc_server/netlogon/dcerpc_netlogon.c
   branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c
   branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.h
   branches/SAMBA_4_0/source/rpc_server/samr/samdb.c
   branches/SAMBA_4_0/source/rpc_server/samr/samr_password.c


Changeset:
Sorry, the patch is too large (872 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source&rev=2051&nolog=1


More information about the samba-cvs mailing list