kinit: Password incorrect while getting initial credentials [SOLVED]

on August 3rd, 2017 by Hades | No Comments »

When I tried kinit -kt [email protected], I get “kinit: Password incorrect while getting initial credentials”

[root@ipa ~]# ktutil 
ktutil:  addent -password -p [email protected] -k 1 -e aes256-cts-hmac-sha1-96
Password for [email protected]: 
ktutil:  wkt test.keytab
ktutil:  q
[root@ipa ~]# kinit [email protected] -k -t test.keytab
kinit: Password incorrect while getting initial credentials

Upon deep investigation, I’ve managed to find an excellent workaround:

$ kinit [email protected]
$ ipa-getkeytab -p [email protected] -k test.keytab -e aes256-cts-hmac-sha1-96

and you will see a result:

[root@ipa ~]# kinit [email protected] -k -t test.keytab
[root@ipa ~]#

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.