Kerberos - Credentials cache


Ticket cache


The default credential cache name is determined by the following, in descending order of priority:

  • The KRB5CCNAME environment variable. For example, KRB5CCNAME=DIR:/mydir/.
  • The default_ccache_name profile variable in krb5 conf file [libdefaults] section
  • The hardcoded default, DEFCCNAME.


Cache file

The environment variable KRB5CCNAME gives the location of the cache file krb5cache. For example, C:\temp\krb5cache

krb5cache is a regular file (not a directory) managed by the Kerberos software and should not be created by the user. If you receive a permission error when you first use Kerberos, check to make sure that the krb5cache file does not exist as a file or a directory.


Documentation / Reference

Powered by ComboStrap