class Net::LDAP::Filter

def match(entry)

++
Return T/F, and call match recursively as necessary.
Do we match the attributes?
We got a hash of attribute values.
--
#
def match(entry)
  case @op
  when :eq
    if @right == "*"
      l = entry[@left] and l.length > 0
    else
      l = entry[@left] and l = Array(l) and l.index(@right)
    end
  else
    raise Net::LDAP::FilterTypeUnknownError, "Unknown filter type in match: #{@op}"
  end
end