krb_get_lrealm man page on Ultrix

Printed from http://www.polarhome.com/service/man/?qf=krb_get_lrealm&af=0&tf=2&of=Ultrix

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)
[top]

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net