lib/ldap/server/operation.rb in ruby-ldapserver-0.5.0 vs lib/ldap/server/operation.rb in ruby-ldapserver-0.5.1

- old
+ new

@@ -106,10 +106,10 @@ raise LDAP::ResultError::SizeLimitExceeded if @rescount > @sizelimit end if @schema # normalize the attribute names - @attributes = @attributes.collect { |a| @schema.find_attrtype(a).to_s } + @attributes = @attributes.map { |a| a == '*' ? a : @schema.find_attrtype(a).to_s } end sendall = @attributes == [] || @attributes.include?("*") avseq = []