HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 6 KRB5 (Kerberos V5) Application Programming
Interface
krb5_get_init_creds_keytab — Get initial credentials’ keytab
C Prototype | |
krb5_error_code krb5_get_init_creds_keytab ( krb5_context context, krb5_creds *creds, krb5_principal client, krb5_keytab arg_keytab, krb5_deltat start_time, char *in_tkt_service, krb5_get_init_creds_opt *options );
|
Arguments | |
context
(input/output) | | The context structure. | creds (output) | | A pointer to a Kerberos credentials
structure. | client (input) | | The client principal. | arg_keytab (input) | | A keytab handle. | start_time (input) | | The time when the ticket
becomes valid. | in_tkt_service (input) | | The principal name of the
requesting server. | options (input) | | A pointer to a structure
containing flags and options. |
Description | |
This routine gets the keytab associated with the initial credentials.
This may be either the default context’s keytab, or the
keytab of the client credentials. Return
Values | |
This routine returns the following KRB5 status codes: 0 | Successful completion. | ENOMEM | Insufficient memory. |
|