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

Make trusted auth works

This commit is contained in:
hvlad 2010-07-23 14:31:04 +00:00
parent 6e2db049ea
commit ae01bde43d
2 changed files with 10 additions and 1 deletions

View File

@ -68,6 +68,15 @@
//#include "../auth/trusted/AuthSspi.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
#include <unistd.h>
#endif

View File

@ -123,7 +123,7 @@ namespace {
// from AuthSspi
char name1[] = "WIN_SSPI";
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
char name2[] = "LEGACY_AUTH";