krb_get_lrealm(3krb)krb_get_lrealm(3krb)Namekrb_get_lrealm - Host/realm identification routines.
krb_get_lrealm (realm, n)
char *krb_get_phost (alias)
alias Identifies a host whose name is to be converted to an instance
name. The alias string is overwritten with the instance name.
The alias string must be stored in a buffer of at least INST_SZ
realm Identifies a specific realm.
n Specifies a specific position in a series of Kerberos hosts;
must be set to 0.
The routines of allow an application to obtain information on
host/realm relationships in a Kerberos network. The routines of this
Converts the hostname pointed to by alias, which can be either
an official name or an alias, into the instance name to be used
in obtaining Kerberos tickets.
Initializes realm with the nth realm of the local host. The
argument realm should be large enough to contain the maximum
realm name determined by the constant REALM_SZ. The local realm
name is stored in the file. See the reference page.