<?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: Kerberos users not showing up in Ranger policy creation UI in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-users-not-showing-up-in-Ranger-policy-creation-UI/m-p/285919#M212086</link>
    <description>&lt;P&gt;For some reason I thought that it wasn't necessary to have LDAP in addition to Kerberos.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went on setting up an LDAP environment and was able to sync users to Ranger. Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2019 14:26:17 GMT</pubDate>
    <dc:creator>RobertCare</dc:creator>
    <dc:date>2019-12-18T14:26:17Z</dc:date>
    <item>
      <title>Kerberos users not showing up in Ranger policy creation UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-users-not-showing-up-in-Ranger-policy-creation-UI/m-p/285686#M211976</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have installed the HDP sandbox&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;HDP-3.0.1.0 (&lt;/SPAN&gt;&lt;SPAN&gt;3.0.1.0-187) using&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;&lt;STRONG&gt;Docker&lt;/STRONG&gt;&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;&lt;STRONG&gt;Kerberized&lt;/STRONG&gt;&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;the cluster.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This works, i can&amp;nbsp;&lt;FONT face="andale mono,monospace"&gt;kinit myuser&lt;/FONT&gt; and make an API request to Atlas:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;curl --negotiate -u : sandbox-hdp.hortonworks.com:21000/api/atlas/admin/version&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I would like to create a Ranger policy that includes my Kerberos user, however &lt;STRONG&gt;the autocomplete for users does not show any of my Kerberos users&lt;/STRONG&gt;... I did read this post (&lt;A href="https://community.cloudera.com/t5/Support-Questions/Autocompletion-of-names-not-working-in-Ranger/td-p/109988" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Support-Questions/Autocompletion-of-names-not-working-in-Ranger/td-p/109988&lt;/A&gt;), however this problem seems to be slightly different.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What do I need to do to make Kerberos users show up in the Ranger policy creation UI?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 14:39:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-users-not-showing-up-in-Ranger-policy-creation-UI/m-p/285686#M211976</guid>
      <dc:creator>RobertCare</dc:creator>
      <dc:date>2019-12-16T14:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos users not showing up in Ranger policy creation UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-users-not-showing-up-in-Ranger-policy-creation-UI/m-p/285740#M212006</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/71967"&gt;@RobertCare&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will need to run the Ranger AD user sync&amp;nbsp; see good&amp;nbsp; document here&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Community-Articles/Configuring-Ranger-Usersync-with-AD-LDAP-for-a-common/ta-p/245959" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Community-Articles/Configuring-Ranger-Usersync-with-AD-LDAP-for-a-common/ta-p/245959&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To test-run loading User and Group data into Ranger before committing to the changes:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class="p"&gt;Set&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ranger.usersync.policymanager.mockrun=true.&lt;/STRONG&gt; This parameter can be found in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph filepath"&gt;Ambari&amp;gt; &lt;STRONG&gt;Ranger&amp;gt; Configs&amp;gt; Advanced&amp;gt; Advanced ranger-ugsync-site&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class="p"&gt;View the Users and Groups that will be loaded into Ranger:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;tail -f /var/log/ranger/usersync/usersync.log.&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class="p"&gt;After confirming that the users and groups are retrieved as intended, set&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ranger.usersync.policymanager.mockrun=false&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and restart Ranger Usersync.&lt;/P&gt;&lt;P class="p"&gt;This will sync the users shown in the usersync log to the Ranger database.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;HTH&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 22:33:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-users-not-showing-up-in-Ranger-policy-creation-UI/m-p/285740#M212006</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-12-16T22:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos users not showing up in Ranger policy creation UI</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-users-not-showing-up-in-Ranger-policy-creation-UI/m-p/285919#M212086</link>
      <description>&lt;P&gt;For some reason I thought that it wasn't necessary to have LDAP in addition to Kerberos.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went on setting up an LDAP environment and was able to sync users to Ranger. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 14:26:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-users-not-showing-up-in-Ranger-policy-creation-UI/m-p/285919#M212086</guid>
      <dc:creator>RobertCare</dc:creator>
      <dc:date>2019-12-18T14:26:17Z</dc:date>
    </item>
  </channel>
</rss>

