ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rle...@apache.org
Subject [ambari] 08/09: AMBARI-22797. Removed redundant constant (one already existed with the same value)
Date Wed, 24 Jan 2018 13:20:20 GMT
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 <smolnar@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.

Mime
View raw message