krb5 commit: Fix gss_inquire_names_for_mech() on MS krb5 mech
Greg Hudson
ghudson at mit.edu
Wed Sep 30 16:07:32 EDT 2015
https://github.com/krb5/krb5/commit/95736f7d51cce7551c3c20450ff56831a71043df
commit 95736f7d51cce7551c3c20450ff56831a71043df
Author: Tomas Kuthan <tkuthan at gmail.com>
Date: Wed Sep 30 15:24:24 2015 +0200
Fix gss_inquire_names_for_mech() on MS krb5 mech
Allow the krb5 mech to query names for the gss_mech_krb5_wrong OID
(the erroneous OID used in old Microsoft SPNEGO implementations).
[ghudson at mit.edu: edit commit message]
ticket: 8257 (new)
target_version: 1.14
tags: pullup
src/lib/gssapi/krb5/inq_names.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/lib/gssapi/krb5/inq_names.c b/src/lib/gssapi/krb5/inq_names.c
index fcf7dbc..b326adb 100644
--- a/src/lib/gssapi/krb5/inq_names.c
+++ b/src/lib/gssapi/krb5/inq_names.c
@@ -40,6 +40,7 @@ krb5_gss_inquire_names_for_mech(minor_status, mechanism, name_types)
if ((mechanism != GSS_C_NULL_OID) &&
!g_OID_equal(gss_mech_krb5, mechanism) &&
!g_OID_equal(gss_mech_krb5_old, mechanism) &&
+ !g_OID_equal(gss_mech_krb5_wrong, mechanism) &&
!g_OID_equal(gss_mech_iakerb, mechanism)) {
*minor_status = 0;
return(GSS_S_BAD_MECH);
More information about the cvs-krb5
mailing list