• when we added encrypt=false we were able to connect using SQL authentication, but Windows authentication is required so we added integratedSecurity=true but we faced the following error

    com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not configured for integrated authentication.

  • Staines_ian (RSA Security)

    integratedSecurity needs to be false unless your client is running on a Windows server. I am not sure of the other requirements. What is the full JDBC URL you are trying?

     

     

  • Staines_ian (RSA Security)

    Does anyone have a sample of a working JDBC string?

  • nchiluka (Customer)

    Here is a sample of the URL String

    jdbc:sqlserver://SQLSERVER.EXAMPLE.com:1433;databaseName=Example;verifyServerCertificate=false&useSSL=true&requireSSL=true;

  • Staines_ian (RSA Security)

    I think this is supposed to be the format but my lab is not working right now so I could not test.

     

    jdbc:sqlserver://[server]:[port];database=[db];trustServerCertificate=true;integratedSecurity=true;user=[user without domain];password=[pw];authenticationScheme=NTLM;domain=[domain];authentication=NotSpecified

     

    I am not sure about the username and password. The Microsoft documentation is really sparse but it implies you must specify this in the JDBC URL.

    Expand Post
  • has it suddenly stopped working?

    Was there any change on the endpoint (upgrade/update)?

    Was there any change on GL (upgrade/update)?

  • Staines_ian (RSA Security)

    @Boris.Lekumovich (RSA)​ I think the customer is just looking for a new recommendation for using windows authentication using the default native Microsoft SQL server JDBC driver. They do not have a history of success with this new driver.

     

    Previously they were using an unsupported third party JDBC driver.