question

VishyV-0554 avatar image
0 Votes"
VishyV-0554 asked ·

Using vscode to connect to SQL Db connection using java kerberos

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

vs-extensions
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers