Skip to content

basic-tutorial.md -- name should not equal server_name #208

Closed
@rebeccc

Description

@rebeccc

What went wrong?

On line 85 of basic-tutorial.md, the call to Credentials fails because it is server_name and not server_hostbased_name

How do we reproduce?

Based on the tutorial, you set server_name and server_hostbased_name as follows:

server_hostbased_name = gssapi.Name('HTTP@' + FQDN, name_type=gssapi.NameType.hostbased_service)
server_name = gssapi.Name('HTTP/sross@')

and then make a call to Credentials using server_name rather than server_hostbased_name, which causes it to fail.

server_creds = gssapi.Credentials(usage='accept', name=server_name)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions