-
Notifications
You must be signed in to change notification settings - Fork 100
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
Ntlm-sspi #67
Ntlm-sspi #67
Conversation
added to perform ntlm auth using sspi to enable passwordless login.
Concerning if this should be its own package. |
@@ -1,3 +1,3 @@ | |||
from .requests_ntlm import HttpNtlmAuth | |||
from .requests_ntlm import HttpNtlmAuth, HttpNtlmSspiAuth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid import error should be:
from .requests_ntlm import HttpNtlmAuth
from .requests_ntlmsspi import HttpNtlmSspiAuth
@vmuriart Why was this closed? |
was going to release it independently; and forgot... |
@vmuriart I'm having trouble getting this working with Python 3.5, do you happen to have a version that works? |
Haven't tried it myself on 3.5. I'll take a look over the weekend and let On Thursday, July 28, 2016, Chris Knott [email protected] wrote:
|
I think it's just due to py3's stupid string encoding stuff, but I thought I patched everything up, it's now complaining outside of your code, in http client.
|
Hmm. Curious. Do you have a fork with your changes so I have a starting On Thursday, July 28, 2016, Chris Knott [email protected] wrote:
|
I just changed this line (line 51)...
|
Ok, got it working. My change is fine for py3. The issue is this line which just happened to break on my service... Headers cannot be None else they break here - |
FWIW, I just published a module that supports pass-through auth via SSPI using either NTLM or Kerberos by way of the Negotiate method. |
Was this ever resolved? It would be really very useful! |
Perform ntlm authentication through sspi for windows users. Enables user to authenticate without having to type un/pw.
Also for troubleshooting #65.
Based on pr #41