Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24259

ambari-server sync-ldap with users and groups fails with NoSuchAlgorithmException

    XMLWordPrintableJSON

Details

    Description

      Setup secure ldap went through fine but later on sync-ldap with users and groups has failed with below error

      [root@ctr-e138-1518143905142-391100-01-000006 ~]# ambari-server sync-ldap --users /tmp/users.txt --groups /tmp/groups.txt
      Using python  /usr/bin/python
      Syncing with LDAP...
      Enter Ambari Admin login: admin
      Enter Ambari Admin password: 
      
      Fetching LDAP configuration from DB.
      Syncing specified users and groups..ERROR: Exiting with exit code 1. 
      REASON: Caught exception running LDAP sync. ad-nano.qe.hortonworks.com:636; nested exception is javax.naming.CommunicationException: ad-nano.qe.hortonworks.com:636 [Root exception is java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)]
      [root@ctr-e138-1518143905142-391100-01-000006 ~]# cat /tmp/users.txt 

      Attachments

        Activity

          People

            smolnar Sandor Molnar
            smolnar Sandor Molnar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 40m
                1h 40m