Steps to replicate the issue (include links if applicable):
- Go to @bd808's profile (https://phabricator.wikimedia.org/p/bd808/)
- Click LDAP User BryanDavis link (https://ldap.toolforge.org/user/BryanDavis)
What happens?:
https://ldap.toolforge.org/user/BryanDavis returns a 404 response
What should have happened instead?:
https://ldap.toolforge.org/user/bd808 is the actual entry for @bd808's Developer account. On the Phabricator side we have the Developer account's cn attribute (common name == former Wikitech username). On the ldap tool side the member_info lookup that is done based on the https://ldap.toolforge.org/user/<username> input expects a uid attribute as input ( user id == shell account name).
The easiest fix is probably to send @Legoktm a patch for https://gitlab.wikimedia.org/toolforge-repos/ldap/ that adds a new route that works on cn inputs rather than uid.