gitlabhq/omniauth-ldap — pull request #6 by rscarvalho (2013-10-18 13:06:10+00:00)
Title: Fix problem where the LDAP server returns alternate field

When connecting to an ActiveDirectory server, sometimes it returns the user e-mail in the "userPrincipalName" field, which causes the auth to fail. This pull requests slightly modify the object mapper to correctly fetch the values based on an array of field names.