Return only the LDAP attributes we need
Net/LDAP supports return attribute filtering. I'm not certain if this filtering happens at the LDAP server side, or the Net/LDAP client side. If it happens at the LDAP server side, it could significantly affect performance and memory footprint on GitLab's side. Let's investigate and see if we might be able to gain something here.