summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-05 11:16:24 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-01-10 21:50:07 +0100
commit39d73e2420be17cc7db16353e1a51a5d2123f9f1 (patch)
tree5389cbead88d59531f3f5cb7fcf2bc346b3e5160 /source3/wscript
parenta33d86a74592498ec731d57e8cd2ff6a260635bc (diff)
downloadsamba-39d73e2420be17cc7db16353e1a51a5d2123f9f1.tar.gz
samba-39d73e2420be17cc7db16353e1a51a5d2123f9f1.tar.bz2
samba-39d73e2420be17cc7db16353e1a51a5d2123f9f1.zip
krb5: Require krb5_get_renewed_creds be available to build with krb5
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/wscript b/source3/wscript
index a5bb371466..7d6b708591 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -584,7 +584,7 @@ krb5_krbhst_get_addrinfo krb5_c_enctype_compare
krb5_crypto_init krb5_crypto_destroy krb5_decode_ap_req free_AP_REQ
krb5_c_verify_checksum krb5_principal_compare_any_realm
krb5_parse_name_norealm krb5_princ_size krb5_get_init_creds_opt_set_pac_request
-krb5_get_renewed_creds krb5_get_kdc_cred krb5_free_error_contents
+krb5_get_renewed_creds krb5_free_error_contents
initialize_krb5_error_table krb5_get_init_creds_opt_alloc
krb5_get_init_creds_opt_free krb5_get_init_creds_opt_get_error
krb5_enctype_to_string krb5_fwd_tgt_creds krb5_auth_con_set_req_cksumtype
@@ -765,6 +765,9 @@ return krb5_kt_resolve(context, "WRFILE:api", &keytab);
if not conf.CONFIG_SET('KRB5_CREDS_OPT_FREE_REQUIRES_CONTEXT'):
Logs.warn("krb5_get_init_creds_opt_free was not found or was too old in -lkrb5")
use_ads=False
+ if not conf.CONFIG_SET('HAVE_KRB5_GET_RENEWED_CREDS'):
+ Logs.warn("krb5_get_renewed_creds not found in -lkrb5")
+ use_ads=False
if not conf.CONFIG_SET('HAVE_KRB5_PRINCIPAL2SALT') and \
not conf.CONFIG_SET('HAVE_KRB5_GET_PW_SALT'):
Logs.warn("no CREATE_KEY_FUNCTIONS detected")