[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

Content starts here
HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 6 KRB5 (Kerberos V5) Application Programming Interface

krb5_aname_to_localname — Convert a principal name to a local name

 » Table of Contents

 » Glossary

 » Index

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.