# Kerberos Unknown credential cache type

**URL:** <https://forum.ansible.com/t/kerberos-unknown-credential-cache-type/18799>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [July 17, 2015, 2:59pm UTC](https://forum.ansible.com/t/kerberos-unknown-credential-cache-type/18799 "2015-07-17T14:59:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guillaume\_Querso](https://avatars.discourse-cdn.com/v4/letter/g/cdc98d/32.png) [@Guillaume\_Querso](https://forum.ansible.com/u/Guillaume_Querso)\
**Post date:** [July 17, 2015, 2:59pm UTC](https://forum.ansible.com/t/kerberos-unknown-credential-cache-type/18799/1 "2015-07-17T14:59:41Z")

</div>

hi,  
apparently, we need to use python 2.7.6 (the newest) for kerberos to work, otherwise ansible doesn’t try kerberos properly (you should have transport=kerberos in the verbose).

my problem is the following:  
i try to ping my windows server but i have this message:

GSSError: (('Unspecified GSS failure. Minor code may provide more information', 851968), ('Unknown credential cache type', -1765328244))\n’, ‘stdout’: ‘’}

i have:  
windows server 2008 R2 with powershell 4  
ansible 2.0.0 or ansible stable 1.9 (same message on both verisons)  
a valide ticket for the domain user

thank you for your help!

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [July 17, 2015, 5:33pm UTC](https://forum.ansible.com/t/kerberos-unknown-credential-cache-type/18799/2 "2015-07-17T17:33:28Z")

</div>

Can you share your /etc/krb5.conf?

Is it possible you have KRB5CCNAME environment variable set specifying a non standard location for the kerberos credential cache? I think that would probably cause problems?

Not sure if pykerberos expects a particular type of credential cache but fairly certain it works with a FILE type cache.

Hope this helps,

Jon
