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_remove_entry  Remove an entry from a key table krb5_kt_remove_entry Remove an entry from a key table
go to next page: krb5_kt_start_seq_get  Start a sequential retrieve of key table entrieskrb5_kt_start_seq_get Start a sequential retrieve of key table...
end of book navigation links

krb5_kt_resolve -- Get keytab handle 



C Prototype 

krb5_error_code krb5_kt_resolve(
        krb5_context    context,
        const char      *string_name,
        krb5_keytab     *id );

Arguments 

context
(input/output)
 The context structure.
string_name (input)  The name of the keytab.
id (output) A keytab handle.

Description 

This routine fills in id with a handle identifying the keytab with the name string_name. The keytab is not opened. The routine requires that string_name be of the form type:residual and type is a type known to the library.

Return Values 

This routine returns the following KRB5 status code:

0
Successful completion.
ENOMEM
Insufficient memory.
KRB5_KT_UNKNOWN_TYPE
Unknown keytab type.


go to previous page: krb5_kt_remove_entry  Remove an entry from a key table krb5_kt_remove_entry Remove an entry from a key table
go to next page: krb5_kt_start_seq_get  Start a sequential retrieve of key table entrieskrb5_kt_start_seq_get Start a sequential retrieve of key table...