<?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: LDAP: error code 49 when setting LDAP auth for HiveServer2 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134166#M96828</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/369/amcbarnett.html" nodeid="369"&gt;@Ancil McBarnett&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hi Ancil and thank you for your response!
Good observation about the blank space ! I removed it and yet unable to authenticate (using beeline).
&lt;STRONG&gt;However&lt;/STRONG&gt; - i was able to authenticate after disabling the doAs !!!
The doAs is important to me because if i understand correct, when doAs is disabled - all of the Hive queries are performed as the hive user &lt;STRONG&gt;and not as the end user&lt;/STRONG&gt;. It's a problematic for auditing. 
I need to know exactly who performed the queries....
I wanna experiment a little bit more and get back to you all with my results.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2016 17:21:13 GMT</pubDate>
    <dc:creator>Adija1</dc:creator>
    <dc:date>2016-02-11T17:21:13Z</dc:date>
    <item>
      <title>LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134133#M96795</link>
      <description>&lt;P&gt;Hello Gurus :)
HDP 2.3.2
Ambari 2.1.2.1&lt;/P&gt;&lt;P&gt;I'm trying to setup HiveServer2 with LDAP authentication.
It seems pretty straightforward:
I performed the following:
Changed HiveServer2 Authentication to LDAP
&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1954-1.png" style="width: 302px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22144iF083B9D580678611/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1954-1.png" alt="1954-1.png" /&gt;&lt;/span&gt;

Then i setup my LDAP server url (as the Ambari requested):

&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1955-2.png" style="width: 519px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22145iEFB729C729D18A12/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1955-2.png" alt="1955-2.png" /&gt;&lt;/span&gt;

Restarted the Hive but hiveserver2.log shows the following during it's startup:
&lt;EM&gt;&lt;STRONG&gt; ERROR [HiveServer2-Handler-Pool: Thread-56]: transport.TSaslTransport (TSaslTransport.java:open(315)) - SASL negotiation failure
javax.security.sasl.SaslException: Error validating the login [Caused by javax.security.sasl.AuthenticationException: Error validating LDAP user [Caused by javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1]]]&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;According to the error &lt;STRONG&gt;LDAP 49 - 52e &lt;/STRONG&gt;the problem is with the credentials that were passed to the LDAP server.
I don't find any field \ parameter in which i set the LDAP user &amp;amp; password for authentication...
Needless to say that the authentication acts as if it is set to NONE (which is a major problem....)&lt;/P&gt;&lt;P&gt;Any ideas ?

Thanks in advance

Adi J.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:05:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134133#M96795</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2019-08-19T09:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134134#M96796</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; 
&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 00:22:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134134#M96796</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2016-02-10T00:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134135#M96797</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2591/adija-1.html" nodeid="2591"&gt;@Adi Jabkowsky&lt;/A&gt;  Looking into it &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 00:23:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134135#M96797</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-10T00:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134136#M96798</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2591/adija-1.html" nodeid="2591"&gt;@Adi Jabkowsky&lt;/A&gt;&lt;P&gt; Please see this guide &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_dataintegration/content/enabling_hs2_for_ldap_and_ldapssl.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_dataintegration/content/enabling_hs2_for_ldap_and_ldapssl.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 00:24:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134136#M96798</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-10T00:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134137#M96799</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2591/adija-1.html" nodeid="2591"&gt;@Adi Jabkowsky&lt;/A&gt;  &lt;/P&gt;&lt;P&gt;You should use beeline and provide ldap username and password during the authentication.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 00:50:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134137#M96799</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-10T00:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134138#M96800</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal
&lt;/A&gt;The beeline in the documentation is just an example for how to test the configuration.&lt;P&gt;My problem is when i use third party querying tools such as SQLdeveloper (or even IBM cognos) - i'm able to connect to the hive, see tables and query - without providing any password or with providing wrong password (As if the Security is set to NONE).

&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 01:08:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134138#M96800</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2016-02-10T01:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134139#M96801</link>
      <description>&lt;P&gt;The HiveServer2 acts the same if the security is set to LDAP or NONE, and it shouldn't.
When set to NONE - as long as my user has authorization for a specific table - i can query it without authentication against LDAP. (hence - NONE. no Authentication needed).
When set to LDAP, if setup is correct, i won't be able to query anything without connecting using my credentials.

&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 01:08:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134139#M96801</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2016-02-10T01:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134140#M96802</link>
      <description>&lt;P&gt;During the HiveServer2 startup i see that error in the log (52e) - so HiveServer2 has some sort of configuration problem regarding LDAP.
