lib/adauth/ad_objects/user.rb in adauth-2.0.2 vs lib/adauth/ad_objects/user.rb in adauth-2.0.3
- old
+ new
@@ -19,10 +19,10 @@
:first_name => :givenname,
:last_name => :sn,
:email => :mail,
:name => :name,
:cn_groups => [ :memberof,
- Proc.new {|g| g.sub(/.*?CN=(.*?),.*/, '\1')} ]
+ Proc.new {|g| g.sub(/.*?CN=(.*?),.*/, '\1').to_s} ]
}
# Object Net::LDAP filter
#
# Used to restrict searches to just this object
\ No newline at end of file