Commit 48f934ee authored by Kai Blin's avatar Kai Blin Committed by Alexandre Julliard

secur32: work around a bug in ntlm_auth that breaks RPC.

parent 8ea59326
...@@ -448,7 +448,11 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW( ...@@ -448,7 +448,11 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
{ {
/* This is default, so we'll enable it */ /* This is default, so we'll enable it */
ctxt_attr |= ISC_RET_CONNECTION; ctxt_attr |= ISC_RET_CONNECTION;
lstrcatA(want_flags, " NTLMSSP_FEATURE_SESSION_KEY"); /* Work around a bug in ntlm_auth that sets the
* NTLMSSP_FEATURE_SIGN flag for this want flag, which
* breaks RPC. */
if(0)
lstrcatA(want_flags, " NTLMSSP_FEATURE_SESSION_KEY");
} }
if(fContextReq & ISC_REQ_EXTENDED_ERROR) if(fContextReq & ISC_REQ_EXTENDED_ERROR)
FIXME("ISC_REQ_EXTENDED_ERROR\n"); FIXME("ISC_REQ_EXTENDED_ERROR\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment