diff options
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index b408b1c1a6..153a610501 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -3848,6 +3848,12 @@ if test x"$with_ads_support" != x"no"; then fi AC_CHECK_FUNC_EXT(krb5_set_real_time, $KRB5_LIBS) + ################################################################ + # test for AD / GSSAPI support being enabled + if test x"$have_gssapi" != xyes ; then + AC_MSG_WARN([Samba cannot be supported without GSSAPI]) + fi + AC_CHECK_FUNC_EXT(krb5_set_default_in_tkt_etypes, $KRB5_LIBS) AC_CHECK_FUNC_EXT(krb5_set_default_tgs_enctypes, $KRB5_LIBS) AC_CHECK_FUNC_EXT(krb5_set_default_tgs_ktypes, $KRB5_LIBS) @@ -4401,6 +4407,11 @@ if test x"$with_ads_support" != x"no"; then use_ads=no fi + if test x"$ac_cv_func_ext_krb5_set_real_time" != x"yes"; then + AC_MSG_WARN(krb5_set_real_time encryption type not found in -lkrb5) + use_ads=no + fi + if test x"$ac_cv_lib_ext_krb5_krb5_mk_req_extended" != x"yes"; then AC_MSG_WARN(krb5_mk_req_extended not found in -lkrb5) use_ads=no |