From 697a6e9504d9f3eefd97c7c822e90feddd9b9a3b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 30 Jan 2012 08:00:28 +1100 Subject: 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 Autobuild-Date: Sun Jan 29 23:52:50 CET 2012 on sn-devel-104 --- auth/common_auth.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'auth') 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, -- cgit