You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Sandor Molnar (JIRA)" <ji...@apache.org> on 2018/07/07 07:03:00 UTC

[jira] [Resolved] (AMBARI-24259) ambari-server sync-ldap with users and groups fails with NoSuchAlgorithmException

     [ https://issues.apache.org/jira/browse/AMBARI-24259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandor Molnar resolved AMBARI-24259.
------------------------------------
    Resolution: Fixed

> ambari-server sync-ldap with users and groups fails with NoSuchAlgorithmException
> ---------------------------------------------------------------------------------
>
>                 Key: AMBARI-24259
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24259
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 2.7.0
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Setup secure ldap went through fine but later on sync-ldap with users and groups has failed with below error
> {code:java}
> [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 {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)