-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add support to connect to MSSQL Server with Integrated Security (windows authentication) #101
Comments
Currently, password authentication is the only supported login scheme. We don't support Kerberos, NTLM or integrated authentication, mostly due to two reasons:
That being said additional authentication scheme support depends on whether someone more knowledgeable than us is able to contribute these. |
Hello, does this include the possibility of using authentication=ActiveDirectoryPassword? |
I'm not sure as I'm not familiar with AD authentication. right now, we don't support AD-based authentication. |
sad to read that... |
so, I will try through the sqljdbc_auth.dll, If I have success, then I will let you know |
Hello... did you find a resolution or a workaround for this issue ? We are running into the same problem (ntlm security on MS SQL Server) within our enterprise. Thanks! |
As it looks like now, integrated authentication requires a platform-specific binary. In the SQL Server JDBC driver, native code is available through |
Been discussing over on mssql-jdbc questions thread some. Would it be possible to do what is suggested? microsoft/mssql-jdbc#818 (comment) Thanks! |
I haven’t looked yet into the DLL exports. If these are namespace-free, then we could add an integration. If they point into the SQL Server JDBC package, the we cannot add it as it would cause splitpackages. |
@mp911de, awesome! Do we need a separate issue to look into that? Also, if I can help in any way, let me know. |
If you like, feel free to come up with a pull request. I’m currently on vacation and I don’t have a windows testing environment. |
Note that JDBC driver was migrated to MSAL in August. @mp911de I have two questions:
|
Thanks for the heads-up. Using MSAL that is based on Reactor internally, we should have all pre-requisites in place. In general, you can leave a Since I'm not so deeply involved with AD, Kerberos etc. I don't have an answer to that question. I would expect that this feature can be only properly tested within an Azure or/and native Windows environment. We don't have access to either one from this project and I don't see how we could achieve that without anyone sponsoring the project. Probably you want to reach out to Microsoft and make them aware of this situation. |
I might be late to the party :). Is r2dbc-mssql supports Azure MSI (authentication=ActiveDirectoryMSI) based authentication? |
Hey, did you find anything I am also trying same thing |
Hello, I am also having issues with this (values have been changed for privacy): This is what I have for a ConnectionFactory: `
} I'm getting the following error, only after I try to execute a sql query: This is an Azure Active Directory Acccount which i'm providing the service account username and password |
I am running into the same issue you are. Were you able to come up with a solution for Active Directory authentication? |
Is it possible to connect to the MSSQL database not with user credentials, but with domain user account?
The text was updated successfully, but these errors were encountered: