[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_cc_set_flags — Set the flags on the credentials cache

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_cc_set_flags(
krb5_context context,
krb5_ccache id,
krb5_flags flags );

Arguments

context (input/output) 

The context structure.

id (input/output)  

A credentials cache identifier.

flags (input) 

A bit mask representing the flags to set. The values should be logically ORed together. Valid values are:

KRB5_TC_OPENCLOSE - Turn on OPENCLOSE mode (open and close the cache each time a credentials cache routine is called). The default, if this flag is not set, is to have the cache stay open until krb5_cc_close is called.

Description

This routine sets the flags on the credentials cache id to flags.

Return Values

This routine returns the following KRB5 status code:

Successful completion.