mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:03:04 +01:00
Make trusted auth works again.
To be reviewed by Alex.
This commit is contained in:
parent
51d20b84f3
commit
3c20fd3e07
@ -388,7 +388,6 @@ Result WinSspiServerInstance::contAuthentication(WriterInterface* writerInterfac
|
|||||||
{
|
{
|
||||||
sspiData.clear();
|
sspiData.clear();
|
||||||
sspiData.add(data, size);
|
sspiData.add(data, size);
|
||||||
sspi.accept(sspiData);
|
|
||||||
|
|
||||||
if (!sspi.accept(sspiData))
|
if (!sspi.accept(sspiData))
|
||||||
{
|
{
|
||||||
@ -452,8 +451,8 @@ Result WinSspiClientInstance::contAuthentication(const unsigned char* data, unsi
|
|||||||
{
|
{
|
||||||
sspiData.clear();
|
sspiData.clear();
|
||||||
sspiData.add(data, size);
|
sspiData.add(data, size);
|
||||||
sspi.accept(sspiData);
|
|
||||||
if (!sspi.accept(sspiData))
|
if (!sspi.request(sspiData))
|
||||||
{
|
{
|
||||||
return AUTH_FAILED;
|
return AUTH_FAILED;
|
||||||
}
|
}
|
||||||
|
@ -5729,7 +5729,7 @@ static bool init(ISC_STATUS* user_status,
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool contFlag = true;
|
bool contFlag = true;
|
||||||
if (n && n->cstr_length)
|
if (!n || !n->cstr_length)
|
||||||
{
|
{
|
||||||
// switch to other plugin
|
// switch to other plugin
|
||||||
currentInstance.reset(0);
|
currentInstance.reset(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user