summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-01-24 11:17:09 +0100
committerStefan Metzmacher <metze@samba.org>2012-01-25 05:26:13 +0100
commitab5cdb31e98396fabce1e6f9d7fafe91d5a839d8 (patch)
tree7459506f7d7c885176a582ee2f9e52bd74a9a609 /source3
parent23ddaa858cc83085cbd4017fdb5b6bba870b8c1a (diff)
downloadsamba-ab5cdb31e98396fabce1e6f9d7fafe91d5a839d8.tar.gz
samba-ab5cdb31e98396fabce1e6f9d7fafe91d5a839d8.tar.bz2
samba-ab5cdb31e98396fabce1e6f9d7fafe91d5a839d8.zip
Revert "s3:build: for now do not require gsskrb5_extract_authz_data_from_sec_context"
This reverts commit 74abe369df26c58094a601dd6ff8c27c3d0b2b2a. Having gsskrb5_extract_authz_data_from_sec_context as symbol in the library is in indicator that gss_inquire_sec_context_by_oid() would work. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 25 05:26:14 CET 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in11
-rw-r--r--source3/wscript8
2 files changed, 9 insertions, 10 deletions
diff --git a/source3/configure.in b/source3/configure.in
index b1a3c08d29..1e09e48286 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -4517,12 +4517,13 @@ if test x"$with_ads_support" != x"no"; then
fi
- # for now do not require gsskrb5_extract_authz_data_from_sec_context
- # as we do not use it
- if test x"$ac_cv_func_ext_gss_get_name_attribute" != x"yes" -a \
- x"$ac_cv_func_ext_gss_inquire_sec_context_by_oid" != x"yes"; then
- AC_MSG_WARN(need either gss_get_name_attribute or gss_inquire_sec_context_by_oid in -lgssapi for PAC support)
+ if test x"$ac_cv_func_ext_gss_get_name_attribute" != x"yes" ; then
+ if test x"$ac_cv_func_ext_gsskrb5_extract_authz_data_from_sec_context" != x"yes" -o \
+ x"$ac_cv_func_ext_gss_inquire_sec_context_by_oid" != x"yes"
+ then
+ AC_MSG_WARN(need either 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=no
+ fi
fi
if test x"$use_ads" = x"yes"; then
diff --git a/source3/wscript b/source3/wscript
index 552735f64f..1a5a5c4b23 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -805,12 +805,10 @@ return krb5_kt_resolve(context, "WRFILE:api", &keytab);
# gsskrb5_extract_authz_data_from_sec_context, but it is a
# clue that this Heimdal, which does the PAC processing we
# need on the standard gss_inquire_sec_context_by_oid
- #
- # For now do not require gsskrb5_extract_authz_data_from_sec_context,
- # as we do not use it.
if not conf.CONFIG_SET('HAVE_GSS_GET_NAME_ATTRIBUTE') and \
- not conf.CONFIG_SET('HAVE_GSS_INQUIRE_SEC_CONTEXT_BY_OID'):
- Logs.warn("need eiterh gss_get_name_attribute or gss_inquire_sec_context_by_oid in -lgssapi for PAC support")
+ not (conf.CONFIG_SET('HAVE_GSSKRB5_EXTRACT_AUTHZ_DATA_FROM_SEC_CONTEXT') and \
+ conf.CONFIG_SET('HAVE_GSS_INQUIRE_SEC_CONTEXT_BY_OID')):
+ 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 use_ads: