Windows domains will not authenticate when using the JTDS driver

If you are using a JTDS JDBC driver and you want to use a Windows domain user to authenticate to a Microsoft SQL Server, the Windows syntax will not work for specifying the domain and user.

The domain must be appended to the end of the URL with a semicolon, as shown in the following example:

jdbc:jtds:sqlserver://svn-devel.example.com:1533/reportsInProgress;domain=testdomain

Last updated

Was this helpful?