From d59688a8e749454a59174b545f152a5c2880f999 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 21 Sep 2012 15:59:11 -0700 Subject: auth/kerberos: add HAVE_KRB5 guard to fix non-krb5 build after winbindd pac changes Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Sat Sep 22 02:44:07 CEST 2012 on sn-devel-104 --- auth/kerberos/pac_utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'auth') diff --git a/auth/kerberos/pac_utils.h b/auth/kerberos/pac_utils.h index b9b66649ee..d09e7b643d 100644 --- a/auth/kerberos/pac_utils.h +++ b/auth/kerberos/pac_utils.h @@ -21,6 +21,8 @@ #ifndef _PAC_UTILS_H #define _PAC_UTILS_H +#ifdef HAVE_KRB5 + #include "lib/krb5_wrap/krb5_samba.h" #include "lib/krb5_wrap/gss_samba.h" @@ -65,4 +67,5 @@ NTSTATUS gssapi_get_session_key(TALLOC_CTX *mem_ctx, char *gssapi_error_string(TALLOC_CTX *mem_ctx, OM_uint32 maj_stat, OM_uint32 min_stat, const gss_OID mech); +#endif /* HAVE_KRB5 */ #endif /* _PAC_UTILS_H */ -- cgit