Better error message for missing ntlmauth.dll
Brought to you by:
ickzon
When the ntlmauth.dll file is not found in the java library
path, the following exception is thrown:
Caused by: java.io.IOException: SSO Failed: Native SSPI
library not loaded.
at
net.sourceforge.jtds.jdbc.TdsCore.sendMSLoginPkt
(TdsCore.java:1820)
at net.sourceforge.jtds.jdbc.TdsCore.login
(TdsCore.java:544)
... 29 more
It would be usefull to have at least the notice that
this "ntlmauth.dll" wasn't found, as this name is also hard
coded in net.sourceforge.jtds.util.SSPIJNIClient.
E.g.: "SSO Failed: Native SSPI library (ntlmauth.dll) not
loaded. Check java.library.path property."
Anonymous
Logged In: YES
user_id=564978
Martin,
Your suggestion has been applied. The change is in CVS.
Alin.