diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-03-01 15:19:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:10:55 -0500 |
commit | 70f7c56168056c025c6931ce6e934203a5c2c9dc (patch) | |
tree | 817246e53c8c9e37b2cf0d02d37cd79e294c5af4 /source4/libads | |
parent | 56d20302aa0320e8aec92204cfb580839534f469 (diff) | |
download | samba-70f7c56168056c025c6931ce6e934203a5c2c9dc.tar.gz samba-70f7c56168056c025c6931ce6e934203a5c2c9dc.tar.bz2 samba-70f7c56168056c025c6931ce6e934203a5c2c9dc.zip |
r5601: add a gsskrb5 backend that uses lorikeet-heimdal's new gssapi with
GSS_C_DCE_STYLE support, it's just a start and does work correctly yet
metze
(This used to be commit 87ff661703f467db3dfcb33084041c3e2951e0ee)
Diffstat (limited to 'source4/libads')
-rw-r--r-- | source4/libads/config.m4 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source4/libads/config.m4 b/source4/libads/config.m4 index 2ae82cd745..57416113b3 100644 --- a/source4/libads/config.m4 +++ b/source4/libads/config.m4 @@ -519,7 +519,7 @@ if test x"$with_krb5_support" != x"no"; then fi AC_CACHE_CHECK([for krb5_princ_realm returns krb5_realm or krb5_data], - samba_cv_KRB5_PRINC_REALM_RETURNS_REALM,[ + samba_cv_KRB5_PRINC_REALM_RETURNS_REALM,[ AC_TRY_COMPILE([#include <krb5.h>], [krb5_context context;krb5_principal principal;krb5_realm realm; realm = *krb5_princ_realm(context, principal);], @@ -530,6 +530,14 @@ if test x"$with_krb5_support" != x"no"; then [Whether krb5_princ_realm returns krb5_realm or krb5_data]) fi + # TODO: check all gssapi headers for this + AC_CACHE_CHECK([for GSS_C_DCE_STYLE in gssapi.h], + samba_cv_GSS_C_DCE_STYLE,[ + AC_TRY_COMPILE([#include <gssapi.h>], + [int flags = GSS_C_DCE_STYLE;], + samba_cv_GSS_C_DCE_STYLE=yes, + samba_cv_GSS_C_DCE_STYLE=no)]) + if test x"$ac_cv_lib_ext_krb5_krb5_mk_req_extended" = x"yes"; then AC_DEFINE(HAVE_KRB5,1,[Whether to have KRB5 support]) AC_MSG_CHECKING(whether KRB5 support is used) |