Skip to content

Use getfqdn() instead of gethostname() as default hostname #14

@maxerenberg

Description

@maxerenberg

I've noticed that kerberos.getServerPrincipalDetails raises a 'Principal not found in keytab' exception if the FQDN is not used for the 'hostname' argument. I think it would be better to use socket.getfqdn as the default value in init_kerberos instead of socket.gethostname.

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