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

Configure Windows at import time #194

Merged
merged 1 commit into from
Mar 25, 2020
Merged

Configure Windows at import time #194

merged 1 commit into from
Mar 25, 2020

Conversation

aiudirog
Copy link
Member

As I described in #193, it would probably help out our users to add K4W to the PATH at import time if necessary and yield helpful errors if we can't find it.

@aiudirog
Copy link
Member Author

aiudirog commented Mar 24, 2020

And that's going to raise a KeyError on Linux.... One moment.

Copy link
Member

@frozencemetery frozencemetery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor changes, but this seems like a good thing to have!

@@ -0,0 +1,55 @@
"""
Using GSSAPI on Windows requires having an installation of Kerberos for Windows
(K4W) available in the user's PATH. This module should be imported before
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MIT seems to call this KfW (or kfw) - shouldn't we use the same terminology here? https://web.mit.edu/kerberos/kfw-4.1/kfw-4.1.html

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You would be correct. No idea why I had it in my head as K4W.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be all set

'MIT', 'Kerberos', 'bin',
)
#: Download location for K4W 64bit MSI
K4W_DL = "http://web.mit.edu/KERBEROS/dist/kfw/4.1/kfw-4.1-amd64.msi"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it might be better to link https://web.mit.edu/kerberos/ so that they can grab the latest version - what do you think?

Also, https please :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thing. I used the download to make sure they would grab the right one, so I'll just add some more instructions instead.

I copied the link from that page directly, not sure why it is http.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be all set

[rharwood@redhat.com: Squash commits]
Merges: #194
@frozencemetery frozencemetery merged commit 3cb0c75 into pythongssapi:master Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants