-- auth_source_ldap.rb.orig 2010-09-13 14:31:38.000000000 +0000
++ auth_source_ldap.rb 2010-09-13 14:24:02.000000000 +0000
def self.get_attr(entry, attr_name)
if !attr_name.blank?
entry[attr_name].is_a?(Array) ? entry[attr_name].first : entry[attr_name]
( entry[attr_name].is_a?(Array) ? entry[attr_name].first : entry[attr_name] ).force_encoding('UTF-8')
end