* auth_gssapi.c (auth_gssapi_create): #ifdef GSSAPI_KRB5, a null
authorBarry Jaspan <bjaspan@mit.edu>
Tue, 29 Oct 1996 18:06:11 +0000 (18:06 +0000)
committerBarry Jaspan <bjaspan@mit.edu>
Tue, 29 Oct 1996 18:06:11 +0000 (18:06 +0000)
  mech_type implies gss_mech_krb5, so include that in the version 3
  fallback test.  This change, along with the other changes for rpc
  version 4, complete the fix for [krb5-libs/106].

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9246 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/rpc/ChangeLog
src/lib/rpc/auth_gssapi.c

index b3b643a3ad0e294a03ef878a396b431df40bc9ed..cfaf11721645f0a37b1e81dd19b90f23eb81801d 100644 (file)
@@ -1,3 +1,10 @@
+Tue Oct 29 13:03:50 1996  Barry Jaspan  <bjaspan@mit.edu>
+
+       * auth_gssapi.c (auth_gssapi_create): #ifdef GSSAPI_KRB5, a null
+       mech_type implies gss_mech_krb5, so include that in the version 3
+       fallback test.  This change, along with the other changes for rpc
+       version 4, complete the fix for [krb5-libs/106].
+
 Wed Oct 23 00:08:27 1996  Theodore Y. Ts'o  <tytso@mit.edu>
 
        * pmap_rmt.c:
index 2263512cb7ff75cda5fe34b272face7d187832ca..01e7bffe93c22c394860b8e02930bedc419e73bb 100644 (file)
@@ -224,7 +224,8 @@ try_new_version:
       * the beta 7 server it will be accepted.  Not ideal, but it
       * works.
       */
-     if (call_arg.version < 4 && mech_type == gss_mech_krb5)
+     if (call_arg.version < 4 && (mech_type == gss_mech_krb5 ||
+                                 mech_type == GSS_C_NULL_OID))
          mech_type = gss_mech_krb5_old;
 #endif