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

ncole pushed a commit to branch branch-feature-AMBARI-21674
in repository https://gitbox.apache.org/repos/asf/ambari.git

commit b91f81cca594ab72a68c8d9e390dac00f1a6f805
Author: Sandor Molnar <[email protected]>
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
[email protected].

Reply via email to