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_get_prompt_types  Get prompt_types from the Kerberos context krb5_get_prompt_types Get prompt_types from the Kerberos context
go to next page: krb5_get_server_rcache  Create a replay cache for server usekrb5_get_server_rcache Create a replay cache for server use
end of book navigation links

krb5_get_renewed_creds -- Renew existing credentials 



C Prototype 

krb5_error_code krb5_get_renewed_creds (
        krb5_context            context,
        krb5_creds              *creds,
        krb5_principal          client,
        krb5_ccache             ccache,
        char                    *in_tkt_service );

Arguments 

context
(input/output)
 The context structure.
creds (output)  A pointer to a Kerberos credentials structure.
client (input) The client principal.
ccache (input)  The credentials cache name.
in_tkt_service (input) A pointer to the principal name of the requesting server.

Description 

This routine renews a set of existing Kerberos credentials.

Return Values 

This routine returns the following KRB5 status codes:

0
Successful completion.
ENOMEM
Insufficient memory.
KRB5_PROG_ETYPE_NOSUPP
Program lacks support for encryption type.


go to previous page: krb5_get_prompt_types  Get prompt_types from the Kerberos context krb5_get_prompt_types Get prompt_types from the Kerberos context
go to next page: krb5_get_server_rcache  Create a replay cache for server usekrb5_get_server_rcache Create a replay cache for server use