• Robert Speicher's avatar
    Merge branch 'restrict_ldap_return_attributes' into 'master' · 0b2a3410
    Robert Speicher authored
    Restrict ldap return attributes
    
    ## What does this MR do?
    
    Fixes the CE part of #13821. We really only ever need uid, dn, cn, and mail attributes, and in some cases, even less. This merge request strips the request down to those four attributes by default, and allows the caller to specify others, if needed. 
    
    ## Why was this MR needed?
    
    This will improve performance especially in cases where the connection is slow between GitLab and LDAP, or when the LDAP object has lots of attributes we don't care about.
    
    See merge request !6187
    0b2a3410
To find the state of this project's repository at the time of any of these versions, check out the tags.
CHANGELOG 118 KB