MIT Kerberos Documentation


krb5_cc_lock - Lock a credential cache.

krb5_error_code krb5_cc_lock(krb5_context context, krb5_ccache ccache)
param:

[in] context - Library context

[in] ccache - Credential cache handle

retval:
  • 0 Success; otherwise - Kerberos error codes

Use krb5_cc_unlock() to unlock the lock.