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

Frontported fix for CORE-6134

This commit is contained in:
Alex Peshkoff 2019-09-06 12:52:19 +03:00
parent ee4c8f2f09
commit e5866c902b
2 changed files with 12 additions and 0 deletions

View File

@ -145,6 +145,12 @@ int DebugClient::authenticate(Firebird::CheckStatusWrapper* status, Firebird::IC
{
try
{
if (cb->getLogin())
{
// user specified login - we should not continue with trusted-like auth
return AUTH_CONTINUE;
}
if (str != "HAND")
{
str = "HAND";

View File

@ -480,6 +480,12 @@ int WinSspiClient::authenticate(Firebird::CheckStatusWrapper* status,
{
try
{
if (cBlock->getLogin())
{
// user specified login - we should not continue with trusted-like auth
return AUTH_CONTINUE;
}
sspiData.clear();
unsigned int length;
const unsigned char* bytes = cBlock->getData(&length);