carta
krb5_expand_hostname(3)

krb5_expand_hostname3

Kerberos 5 host name canonicalization functions

Part of krb5_expand_hostname_realms(3).

Usage

krb5_error_code

krb5_error_code

Library

Kerberos 5 Library (libkrb5, -lkrb5)

Overview

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

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

History

  • Debian 5.0 (Lenny): the text shown here
  • Debian 4.0 (Etch)

From heimdal-dev 1.2.dfsg.1-2.1+lenny1 in Debian 5.0 (Lenny). Parsed by carta from the page's mdoc source.