<?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: CDH 5 Sentry Service setup kerberos PREAUTH_FAILED Error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-Sentry-Service-setup-kerberos-PREAUTH-FAILED-Error/m-p/282584#M68534</link>
    <description>&lt;P&gt;Are there steps?&lt;/P&gt;</description>
    <pubDate>Sun, 10 Nov 2019 15:32:03 GMT</pubDate>
    <dc:creator>wallace-x</dc:creator>
    <dc:date>2019-11-10T15:32:03Z</dc:date>
    <item>
      <title>CDH 5 Sentry Service setup kerberos PREAUTH_FAILED Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-Sentry-Service-setup-kerberos-PREAUTH-FAILED-Error/m-p/60289#M68532</link>
      <description>&lt;P&gt;During my sentry installation, I have faced an issue that gave me big flag on CDH manager.&lt;/P&gt;&lt;P&gt;on step 5, Sentry principal keytab is failing to&amp;nbsp;&lt;SPAN&gt;authenticate.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My guess is, someone changed (or deleted and recrated) the sentry principal and CDH manager is sending a different keytab everytime I try to set the server.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have searched the sentry keytab file on server and I see that CDH mngr creates different keytab file with different attemp number extention everytime send a request(everytime I try to set up)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. where is the keytab file that CDH mngr keeps and sends for sentry&amp;nbsp;authentication?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Do I have to uninstall and reinstall kerberos to get the sentry principal correctly setup? I have tried every possible way and this is the only one left.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.&amp;nbsp;Why is CDH mngr is set up like this?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a decision point in our company to choose best Hadoop Distro enterprice version and we already have a glitch when we were enable Kerberos in CDH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Here is the Error log:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;JAVA_HOME=/usr/java/jdk1.7.0_67-cloudera&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;using /usr/java/jdk1.7.0_67-cloudera as JAVA_HOME&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;using 5 as CDH_VERSION&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Debug is true storeKey true useTicketCache true useKeyTab true doNotPrompt true ticketCache is null isInitiator true KeyTab is /var/run/cloudera-scm-agent/process/1625-sentry-SENTRY_SERVER/sentry.keytab refreshKrb5Config is true principal is sentry/********.********.dev@********.DEV tryFirstPass is false useFirstPass is false storePass is false clearPass is false&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Refreshing Kerberos configuration&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Acquire TGT from Cache&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Principal is sentry/********.********.dev@********.DEV&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;null credentials from Ticket Cache&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[Krb5LoginModule] authentication failed &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Integrity check on decrypted field failed (31) - PREAUTH_FAILED&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Mon Sep 25 08:47:18 EDT 2017&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;JAVA_HOME=/usr/java/jdk1.7.0_67-cloudera&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;using /usr/java/jdk1.7.0_67-cloudera as JAVA_HOME&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;using 5 as CDH_VERSION&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Debug is true storeKey true useTicketCache true useKeyTab true doNotPrompt true ticketCache is null isInitiator true KeyTab is /var/run/cloudera-scm-agent/process/1625-sentry-SENTRY_SERVER/sentry.keytab refreshKrb5Config is true principal is sentry/********.********.dev@********.DEV tryFirstPass is false useFirstPass is false storePass is false clearPass is false&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Refreshing Kerberos configuration&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Acquire TGT from Cache&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Principal is sentry/********.********.dev@********.DEV&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;null credentials from Ticket Cache&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[Krb5LoginModule] authentication failed &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Integrity check on decrypted field failed (31) - PREAUTH_FAILED&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:17:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-Sentry-Service-setup-kerberos-PREAUTH-FAILED-Error/m-p/60289#M68532</guid>
      <dc:creator>alpertankut</dc:creator>
      <dc:date>2022-09-16T12:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5 Sentry Service setup kerberos PREAUTH_FAILED Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-Sentry-Service-setup-kerberos-PREAUTH-FAILED-Error/m-p/60311#M68533</link>
      <description>&lt;P&gt;This issue is solved by recreating the credentials!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 21:37:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-Sentry-Service-setup-kerberos-PREAUTH-FAILED-Error/m-p/60311#M68533</guid>
      <dc:creator>alpertankut</dc:creator>
      <dc:date>2017-09-25T21:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5 Sentry Service setup kerberos PREAUTH_FAILED Error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-Sentry-Service-setup-kerberos-PREAUTH-FAILED-Error/m-p/282584#M68534</link>
      <description>&lt;P&gt;Are there steps?&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2019 15:32:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-Sentry-Service-setup-kerberos-PREAUTH-FAILED-Error/m-p/282584#M68534</guid>
      <dc:creator>wallace-x</dc:creator>
      <dc:date>2019-11-10T15:32:03Z</dc:date>
    </item>
  </channel>
</rss>

