diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-15 13:15:20 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-17 13:43:59 +0200 |
commit | 43902fad1fc58e60e98ae4201ed286e857062ee3 (patch) | |
tree | f12cdae53306d8053a8a681d3cb6be67d2774f57 | |
parent | b475703544afedf0aaeae7f28b8816bd23c10cd9 (diff) | |
download | sssd-43902fad1fc58e60e98ae4201ed286e857062ee3.tar.gz sssd-43902fad1fc58e60e98ae4201ed286e857062ee3.tar.bz2 sssd-43902fad1fc58e60e98ae4201ed286e857062ee3.zip |
heimdal: Add fallback for krb5_authdatatype
-rw-r--r-- | src/external/krb5.m4 | 2 | ||||
-rw-r--r-- | src/util/sss_krb5.h | 4 |
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, |