-
Notifications
You must be signed in to change notification settings - Fork 3
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
Problems with queries from windows host #2
Comments
@frozencemetery This bug is actually in Python GSSAPI: This code probably needs to be changed to something like: try:
msg_encoding = locale.getlocale(locale.LC_MESSAGES)[1] or 'UTF-8'
except AttributeError: # Windows doesn't have LC_MESSAGES
msg_encoding = 'UTF-8' Other than the above, this library should work but I haven't finished testing or cut an official release yet and the API should be considered unstable until I do. Also, this error occurred while trying to render a GSSError so you may have run into an incompatibility between Windows SSPI and MIT Kerberos. If this is the case, you may have to |
@aiudirog Do you mind opening a PR for that, or should I? |
@frozencemetery Just opened a PR. Should be a simple one. |
@frozencemetery Do you think we could cut a bug fix release so the wheels can be built? |
Oh, those are some interesting new errors.... I honestly have no idea why both releases failed but the PR built it just fine. I compared the logs and everything seems to execute exactly the same up until that point where it can't find the extern functions. |
I think I fixed it so there should be updated wheels for 1.6.9 now. (We need to port away from should_be; see pythongssapi/python-gssapi#215 ) |
Interesting, I don't immediately see how your changes fixed the Windows builds, but as long as it works. @mchugh19 Can you upgrade gssapi to v1.6.9 and test it out? |
@aiudirog Looks like 1.6.9 corrected the stacktrace. But even when I use MIT Kerbereos' kinit, I'm still getting authenticated denied, but that's likely on my end. Thanks! |
Hi all. Is this is working implementation?
I have a windows host running python 3.6. I've have a kerberos ticket through the usual windows AD mechanisms, but have also installed the MIT msi from https://web.mit.edu/KERBEROS/dist/
I can see my personal and computer's tickets with klist, but a quick test throws an error:
The text was updated successfully, but these errors were encountered: