summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-05 11:34:12 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-01-10 21:50:07 +0100
commitcfe68f2d5fbd749c3dce7a1a5fa67d2d0a631bf2 (patch)
tree1634ea90b85f54d9c2f126d716ed2f8505cbbf13 /source3/configure.in
parent0c6af1e2da4619634c3806b5c0ee022bef935bb5 (diff)
downloadsamba-cfe68f2d5fbd749c3dce7a1a5fa67d2d0a631bf2.tar.gz
samba-cfe68f2d5fbd749c3dce7a1a5fa67d2d0a631bf2.tar.bz2
samba-cfe68f2d5fbd749c3dce7a1a5fa67d2d0a631bf2.zip
krb5: Require krb5_set_real_time is available to build with krb5
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in11
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