|
|
5af5b2 |
commit 11bd102c0e3793204111f712e5bd4bf54f2d9573
|
|
|
5af5b2 |
Author: Greg Hudson <ghudson@mit.edu>
|
|
|
5af5b2 |
Date: Wed May 1 14:40:31 2013 -0400
|
|
|
5af5b2 |
|
|
|
5af5b2 |
Disable UDP pass of gssrpc tests on all platforms
|
|
|
5af5b2 |
|
|
|
5af5b2 |
The AUTH_GSSAPI flavor of rpc authentication uses IP address channel
|
|
|
5af5b2 |
bindings. These are broken over UDP, because svcudp_recv() fails to
|
|
|
5af5b2 |
get the destination address of incoming packets (it tries to use the
|
|
|
5af5b2 |
recvmsg() msg_name field to get the destination IP address, which
|
|
|
5af5b2 |
instead gets the source address; see ticket #5540).
|
|
|
5af5b2 |
|
|
|
5af5b2 |
There is no simple or comprehensive way to fix this; using IP_PKTINFO
|
|
|
5af5b2 |
is a fair amount of code and only works on some platforms. It's also
|
|
|
5af5b2 |
not very important--nobody should be using AUTH_GSSAPI except perhaps
|
|
|
5af5b2 |
for compatibility with really old kadmin, and kadmin only runs over
|
|
|
5af5b2 |
TCP. Since the gssrpc tests are closely wedded to AUTH_GSSAPI, the
|
|
|
5af5b2 |
simplest fix is to only run the TCP pass.
|
|
|
5af5b2 |
|
|
|
5af5b2 |
diff --git a/src/configure.in b/src/configure.in
|
|
|
5af5b2 |
index 0c8111b..42a5fd5 100644
|
|
|
5af5b2 |
--- a/src/configure.in
|
|
|
5af5b2 |
+++ b/src/configure.in
|
|
|
5af5b2 |
@@ -984,16 +984,7 @@ extern void endrpcent();],
|
|
|
5af5b2 |
AC_MSG_RESULT($k5_cv_type_endrpcent)
|
|
|
5af5b2 |
AC_DEFINE_UNQUOTED(ENDRPCENT_TYPE, $k5_cv_type_endrpcent, [Define as return type of endrpcent])
|
|
|
5af5b2 |
K5_GEN_FILE(include/gssrpc/types.h:include/gssrpc/types.hin)
|
|
|
5af5b2 |
-changequote(<<, >>)
|
|
|
5af5b2 |
-case "$krb5_cv_host" in
|
|
|
5af5b2 |
-*-*-solaris2.[012345]*)
|
|
|
5af5b2 |
- PASS=tcp
|
|
|
5af5b2 |
- ;;
|
|
|
5af5b2 |
-*)
|
|
|
5af5b2 |
- PASS="tcp udp"
|
|
|
5af5b2 |
- ;;
|
|
|
5af5b2 |
-esac
|
|
|
5af5b2 |
-changequote([, ])
|
|
|
5af5b2 |
+PASS=tcp
|
|
|
5af5b2 |
AC_SUBST(PASS)
|
|
|
5af5b2 |
|
|
|
5af5b2 |
# for pkinit
|