<?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: Kerberos setup Ambari 2.4 and HDP 2.5 fails (simple bind failure) but KDC test passes. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125408#M88152</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14595/eurodeebs.html" nodeid="14595"&gt;@Dezka Dex&lt;/A&gt; Can you upload new stack trace?&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2017 03:01:21 GMT</pubDate>
    <dc:creator>lraheja</dc:creator>
    <dc:date>2017-01-12T03:01:21Z</dc:date>
    <item>
      <title>Kerberos setup Ambari 2.4 and HDP 2.5 fails (simple bind failure) but KDC test passes.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125403#M88147</link>
      <description>&lt;P&gt;Hello, I'm receiving this error:&lt;/P&gt;&lt;PRE&gt;Failed to connect to KDC - Failed to communicate with the Active Directory at LDAP://hq.domain.com/OU=Production,OU=domain,DC=hq,DC=domain,DC=com: simple bind failed: hq.domain.com:389
Update the KDC settings in krb5-conf and kerberos-env configurations to correct this issue.
&lt;/PRE&gt;&lt;P&gt;I've been following this guide: &lt;A href="https://www.ibm.com/support/knowledgecenter/SSPT3X_4.2.0/com.ibm.swg.im.infosphere.biginsights.admin.doc/doc/admin_kerb_activedir.html" target="_blank"&gt;https://www.ibm.com/support/knowledgecenter/SSPT3X_4.2.0/com.ibm.swg.im.infosphere.biginsights.admin.doc/doc/admin_kerb_activedir.html&lt;/A&gt; as well as the HDP documentation on this. I'm doing the automated kerberos wizard.&lt;/P&gt;&lt;P&gt;JCE has been distributed to all of the nodes, I'm using Oracle JDK 1.8.&lt;/P&gt;&lt;P&gt;Attached is the full stack trace: &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/11356-kerberos-stack.txt"&gt;kerberos-stack.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The KDC Test Connection passes just fine, I can see expected network traffic between my domain controller and the Ambari server. The only main difference is that I'm not using SSL on AD. I figure this should be fine and Ambari can just use the plaintext 389 port. I realize this is a security concern but I have no way around this right now. I don't have control over this area of our domain setup. Could this be my issue?&lt;/P&gt;&lt;P&gt;Any help appreciated. Thanks.

EDIT: I was able to successfully parse AD using the ldapsearch tool using the same DN and LDAP url that I'm specifying. Also with the same admin user.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 01:39:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125403#M88147</guid>
      <dc:creator>eurodeebs</dc:creator>
      <dc:date>2017-01-12T01:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos setup Ambari 2.4 and HDP 2.5 fails (simple bind failure) but KDC test passes.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125404#M88148</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14595/eurodeebs.html" nodeid="14595"&gt;@Dezka Dex&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Problem seems to be with the ldap URL or the DN. And the error in the log shows "Root exception is java.net.SocketException: Connection reset"&lt;/P&gt;&lt;P&gt;It could be that Active directory is set to accept connections over SSL. You may try using ldaps:// instead of ldap:// (this needs active directory cert to be imported to java cacerts)&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 01:49:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125404#M88148</guid>
      <dc:creator>rguruvannagari</dc:creator>
      <dc:date>2017-01-12T01:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos setup Ambari 2.4 and HDP 2.5 fails (simple bind failure) but KDC test passes.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125405#M88149</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14595/eurodeebs.html" nodeid="14595"&gt;@Dezka Dex&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The error you are getting is :&lt;/P&gt;&lt;PRE&gt;Caused by: java.net.SocketException: Connection reset
&lt;/PRE&gt;&lt;PRE&gt;Failed to connect to KDC - Failed to communicate with the Active Directory at LDAP://hq.domain.com/OU=Production,OU=domain,DC=hq,DC=domain,DC=com: simple bind failed: hq.domain.com:389&lt;/PRE&gt;&lt;P&gt;Above error indicates communication failure with AD, but you mentioned KDC test passes? Can you make sure you are using correct communication string? Can you run ldapsearch with it?&lt;/P&gt;&lt;P&gt;Also, Have you followed below doc:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_Ambari_Security_Guide/content/_configure_ambari_to_use_ldap_server.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_Ambari_Security_Guide/content/_configure_ambari_to_use_ldap_server.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you upload your krb5.conf?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 02:01:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125405#M88149</guid>
      <dc:creator>lraheja</dc:creator>
      <dc:date>2017-01-12T02:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos setup Ambari 2.4 and HDP 2.5 fails (simple bind failure) but KDC test passes.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125406#M88150</link>
      <description>&lt;P style="margin-left: 20px;"&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/3576/rguruvannagari.html" nodeid="3576"&gt;@rguruvannagari&lt;/A&gt; thanks for the reply.

I just confirmed with my AD guy that our AD is not set up for SSL at all. I was able to parse AD using the ldapsearch tool using the same DN and ldap url I'm specifying. I'll keep trying different DN's&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 02:03:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125406#M88150</guid>
      <dc:creator>eurodeebs</dc:creator>
      <dc:date>2017-01-12T02:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos setup Ambari 2.4 and HDP 2.5 fails (simple bind failure) but KDC test passes.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125407#M88151</link>
      <description>&lt;P style="margin-left: 20px;"&gt;&lt;A rel="user" href="https://community.cloudera.com/users/78/lraheja.html" nodeid="78"&gt;@lraheja&lt;/A&gt; I did not go through the ambari-server setup-ldap steps, I must've gone past this some how. After configuring this and restarting Ambari the LDAP tests seem to be getting further but are now just timing out.

