[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

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

krb5_get_validated_creds — Get validated credentials

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_get_validated_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 acquires a set of validated credentials from the KDC.

Return Values

This routine returns the following KRB5 status codes:

0

Successful completion.

KRB5_NO_2ND_TKT

Request missing second ticket.

KRB5_NO_TKT_SUPPLIED

Request did not supply a ticket.

KRB5_PRINC_NOMATCH

Requested principal and ticket don’t match.

KRB5_KDCREP_MODIFIED

KDC reply did not match expectations.

KRB5_KDCREP_SKEW

Clock skew too great in KDC reply.

ENOMEM

Insufficient memory.