Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to SQL Server Database with Integrated Authentication / Kerberos #291

Open
frederic-luce opened this issue Apr 23, 2024 · 1 comment

Comments

@frederic-luce
Copy link

I tried to connect to a SQL Server Database using kerberos authentication from a Linux host.
Connection string I use is : Server=XX.XX.XX.XX,1433;Database=YYYYYY;trustedConnection=true;trustServerCertificate=true
(host name resolution didn't work)
returned error is : http://localhost:4177: Login failed for user ''.

It seems that the trustedConnection parameter is completly ignored.

Is integrated authentication on SQL Server Database supported by the gateway ?

@loicknuchel
Copy link
Contributor

Hi @frederic-luce
Thanks for raising this.
The authentication part is handled by the connector, can you try to run the connect.test.ts and see how it goes?
If you can find a working setup (with the second test), I can make the change in the connector.
(as I don't have an SQL Server with kerberos, I can't test on my side)
Or we can setup a meeting to debug this together if you want.
In any way, you will have to checkout the repo and run the JS test on your machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants