Skip Menu |
 

From: tlyu@mit.edu
Subject: git commit

Fix SPNEGO one-hop interop against old IIS

IIS 6.0 and similar return a zero length reponse buffer in the last
SPNEGO packet when context initiation is performed without mutual
authentication. In this case the underlying Kerberos mechanism has
already completed successfully on the first invocation, and SPNEGO
does not expect a mech response token in the answer. If we get an
empty mech response token when the mech is complete during
negotiation, ignore it.

[ghudson@mit.edu: small code style and commit message changes]

(cherry picked from commit 37af638b742dbd642eb70092e4f7781c3f69d86d)

https://github.com/krb5/krb5/commit/5773d47677478e7742b2ac227fbf33c0cc3260a1
Author: Greg Hudson <ghudson@mit.edu>
Committer: Tom Yu <tlyu@mit.edu>
Commit: 5773d47677478e7742b2ac227fbf33c0cc3260a1
Branch: krb5-1.11
src/lib/gssapi/spnego/spnego_mech.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)