summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-30 08:00:28 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-01-29 23:52:50 +0100
commit697a6e9504d9f3eefd97c7c822e90feddd9b9a3b (patch)
tree036ac67d1f947b32a648b189b0b0b8743ed609a6 /auth
parent0db70861ef1ebd9273d161231a4499a1eb07c4ff (diff)
downloadsamba-697a6e9504d9f3eefd97c7c822e90feddd9b9a3b.tar.gz
samba-697a6e9504d9f3eefd97c7c822e90feddd9b9a3b.tar.bz2
samba-697a6e9504d9f3eefd97c7c822e90feddd9b9a3b.zip
auth: provide private pointer and do not return original PAC signatures
There is no need to return the PAC signatures via the special-purpose torture element. Instead, use a private pointer on the auth_context in conjunction with the private PAC processing method. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Jan 29 23:52:50 CET 2012 on sn-devel-104
Diffstat (limited to 'auth')
-rw-r--r--auth/common_auth.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/auth/common_auth.h b/auth/common_auth.h
index 40f7da4fe7..3991c409ac 100644
--- a/auth/common_auth.h
+++ b/auth/common_auth.h
@@ -102,6 +102,9 @@ struct auth4_context {
/* SAM database for this local machine - to fill in local groups, or to authenticate local NTLM users */
struct ldb_context *sam_ctx;
+ /* Private data for the callbacks on this auth context */
+ void *private_data;
+
NTSTATUS (*check_password)(struct auth4_context *auth_ctx,
TALLOC_CTX *mem_ctx,
const struct auth_usersupplied_info *user_info,