summaryrefslogtreecommitdiffstats
path: root/source/include/auth.h
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-02-20 20:09:36 +0000
committerGerald Carter <jerry@samba.org>2006-02-20 20:09:36 +0000
commit6f157cab7e17b375530537efa04713c4b2d7b121 (patch)
treee9f73bc16957b97a25feef09d7be31057d7edb12 /source/include/auth.h
parenta734bba0984563be23fe30486091bcbc5f0d617c (diff)
downloadsamba-6f157cab7e17b375530537efa04713c4b2d7b121.tar.gz
samba-6f157cab7e17b375530537efa04713c4b2d7b121.tar.xz
samba-6f157cab7e17b375530537efa04713c4b2d7b121.zip
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......
Diffstat (limited to 'source/include/auth.h')
-rw-r--r--source/include/auth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/auth.h b/source/include/auth.h
index 79fbb93895f..465892905a6 100644
--- a/source/include/auth.h
+++ b/source/include/auth.h
@@ -63,7 +63,7 @@ typedef struct auth_serversupplied_info {
char *login_server; /* which server authorized the login? */
- SAM_ACCOUNT *sam_account;
+ struct samu *sam_account;
void *pam_handle;