HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 6 KRB5 (Kerberos V5) Application Programming Interface

krb5_get_credentials_renew — Renew a set of existing credentials

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_get_credentials_renew (
krb5_context context,
krb5_flags options,
krb5_ccache ccache,
krb5_creds *in_creds,
krb5_creds **out_creds );

Arguments

context (input/output) 

The context structure.

options (input) 

Unused flag field.

ccache (input/output) 

The credentials cache.

in_creds (input) 

The credentials to be renewed.

out_creds (output) 

The refreshed credentials.

Description

This routine attempts to contact a KDC to renew a set of existing Kerberos credentials.

Return Values

This routine returns one of the following KRB5 status codes:

0Successful completion.
ENOMEMInsufficient memory.

KRB5_PROG_ETYPE_NOSUPP

Program lacks support for encryption type.

KRB5_KDCREP_MODIFIED

KDC reply did not match expectations.

Kerberos errors.