<?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: SSL and LDAP architecture with in Impala-Need to study in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/16348#M16767</link>
    <description>&lt;P&gt;When LDAP is enabled, the flow is like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The client (e.g. the Impala shell) opens a connection to Impala and indicates that it wants to use LDAP authentication&lt;/LI&gt;&lt;LI&gt;Impala accepts the connection and the username and password from the client&lt;/LI&gt;&lt;LI&gt;Impala opens a connection to the LDAP server, and calls ldap_simple_bind_s(user, pass) on that connection&lt;/LI&gt;&lt;LI&gt;If successful, the client is authenticated, if not its connection is closed.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If SSL is enabled either between the client and the server or between the server and the LDAP server, that doesn't change much except to say that the connection is secured by SSL before any further data are exchanged on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code to actually perform the authentication is here:&amp;nbsp;&lt;A target="_blank" href="https://github.com/cloudera/Impala/blob/master/be/src/rpc/authentication.cc"&gt;https://github.com/cloudera/Impala/blob/master/be/src/rpc/authentication.cc&lt;/A&gt; (see&amp;nbsp;&lt;SPAN&gt;SaslLdapCheckPass() in particular).&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Henry&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Aug 2014 22:56:47 GMT</pubDate>
    <dc:creator>HenryR</dc:creator>
    <dc:date>2014-08-01T22:56:47Z</dc:date>
    <item>
      <title>SSL and LDAP architecture with in Impala-Need to study</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/16240#M16766</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I was trying to figure out what exactly happens when we enable SSL and LDAP on Impala cluster and the same integrated with any BI tool (client). I mean, I would like to understand each call flow, after SSL handshake how the data get transfered, basically a sequence diagram and which functions in the source code takes care of this. I hardly found good extent on SSL and LDAP working procedure in the cloudera documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any one has better links or documents for the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sreeman&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:03:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/16240#M16766</guid>
      <dc:creator>Sreeman</dc:creator>
      <dc:date>2022-09-16T09:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: SSL and LDAP architecture with in Impala-Need to study</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/16348#M16767</link>
      <description>&lt;P&gt;When LDAP is enabled, the flow is like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The client (e.g. the Impala shell) opens a connection to Impala and indicates that it wants to use LDAP authentication&lt;/LI&gt;&lt;LI&gt;Impala accepts the connection and the username and password from the client&lt;/LI&gt;&lt;LI&gt;Impala opens a connection to the LDAP server, and calls ldap_simple_bind_s(user, pass) on that connection&lt;/LI&gt;&lt;LI&gt;If successful, the client is authenticated, if not its connection is closed.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If SSL is enabled either between the client and the server or between the server and the LDAP server, that doesn't change much except to say that the connection is secured by SSL before any further data are exchanged on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code to actually perform the authentication is here:&amp;nbsp;&lt;A target="_blank" href="https://github.com/cloudera/Impala/blob/master/be/src/rpc/authentication.cc"&gt;https://github.com/cloudera/Impala/blob/master/be/src/rpc/authentication.cc&lt;/A&gt; (see&amp;nbsp;&lt;SPAN&gt;SaslLdapCheckPass() in particular).&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Henry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Aug 2014 22:56:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/16348#M16767</guid>
      <dc:creator>HenryR</dc:creator>
      <dc:date>2014-08-01T22:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: SSL and LDAP architecture with in Impala-Need to study</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/16384#M16768</link>
      <description>&lt;P&gt;Thanks Henry for giving me the github link. Let's in this case I want to establish SSL connection between Tableau server and Impala server and also between Impala server and Active Directory.Does impala support it? I mean while enabling SSL, we can provide only one SSL certificate for the ssl server certifcate path parameter? Am I right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sreeman&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2014 06:34:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/16384#M16768</guid>
      <dc:creator>Sreeman</dc:creator>
      <dc:date>2014-08-04T06:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: SSL and LDAP architecture with in Impala-Need to study</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/16404#M16769</link>
      <description>&lt;P&gt;Yes, Impala supports that configuration. You would use &lt;SPAN style="font-family: 'courier new', courier;"&gt;--ssl_server_certificate&lt;/SPAN&gt; to secure Impala&amp;lt;-&amp;gt; client connections, and &lt;SPAN style="font-family: 'courier new', courier;"&gt;--ldap_ca_certificate&lt;/SPAN&gt; to secure Impala &amp;lt;-&amp;gt; LDAP connections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2014 18:55:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/16404#M16769</guid>
      <dc:creator>HenryR</dc:creator>
      <dc:date>2014-08-04T18:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: SSL and LDAP architecture with in Impala-Need to study</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/16438#M16770</link>
      <description>&lt;P&gt;Thank you Henry. In case if we don't set SSL between AD and Impala/Hive, does it encrypt the password automatically? I see if we set &lt;SPAN&gt;ldap_passwords_in_clear_ok&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;false&lt;/SPAN&gt; then password will not be in clear form? But I am not sure about user id? If both user id and password encrypted by default what kind of encryption logic is used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sreeman&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2014 09:56:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/16438#M16770</guid>
      <dc:creator>Sreeman</dc:creator>
      <dc:date>2014-08-05T09:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: SSL and LDAP architecture with in Impala-Need to study</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/16496#M16771</link>
      <description>&lt;P&gt;There is no encryption other than that provided by SSL, which affects all traffic. If you set --ldap_passwords_in_clear_ok=false, Impala will fail to start unless the connection to the&amp;nbsp;AD server has SSL enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2014 17:52:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/16496#M16771</guid>
      <dc:creator>HenryR</dc:creator>
      <dc:date>2014-08-05T17:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: SSL and LDAP architecture with in Impala-Need to study</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/28884#M16772</link>
      <description>&lt;P&gt;Henry - can you give a bit of background as to how --ldap_passwords_in_clear_ok is supposed to be used? We have a secure impala to LDAP connection but have not set the --ldap_passwords_in_clear_ok parameter. Do we need to?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 14:59:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/28884#M16772</guid>
      <dc:creator>smarinov</dc:creator>
      <dc:date>2015-06-24T14:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: SSL and LDAP architecture with in Impala-Need to study</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/28900#M16773</link>
      <description>&lt;P&gt;You should use --ldap_passwords_in_clear_ok *only* if you're comfortable with Impala sending passwords in the clear to the LDAP server, i.e. not by a secure connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This flag is mainly as an override for secure-by-default configuration. You should not set it unless there is no way to secure the password-carrying connections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 18:02:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/28900#M16773</guid>
      <dc:creator>HenryR</dc:creator>
      <dc:date>2015-06-24T18:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: SSL and LDAP architecture with in Impala-Need to study</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/28902#M16774</link>
      <description>Ok got it. Just wanted to make sure we don't have to set it to false. Thank you.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jun 2015 18:05:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/28902#M16774</guid>
      <dc:creator>smarinov</dc:creator>
      <dc:date>2015-06-24T18:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: SSL and LDAP architecture with in Impala-Need to study</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/29984#M16775</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to use SSL encryption ( or any other encryption) only for the login credentials encryption and not the other traffic on the user -&amp;gt; impala connection&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Tableau to extract data from Impala. In order to authenticate users, I activated LDAP authentication on impala, and in order to encrypt the user credentials transmission from Tableau to Impala, I used the SSL encryption. However, SSL encryption is applied to all traffic and it really slows down the data extraction from Impala.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a way to encrypt only the user credentials during the authentication step and then not use SSL for the rest of the data traffice. Is there a way to do it ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&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>Fri, 24 Jul 2015 11:16:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/29984#M16775</guid>
      <dc:creator>zeeshan.khan</dc:creator>
      <dc:date>2015-07-24T11:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: SSL and LDAP architecture with in Impala-Need to study</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/30042#M16776</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not currently, I'm afraid.&amp;nbsp;Authentication and data access go over the same connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To change that, Impala's clients would have to connect over another channel after authentication. The client&amp;nbsp;would have to receive during authentication&amp;nbsp;some shared secret token allowing it to prove to the server that it's ok to access data. We don't currently have&amp;nbsp;any plans to implement this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Henry&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 18:13:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/30042#M16776</guid>
      <dc:creator>HenryR</dc:creator>
      <dc:date>2015-07-24T18:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: SSL and LDAP architecture with in Impala-Need to study</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/30274#M16777</link>
      <description>&lt;P&gt;In that case, can you suggest a way to speed up the SSL communication with Impala ?&lt;/P&gt;&lt;P&gt;Currently we are using Tableau to extract data from Impala. And with SSL activated, the data extraction is at least 30x to 100x slower than before.&lt;/P&gt;&lt;P&gt;Did you see this behavior ? Do you have a remedy for it ?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2015 10:14:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SSL-and-LDAP-architecture-with-in-Impala-Need-to-study/m-p/30274#M16777</guid>
      <dc:creator>zeeshan.khan</dc:creator>
      <dc:date>2015-07-30T10:14:05Z</dc:date>
    </item>
  </channel>
</rss>

