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

This commit is contained in:
Kai Blin 2006-11-10 03:53:57 +01:00 committed by Alexandre Julliard
parent 8ea593267c
commit 48f934ee96
1 changed files with 5 additions and 1 deletions

View File

@ -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)