summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/external/krb5.m42
-rw-r--r--src/util/sss_krb5.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/external/krb5.m4 b/src/external/krb5.m4
index 7cad5cb9..a29056d3 100644
--- a/src/external/krb5.m4
+++ b/src/external/krb5.m4
@@ -38,7 +38,7 @@ SAVE_LIBS=$LIBS
CFLAGS="$CFLAGS $KRB5_CFLAGS"
LIBS="$LIBS $KRB5_LIBS"
AC_CHECK_HEADERS([krb5.h krb5/krb5.h profile.h])
-AC_CHECK_TYPES([krb5_ticket_times, krb5_times, krb5_trace_info], [], [],
+AC_CHECK_TYPES([krb5_ticket_times, krb5_times, krb5_trace_info, krb5_authdatatype], [], [],
[ #ifdef HAVE_KRB5_KRB5_H
#include <krb5/krb5.h>
#else
diff --git a/src/util/sss_krb5.h b/src/util/sss_krb5.h
index 2ddcca97..2481dc12 100644
--- a/src/util/sss_krb5.h
+++ b/src/util/sss_krb5.h
@@ -169,6 +169,10 @@ typedef krb5_times sss_krb5_ticket_times;
/* Redirect libkrb5 tracing towards our DEBUG statements */
errno_t sss_child_set_krb5_tracing(krb5_context ctx);
+#ifndef HAVE_KRB5_AUTHDATATYPE
+typedef int32_t krb5_authdatatype;
+#endif
+
krb5_error_code sss_krb5_find_authdata(krb5_context context,
krb5_authdata *const *ticket_authdata,
krb5_authdata *const *ap_req_authdata,