Kerberos Unknown credential cache type

499 views
Skip to first unread message

Guillaume Querso

unread,
Jul 17, 2015, 10:59:41 AM7/17/15
to ansible...@googlegroups.com
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!

J Hawkesworth

unread,
Jul 17, 2015, 1:33:28 PM7/17/15
to ansible...@googlegroups.com
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 
Reply all
Reply to author
Forward
0 new messages