secur32: work around a bug in ntlm_auth that breaks RPC.
This commit is contained in:
parent
8ea593267c
commit
48f934ee96
|
@ -448,6 +448,10 @@ 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;
|
||||||
|
/* 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");
|
lstrcatA(want_flags, " NTLMSSP_FEATURE_SESSION_KEY");
|
||||||
}
|
}
|
||||||
if(fContextReq & ISC_REQ_EXTENDED_ERROR)
|
if(fContextReq & ISC_REQ_EXTENDED_ERROR)
|
||||||
|
|
Loading…
Reference in New Issue