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

krb5_cc_gen_new — Generate a new credentials cache identifier

  Table of Contents

  Glossary

  Index

C Prototype

krb5_error_code krb5_cc_gen_new(
krb5_context context,
krb5_ccache *id );

Arguments

context (input/output) 

The context structure.

id (output)  

A new, unique credentials cache identifier.

Description

This routine fills in id with a unique ccache identifier. The cache is left unopened.

Return Values

This routine returns the following KRB5 status code:

0

Successful completion.