<?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: Configuring LDAP authentication for Impala in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-LDAP-authentication-for-Impala/m-p/16522#M2411</link>
    <description>Hi&lt;BR /&gt;I am facing the same problem but unable to understand your solution. Is it that you first set Advanced Configuration snippet field to True and then passed on ldap_domain details in command line?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sreeman</description>
    <pubDate>Wed, 06 Aug 2014 06:02:59 GMT</pubDate>
    <dc:creator>Sreeman</dc:creator>
    <dc:date>2014-08-06T06:02:59Z</dc:date>
    <item>
      <title>Configuring LDAP authentication for Impala</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-LDAP-authentication-for-Impala/m-p/16112#M2409</link>
      <description>&lt;P&gt;I'm trying to configure Hive and Impala to use ldap authentication against AD without SSL. Hive is working. But I'm stuck with Impala. Here are details:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lines I added to hive-site.xml:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hive.server2.authentication&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;LDAP&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hive.server2.authentication.ldap.url&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;ldap://sfad.sf.vit-cdc.com:389&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property&amp;gt;&lt;BR /&gt;&amp;lt;name&amp;gt;hive.server2.authentication.ldap.Domain&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;sf.vit-cdc.com&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Impala configuration, I checked&amp;nbsp;&lt;SPAN&gt;Enable LDAP Authentication and set&amp;nbsp;&lt;SPAN&gt;LDAP URI to&amp;nbsp;ldap://sfad.sf.vit-cdc.com:389. In&amp;nbsp;&lt;SPAN&gt;Impala Daemon Command Line Argument Advanced Configuration Snippet field, I added&amp;nbsp;--ldap_bind_pattern="sAMAccountName=#UID,CN=Users,DC=sf,DC=vit-cdc,DC=com"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;I used LDAP Admin to make sure there's an attibute sAMAccountName=ylu in object CN=Ying Lu,&lt;SPAN&gt;CN=Users,DC=sf,DC=vit-cdc,DC=com&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Here's what I got in my impalad log:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I0729 10:48:10.298579 19737 impalad-main.cc:87] Impala has started.&lt;BR /&gt;I0729 10:48:35.219799 20083 authentication.cc:188] Trying simple LDAP bind for: "sAMAccountName=ylu,CN=Users,DC=sf,DC=vit-cdc,DC=com"&lt;BR /&gt;W0729 10:48:35.233507 20083 authentication.cc:194] LDAP bind failed: Invalid credentials&lt;BR /&gt;E0729 10:48:35.233678 20083 authentication.cc:117] SASL message: Password verification failed&lt;BR /&gt;I0729 10:48:35.241914 20083 thrift-util.cc:105] TThreadPoolServer: TServerTransport died on accept: SASL(-13): user not found: Password verification failed&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Any help will be much appreciated!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:03:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-LDAP-authentication-for-Impala/m-p/16112#M2409</guid>
      <dc:creator>ylu123</dc:creator>
      <dc:date>2022-09-16T09:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring LDAP authentication for Impala</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-LDAP-authentication-for-Impala/m-p/16114#M2410</link>
      <description>Never mind. Set --ldap_domain in Impala Daemon Command Line Argument Advanced Configuration Snippet field worked.</description>
      <pubDate>Tue, 29 Jul 2014 03:05:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-LDAP-authentication-for-Impala/m-p/16114#M2410</guid>
      <dc:creator>ylu123</dc:creator>
      <dc:date>2014-07-29T03:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring LDAP authentication for Impala</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-LDAP-authentication-for-Impala/m-p/16522#M2411</link>
      <description>Hi&lt;BR /&gt;I am facing the same problem but unable to understand your solution. Is it that you first set Advanced Configuration snippet field to True and then passed on ldap_domain details in command line?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sreeman</description>
      <pubDate>Wed, 06 Aug 2014 06:02:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-LDAP-authentication-for-Impala/m-p/16522#M2411</guid>
      <dc:creator>Sreeman</dc:creator>
      <dc:date>2014-08-06T06:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring LDAP authentication for Impala</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-LDAP-authentication-for-Impala/m-p/16524#M2412</link>
      <description>No, I directly added --ldap_domain=YourDomainName in Impala Daemon Command Line Argument Advanced Configuration Snippet (Safety Valve) field.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Aug 2014 06:30:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Configuring-LDAP-authentication-for-Impala/m-p/16524#M2412</guid>
      <dc:creator>ylu123</dc:creator>
      <dc:date>2014-08-06T06:30:43Z</dc:date>
    </item>
  </channel>
</rss>

