[ 
https://issues.apache.org/jira/browse/AMBARI-22885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350183#comment-16350183
 ] 

Hudson commented on AMBARI-22885:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8671 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/8671/])
[AMBARI-22885] LDAP sync fails with 'LDAP is not configured' error after 
(rlevas: 
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=c88e0a1c833bdb4015f721df8985a84077af06b5])
* (edit) ambari-server/src/test/python/TestAmbariServer.py
* (edit) ambari-server/src/main/python/ambari_server/setupSecurity.py


> LDAP sync fails with 'LDAP is not configured' error after configuring LDAP
> --------------------------------------------------------------------------
>
>                 Key: AMBARI-22885
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22885
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 2.7.0
>
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> LDAP sync fails with 'LDAP is not configured' error after configuring LDAP.
> *Steps to Reproduce*
>  # ambari-server setup-ldap
>  # ambari-server sync-ldap --all
> {noformat:title=Example}
> [root@c6404 ~]# ambari-server sync-ldap --all
> Using python  /usr/bin/python
> Syncing with LDAP...
> ERROR: Exiting with exit code 1.
> REASON: LDAP is not configured. Run 'ambari-server setup-ldap' first.
> {noformat}
> *Cause*
> The ambari-server script is looking for the value of 
> {{ambari.ldap.authentication.enabled}} (from the the {{ambari.properties}} 
> file. The value is expected to be "true". Since 
> {{ambari.ldap.authentication.enabled}} is not being set in the 
> ambari.properties file, the check is failing and thus, the unexpected error.
> See {{ambari-server/src/main/python/ambari_server/setupSecurity.py:298}}.



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

Reply via email to