diff --git a/lib/bn-ldap-authentication.rb b/lib/bn-ldap-authentication.rb index 563fbe1..78ac6cd 100644 --- a/lib/bn-ldap-authentication.rb +++ b/lib/bn-ldap-authentication.rb @@ -2,7 +2,7 @@ module LdapAuthenticator LDAP_ATTRIBUTE_MAPPING = { - 'name' => [:cn], + 'name' => [:displayName, :cn], 'first_name' => [:givenName], 'last_name' => [:sn], 'email' => [:mail, :email, :userPrincipalName],