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_kt_get_entry  Retrieve an entry from the key table krb5_kt_get_entry Retrieve an entry from the key table
go to next page: krb5_kt_get_type  Return the keytab prefixkrb5_kt_get_type Return the keytab prefix
end of book navigation links

krb5_kt_get_name -- Get key table name 



C Prototype 

krb5_error_code krb5_kt_get_name(
         krb5_context      context,
         krb5_keytab       id,
         char              *name,
         int                namesize );

Arguments 

context
(input/output)
 The context structure.
id (input/output)  A key table handle.
name (output) The key table name.
namesize (input)  The maximum length to fill in name.

Description 

This routine fills name with the first namesize bytes of the name of the keytab identified by id. If the name is shorter than namesize, then name will be NULL terminated.

Return Values 

This routine returns the following KRB5 status code:

0
Successful completion.


go to previous page: krb5_kt_get_entry  Retrieve an entry from the key table krb5_kt_get_entry Retrieve an entry from the key table
go to next page: krb5_kt_get_type  Return the keytab prefixkrb5_kt_get_type Return the keytab prefix