From 4cfb608c949d3f38d9d5bc2c3c8aef268b88a697 Mon Sep 17 00:00:00 2001 From: Kevin Coffman Date: Tue, 24 Apr 2007 12:26:55 -0400 Subject: Always get addressless tickets Make sure we get addressless tickets so we can function behind a NAT. (Must use a different function to accomplish this with Heimdal.) Signed-off-by: Kevin Coffman Signed-off-by: Neil Brown --- aclocal/kerberos5.m4 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'aclocal') diff --git a/aclocal/kerberos5.m4 b/aclocal/kerberos5.m4 index 2475f50..dfa5738 100644 --- a/aclocal/kerberos5.m4 +++ b/aclocal/kerberos5.m4 @@ -97,6 +97,10 @@ AC_DEFUN([AC_KERBEROS_V5],[ AC_CHECK_LIB($gssapi_lib, krb5_get_error_message, AC_DEFINE(HAVE_KRB5_GET_ERROR_MESSAGE, 1, [Define this if the function krb5_get_error_message is available]), ,$KRBLIBS) + dnl Check for function to specify addressless tickets + AC_CHECK_LIB($gssapi_lib, krb5_get_init_creds_opt_set_addressless, + AC_DEFINE(HAVE_KRB5_GET_INIT_CREDS_OPT_SET_ADDRESSLESS, 1, [Define this if the function krb5_get_init_creds_opt_set_addressless is available]), ,$KRBLIBS) + dnl If they specified a directory and it didn't work, give them a warning if test "x$krb5_with" != "x" -a "$krb5_with" != "$KRBDIR"; then AC_MSG_WARN(Using $KRBDIR instead of requested value of $krb5_with for Kerberos!) -- cgit