There must be a property in which i setup a user &amp;amp; password for HS2 to check authentication against LDAP but i can't find any...&lt;/P&gt;&lt;P&gt;(I've managed to configure Ambari to use LDAP, and HUE to use LDAP, and even Ranger's user sync - all of them use a manager DN or a bind DN.
But where is this value in HS2 config ??&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 01:08:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134140#M96802</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2016-02-10T01:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134141#M96803</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2591/adija-1.html" nodeid="2591"&gt;@Adi Jabkowsky&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Can you send me your hive-site.xml?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 01:57:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134141#M96803</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-10T01:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134142#M96804</link>
      <description>&lt;P&gt;As described in the &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_dataintegration/content/enabling_hs2_for_ldap_and_ldapssl.html"&gt;docs&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;If you're using AD you should also define a custom hive-site property hive.server2.authentication.ldap.Domain&lt;/P&gt;&lt;P&gt;If you're using OpenLDAP you should also define a custom hive-site property hive.server2.authentication.ldap.baseDN&lt;/P&gt;&lt;P&gt;Also make sure to force HiveServer2 to restart in Ambari. Go to the host(s) running HS2, and use the drop-down next to HiveServer2 to 'Restart' which will push the new configs. There was an Ambari bug that would mark all other Hive components for restart, but NOT HS2, even when it's required, and the "Restart All Affected" will NOT push new HS2 configs in that case.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 02:12:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134142#M96804</guid>
      <dc:creator>amiller</dc:creator>
      <dc:date>2016-02-10T02:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134143#M96805</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2591/adija-1.html" nodeid="2591"&gt;@Adi Jabkowsky&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/1962-adldap.txt"&gt;adldap.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See if you can set this up&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 03:30:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134143#M96805</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-10T03:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134144#M96806</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/63/amiller.html" nodeid="63"&gt;@Alex Miller&lt;/A&gt; 
Hi Alex and thank you for your reply.
I did add the hive.server2.authentication.ldap.Domain property with my domain name, and i'm configuring everything while HIVE is completely shutdown - so it's definitely not a restart problem.

What i don't understand is where do i setup the user that is in charge of authentication against AD ?
Where is the manager dn value located ? Maybe it's also a custom value ?

&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 15:07:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134144#M96806</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2016-02-10T15:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134145#M96807</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; 
Sure,
&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/1948-hive-site.xml"&gt;hive-site.xml&lt;/A&gt;
FYI - i've marked out the domain controller name for security reasons. In the original file the real name is there of course.
&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 15:17:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134145#M96807</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2016-02-10T15:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134146#M96808</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2591/adija-1.html" nodeid="2591"&gt;@Adi Jabkowsky&lt;/A&gt; Thanks!  Did you the text file that I shared?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 17:34:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134146#M96808</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-10T17:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134147#M96809</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;P&gt;I went through the text file you uploaded and you can see these values in my hive-site.xml file.
LDAP is there and also the LDAP url.
I also added hive.server2.authentication.ldap.Domain because we use Active Directory (Not openLDAP).
What i'm missing is the manager dn. There has to be a value where i set a user for authenticating against Active Directory but i don't find anything in your documentation about it.
I did setup authentication for HUE &amp;amp; Ambari without problems and both use a specific user for authentication...



&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 17:57:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134147#M96809</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2016-02-10T17:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134148#M96810</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2591/adija-1.html" nodeid="2591"&gt;@Adi Jabkowsky&lt;/A&gt;  Is your system/server synced with AD? When I enabled LDAP for hive, I did follow this &lt;A href="http://hortonworks.com/blog/hadoop-groupmapping-ldap-integration/" target="_blank"&gt;http://hortonworks.com/blog/hadoop-groupmapping-ldap-integration/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 17:59:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134148#M96810</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-10T17:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134149#M96811</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; 
This documentation is about group mapping. It is useful when you want to add permission to groups from AD to HDFS (this is why the mapping is done in core-site.xml which is in HDFS).
Unfortunately it has nothing to do with hive authentication :(
If your hive is set to authenticate against AD - could you maybe look in your hiveserver2.log and check for anything regarding LDAP during hive startup ?
Maybe it will give a clue. 

&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 18:52:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134149#M96811</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2016-02-10T18:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134150#M96812</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2591/adija-1.html" nodeid="2591"&gt;@Adi Jabkowsky&lt;/A&gt;  Thats the option when your server is not synced with LDAP&lt;/P&gt;&lt;P&gt;Is your system/server synced with AD? Are you able to login to server using AD account?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 18:59:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134150#M96812</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-10T18:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134151#M96813</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; 
The linux server where hive is installed isn't connected to AD. We only use local accounts.
But - hive is a service, just like Ambari &amp;amp; Hue. To Ambari &amp;amp; Hue &lt;STRONG&gt;which are running on the same machine&lt;/STRONG&gt; we login using our AD accounts, because those services are configured to authenticate using AD.
&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 19:05:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134151#M96813</guid>
      <dc:creator>Adija1</dc:creator>
      <dc:date>2016-02-10T19:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP: error code 49 when setting LDAP auth for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134152#M96814</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2591/adija-1.html" nodeid="2591"&gt;@Adi Jabkowsky&lt;/A&gt;  &lt;/P&gt;&lt;P&gt;What error do you get when you login to beeline and provide your LDAP username and password? I am getting this error &lt;/P&gt;&lt;P&gt;2: jdbc:hive2://localhost:10000 (closed)&amp;gt; !connect jdbc:hive2://localhost:10000&lt;/P&gt;&lt;P&gt;Connecting to jdbc:hive2://localhost:10000&lt;/P&gt;&lt;P&gt;Enter username for jdbc:hive2://localhost:10000: aa&lt;/P&gt;&lt;P&gt;Enter password for jdbc:hive2://localhost:10000: **&lt;/P&gt;&lt;P&gt;Error: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000: Peer indicated failure: Error validating the login (state=08S01,code=0)&lt;/P&gt;&lt;P&gt;3: jdbc:hive2://localhost:10000 (closed)&amp;gt; &lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 19:09:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-error-code-49-when-setting-LDAP-auth-for-HiveServer2/m-p/134152#M96814</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-10T19:09:44Z</dc:date>
    </item>
  </channel>
</rss>

