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

Using integrated security with MS SQL Server #18

Open
dmonder opened this issue Dec 12, 2023 · 8 comments
Open

Using integrated security with MS SQL Server #18

dmonder opened this issue Dec 12, 2023 · 8 comments

Comments

@dmonder
Copy link

dmonder commented Dec 12, 2023

I am trying to use integrated security to connect to my MS SQL Server database but get the error the driver is not configured for integrated authentication. The Microsoft driver is so how to I use that driver?

@ryanhamilton
Copy link
Collaborator

Hi David,

Thanks for reporting this issue.

On my machine I needed to do 2 things:

  1. Run SQL server on a fixed port
    2.Enable SQL server and windows - mixed mode authentication.

unnamed

unnamed-1

Then in qStudio/Pulse use connection settings like this:
unnamed

@dmonder
Copy link
Author

dmonder commented Dec 12, 2023

We do not use local accounts on our SQL Server, only AD accounts. Do you know if this is going to be supported?

@ryanhamilton
Copy link
Collaborator

ryanhamilton commented Dec 12, 2023

I can't seem to find the official MS driver supporting it:
https://community.streamsets.com/community-articles-and-got-a-question-7/how-to-connect-jdbc-consumer-stage-to-ms-sql-server-via-aad-940
microsoft/mssql-jdbc#696

The JTDS driver does but I would need someone to test that it works and it seems you need to add a few DLLs to your system path:
https://stackoverflow.com/questions/3682852/sql-server-connect-with-windows-authentication

If you are happy to test it, I can have a test version ready in a week, as I myself would need to setup MS SQL and get it working for me first.

What type of AD do you use?

@dmonder
Copy link
Author

dmonder commented Dec 13, 2023

I am happy to try it when you have it ready. I will look these links over tomorrow and I will post the link to where I found the driver's. Thanks.

@dmonder
Copy link
Author

dmonder commented Dec 13, 2023

Well, I see the driver link is the same as in the GitHub repository you reference above. I can certainly install a few DLLs wherever they need to go. I am not sure what type of AD we use. What are the choices?

@ryanhamilton
Copy link
Collaborator

ryanhamilton commented Dec 13, 2023

I also have no idea. Is it Azure? Cloud based? Is it self hosted AD?
Ideally I need exact versions that I could go recreate.

@dmonder
Copy link
Author

dmonder commented Dec 16, 2023 via email

@brenthuisman
Copy link

Same request here: Azure Data Studio requires me to select "Windows Authentication". My credentials don't work (not in ADS either).

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

3 participants