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
hue
master
hue
bgooley, enricoberti, jennykim, jgauthier, johan, krish, ranade, romain, subrata, weixia, yingc
commit 265f2b51a174cc8e47679cb724d34121ce130559
Author: Prakash Ranade <ranade@cloudera.com>
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://w2k8-1.ad.xxx.cloudera.com:3268  - 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/ldapobject.py


  • 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)

  3. 
      
Review request changed

Status: Closed (submitted)

Loading...