<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Import KDC Account Manager Credentials Command failed in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-KDC-Account-Manager-Credentials-Command-failed/m-p/48541#M48807</link>
    <description>&lt;P&gt;I worked around this by using this enctype in the wizard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;default_tkt_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1 rc4-hmac
default_tgs_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1 rc4-hmac
permitted_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1 rc4-hmac&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Curiously I had rc4-hmac in my /etc/krb5.conf and also on the KDC server but for whatever reason it didn't seem to be working. Switching to the above encryption type solved my issue with the wizard.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Dec 2016 18:28:19 GMT</pubDate>
    <dc:creator>slmingol</dc:creator>
    <dc:date>2016-12-14T18:28:19Z</dc:date>
    <item>
      <title>Import KDC Account Manager Credentials Command failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-KDC-Account-Manager-Credentials-Command-failed/m-p/48519#M48806</link>
      <description>&lt;P&gt;I'm attempting to install CDH 5.9 and enable Kerberos but am getting the following error when going through the Kerberos wizard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/usr/share/cmf/bin/import_credentials.sh failed with exit code 1 and output of &amp;lt;&amp;lt;
+ export PATH=/usr/kerberos/bin:/usr/kerberos/sbin:/usr/lib/mit/sbin:/usr/sbin:/usr/lib/mit/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin
+ PATH=/usr/kerberos/bin:/usr/kerberos/sbin:/usr/lib/mit/sbin:/usr/sbin:/usr/lib/mit/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin
+ KEYTAB_OUT=/var/run/cloudera-scm-server/cmf4852346331449807753.keytab
+ USER=cloudera-scm/admin@TD.MYDOM.COM
+ PASSWD=REDACTED
+ KVNO=1
+ SLEEP=0
+ RHEL_FILE=/etc/redhat-release
+ '[' -f /etc/redhat-release ']'
+ set +e
+ grep Tikanga /etc/redhat-release
+ '[' 1 -eq 0 ']'
+ '[' 0 -eq 0 ']'
+ grep 'CentOS release 5' /etc/redhat-release
+ '[' 1 -eq 0 ']'
+ '[' 0 -eq 0 ']'
+ grep 'Scientific Linux release 5' /etc/redhat-release
+ '[' 1 -eq 0 ']'
+ set -e
+ '[' -z /etc/krb5.conf ']'
+ echo 'Using custom config path '\''/etc/krb5.conf'\'', contents below:'
+ cat /etc/krb5.conf
+ IFS=' '
+ read -a ENC_ARR
+ for ENC in '"${ENC_ARR[@]}"'
+ ktutil
+ echo 'addent -REDACTED -p cloudera-scm/admin@TD.MYDOM.COM -k 1 -e rc4-hmac'
+ '[' 0 -eq 1 ']'
+ echo REDACTED
+ echo 'wkt /var/run/cloudera-scm-server/cmf4852346331449807753.keytab'
+ chmod 600 /var/run/cloudera-scm-server/cmf4852346331449807753.keytab
+ kinit -k -t /var/run/cloudera-scm-server/cmf4852346331449807753.keytab cloudera-scm/admin@TD.MYDOM.COM
kinit: Generic preauthentication failure while getting initial credentials

&amp;gt;&amp;gt;&lt;/PRE&gt;&lt;P&gt;The principal cloudera-scm/admin@TD.MYDOM.COM works fine when I do this on the CM Host.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ kinit cloudera-scm/admin@TD.MYDOM.COM
Password for cloudera-scm/admin@TD.MYDOM.COM:

$ klist -e
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: cloudera-scm/admin@TD.MYDOM.COM

Valid starting     Expires            Service principal
12/14/16 09:30:07  12/14/16 09:40:07  krbtgt/TD.MYDOM.COM@TD.MYDOM.COM
	renew until 12/21/16 09:30:05, Etype (skey, tkt): des3-cbc-sha1, des3-cbc-sha1&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Dec 2016 14:31:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-KDC-Account-Manager-Credentials-Command-failed/m-p/48519#M48806</guid>
      <dc:creator>slmingol</dc:creator>
      <dc:date>2016-12-14T14:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Import KDC Account Manager Credentials Command failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-KDC-Account-Manager-Credentials-Command-failed/m-p/48541#M48807</link>
      <description>&lt;P&gt;I worked around this by using this enctype in the wizard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;default_tkt_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1 rc4-hmac
default_tgs_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1 rc4-hmac
permitted_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1 rc4-hmac&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Curiously I had rc4-hmac in my /etc/krb5.conf and also on the KDC server but for whatever reason it didn't seem to be working. Switching to the above encryption type solved my issue with the wizard.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 18:28:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Import-KDC-Account-Manager-Credentials-Command-failed/m-p/48541#M48807</guid>
      <dc:creator>slmingol</dc:creator>
      <dc:date>2016-12-14T18:28:19Z</dc:date>
    </item>
  </channel>
</rss>

