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

krb5_get_credentials_validate — Validate a set of existing credentials

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_get_credentials_validate (
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 validated.

out_creds (output) 

The validated credentials.

Description

This routine attempts to contact a KDC to validate 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.