<?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 Sync failed  in HDP-3.1.0.0 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/LDAP-Sync-failed-in-HDP-3-1-0-0/m-p/238391#M200202</link>
    <description>&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer" href="http://@Sandeep%20R" target="_blank"&gt;&lt;EM&gt;@Sandeep R&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;It seems to be an SSL issue can you validate your LDAP, the port 636 is LDAPS and 389 is for LDAP.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;To enable LDAPS, you must install a certificate that meets the following requirements:&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;The LDAPS certificate is located in the Local Computer's Personal certificate store (programmatically known as the computer's MY certificate store).&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;A private key that matches the certificate is present in the Local Computer's store and is correctly associated with the certificate. The private key must not have strong private key protection enabled.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;The Enhanced Key Usage extension includes the Server Authentication (1.3.6.1.5.5.7.3.1) object identifier (also known as OID).&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;The Active Directory fully qualified domain name of the domain controller (for example, DC01.DOMAIN.COM) must appear in one of the following places:&lt;/EM&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;The Common Name (CN) in the Subject field.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;DNS entry in the Subject Alternative Name extension.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;The certificate was issued by a CA that the domain controller and the LDAPS clients trust. Trust is established by configuring the clients and the server to trust the root CA to which the issuing CA chains.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;You must use the Schannel cryptographic service provider (CSP) to generate the key.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hope that helps&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2019 11:47:57 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2019-04-15T11:47:57Z</dc:date>
    <item>
      <title>LDAP Sync failed  in HDP-3.1.0.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-Sync-failed-in-HDP-3-1-0-0/m-p/238390#M200201</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am trying to sync ldap users, I am getting below error, any idea, please?&lt;/P&gt;&lt;P&gt;====================&lt;/P&gt;&lt;P&gt;Review Settings&lt;/P&gt;&lt;P&gt;====================&lt;/P&gt;&lt;P&gt;Primary LDAP Host :  xxxxxxxxxxxxx001&lt;/P&gt;&lt;P&gt;Primary LDAP Port (636):  636&lt;/P&gt;&lt;P&gt;Secondary LDAP Host &amp;lt;Optional&amp;gt;: xxxxxxxxxxx002&lt;/P&gt;&lt;P&gt;Secondary LDAP Port &amp;lt;Optional&amp;gt; (636):  636&lt;/P&gt;&lt;P&gt;Use SSL [true/false] (true):  true&lt;/P&gt;&lt;P&gt;User object class (posixUser):  posixUser&lt;/P&gt;&lt;P&gt;User ID attribute (uid):  uid&lt;/P&gt;&lt;P&gt;Group object class (posixGroup):  posixGroup&lt;/P&gt;&lt;P&gt;Group name attribute (cn):  cn&lt;/P&gt;&lt;P&gt;Group member attribute (memberUid):  memberUid&lt;/P&gt;&lt;P&gt;Distinguished name attribute (dn):  dn&lt;/P&gt;&lt;P&gt;Search Base (dc=xyzcompany,dc=com):  dc=xyzcompany,dc=com&lt;/P&gt;&lt;P&gt;Referral method [follow/ignore] (follow):  follow&lt;/P&gt;&lt;P&gt;Bind anonymously [true/false] (false):  false&lt;/P&gt;&lt;P&gt;Handling behavior for username collisions [convert/skip] for LDAP sync (skip):  skip&lt;/P&gt;&lt;P&gt;Force lower-case user names [true/false] (true): true&lt;/P&gt;&lt;P&gt;Results from LDAP are paginated when requested [true/false] (false): false&lt;/P&gt;&lt;P&gt;ambari.ldap.connectivity.bind_dn: uid=svcTDPlookup,ou=serviceaccounts,ou=users,dc=xyzcompany,dc=com&lt;/P&gt;&lt;P&gt;ambari.ldap.connectivity.bind_password: *****&lt;/P&gt;&lt;P&gt;ambari.ldap.advanced.disable_endpoint_identification: false&lt;/P&gt;&lt;P&gt;ssl.trustStore.type: jks&lt;/P&gt;&lt;P&gt;ssl.trustStore.path: /etc/ambari-server/keys/ldaps-keystore.jks&lt;/P&gt;&lt;P&gt;ssl.trustStore.password: *****&lt;/P&gt;&lt;P&gt;Save settings [y/n] (y)?&lt;/P&gt;&lt;P&gt;Saving LDAP properties...&lt;/P&gt;&lt;P&gt;Saving LDAP properties finished&lt;/P&gt;&lt;P&gt;Ambari Server 'setup-ldap' completed successfully.&lt;/P&gt;&lt;P&gt;[root@shldvgdka001 keys]# ambari-server restart&lt;/P&gt;&lt;P&gt;Using python  /usr/bin/python&lt;/P&gt;&lt;P&gt;Restarting ambari-server&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Fetching LDAP configuration from DB.&lt;/P&gt;&lt;P&gt;Syncing specified users and groups...ERROR: Exiting with exit code 1.&lt;/P&gt;&lt;P&gt;REASON: Caught exception running LDAP sync. XXXXXXXXX02:636; nested exception is javax.naming.CommunicationException: XXXXXXXXXXX002:636 [Root exception is java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:18:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-Sync-failed-in-HDP-3-1-0-0/m-p/238390#M200201</guid>
      <dc:creator>sandeep_hadoopa</dc:creator>
      <dc:date>2022-09-16T14:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Sync failed  in HDP-3.1.0.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/LDAP-Sync-failed-in-HDP-3-1-0-0/m-p/238391#M200202</link>
      <description>&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer" href="http://@Sandeep%20R" target="_blank"&gt;&lt;EM&gt;@Sandeep R&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;It seems to be an SSL issue can you validate your LDAP, the port 636 is LDAPS and 389 is for LDAP.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;To enable LDAPS, you must install a certificate that meets the following requirements:&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;The LDAPS certificate is located in the Local Computer's Personal certificate store (programmatically known as the computer's MY certificate store).&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;A private key that matches the certificate is present in the Local Computer's store and is correctly associated with the certificate. The private key must not have strong private key protection enabled.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;The Enhanced Key Usage extension includes the Server Authentication (1.3.6.1.5.5.7.3.1) object identifier (also known as OID).&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;The Active Directory fully qualified domain name of the domain controller (for example, DC01.DOMAIN.COM) must appear in one of the following places:&lt;/EM&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;The Common Name (CN) in the Subject field.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;DNS entry in the Subject Alternative Name extension.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;The certificate was issued by a CA that the domain controller and the LDAPS clients trust. Trust is established by configuring the clients and the server to trust the root CA to which the issuing CA chains.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;You must use the Schannel cryptographic service provider (CSP) to generate the key.&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hope that helps&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 11:47:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/LDAP-Sync-failed-in-HDP-3-1-0-0/m-p/238391#M200202</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-04-15T11:47:57Z</dc:date>
    </item>
  </channel>
</rss>

