Removed flags from SSPI calls which prevented the NTLM authentication from working
Change-Id: I87b085442ef301d9d92def0608a8baaa330522e6 Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
This commit is contained in:
parent
f4dd033f41
commit
9f838153e6
@ -1552,10 +1552,7 @@ static QByteArray qNtlmPhase1_SSPI(QAuthenticatorPrivate *ctx)
|
||||
|
||||
secStatus = pSecurityFunctionTable->InitializeSecurityContext(&ctx->ntlmWindowsHandles->credHandle, NULL,
|
||||
L"" /* host */,
|
||||
ISC_REQ_ALLOCATE_MEMORY |
|
||||
ISC_REQ_CONFIDENTIALITY |
|
||||
ISC_REQ_REPLAY_DETECT |
|
||||
ISC_REQ_CONNECTION,
|
||||
ISC_REQ_ALLOCATE_MEMORY,
|
||||
0, SECURITY_NETWORK_DREP,
|
||||
NULL, 0,
|
||||
&ctx->ntlmWindowsHandles->ctxHandle, &desc,
|
||||
@ -1617,10 +1614,7 @@ static QByteArray qNtlmPhase3_SSPI(QAuthenticatorPrivate *ctx, const QByteArray&
|
||||
SECURITY_STATUS secStatus = pSecurityFunctionTable->InitializeSecurityContext(&ctx->ntlmWindowsHandles->credHandle,
|
||||
&ctx->ntlmWindowsHandles->ctxHandle,
|
||||
L"" /* host */,
|
||||
ISC_REQ_ALLOCATE_MEMORY |
|
||||
ISC_REQ_CONFIDENTIALITY |
|
||||
ISC_REQ_REPLAY_DETECT |
|
||||
ISC_REQ_CONNECTION,
|
||||
ISC_REQ_ALLOCATE_MEMORY,
|
||||
0, SECURITY_NETWORK_DREP, &type_2_desc,
|
||||
0, &ctx->ntlmWindowsHandles->ctxHandle, &type_3_desc,
|
||||
&attrs, &tsDummy);
|
||||
|
Loading…
x
Reference in New Issue
Block a user