summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-09-21 15:59:11 -0700
committerAndrew Bartlett <abartlet@samba.org>2012-09-22 02:44:07 +0200
commitd59688a8e749454a59174b545f152a5c2880f999 (patch)
treec27f9c4403c0c66b56deeac08de784b7dd364656
parent7a493fd867b95a7901c5f2b0c77cfb1c4496fbef (diff)
downloadsamba-d59688a8e749454a59174b545f152a5c2880f999.tar.gz
samba-d59688a8e749454a59174b545f152a5c2880f999.tar.bz2
samba-d59688a8e749454a59174b545f152a5c2880f999.zip
auth/kerberos: add HAVE_KRB5 guard to fix non-krb5 build after winbindd pac changes
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Sep 22 02:44:07 CEST 2012 on sn-devel-104
-rw-r--r--auth/kerberos/pac_utils.h3
1 files changed, 3 insertions, 0 deletions
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 */