My krb5.conf is not configured at all, it's the default conf file. I assumed Ambari was going to configure this through the wizard, is that not the case?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 02:26:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125407#M88151</guid>
      <dc:creator>eurodeebs</dc:creator>
      <dc:date>2017-01-12T02:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos setup Ambari 2.4 and HDP 2.5 fails (simple bind failure) but KDC test passes.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125408#M88152</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14595/eurodeebs.html" nodeid="14595"&gt;@Dezka Dex&lt;/A&gt; Can you upload new stack trace?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 03:01:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125408#M88152</guid>
      <dc:creator>lraheja</dc:creator>
      <dc:date>2017-01-12T03:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos setup Ambari 2.4 and HDP 2.5 fails (simple bind failure) but KDC test passes.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125409#M88153</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/78/lraheja.html" nodeid="78"&gt;@lraheja&lt;/A&gt;

Sure, it's no longer timing out, it's just back to what it was doing before.
&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/11357-kerberos-stack-2.txt"&gt;kerberos-stack-2.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 03:38:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125409#M88153</guid>
      <dc:creator>eurodeebs</dc:creator>
      <dc:date>2017-01-12T03:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos setup Ambari 2.4 and HDP 2.5 fails (simple bind failure) but KDC test passes.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125410#M88154</link>
      <description>&lt;P&gt;I suffered the exact same issue of:&lt;/P&gt;&lt;PRE&gt;Caused by: java.net.SocketException: Connection reset
&lt;/PRE&gt;&lt;P&gt;Logs giving nothing away, just constant refusal to connect to ldap://ad.mydomain.com:389 despite confirming LDAP was working on the same host using ldapsearch.&lt;/P&gt;&lt;P&gt;Anyway, I decided to test with LDAPS (following &lt;A href="https://community.hortonworks.com/articles/60186/hdf-20-use-ambari-to-enable-kerberos-for-hdf-clust-1.html)" target="_blank"&gt;https://community.hortonworks.com/articles/60186/hdf-20-use-ambari-to-enable-kerberos-for-hdf-clust-1.html)&lt;/A&gt;, and using exactly the same values for my config it worked.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 20:31:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125410#M88154</guid>
      <dc:creator>ollie1</dc:creator>
      <dc:date>2017-01-17T20:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos setup Ambari 2.4 and HDP 2.5 fails (simple bind failure) but KDC test passes.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125411#M88155</link>
      <description>&lt;P&gt;In addition to this, when enabling Kerberos against an Active Directory, &lt;STRONG&gt;LDAPS must be used&lt;/STRONG&gt; rather than LDAP since Active Directory requires a secure connection to set or update account password - and Ambari needs to set or update the passwords for the Kerberos identity accounts it manages.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 23:02:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125411#M88155</guid>
      <dc:creator>rlevas</dc:creator>
      <dc:date>2017-01-17T23:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos setup Ambari 2.4 and HDP 2.5 fails (simple bind failure) but KDC test passes.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125412#M88156</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/14834/ollie.html" nodeid="14834"&gt;@Oliver Fletcher&lt;/A&gt;&lt;P&gt;Yup, this was the issue. I enabled LDAPS on our domain and it works now.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2017 23:33:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125412#M88156</guid>
      <dc:creator>eurodeebs</dc:creator>
      <dc:date>2017-01-19T23:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos setup Ambari 2.4 and HDP 2.5 fails (simple bind failure) but KDC test passes.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125413#M88157</link>
      <description>&lt;P&gt;do you alternate material available since following &lt;A href="https://community.hortonworks.com/articles/60186/hdf-20-use-ambari-to-enable-kerberos-for-hdf-clust-1.html%29,"&gt;https://community.hortonworks.com/articles/60186/hdf-20-use-ambari-to-enable-kerberos-for-hdf-clust-1.html),&lt;/A&gt;is unavailable?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 04:53:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125413#M88157</guid>
      <dc:creator>rakeshbca</dc:creator>
      <dc:date>2018-04-11T04:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos setup Ambari 2.4 and HDP 2.5 fails (simple bind failure) but KDC test passes.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125414#M88158</link>
      <description>&lt;P&gt;I also facing the same issue as started in the above blog; can someone pls advise me urgently&lt;/P&gt;&lt;P&gt;thank you support:)&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 04:58:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125414#M88158</guid>
      <dc:creator>rakeshbca</dc:creator>
      <dc:date>2018-04-11T04:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberos setup Ambari 2.4 and HDP 2.5 fails (simple bind failure) but KDC test passes.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125415#M88159</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Rakesh Kumar"&gt; @Rakesh Kumar&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The thread you are referring too was closed. I doubt whether members attend to old threads I advise you to open a new thread and possibly attach the logs at times errors differ.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please do that !!&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 15:08:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Kerberos-setup-Ambari-2-4-and-HDP-2-5-fails-simple-bind/m-p/125415#M88159</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-04-12T15:08:50Z</dc:date>
    </item>
  </channel>
</rss>

