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

krb5_cc_default — Resolve the default credentials cache name

  Table of Contents

  Glossary

  Index

C Prototype

krb5_error_code krb5_cc_default(
krb5_context context,
krb5_ccache *ccache );

Arguments

context (input/output) 

The context structure.

ccache (output)  

A pointer to the credentials cache name.

Description

This routine is equivalent to krb5_cc_resolve( context,krb5_cc_default_name(),ccache );).

Return Values

This routine returns the following KRB5 status codes:

KV5M_CONTEXT

Bad magic number for krb5_context structure.

Results of krb5_cc_resolve