From: Adrian Carpenter Date: Wed, 27 Jun 2012 12:17:31 +0000 (+0100) Subject: Removed flags from SSPI calls which prevented the NTLM authentication from working X-Git-Tag: 071012110112~197 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f838153e690ba8f8a44d6a874bc90a9b7b24b6e;p=profile%2Fivi%2Fqtbase.git Removed flags from SSPI calls which prevented the NTLM authentication from working Change-Id: I87b085442ef301d9d92def0608a8baaa330522e6 Reviewed-by: Shane Kearns --- diff --git a/src/network/kernel/qauthenticator.cpp b/src/network/kernel/qauthenticator.cpp index b52e5c0..79d8a01 100644 --- a/src/network/kernel/qauthenticator.cpp +++ b/src/network/kernel/qauthenticator.cpp @@ -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);