intridea/omniauth-ldap — pull request #35 by retiolum (2013-08-09 11:11:17+00:00)
Title: Add patch from https://github.com/syndicut/omniauth-ldap/commit/b524feb6...

...3048591a20de0f70c2d597f0b9d6a156 to fix problem with LDAP authentication in GitLab.

If the respective keys are not present in LDAP, the code fails and does not continue with the next alternative configured key; in turn, LDAP authentication in GitLab fails as no uid or email is found.

In my opinion, this is a general bug that should be fixed.