<?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 How to add LDAP users to Hue via API call in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-add-LDAP-users-to-Hue-via-API-call/m-p/317756#M227312</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have Hue (version&amp;nbsp;&lt;SPAN class="s2"&gt;4.2.0&lt;/SPAN&gt;) in our prod environment and it is coupled with our LDAP. We &lt;STRONG&gt;manually&lt;/STRONG&gt; onboard new users by going to "Manage Users" -&amp;gt; "Add/Sync Manage Users". Here, we add the LDAP ID and later when the user gets added. Once the user is added, we again search the newly added LDAP user, click on that and go to "Profiles and Group". Here, we select "temporary-access" so that User can able to access the UI. Without Temporary-access selection, user will not be able to see the UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to get this automated by writing a Py program and &lt;STRONG&gt;we are looking for the right REST API for adding users to Hue and give him/her "temp-access"&lt;/STRONG&gt; in profiles and group. The following link wasn't helpful -&amp;nbsp;&lt;A href="http://cloudera.github.io/hue/latest/developer/api/" target="_blank"&gt;http://cloudera.github.io/hue/latest/developer/api/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please assist us. I would highly appreciate any form of assistance or help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shesh Kumar&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 09:02:34 GMT</pubDate>
    <dc:creator>sheshk11</dc:creator>
    <dc:date>2026-04-21T09:02:34Z</dc:date>
    <item>
      <title>How to add LDAP users to Hue via API call</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-add-LDAP-users-to-Hue-via-API-call/m-p/317756#M227312</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have Hue (version&amp;nbsp;&lt;SPAN class="s2"&gt;4.2.0&lt;/SPAN&gt;) in our prod environment and it is coupled with our LDAP. We &lt;STRONG&gt;manually&lt;/STRONG&gt; onboard new users by going to "Manage Users" -&amp;gt; "Add/Sync Manage Users". Here, we add the LDAP ID and later when the user gets added. Once the user is added, we again search the newly added LDAP user, click on that and go to "Profiles and Group". Here, we select "temporary-access" so that User can able to access the UI. Without Temporary-access selection, user will not be able to see the UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to get this automated by writing a Py program and &lt;STRONG&gt;we are looking for the right REST API for adding users to Hue and give him/her "temp-access"&lt;/STRONG&gt; in profiles and group. The following link wasn't helpful -&amp;nbsp;&lt;A href="http://cloudera.github.io/hue/latest/developer/api/" target="_blank"&gt;http://cloudera.github.io/hue/latest/developer/api/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please assist us. I would highly appreciate any form of assistance or help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shesh Kumar&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 09:02:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-add-LDAP-users-to-Hue-via-API-call/m-p/317756#M227312</guid>
      <dc:creator>sheshk11</dc:creator>
      <dc:date>2026-04-21T09:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to add LDAP users to Hue via API call</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-add-LDAP-users-to-Hue-via-API-call/m-p/317776#M227321</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/53850"&gt;@sheshk11&lt;/a&gt;&amp;nbsp;I don’t think there is any REST API however Hue commands is another way by which you can achieve this.&amp;nbsp;&lt;/P&gt;&lt;DIV class="p-rich_text_section"&gt;The steps will be something like:&lt;/DIV&gt;&lt;OL class="p-rich_text_list p-rich_text_list__ordered"&gt;&lt;LI&gt;Configure LDAP via Hue Service&lt;/LI&gt;&lt;LI&gt;Restart Hue Server.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Login to Hue server and Perform synch ldap users via command line&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;&amp;lt;hue root&amp;gt;/build/env/bin/hue sync_ldap_users_and_groups&lt;/PRE&gt;&lt;DIV class="p-rich_text_section"&gt;There are few resources available around this if that helps.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="p-rich_text_section"&gt;&lt;A href="https://github.com/cloudera/hue/blob/master/tools/ops/hue_sync_ldap_groups_cron.sh" target="_blank" rel="noopener"&gt;https://github.com/cloudera/hue/blob/master/tools/ops/hue_sync_ldap_groups_cron.sh&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://gethue.com/making-hadoop-accessible-to-your-employees-with-ldap/#t9" target="_blank" rel="noopener"&gt;https://gethue.com/making-hadoop-accessible-to-your-employees-with-ldap/#t9&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://gethue.com/hadoop-tutorial-how-to-integrate-unix-users-and-groups/" target="_blank" rel="noopener"&gt;https://gethue.com/hadoop-tutorial-how-to-integrate-unix-users-and-groups/&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Jun 2021 09:04:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-add-LDAP-users-to-Hue-via-API-call/m-p/317776#M227321</guid>
      <dc:creator>GangWar</dc:creator>
      <dc:date>2021-06-07T09:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to add LDAP users to Hue via API call</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-add-LDAP-users-to-Hue-via-API-call/m-p/317951#M227369</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/29629"&gt;@GangWar&lt;/a&gt;&amp;nbsp;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 05:44:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-add-LDAP-users-to-Hue-via-API-call/m-p/317951#M227369</guid>
      <dc:creator>sheshk11</dc:creator>
      <dc:date>2021-06-09T05:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to add LDAP users to Hue via API call</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-add-LDAP-users-to-Hue-via-API-call/m-p/321246#M228328</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when i enabled this feature, hue is able to import all users from the LDAP group however&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sync_ldap_users_and_groups&lt;/PRE&gt;&lt;P&gt;is trying to create same user again and its failing with duplicate key error. see my question at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/hue-ldap-sync-duplicate-error/m-p/320951/highlight/true#M228224" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/hue-ldap-sync-duplicate-error/m-p/320951/highlight/true#M228224&lt;/A&gt;&lt;/P&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;</description>
      <pubDate>Wed, 21 Jul 2021 08:46:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-add-LDAP-users-to-Hue-via-API-call/m-p/321246#M228328</guid>
      <dc:creator>girishchalke</dc:creator>
      <dc:date>2021-07-21T08:46:44Z</dc:date>
    </item>
  </channel>
</rss>

