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.
+ * accept_sec_context.c (krb5_gss_accept_sec_context): Don't
+ restrict mechanisms when accepting contexts. (Allow
+ either pre-RFC or RFC-based mechanisms)
Thu Feb 12 16:38:14 1998 Tom Yu <tlyu@mit.edu>
major_status = GSS_S_DEFECTIVE_TOKEN;
goto fail;
} else {
-#if 0 /* Always allow use of the pre-RFC mechanism */
+#if 0 /* Don't restrict mechanisms when accepting contexts */
if (! cred->prerfc_mech) {
code = G_WRONG_MECH;
major_status = GSS_S_DEFECTIVE_TOKEN;
goto fail;
}
#endif
-
mech_used = gss_mech_krb5_old;
}
} else {
+#if 0 /* Don't restrict mechanisms when accepting contexts */
if (! cred->rfc_mech) {
code = G_WRONG_MECH;
major_status = GSS_S_DEFECTIVE_TOKEN;
goto fail;
}
-
+#endif
mech_used = gss_mech_krb5;
}