ultrix man page for krb_get_lrealm

Query: krb_get_lrealm

OS: ultrix

Section: 3krb

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

krb_get_lrealm(3krb)													      krb_get_lrealm(3krb)

Name
       krb_get_lrealm - Host/realm identification routines.

Syntax
	#include <krb.h>
	#include <des.h>

	krb_get_lrealm (realm, n)
	char *realm;
	int  n;

	char *krb_get_phost (alias)
	char *alias;

Arguments
       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 characters.

       realm  Identifies a specific realm.

       n      Specifies a specific position in a series of Kerberos hosts; must be set to 0.

Description
       The routines of allow an application to obtain information on host/realm relationships in a Kerberos network.  The routines of this library
       are:

       krb_get_phost
	      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.

       krb_get_lrealm
	      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.

Files
       See Also
	      kerberos(3krb), krb.conf(5krb)

															      krb_get_lrealm(3krb)
Related Man Pages
afslog(1) - redhat
krb5_appdefault(3) - freebsd
krb5_appdefault(3) - mojave
ipa-rmkeytab(1) - centos
kdigest(8) - freebsd
Similar Topics in the Unix Linux Community
How do you detect keystrokes in canonical mode?
PHP Write Man Pages to MySQL DB