diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-05 11:06:28 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-01-10 21:50:07 +0100 |
commit | 39b476d1c9f97b5d1fbc9b08d7a85ac0d59934f2 (patch) | |
tree | 6a4dca51c97a4c9a923d767e72420dbeb6c5577e /source3/configure.in | |
parent | fc7b34c83a2fe44b905e8af44dcb6d06154f688d (diff) | |
download | samba-39b476d1c9f97b5d1fbc9b08d7a85ac0d59934f2.tar.gz samba-39b476d1c9f97b5d1fbc9b08d7a85ac0d59934f2.tar.bz2 samba-39b476d1c9f97b5d1fbc9b08d7a85ac0d59934f2.zip |
krb5: Require krb5_get_init_creds_opt_alloc/free for build with krb5
This also assumes the modern API with a krb5_context argument.
Andrew Bartlett
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in index 914b7145da..b98b49ef88 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -4440,6 +4440,18 @@ if test x"$with_ads_support" != x"no"; then use_ads=no fi + if test x"$ac_cv_func_ext_krb5_get_init_creds_opt_alloc" != x"yes" + then + AC_MSG_WARN(krb5_get_init_creds_opt_alloc found in -lkrb5) + use_ads=no + fi + + if test x"$smb_krb5_cv_creds_opt_free_context" != x"yes" + then + AC_MSG_WARN(krb5_get_init_creds_opt_free not found or was too old in -lkrb5) + use_ads=no + fi + if test x"$ac_cv_func_ext_krb5_principal2salt" != x"yes" -a \ x"$ac_cv_func_ext_krb5_get_pw_salt" != x"yes" then |