<?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>topic Re: Error binding to LDAP. reason=&amp;quot;Can't contact LDAP server&amp;quot;. in Security</title>
    <link>https://community.splunk.com/t5/Security/Error-binding-to-LDAP-reason-quot-Can-t-contact-LDAP-server-quot/m-p/324342#M8353</link>
    <description>&lt;P&gt;Disable the TLS_PROTOCOL_MIN  &amp;amp; TLS_CIPHER_SUITE  worked at 7.1.1 too.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 20:06:51 GMT</pubDate>
    <dc:creator>wanquan224</dc:creator>
    <dc:date>2020-09-29T20:06:51Z</dc:date>
    <item>
      <title>Error binding to LDAP. reason="Can't contact LDAP server".</title>
      <link>https://community.splunk.com/t5/Security/Error-binding-to-LDAP-reason-quot-Can-t-contact-LDAP-server-quot/m-p/324339#M8350</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;on a fresh 6.6 install I received the following error when trying to set up ldap authentication:&lt;BR /&gt;
An error occurred completing this request: In handler 'LDAP-groups': strategy="default" Error binding to LDAP. reason="Can't contact LDAP server".&lt;/P&gt;

&lt;P&gt;I copied the config from a existing/working instance.&lt;/P&gt;

&lt;P&gt;Any Ideas?&lt;/P&gt;

&lt;P&gt;Regards Chris&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 08:44:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Error-binding-to-LDAP-reason-quot-Can-t-contact-LDAP-server-quot/m-p/324339#M8350</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2017-06-01T08:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error binding to LDAP. reason="Can't contact LDAP server".</title>
      <link>https://community.splunk.com/t5/Security/Error-binding-to-LDAP-reason-quot-Can-t-contact-LDAP-server-quot/m-p/324340#M8351</link>
      <description>&lt;P&gt;Running:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ldapsearch -x –h &amp;lt;ldap_host&amp;gt; –p &amp;lt;ldap_port&amp;gt; –D "bind_dn" -w "bind_passwd" -b "user_basedn" "userNameAttribute=*"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;as suggested in: &lt;A href="https://docs.splunk.com/Documentation/Splunk/6.6.1/Security/TestyourLDAPconfiguration" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/6.6.1/Security/TestyourLDAPconfiguration&lt;/A&gt; helped.&lt;/P&gt;

&lt;P&gt;Adding -d -1 to get debug output: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ldapsearch -d -1 -x –h &amp;lt;ldap_host&amp;gt; –p &amp;lt;ldap_port&amp;gt; –D "bind_dn" -w "bind_passwd" -b "user_basedn" "userNameAttribute=*"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;yields:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TLS: error: connect - force handshake failure: errno 13 - moznss error -12286
TLS: can't connect: TLS error -12286:Cannot communicate securely with peer: no common encryption algorithm(s)..
ldap_err2string
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am not the ldap-admin so I commented the  TLS_PROTOCOL and TLS_CIPHER lines in:&lt;BR /&gt;
$SPLUNK_HOME/etc/openldap/ldap.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#TLS_PROTOCOL_MIN 3.3
#TLS_CIPHER_SUITE ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It works now ...&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:17:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Error-binding-to-LDAP-reason-quot-Can-t-contact-LDAP-server-quot/m-p/324340#M8351</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2020-09-29T14:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error binding to LDAP. reason="Can't contact LDAP server".</title>
      <link>https://community.splunk.com/t5/Security/Error-binding-to-LDAP-reason-quot-Can-t-contact-LDAP-server-quot/m-p/324341#M8352</link>
      <description>&lt;P&gt;I installed a fresh version of Splunk and ran into this very issue today! Thanks for documenting this.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2017 02:50:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Error-binding-to-LDAP-reason-quot-Can-t-contact-LDAP-server-quot/m-p/324341#M8352</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2017-12-02T02:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error binding to LDAP. reason="Can't contact LDAP server".</title>
      <link>https://community.splunk.com/t5/Security/Error-binding-to-LDAP-reason-quot-Can-t-contact-LDAP-server-quot/m-p/324342#M8353</link>
      <description>&lt;P&gt;Disable the TLS_PROTOCOL_MIN  &amp;amp; TLS_CIPHER_SUITE  worked at 7.1.1 too.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:06:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Error-binding-to-LDAP-reason-quot-Can-t-contact-LDAP-server-quot/m-p/324342#M8353</guid>
      <dc:creator>wanquan224</dc:creator>
      <dc:date>2020-09-29T20:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error binding to LDAP. reason="Can't contact LDAP server".</title>
      <link>https://community.splunk.com/t5/Security/Error-binding-to-LDAP-reason-quot-Can-t-contact-LDAP-server-quot/m-p/324343#M8354</link>
      <description>&lt;P&gt;I had to both comment out not only #TLS_PROTOCOL_MIN and #TLS_CIPHER_SUITE, but #TLS_CACERTDIR as well. Kind of a combination of both of these answers:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/543501/error-binding-to-ldap-reasoncant-contact-ldap-serv.html" target="_blank"&gt;https://answers.splunk.com/answers/543501/error-binding-to-ldap-reasoncant-contact-ldap-serv.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/607006/having-trouble-connecting-to-ldap-server-with-ssl.html" target="_blank"&gt;https://answers.splunk.com/answers/607006/having-trouble-connecting-to-ldap-server-with-ssl.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:46:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Error-binding-to-LDAP-reason-quot-Can-t-contact-LDAP-server-quot/m-p/324343#M8354</guid>
      <dc:creator>nick405060</dc:creator>
      <dc:date>2020-09-30T00:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error binding to LDAP. reason="Can't contact LDAP server".</title>
      <link>https://community.splunk.com/t5/Security/Error-binding-to-LDAP-reason-quot-Can-t-contact-LDAP-server-quot/m-p/520304#M11808</link>
      <description>&lt;P&gt;Worked for me as well! Only had to comment out the `TLS_CIPHER_SUITE` setting in ldap.conf. However, I can't figure out exactly &lt;EM&gt;why&lt;/EM&gt; this fixes the problem. I've looked through some documentation, and can se that `TLS_CIPHER_SUITE` defaults to a standard setting, so what happens when it's commented? Would it compromise security in any way to comment it?&lt;BR /&gt;&lt;BR /&gt;Documentation on `TLS_CIPHER_SUITE` and ldap.conf: &lt;A href="https://www.openldap.org/software//man.cgi?query=ldap.conf&amp;amp;sektion=5&amp;amp;apropos=0&amp;amp;manpath=OpenLDAP+2.4-Release" target="_blank"&gt;https://www.openldap.org/software//man.cgi?query=ldap.conf&amp;amp;sektion=5&amp;amp;apropos=0&amp;amp;manpath=OpenLDAP+2.4-Release&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 11:10:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Error-binding-to-LDAP-reason-quot-Can-t-contact-LDAP-server-quot/m-p/520304#M11808</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2020-09-18T11:10:12Z</dc:date>
    </item>
  </channel>
</rss>

