intridea/omniauth-ldap — pull request #5 by rondale-sc (2011-12-09 21:34:47+00:00)
Title: Net::LDAP::Entry always returns an array of values.  

Net::LDAP::Entry (http://net-ldap.rubyforge.org/Net/LDAP/Entry.html) explicitly
returns an array of values for each attribute. The result of OmniAuth::Strategies::LDAP#map_user
was returning a string representation of the attribute values array (ie. '[\"attribute_value\"]'),
and it should be returning the actual attribute value (ie "attribute_value").