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

krb5_verify_init_creds — Verify initial credentials

  Table of Contents

  Glossary

  Index

C Prototype

krb5_error_code krb5_verify_init_creds (
krb5_context context,
krb5_creds *creds,
krb5_principal server_arg,
krb5_keytab keytab_arg,
krb5_ccache *ccache_arg,
krb5_verify_init_creds_opt *options );

Arguments

context (input/output) 

The context structure.

creds (input) 

A pointer to the initial credentials.

server_arg (input) 

The server principal.

keytab_arg (input) 

The keytab entry.

ccache_arg (input/output) 

A pointer to the credentials cache.

options (input) 

A pointer to a structure containing flags and options.

Description

This routine verifies the set of initial credentials, and stores them in the credentials cache.

Return Values

This routine returns the following KRB5 status code:

0Successful completion.