skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_cc_set_default_name  Set default CC name krb5_cc_set_default_name Set default CC name
go to next page: krb5_cc_start_seq_get  Start sequential read of cached credentialskrb5_cc_start_seq_get Start sequential read of cached credentials
end of book navigation links

krb5_cc_set_flags -- Set the flags on the credentials cache 



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.



go to previous page: krb5_cc_set_default_name  Set default CC name krb5_cc_set_default_name Set default CC name
go to next page: krb5_cc_start_seq_get  Start sequential read of cached credentialskrb5_cc_start_seq_get Start sequential read of cached credentials