From cfe68f2d5fbd749c3dce7a1a5fa67d2d0a631bf2 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 5 Jan 2012 11:34:12 +1100 Subject: krb5: Require krb5_set_real_time is available to build with krb5 --- source3/configure.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'source3/configure.in') 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 -- cgit