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

krb5_cc_default_name — Return the name of the default credentials cache

 » Table of Contents

 » Glossary

 » Index

C Prototype

const char		     *krb5_cc_default_name(
krb5_context context );

Arguments

context (input/output) 

The context structure.

Description

This routine returns the name of the default credentials cache; this may be equivalent to getenv(KRB5CCNAME) with an appropriate fallback.

Return Values

This routine returns the following KRB5 status codes:

Success

The name of the default credentials cache.

Failure

NULL