class Net::LDAP::Filter

def ends(attribute, value)

escaped, so the "*" character is interpreted literally.
attribute must end with a particular string. The attribute value is
Creates a Filter object indicating that the value of a particular
#
def ends(attribute, value)
  new(:eq, attribute, "*" + escape(value))
end