From 0ee77c7db6e8ad3a81d2be27f6a41993c4f4d673 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 13 Feb 1998 20:13:30 +0000 Subject: [PATCH] accept_sec_context.c (krb5_gss_accept_sec_context): Always allow use 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 | 5 +++++ src/lib/gssapi/krb5/accept_sec_context.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index 676300f52..721ab7131 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,8 @@ +Fri Feb 13 13:23:18 1998 Theodore Ts'o + + * 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 * accept_sec_context.c (krb5_gss_accept_sec_context): Add lots of diff --git a/src/lib/gssapi/krb5/accept_sec_context.c b/src/lib/gssapi/krb5/accept_sec_context.c index 5fd4df5a1..06dfe9dae 100644 --- a/src/lib/gssapi/krb5/accept_sec_context.c +++ b/src/lib/gssapi/krb5/accept_sec_context.c @@ -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; } -- 2.26.2