Brad Lucas

A blog mostly about programming
October 22, 2008

This Driver Is Not Configured For Integrated Authentication


You are trying to access a SQL Server database. It has been setup for integrated authentication. You know this because when you login via a tool like DBArtisan you don’t need to enter a user name or password. Authentication is through Windows itself.

Step 1:

You figure out that you need a specific JDBC url.

For example,


Step 2

You try this and get an error message like “This driver is not configured for integrated authentication.”


  • Find the DLL
  • SQL Server

Add to path sqljdbc_auth.dll among the other 1100 or so file inside the SQL Server JDBC driver distribution and put it in the directory where your put the JDBC driver sqljdbc.jar.

Then add this directory to your PATH before running your program, eclipse, etc.

Tags: misc