-
Notifications
You must be signed in to change notification settings - Fork 163
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
Libgssapi #472
Libgssapi #472
Conversation
I missed the other PR #342, but even if that one is approved, this issue will remain as the |
Hi @kotval , thanks for the PR. I think #342 stalled due to the test of building on all platforms. Basically we need to make sure the release workflow can run correctly on linux, mac and windows (not including the final upload task). It would be great if you can update this PR with modifications from #342 and try to pass both ci and release workflow. Please let me know if you need my help in running the workflow (I'm not sure whether you can run release it on your forked repo locally). |
Also, apparently this addresses #334 |
This updates the manylinux version because manylinux2014 only supports clang@3.4.2 where libgssapi requires clang>=3.9. manylinux_2_28 supports clang@14 solving a lot of issues. This also updates maturin to fix a panic while auditing the built wheel. FWIW, manylinux2014 is EOL June 30th, 2024 so this change needs to happen soon anyway. --------- Co-authored-by: david.kotval <david.kotval@veteransunited.com>
An important change to consider is that I had to upgrade from |
There is an issue that I discovered. I'm not sure how to get the integrated-auth-gssapi feature to be available from python. There is something I don't understand about how maturin builds the connectorx crate. I'll try to add a test to the python package that will illustrate the issue. |
fix: pipeline --------- Co-authored-by: matt.anderson <matt.anderson@veteransunited.com>
@wangxiaoying this is ready for review! Here is a successful prerelease build on my fork. The latest commit creates the
We found that using |
|
I double checked that the |
The Tiberius connector's
AuthMethod::Integrated
means AD on windows, but it means kerberos on *nix. If libgssapi is installed, then you might want to use this auth method. This is a common set up in orgs which mostly use Windows and disallow SA auth. Kerberos is the only way to connect to the MSSQL server from linux. The#[cfg(windows)]
meant that if you tried to use kerberos from a *nix client to connect to a MSSQL db with tiberius, you'd get a rather cryptic error message. For instanceerrors out with
Login failed for user ''. code=18456
when run on linux.
This PR fixes that issue.