diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-01-24 13:48:33 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-01-25 08:44:33 +0100 |
commit | c74a522db14a71df6c0393b5aa5f382cc8205b5b (patch) | |
tree | 55f526faacb85b6cf4d42c2ab3eb82997b3f53a8 /source3/wscript | |
parent | da8e8e5fa5574eab635b9b7b7bb4ccd898889e85 (diff) | |
download | samba-c74a522db14a71df6c0393b5aa5f382cc8205b5b.tar.gz samba-c74a522db14a71df6c0393b5aa5f382cc8205b5b.tar.bz2 samba-c74a522db14a71df6c0393b5aa5f382cc8205b5b.zip |
s3:build: require gss_krb5_export_lucid_sec_context() for ads support
This is needed to detect krb5 with aes for GENSEC_FEATURE_NEW_SPNEGO
at runtime.
metze
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/source3/wscript b/source3/wscript index 1a5a5c4b23..912997ff4d 100644 --- a/source3/wscript +++ b/source3/wscript @@ -570,8 +570,16 @@ msg.msg_acctrightslen = sizeof(fd); if conf.CHECK_FUNCS_IN('gss_display_status', 'gssapi') or \ conf.CHECK_FUNCS_IN('gss_display_status', 'gssapi_krb5'): have_gssapi=True - conf.CHECK_FUNCS_IN('''gss_wrap_iov gss_krb5_import_cred gss_get_name_attribute gss_mech_krb5 gss_oid_equal -gss_inquire_sec_context_by_oid gsskrb5_extract_authz_data_from_sec_context''', 'gssapi gssapi_krb5 krb5') + conf.CHECK_FUNCS_IN(''' + gss_wrap_iov + gss_krb5_import_cred + gss_get_name_attribute + gss_mech_krb5 + gss_oid_equal + gss_inquire_sec_context_by_oid + gsskrb5_extract_authz_data_from_sec_context + gss_krb5_export_lucid_sec_context + ''', 'gssapi gssapi_krb5 krb5') conf.CHECK_FUNCS_IN('krb5_mk_req_extended krb5_kt_compare', 'krb5') conf.CHECK_FUNCS(''' krb5_set_default_in_tkt_etypes krb5_set_default_tgs_enctypes @@ -811,6 +819,10 @@ return krb5_kt_resolve(context, "WRFILE:api", &keytab); Logs.warn("need eiterh gss_get_name_attribute or gsskrb5_extract_authz_data_from_sec_context and gss_inquire_sec_context_by_oid in -lgssapi for PAC support") use_ads=False + if not conf.CONFIG_SET('HAVE_GSS_KRB5_EXPORT_LUCID_SEC_CONTEXT'): + Logs.warn("need gss_krb5_export_lucid_sec_context for SPNEGO and gss_wrap support") + use_ads=False + if use_ads: conf.DEFINE('WITH_ADS', '1') conf.DEFINE('HAVE_KRB5', '1') |