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_default  Return a handle to the default keytab krb5_kt_default Return a handle to the default keytab
go to next page: krb5_kt_end_seq_get  Complete a series of sequential key table entry retrievalskrb5_kt_end_seq_get Complete a series of sequential key table...
end of book navigation links

krb5_kt_default_name -- Get default key table name 



C Prototype 

krb5_error_code krb5_kt_default_name(
         krb5_context     context
         char             *name,
         int               namesize );

Arguments 

context
(input/output)
 The context structure.
name (input/output)  Key table name to resolve.
namesize (input) The size of the name to return. Anything more than namesize will be zeroed in name upon completion.

Description 

This routine fills name with the first namesize bytes of the name of the default keytab. If the name is shorter than namesize, then the remainder of name will be zeroed.

Return Values 

This routine returns the following KRB5 status code:

0
Successful completion.


go to previous page: krb5_kt_default  Return a handle to the default keytab krb5_kt_default Return a handle to the default keytab
go to next page: krb5_kt_end_seq_get  Complete a series of sequential key table entry retrievalskrb5_kt_end_seq_get Complete a series of sequential key table...