<?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: Authorization questions LDAP in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authorization-questions-LDAP/m-p/48901#M50097</link>
    <description>&lt;P&gt;For the impyla issue, I believe Git is a good place to look for assistance too.&lt;/P&gt;&lt;P&gt;I see there is already a discussion in Git: &lt;A href="https://github.com/cloudera/impyla/issues/233" target="_blank"&gt;https://github.com/cloudera/impyla/issues/233&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Dec 2016 15:37:22 GMT</pubDate>
    <dc:creator>bgooley</dc:creator>
    <dc:date>2016-12-29T15:37:22Z</dc:date>
    <item>
      <title>Authorization questions LDAP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authorization-questions-LDAP/m-p/48802#M50094</link>
      <description>&lt;P&gt;&amp;nbsp;Hi, I'm trying to enable authorization system in Cloudera.&lt;/P&gt;&lt;P&gt;I'm reading this link &lt;A href="https://www.cloudera.com/documentation/enterprise/5-3-x/topics/cm_sg_ldap_grp_mappings.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-3-x/topics/cm_sg_ldap_grp_mappings.html&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q0&lt;/STRONG&gt;: Why can we use LdapGroupsMapping in &lt;STRONG&gt;production&lt;/STRONG&gt; environment? I would like to use Apache Zeppline to integreted Apache Spark. I would like to use LDAP as a unifined account system.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q1&lt;/STRONG&gt;: If I use org.apache.hadoop.security.ShellBasedUnixGroupsMapping, Should I create users and groups in &lt;STRONG&gt;EVERY&lt;/STRONG&gt; host in my cluster?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2&lt;/STRONG&gt;: If I use org.apache.hadoop.security.LdapGroupsMapping. When new users and groups are created, will they &lt;STRONG&gt;sync&lt;/STRONG&gt; to EVERY host in my cluster?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q3&lt;/STRONG&gt;:When adding new service in Cloudera Manager, for example, kafka service, will `kafka` user created both in LDAP database and &lt;STRONG&gt;EVERY&lt;/STRONG&gt; host in my cluster?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q4&lt;/STRONG&gt;: I've enabled MIT kerberos in my cluster. Can I submit task from Windows IDE with proper kerberos &lt;STRONG&gt;keytab&lt;/STRONG&gt; files. For example, using impyla in Python in Windows machine.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2016 07:55:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authorization-questions-LDAP/m-p/48802#M50094</guid>
      <dc:creator>zhuangmz</dc:creator>
      <dc:date>2016-12-26T07:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization questions LDAP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authorization-questions-LDAP/m-p/48882#M50095</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;A0&lt;/STRONG&gt;: While using LDAP as a "unified account system", Cloudera recommends against leveraging LDAP Group Mapping. &amp;nbsp;I'll repost the Note on the page you mentioned:&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN class="title"&gt;Important:&lt;/SPAN&gt;&lt;SPAN&gt; Cloudera strongly recommends &lt;/SPAN&gt;&lt;EM&gt;against&lt;/EM&gt;&lt;SPAN&gt; using Hadoop's &lt;/SPAN&gt;LdapGroupsMapping&lt;SPAN&gt; provider. &lt;/SPAN&gt;LdapGroupsMapping&lt;SPAN&gt; should only be used in cases where OS-level integration is not possible. Production clusters require an identity provider that works well with all applications, not just Hadoop. Hence, often the preferred mechanism is to use tools such as SSSD, VAS or Centrify to replicate LDAP groups.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;The idea is to allow tools that were designed for unix account integration with LDAP/Active Directory, etc.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;You could enable LDAP Groups Mapping for HDFS, but only HDFS would know about users/groups. &amp;nbsp;The OS would not know about them.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;A1:&lt;/STRONG&gt; Yes, each host should have the same set of users. &amp;nbsp;Two common methods of managing this (without having to manually update every host's passwd and group files:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;- Tools such as SSSD, VAS, and Centrify&amp;nbsp;allow hosts to retrieve user information from one location. &amp;nbsp;As long as each host in the cluster is configured to use the tool, each host can find a singular entry in LDAP (hdfs user for instance)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;- Puppet, Chef, or other automation tools can be used to push out passwd/group changes to all hosts.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;A2:&lt;/STRONG&gt; No. There is no "syncing" for LDAP Groups Mapping; rather, there is one LDAP entry that services will reference.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;A3:&lt;/STRONG&gt;&amp;nbsp;By default, Cloudera Manager has "&lt;SPAN&gt;Create Users and Groups, and Apply File Permissions for Parcels" enabled. &amp;nbsp;When the parcel is activated, the agents on each host managed by that Cloudera Manager will create local users and groups if that setting is enabled. &amp;nbsp;It won't create them in LDAP, though.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;A4:&lt;/STRONG&gt; I'm affraid I don't understand the question completely, so I'll answer generally. &amp;nbsp;As long as your client has the proper configuration and credentials to authenticate, it should be able to work.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I hope that all helps.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Ben&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 07:36:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authorization-questions-LDAP/m-p/48882#M50095</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2016-12-29T07:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization questions LDAP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authorization-questions-LDAP/m-p/48883#M50096</link>
      <description>&lt;P&gt;Thanks, bgooley.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q1&lt;/STRONG&gt;. I've tried ansible to maitain users and groups. It works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q4&lt;/STRONG&gt;. I mean. I would like to use python with PyCharm in Windows, in order to get an iteractive shell. In both following cases, I've kinit using MIT kerberos for Windows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;case1&lt;/STRONG&gt;: impyla in Python scripts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Interactive-Short-cycle-SQL/connect-kerberozied-cluster-from-impyla-in-windows-machine/m-p/48890#M2336" target="_blank"&gt;https://community.cloudera.com/t5/Interactive-Short-cycle-SQL/connect-kerberozied-cluster-from-impyla-in-windows-machine/m-p/48890#M2336&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;case2&lt;/STRONG&gt;: pyspark in Python scripts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Advanced-Analytics-Apache-Spark/connect-kerberozied-cluster-from-pyspark-in-windows-machine/m-p/48889" target="_blank"&gt;https://community.cloudera.com/t5/Advanced-Analytics-Apache-Spark/connect-kerberozied-cluster-from-pyspark-in-windows-machine/m-p/48889&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 08:11:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authorization-questions-LDAP/m-p/48883#M50096</guid>
      <dc:creator>zhuangmz</dc:creator>
      <dc:date>2016-12-29T08:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization questions LDAP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authorization-questions-LDAP/m-p/48901#M50097</link>
      <description>&lt;P&gt;For the impyla issue, I believe Git is a good place to look for assistance too.&lt;/P&gt;&lt;P&gt;I see there is already a discussion in Git: &lt;A href="https://github.com/cloudera/impyla/issues/233" target="_blank"&gt;https://github.com/cloudera/impyla/issues/233&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 15:37:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authorization-questions-LDAP/m-p/48901#M50097</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2016-12-29T15:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization questions LDAP</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authorization-questions-LDAP/m-p/48915#M50098</link>
      <description>OK. Actually, It was me that started that isse in Github &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Fri, 30 Dec 2016 00:49:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Authorization-questions-LDAP/m-p/48915#M50098</guid>
      <dc:creator>zhuangmz</dc:creator>
      <dc:date>2016-12-30T00:49:35Z</dc:date>
    </item>
  </channel>
</rss>

