From 95f9542e055d027adeb596a2c67fe48add77033c Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Tue, 31 Aug 2010 23:09:39 +0200 Subject: [PATCH] s3-auth: remove global include of krb5pac.h. Guenther --- auth/common_auth.h | 2 -- source3/auth/user_info.c | 1 + source3/auth/user_krb5.c | 1 + source3/include/proto.h | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/auth/common_auth.h b/auth/common_auth.h index 4ae5df9a6b1..c64b46c7cf0 100644 --- a/auth/common_auth.h +++ b/auth/common_auth.h @@ -17,8 +17,6 @@ along with this program. If not, see . */ -#include "librpc/gen_ndr/krb5pac.h" - #define USER_INFO_CASE_INSENSITIVE_USERNAME 0x01 /* username may be in any case */ #define USER_INFO_CASE_INSENSITIVE_PASSWORD 0x02 /* password may be in any case */ #define USER_INFO_DONT_CHECK_UNIX_ACCOUNT 0x04 /* don't check unix account status */ diff --git a/source3/auth/user_info.c b/source3/auth/user_info.c index d5319a465a2..3d4ee08b9f6 100644 --- a/source3/auth/user_info.c +++ b/source3/auth/user_info.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "librpc/gen_ndr/samr.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_AUTH diff --git a/source3/auth/user_krb5.c b/source3/auth/user_krb5.c index 580e71af86d..9d6b6a445bf 100644 --- a/source3/auth/user_krb5.c +++ b/source3/auth/user_krb5.c @@ -18,6 +18,7 @@ */ #include "includes.h" +#include "librpc/gen_ndr/krb5pac.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_AUTH diff --git a/source3/include/proto.h b/source3/include/proto.h index 7af0d080114..a49aa66564c 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4856,7 +4856,7 @@ const struct mangle_fns *posix_mangle_init(void); bool map_username(fstring user); /* The following definitions come from auth/user_krb5.c */ - +struct PAC_LOGON_INFO; NTSTATUS get_user_from_kerberos_info(TALLOC_CTX *mem_ctx, const char *cli_name, const char *princ_name, -- 2.34.1