8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 16:43:03 +01:00

Improvement #8256 : Win_sspi plugin uses NTLM

This commit is contained in:
Vlad Khorsun 2024-09-20 17:55:23 +03:00
parent 6b445c0dc5
commit f9a11a2bc0

View File

@ -109,7 +109,7 @@ AuthSspi::AuthSspi()
groupNames(*getDefaultMemoryPool()), sessionKey(*getDefaultMemoryPool()) groupNames(*getDefaultMemoryPool()), sessionKey(*getDefaultMemoryPool())
{ {
TimeStamp timeOut; TimeStamp timeOut;
hasCredentials = initEntries() && (fAcquireCredentialsHandle(0, "NTLM", hasCredentials = initEntries() && (fAcquireCredentialsHandle(0, NEGOSSP_NAME_A,
SECPKG_CRED_BOTH, 0, 0, 0, 0, SECPKG_CRED_BOTH, 0, 0, 0, 0,
&secHndl, &timeOut) == SEC_E_OK); &secHndl, &timeOut) == SEC_E_OK);
} }