krb5_cc_cache_match - Find a credential cache with a specified client principal. — MIT Kerberos Documentation

# MIT Kerberos Documentation

Contents | previous | next | index | Search | feedback

# krb5_cc_cache_match - Find a credential cache with a specified client principal.

krb5_error_code krb5_cc_cache_match(krb5_context context, krb5_principal client, krb5_ccache *cache_out)

param:

  [in] context - Library context

  [in] client - Client principal

  [out] cache_out - Credential cache handle

retval:

  - 0 Success

  - KRB5_CC_NOTFOUND

Find a cache within the collection whose default principal is client . Use krb5_cc_close to close ccache when it is no longer needed.

Note

New in 1.10