You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rl...@apache.org on 2018/01/24 13:20:20 UTC

[ambari] 08/09: AMBARI-22797. Removed redundant constant (one already existed with the same value)

This is an automated email from the ASF dual-hosted git repository.

rlevas pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git

commit 9d07d74708b98154014a42b06830a6f2e00dd609
Author: Sandor Molnar <sm...@hortonworks.com>
AuthorDate: Sun Jan 21 23:14:10 2018 +0100

    AMBARI-22797. Removed redundant constant (one already existed with the same value)
---
 ambari-server/src/main/python/ambari_server/setupSecurity.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ambari-server/src/main/python/ambari_server/setupSecurity.py b/ambari-server/src/main/python/ambari_server/setupSecurity.py
index 0d98f6a..bdc6663 100644
--- a/ambari-server/src/main/python/ambari_server/setupSecurity.py
+++ b/ambari-server/src/main/python/ambari_server/setupSecurity.py
@@ -81,7 +81,6 @@ PAM_CONFIG_FILE = 'pam.configuration'
 IS_LDAP_CONFIGURED = "ambari.ldap.authentication.enabled"
 LDAP_MGR_USERNAME_PROPERTY = "ambari.ldap.connectivity.bind_dn"
 LDAP_MGR_PASSWORD_FILENAME = "ldap-password.dat"
-LDAP_BIND_DN="ambari.ldap.connectivity.bind_dn"
 LDAP_ANONYMOUS_BIND="ambari.ldap.connectivity.anonymous_bind"
 LDAP_USE_SSL="ambari.ldap.connectivity.use_ssl"
 
@@ -681,7 +680,7 @@ def setup_ldap(options):
 
   ldap_property_list_reqd = init_ldap_properties_list_reqd(properties, options)
 
-  ldap_property_list_opt = [LDAP_BIND_DN,
+  ldap_property_list_opt = [LDAP_MGR_USERNAME_PROPERTY,
                             LDAP_MGR_PASSWORD_PROPERTY,
                             SSL_TRUSTSTORE_TYPE_PROPERTY,
                             SSL_TRUSTSTORE_PATH_PROPERTY,

-- 
To stop receiving notification emails like this one, please contact
rlevas@apache.org.