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

krb5_get_renewed_creds — Renew existing credentials

 » Table of Contents

 » Glossary

 » Index

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.