Skip to content
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 GSSAPI to authentication info check #209

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions px/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,11 @@ def set_curl_auth(curl, auth):
if sys.platform == "win32":
dprint(curl.easyhash + ": Using SSPI to login")
key = ":"
if sys.platform == "linux":
dprint(curl.easyhash + ": Using GSSAPI to login")
key = ":"
else:
dprint("SSPI not available and no username configured - no auth")
dprint("SSPI/GSSPI not available and no username configured - no auth")
return
curl.set_auth(user = key, password = pwd, auth = auth)
else:
Expand Down Expand Up @@ -509,4 +512,4 @@ def do_client_auth(self):
else:
dprint("No client authentication required")

return True
return True