mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 06:43:04 +01:00
Make trusted auth works
This commit is contained in:
parent
6e2db049ea
commit
ae01bde43d
@ -68,6 +68,15 @@
|
|||||||
//#include "../auth/trusted/AuthSspi.h"
|
//#include "../auth/trusted/AuthSspi.h"
|
||||||
#include "../common/classes/ImplementHelper.h"
|
#include "../common/classes/ImplementHelper.h"
|
||||||
|
|
||||||
|
#ifdef WIN_NT
|
||||||
|
#include "../auth/trusted/AuthSspi.h"
|
||||||
|
|
||||||
|
namespace {
|
||||||
|
char name[] = "WIN_SSPI";
|
||||||
|
Firebird::PluginHelper<Auth::WinSspiClient, Firebird::Plugin::AuthClient, name> client;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -123,7 +123,7 @@ namespace {
|
|||||||
// from AuthSspi
|
// from AuthSspi
|
||||||
char name1[] = "WIN_SSPI";
|
char name1[] = "WIN_SSPI";
|
||||||
Firebird::PluginHelper<Auth::WinSspiServer, Firebird::Plugin::AuthServer, name1> server1;
|
Firebird::PluginHelper<Auth::WinSspiServer, Firebird::Plugin::AuthServer, name1> server1;
|
||||||
Firebird::PluginHelper<Auth::WinSspiClient, Firebird::Plugin::AuthClient, name1> client1;
|
// Firebird::PluginHelper<Auth::WinSspiClient, Firebird::Plugin::AuthClient, name1> client1;
|
||||||
|
|
||||||
// from LegacyClient
|
// from LegacyClient
|
||||||
char name2[] = "LEGACY_AUTH";
|
char name2[] = "LEGACY_AUTH";
|
||||||
|
Loading…
Reference in New Issue
Block a user