From: <hv...@us...> - 2010-07-23 14:31:11
|
Revision: 51362 http://firebird.svn.sourceforge.net/firebird/?rev=51362&view=rev Author: hvlad Date: 2010-07-23 14:31:04 +0000 (Fri, 23 Jul 2010) Log Message: ----------- Make trusted auth works Modified Paths: -------------- firebird/trunk/src/remote/interface.cpp firebird/trunk/src/remote/os/win32/srvr_w32.cpp Modified: firebird/trunk/src/remote/interface.cpp =================================================================== --- firebird/trunk/src/remote/interface.cpp 2010-07-23 14:06:29 UTC (rev 51361) +++ firebird/trunk/src/remote/interface.cpp 2010-07-23 14:31:04 UTC (rev 51362) @@ -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 Modified: firebird/trunk/src/remote/os/win32/srvr_w32.cpp =================================================================== --- firebird/trunk/src/remote/os/win32/srvr_w32.cpp 2010-07-23 14:06:29 UTC (rev 51361) +++ firebird/trunk/src/remote/os/win32/srvr_w32.cpp 2010-07-23 14:31:04 UTC (rev 51362) @@ -123,7 +123,7 @@ // 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"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |