krb5_expand_hostname

Langue: en

Version: 290972 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)


BSD mandoc
HEIMDAL

NAME

krb5_expand_hostname krb5_expand_hostname_realms - Kerberos 5 host name canonicalization functions

LIBRARY

Kerberos 5 Library (libkrb5, -lkrb5)

SYNOPSIS

In krb5.h

Ft krb5_error_code Fo krb5_expand_hostname Fa krb5_context context Fa const char *orig_hostname Fa char **new_hostname Fc Ft krb5_error_code Fo krb5_expand_hostname_realms Fa krb5_context context Fa const char *orig_hostname Fa char **new_hostname Fa char ***realms Fc  

DESCRIPTION

Fn krb5_expand_hostname tries to make Fa orig_hostname into a more canonical one in the newly allocated space returned in Fa new_hostname . Caller must free the hostname with free(3).

Fn krb5_expand_hostname_realms expands Fa orig_hostname to a name we believe to be a hostname in newly allocated space in Fa new_hostname and return the realms Fa new_hostname is belive to belong to in Fa realms . Fa Realms is a array terminated with NULL Caller must free the Fa realms with Fn krb5_free_host_realm and Fa new_hostname with free(3).

SEE ALSO

krb5(3), krb5_free_host_realm3, krb5_get_host_realm3, kerberos(8)