[krbdev.mit.edu #8846] git commit

Greg Hudson via RT rt at KRBDEV-PROD-APP-1.mit.edu
Mon Dec 9 18:22:46 EST 2019


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8846 >


Fix SPNEGO fallback context handling

In init_ctx_call_init(), if gss_init_sec_context() fails while
producing the first SPNEGO initiator token, we remove the first
candidate mechanism from sc->mech_set and try again.  If
sc->ctx_handle is present after the error (more likely after commit
56f7b1bc95a2a3eeb420e069e7655fb181ade5cf), we must clear it before
falling back or it will cause subsequent attempts to fail.

(cherry picked from commit 40ecfad10dd36700028ff0f3d0d79ce7925fe545)

https://github.com/krb5/krb5/commit/e72efb781a8fcf6a8fb9d2db17cd81a01ed489e2
Author: Greg Hudson <ghudson at mit.edu>
Commit: e72efb781a8fcf6a8fb9d2db17cd81a01ed489e2
Branch: krb5-1.16
 src/lib/gssapi/spnego/spnego_mech.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)



More information about the krb5-bugs mailing list