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

Explicit Principal code sample is wrong #33

Closed
michael-o opened this issue Apr 6, 2021 · 2 comments · Fixed by #34
Closed

Explicit Principal code sample is wrong #33

michael-o opened this issue Apr 6, 2021 · 2 comments · Fixed by #34

Comments

@michael-o
Copy link
Contributor

The sample says:

name = gssapi.Name("user@REALM", gssapi.NameType.hostbased_service)
creds = gssapi.Credentials(name=name, usage="initiate")

but the provided principal is not a hostbased service eligible for initiate.

@frozencemetery
Copy link
Member

Hi, if you'd like this fixed sooner, feel free to submit a pull request :) Otherwise I'll get to it when I have a bit more time to look.

@michael-o
Copy link
Contributor Author

Hi, if you'd like this fixed sooner, feel free to submit a pull request :) Otherwise I'll get to it when I have a bit more time to look.

I happily will, I just wanted to clarify first.

michael-o added a commit to michael-o/requests-gssapi that referenced this issue Apr 7, 2021
michael-o added a commit to michael-o/requests-gssapi that referenced this issue Apr 7, 2021
This closes pythongssapi#33

Signed-off-by: Michael Osipov <michael.osipov@siemens.com>
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 a pull request may close this issue.

2 participants