skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_address_search  Search for address in address list krb5_address_search Search for address in address list
go to next page: krb5_appdefault_boolean  Check Boolean values in appdefaultkrb5_appdefault_boolean Check Boolean values in appdefault
end of book navigation links

krb5_aname_to_localname -- Convert a principal name to a local name 



C Prototype 

krb5_error_code krb5_aname_to_localname(
         krb5_context             context,
         krb5_const_principal     aname,
         int                      lnsize,
         char                     *lname );

Arguments 

context
(input)
 The context structure.
aname (input)  A principal name.
lnsize (input) Specifies the maximum length name that is to be filled into lname.
lname (output) The local name.

Description 

This routine converts a principal name aname to a local name suitable for use by programs wishing a translation to an environment-specific name (for example, user account name).

The translation will be NULL terminated in all nonerror returns.

Return Values 

This routine returns the following KRB5 status code:

System errors.



go to previous page: krb5_address_search  Search for address in address list krb5_address_search Search for address in address list
go to next page: krb5_appdefault_boolean  Check Boolean values in appdefaultkrb5_appdefault_boolean Check Boolean values in appdefault