*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> krb5_aname_to_localname (3)              
Title
Content
Arch
Section
 

Contents


KRB5_ANAME_TO_LOCAL... FreeBSD Library Functions Manual KRB5_ANAME_TO_LOCAL...

NAME    [Toc]    [Back]

     krb5_aname_to_localname -- converts a principal to a system local name.

LIBRARY    [Toc]    [Back]

     Kerberos 5 Library (libkrb5, -lkrb5)

SYNOPSIS    [Toc]    [Back]

     #include <krb5.h>

     krb5_boolean
     krb5_aname_to_localname(krb5_context context, krb5_const_principal name,
         size_t lnsize, char *lname);

DESCRIPTION    [Toc]    [Back]

     This function takes a principal name, verifies its in the local realm
     (using krb5_get_default_realms()) and then returns the local name of the
     principal.

     If name isn't in one of the local realms and error is returned.

     If size (lnsize) of the local name (lname) is to small, an error is
     returned.

     krb5_aname_to_localname() should only be use by application that implements
 protocols that doesn't transport the login name and thus needs to
     convert a principal to a local name.

     Protocols should be designed so that the it autheticates using Kerberos,
     send over the login name and then verifies in the principal that authenticated
 is allowed to login and the login name.  A way to check if a user
     is allowed to login is using the function krb5_kuserok().

SEE ALSO    [Toc]    [Back]

      
      
     krb5_get_default_realms(3), krb5_kuserok(3)

HEIMDAL                         March 17, 2003                         HEIMDAL
[ Back ]
 Similar pages
Name OS Title
pxflocaltime IRIX Converts to local time
advfs Tru64 A local file system and utilities
disable_clerk HP-UX Stops the clerk on the local system
disable_server HP-UX Stops the server on the local system
cdsbrowser HP-UX Starts the CDS Browser utility on the local system
delete_clearinghouse HP-UX Deletes the specified clearinghouse from the local server system
stune IRIX local settings for system tunable parameters
rmtab HP-UX local file system mount statistics
show_clerk HP-UX Displays attribute information about the CDS clerk on the local system
restore HP-UX restore file system incrementally, local or across network
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service