Using vscode to connect to SQL Db connection using java kerberos

VishyV 1 Reputation point
2021-04-11T09:55:12.497+00:00

Hi all,
Using vscode, I have managed to connect to sql db using sql authentication. But I’m having trouble using Integrated Java Kerberos in vscode. My db is set up for Java Kerberos in jdbc url.

jdbc.url=jdbc:jtds:sqlserver://<MSSQL_HOST:1433;databaseName=<DB_NAME>;domain=<DOMAIN>;integratedSecurity=true;authenticationScheme=JavaKerberos.

I use Mac OS. Error I get is could not connect to db. I tried using Azure extension and mssql connect
The same set up works when I use SSMS in Windows.
Do I need to anything on krb5.conf and SQLdriver.conf? And where do these files go in vscode? I mean path?

-Vishy

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,196 questions
0 comments No comments
{count} votes