MIT Kerberos Documentation

krb5_cc_set_flags - Set options flags on a credential cache.

krb5_error_code krb5_cc_set_flags(krb5_context context, krb5_ccache cache, krb5_flags flags)
param:

[in] context - Library context

[in] cache - Credential cache handle

[in] flags - Flag bit mask

retval:
  • 0 Success; otherwise - Kerberos error codes

This function resets cache flags to flags .