svn commit: samba r13576 - branches/SAMBA_3_0/source/auth
branches/SAMBA_3_0/source/include
branches/SAMBA_3_0/source/pam_smbpass
branches/SAMBA_3_0/source/passdb branches/SAMBA_3_0/source/rpc_parse
branches/SAMBA_3_0/source/rpc_server branches/SAMBA_3_0/source/smbd
branches/SAMBA_3_0/source/utils trunk/source/auth
trunk/source/include trunk/source/pam_smbpass
trunk/source/passdb trunk/source/rpc_parse
trunk/source/rpc_server trunk/source/smbd trunk/source/utils
jerry at samba.org
jerry at samba.org
Mon Feb 20 20:09:49 GMT 2006
Author: jerry
Date: 2006-02-20 20:09:36 +0000 (Mon, 20 Feb 2006)
New Revision: 13576
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13576
Log:
This is the beginnings of moving the SAM_ACCOUNT data structure
to make full use of the new talloc() interface. Discussed with Volker
and Jeremy.
* remove the internal mem_ctx and simply use the talloc()
structure as the context.
* replace the internal free_fn() with a talloc_destructor() function
* remove the unnecessary private nested structure
* rename SAM_ACCOUNT to 'struct samu' to indicate the current an
upcoming changes. Groups will most likely be replaced with a
'struct samg' in the future.
Note that there are now passbd API changes. And for the most
part, the wrapper functions remain the same.
While this code has been tested on tdb and ldap based Samba PDC's
as well as Samba member servers, there are probably still
some bugs. The code also needs more testing under valgrind to
ensure it's not leaking memory.
But it's a start......
Modified:
branches/SAMBA_3_0/source/auth/auth.c
branches/SAMBA_3_0/source/auth/auth_rhosts.c
branches/SAMBA_3_0/source/auth/auth_sam.c
branches/SAMBA_3_0/source/auth/auth_unix.c
branches/SAMBA_3_0/source/auth/auth_util.c
branches/SAMBA_3_0/source/include/auth.h
branches/SAMBA_3_0/source/include/passdb.h
branches/SAMBA_3_0/source/pam_smbpass/pam_smb_acct.c
branches/SAMBA_3_0/source/pam_smbpass/pam_smb_auth.c
branches/SAMBA_3_0/source/pam_smbpass/pam_smb_passwd.c
branches/SAMBA_3_0/source/pam_smbpass/support.c
branches/SAMBA_3_0/source/pam_smbpass/support.h
branches/SAMBA_3_0/source/passdb/login_cache.c
branches/SAMBA_3_0/source/passdb/passdb.c
branches/SAMBA_3_0/source/passdb/pdb_compat.c
branches/SAMBA_3_0/source/passdb/pdb_get_set.c
branches/SAMBA_3_0/source/passdb/pdb_interface.c
branches/SAMBA_3_0/source/passdb/pdb_ldap.c
branches/SAMBA_3_0/source/passdb/pdb_nds.c
branches/SAMBA_3_0/source/passdb/pdb_smbpasswd.c
branches/SAMBA_3_0/source/passdb/pdb_tdb.c
branches/SAMBA_3_0/source/rpc_parse/parse_samr.c
branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c
branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c
branches/SAMBA_3_0/source/rpc_server/srv_samr_util.c
branches/SAMBA_3_0/source/smbd/chgpasswd.c
branches/SAMBA_3_0/source/smbd/lanman.c
branches/SAMBA_3_0/source/utils/net_rpc_samsync.c
branches/SAMBA_3_0/source/utils/net_sam.c
branches/SAMBA_3_0/source/utils/pdbedit.c
branches/SAMBA_3_0/source/utils/smbpasswd.c
trunk/source/auth/auth.c
trunk/source/auth/auth_rhosts.c
trunk/source/auth/auth_sam.c
trunk/source/auth/auth_unix.c
trunk/source/auth/auth_util.c
trunk/source/include/auth.h
trunk/source/include/passdb.h
trunk/source/pam_smbpass/pam_smb_acct.c
trunk/source/pam_smbpass/pam_smb_auth.c
trunk/source/pam_smbpass/pam_smb_passwd.c
trunk/source/pam_smbpass/support.c
trunk/source/pam_smbpass/support.h
trunk/source/passdb/login_cache.c
trunk/source/passdb/passdb.c
trunk/source/passdb/pdb_compat.c
trunk/source/passdb/pdb_get_set.c
trunk/source/passdb/pdb_interface.c
trunk/source/passdb/pdb_ldap.c
trunk/source/passdb/pdb_nds.c
trunk/source/passdb/pdb_smbpasswd.c
trunk/source/passdb/pdb_tdb.c
trunk/source/rpc_parse/parse_samr.c
trunk/source/rpc_server/srv_netlog_nt.c
trunk/source/rpc_server/srv_samr_nt.c
trunk/source/rpc_server/srv_samr_util.c
trunk/source/smbd/chgpasswd.c
trunk/source/smbd/lanman.c
trunk/source/utils/net_rpc_samsync.c
trunk/source/utils/net_sam.c
trunk/source/utils/pdbedit.c
trunk/source/utils/smbpasswd.c
Changeset:
Sorry, the patch is too large (11069 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13576
More information about the samba-cvs
mailing list