class Net::LDAP::Filter

def contains(attribute, value)

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