diff options
author | Tomas Kuthan <tkuthan@gmail.com> | 2015-09-30 15:24:24 +0200 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2015-12-02 14:35:54 -0500 |
commit | 3de8c2cda58517b0b979fa4b328b61bace4d1492 (patch) | |
tree | b06c5607e1fd84113654c1af61d765d56558c0b2 | |
parent | 80ce209ec2839fd02abe80a3fc71742cde5bb8dd (diff) | |
download | krb5-3de8c2cda58517b0b979fa4b328b61bace4d1492.zip krb5-3de8c2cda58517b0b979fa4b328b61bace4d1492.tar.gz krb5-3de8c2cda58517b0b979fa4b328b61bace4d1492.tar.bz2 |
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@mit.edu: edit commit message]
(cherry picked from commit 95736f7d51cce7551c3c20450ff56831a71043df)
ticket: 8293 (new)
version_fixed: 1.13.3
status: resolved
-rw-r--r-- | 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); |