HUE-7073 [backend] When user is login using LdapBackEnd, restrict certain characters from the Hue login name.

Review Request #12540 - Created Feb. 15, 2018 and submitted

Prakash Ranade
bgooley, enricoberti, jennykim, jgauthier, johan, krish, ranade, romain, subrata, weixia, yingc
commit 265f2b51a174cc8e47679cb724d34121ce130559
Author: Prakash Ranade <>
Date:   Thu Feb 15 15:26:18 2018 -0800

    HUE-7997 [backend] Python LDAP library exposes password
    Testing Done:
    When ldap trace logging is enabled, the password is redact.
    *** ldap://  - SimpleLDAPObject.simple_bind (['ccoxxxer@AD.SEC.CLOUDERA.COM', '*******', None, None],{})

:100644 100644 32a9af6611... 4dd72a6481... M	desktop/core/ext-py/python-ldap-2.3.13/Lib/ldap/

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
  1. Could you see to get it upstream python-ldap? (so that we don't lose it when we rebase it later)

  2. Move 'redact = [i for i in args]' above? (to avoid the duplication)

Review request changed

Status: Closed (submitted)