-
Notifications
You must be signed in to change notification settings - Fork 101
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 Windows native authentication support #34
Conversation
Before merging this, we need to review if anything here is necessary for this to be a real alternative backend. |
not used by requests-kerberos.
requests-kerberos uses default value of Any way this seems to be the only kerberos implementation on Windows. |
This is a great idea:
|
|
That's kind of ugly -- Users are expected to install requests_kerberos, which will attempt to (and maybe fail to) install kerberos. Then they're expected to uninstall kerberos and install kerberos-sspi? Is there a way w/ setuptools to mark two packages as alternatives, and allow either one to fulfill the dependency? If not, should we remove our dependency on kerberos and update the code to try kerberos, then try kerberos-sspi, then raise a custom exception that instructs them to install one of them? btw, i'm +1 on merging this as is if it helps people, but we should come up with a better way to handle the kerberos/kerberos-sspi dependency. |
Fixed |
👍 This PR fixes my windows kerberos authentication issues in a clean fashion. Please merge it! |
👍 Kerberos SSPI fixed the issue on Windows, pealse merge it! |
If it's not already clear from before, I'm +1. |
@gentoo90 can you rebase this? It isn't mergeable in its present state |
kerberos-sspi package is an API level equivalent with kerberos package but uses windows sspi (through pywin32)
Done. Sorry for the delay. |
@sigmavirus24 I'm in favour of this, and the changes look good to me. Right now I'm accomplishing the same result by renaming kerberos_sspi.py to kerberos.py. |
Add Windows native authentication support
Thanks for the 👀 @rbcarson |
Add kerberos-sspi as an alternative backend.
kerberos-sspi package is an API level equivalent with kerberos
package but uses windows sspi (through pywin32)