1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/source/passdb
Gerald Carter 19b7593972 r13576: 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......
2007-10-10 11:10:15 -05:00
..
login_cache.c r13576: This is the beginnings of moving the SAM_ACCOUNT data structure 2007-10-10 11:10:15 -05:00
lookup_sid.c r13571: Replace all calls to talloc_free() with thye TALLOC_FREE() 2007-10-10 11:10:14 -05:00
machine_sid.c r13316: Let the carnage begin.... 2007-10-10 11:06:23 -05:00
passdb.c r13576: This is the beginnings of moving the SAM_ACCOUNT data structure 2007-10-10 11:10:15 -05:00
pdb_compat.c r13576: This is the beginnings of moving the SAM_ACCOUNT data structure 2007-10-10 11:10:15 -05:00
pdb_get_set.c r13576: This is the beginnings of moving the SAM_ACCOUNT data structure 2007-10-10 11:10:15 -05:00
pdb_interface.c r13576: This is the beginnings of moving the SAM_ACCOUNT data structure 2007-10-10 11:10:15 -05:00
pdb_ldap.c r13576: This is the beginnings of moving the SAM_ACCOUNT data structure 2007-10-10 11:10:15 -05:00
pdb_nds.c r13576: This is the beginnings of moving the SAM_ACCOUNT data structure 2007-10-10 11:10:15 -05:00
pdb_plugin.c r13460: by popular demand.... 2007-10-10 11:10:04 -05:00
pdb_smbpasswd.c r13576: This is the beginnings of moving the SAM_ACCOUNT data structure 2007-10-10 11:10:15 -05:00
pdb_tdb.c r13576: This is the beginnings of moving the SAM_ACCOUNT data structure 2007-10-10 11:10:15 -05:00
secrets.c r13571: Replace all calls to talloc_free() with thye TALLOC_FREE() 2007-10-10 11:10:14 -05:00
util_builtin.c r13316: Let the carnage begin.... 2007-10-10 11:06:23 -05:00
util_unixsids.c r13571: Replace all calls to talloc_free() with thye TALLOC_FREE() 2007-10-10 11:10:14 -05:00
util_wellknown.c r13316: Let the carnage begin.... 2007-10-10 11:06:23 -05:00