[
https://issues.apache.org/jira/browse/AMBARI-24028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Lysnichenko resolved AMBARI-24028.
-----------------------------------------
Resolution: Duplicate
> can't do ldap sync with ambari on https
> ---------------------------------------
>
> Key: AMBARI-24028
> URL: https://issues.apache.org/jira/browse/AMBARI-24028
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.6.0
> Reporter: Charles Hedrick
> Assignee: Dmitry Lysnichenko
> Priority: Major
> Fix For: 2.7.0
>
>
> I converted ambari to https. Then I tried to do ldap sync. Got an error that
> 127.0.0.1 didn't match my hostname. ldap sync starts by making a connection
> to the ambari server. That needs to done using https, which require the
> certificate the match the hostname. But by hardcoding 127.0.0.1 as the
> hostname, you generate a mismatch.
> in /usr/lib/python2.6/site-packages/ambari_server/serverUtils.py,
> SERVER_API_HOST needs to be computed, not hardwire. By hardwiring it to my
> hostname I got things to proceed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)