gitlabhq/gitlabhq — pull request #6317 by jirutka (2014-02-13 22:33:06+00:00)
Title: Fix searching by extern_uid for LDAP to be case-insensitive

When LDAP returns user’s DN in different case (due to same change on LDAP), then GitLab doesn’t find this user and try to create a new one. LDAP distinguished names (DN) are case-insensitive per standard, so GitLab should compare `extern_uid` in case-insensitive manner.