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
Passwordless Authentication in Windows MFA Agent for Active Directory – Quick Setup Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Authentication Manager Upgrade Process RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide An example of SSO using SAML and ADFS with RSA Identity Management and Governance 6.9.x
Don't see what you're looking for?