Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Kerberos authentication issue

avatar
Super Collaborator

I am trying to get a ticket from Kerberos but its failing . I have created another keytab but no luck .

[root@hadoop1 scripts]# klist -kte /etc/krb5.keytab | grep hdfs
   2 07/11/17 16:46:53 [email protected] (aes256-cts-hmac-sha1-96)
   2 07/11/17 16:46:53 [email protected] (aes128-cts-hmac-sha1-96)
   2 07/11/17 16:46:53 [email protected] (des3-cbc-sha1)
   2 07/11/17 16:46:53 [email protected] (arcfour-hmac)
[root@hadoop1 scripts]#
[root@hadoop1 scripts]# klist -kte  /etc/security/keytabs/hdfs.headless.keytab | grep hdfs
Keytab name: FILE:/etc/security/keytabs/hdfs.headless.keytab
   1 07/11/17 10:59:01 [email protected] (arcfour-hmac)
   1 07/11/17 10:59:01 [email protected] (des3-cbc-sha1)
   1 07/11/17 10:59:01 [email protected] (aes128-cts-hmac-sha1-96)
   1 07/11/17 10:59:01 [email protected] (aes256-cts-hmac-sha1-96)
   1 07/11/17 10:59:01 [email protected] (des-cbc-md5)
[root@hadoop1 scripts]#

[root@hadoop1 scripts]# kinit -kt /etc/security/keytabs/hdfs.headless.keytab [email protected]
kinit: Password incorrect while getting initial credentials
[root@hadoop1 scripts]#

[root@hadoop1 scripts]# kinit -kt /etc/krb5.keytab [email protected]
kinit: Password incorrect while getting initial credentials
[root@hadoop1 scripts]#

1 ACCEPTED SOLUTION

avatar
Super Collaborator

this article fixed the issue. The key version number was mismatching between the keytab and the kdc . The keytab files must have been hanging around from previous installation .

https://cwiki.apache.org/confluence/display/AMBARI/Automated+Kerberization+Troubleshooting

View solution in original post

1 REPLY 1

avatar
Super Collaborator

this article fixed the issue. The key version number was mismatching between the keytab and the kdc . The keytab files must have been hanging around from previous installation .

https://cwiki.apache.org/confluence/display/AMBARI/Automated+Kerberization+Troubleshooting