[krbdev.mit.edu #8840] git commit

"Greg Hudson via RT" <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8840 >


Accept GSS mechs which don't supply attributes

If gss_inquire_attrs_for_mech() is called for a mechanism which does
not implement it, the call will succeed with mech_attrs set to
GSS_C_NO_OID_SET (as is explicitly allowed by RFC 5587).
generic_gss_test_oid_set_member() returns an error on this value,
causing gss_accept_sec_context() to erroneously deny the mechanism
when no verifier credential handle is supplied.  Change
allow_mech_by_default() to explicitly check for no mech attribute set.

(cherry picked from commit bd321c9caa6dc4b034bc3279a1af39af4c41210d)

https://github.com/krb5/krb5/commit/467c1454cd601b0be55dc4460a94df138b0d65f7
Author: Greg Hudson <[email protected]>
Commit: 467c1454cd601b0be55dc4460a94df138b0d65f7
Branch: krb5-1.16
 src/lib/gssapi/mechglue/g_accept_sec_context.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.