Using jTDS driver with Microsoft SQL Server produces the following error: "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication."
Originally Published: 2016-03-04
Article Number
Applies To
Issue
Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
Cause
Resolution
;useNTLMv2=TRUE
Your final connection string should resemble the following:
jdbc:jtds:sqlserver://sqlserver.domain.corp:1433/MyDatabase;useNTLMv2=TRUE
Related Articles
How to use the ASR to determine if 100% CPU Usage, Out of Memory Issues, and Periodic System Unresponsiveness are caused b… 216Number of Views How to SSH to an RSA Authentication Manager version 8.x server 91Number of Views Deploying RSA Authenticator 6.2.2 for Windows Using DISM 200Number of Views RSA Authentication Manager 8.x primary replication service is shutdown and fails to start manually 1.3KNumber of Views Remote syslog server is unable to recognize a new rsyslog format in RSA Authentication Manager 8.4 or later 230Number of Views
Trending Articles
RSA SecurID Software Token 5.0.2 for Windows Desktop displays message after reboot due to roaming profile: No token stor… RSA Release Notes for RSA Authentication Manager 8.8 RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) Troubleshooting RSA SecurID Access Application Portal unsuccessful logon message due to a bad identity source bind
Don't see what you're looking for?