Poster of Linux kernelThe best gift for a Linux geek
KRB5_EXPAND_HOSTNAME

KRB5_EXPAND_HOSTNAME

Section: C Library Functions (3)
Local index Up

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)


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 22:37:57 GMT, April 16, 2011