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:
parent
ee4c8f2f09
commit
e5866c902b
@ -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";
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user