# File lib/net/ldap/filter.rb, line 635
  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::LdapError, "Unknown filter type in match: #{@op}"
    end
  end