]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix SPNEGO one-hop interop against old IIS
authorGreg Hudson <ghudson@mit.edu>
Tue, 10 Dec 2013 17:04:18 +0000 (12:04 -0500)
committerGreg Hudson <ghudson@mit.edu>
Thu, 12 Dec 2013 15:51:34 +0000 (10:51 -0500)
commit37af638b742dbd642eb70092e4f7781c3f69d86d
treefc829408641c1e8c41d9a09140fff320fb817315
parent291f03290b6476ec6b98e48c6971b65f1d899269
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]

ticket: 7797 (new)
target_version: 1.12.1
tags: pullup
src/lib/gssapi/spnego/spnego_mech.c