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
RSA Federated Identity Manager (FIM) 2.0 shows very high memory usage when under load using DSig 11Number of Views Test Solution - DO NOT DELETE - web - envision - flagged for review 1Number of Views Test Solution - DO NOT DELETE - web - key_manager - flagged for review 2Number of Views Intermittent high CPU usage effecting overall performance in RSA Identity Governance & Lifecycle 7.x when using Password M… 103Number of Views High CPU Utilization due to misconfiguration of Manual Activities Workflow in RSA Governance & Lifecycle 104Number of Views
Trending Articles
RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) How to install the jTDS JDBC driver on WildFly for use with Data Collections in RSA Identity Governance & Lifecycle RSA Authentication Manager 8.8 Setup and Configuration Guide Artifacts to gather in RSA Identity Governance & Lifecycle
Don't see what you're looking for?