<?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: Connect hive with trust AD domain user in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Connect-hive-with-trust-AD-domain-user/m-p/303604#M221614</link>
    <description>&lt;P&gt;I have fixed it.&lt;/P&gt;&lt;P&gt;Need to translate principal names from the Active Directory realm into the KDC realm.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Configure the&amp;nbsp;&lt;EM&gt;hadoop.security.auth_to_local&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;setting in the &lt;EM&gt;core-site.xml&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;file&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;hadoop.security.auth_to_local&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;
    RULE:[1:$1@$0](^.*@AD_REALM\.COM$)s/^(.*)@AD_REALM\.COM$/USER_YOU_WANT_TO_USE/g
    RULE:[2:$1@$0](^.*@AD_REALM\.COM$)s/^(.*)@AD_REALM\.COM$/USER_YOU_WANT_TO_USE/g
    DEFAULT
  &amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;You can test these rulesets by using "&lt;EM&gt;hadoop kerbname&lt;/EM&gt;" or "&lt;EM&gt;hadoop org.apache.hadoop.security.HadoopKerberosName&lt;/EM&gt;"&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 07:28:19 GMT</pubDate>
    <dc:creator>cjay</dc:creator>
    <dc:date>2020-09-29T07:28:19Z</dc:date>
  </channel>
</rss>

