auth/kerberos: add HAVE_KRB5 guard to fix non-krb5 build after winbindd pac changes
authorAndrew Bartlett <abartlet@samba.org>
Fri, 21 Sep 2012 22:59:11 +0000 (15:59 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 22 Sep 2012 00:44:07 +0000 (02:44 +0200)
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Sep 22 02:44:07 CEST 2012 on sn-devel-104

auth/kerberos/pac_utils.h

index b9b66649eef5f51f9c508e70ceafe3c3136980c7..d09e7b643d4d8700b3f40d129c95aa38012c9aa9 100644 (file)
@@ -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 */