accept_sec_context.c (krb5_gss_accept_sec_context): Always allow use
authorTheodore Tso <tytso@mit.edu>
Fri, 13 Feb 1998 20:13:30 +0000 (20:13 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 13 Feb 1998 20:13:30 +0000 (20:13 +0000)
of the pre-RFC mechanism when accepting contexts.

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

src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/accept_sec_context.c

index 676300f52e57a46fe28090e973282da85ab1de9b..721ab713177d5b0fc8b5c01e01163c0255dfa19a 100644 (file)
@@ -1,3 +1,8 @@
+Fri Feb 13 13:23:18 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * accept_sec_context.c (krb5_gss_accept_sec_context): Always allow
+               use of the pre RFC mechanism when accepting contexts.
+
 Thu Feb 12 16:38:14 1998  Tom Yu  <tlyu@mit.edu>
 
        * accept_sec_context.c (krb5_gss_accept_sec_context): Add lots of
index 5fd4df5a19ecba8067963fec8a044e243e55ef82..06dfe9dae3ab5923cb9b30bf1b270d3d26232eae 100644 (file)
@@ -264,11 +264,13 @@ krb5_gss_accept_sec_context(minor_status, context_handle,
                major_status = GSS_S_DEFECTIVE_TOKEN;
                goto fail;
        } else {
+#if 0        /* Always allow use of the pre-RFC mechanism */
             if (! cred->prerfc_mech) {
                     code = G_WRONG_MECH;
                     major_status = GSS_S_DEFECTIVE_TOKEN;
                     goto fail;
             }
+#endif
 
             mech_used = gss_mech_krb5_old;
        }