summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-05-05 17:59:08 -0400
committerGreg Hudson <ghudson@mit.edu>2014-05-08 15:19:10 -0400
commitbff6bbf52401f9464df365d76f0987fbf8101c5e (patch)
tree3ab068c0f96ccd6e86742a1f1192b43274ae5d05 /src/include
parent60234f7b4cef58b66e0b2776988dfcf79c0d8bbb (diff)
downloadkrb5-bff6bbf52401f9464df365d76f0987fbf8101c5e.tar.gz
krb5-bff6bbf52401f9464df365d76f0987fbf8101c5e.tar.xz
krb5-bff6bbf52401f9464df365d76f0987fbf8101c5e.zip
Allow GSS mechs to force mechlistMIC in SPNEGO
During a SPNEGO negotiation, if the NTLMSSP mechanism is used and a MIC is produced within the final initiator mechanism token, Microsoft servers require a mechlistMIC even if NTLMSSP was the most preferred mechanism. In spnego_mech.c, add a helper function mech_requires_mechlistMIC which queries the mechanism to determine whether we might need to produce a mechlistMIC for interoperability. Call it after each call to the mechanism's gss_init_sec_context and set sc->mic_reqd if it returns true. Although only the second call to NTLMSSP will actually ever return true, the first call makes the mechanism aware that the SPNEGO implementation supports this feature. [ghudson@mit.edu: clarified commit message and code] ticket: 7907 (new)
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions