def compare(dn, key, value)
      log_dispatch(:compare, dn, key, value)
      adapter.compare(dn, Ldaptic.encode(key), Ldaptic.encode(value))
    end
def compare(dn, key, value)
      log_dispatch(:compare, dn, key, value)
      adapter.compare(dn, Ldaptic.encode(key), Ldaptic.encode(value))
    end
Performs an LDAP compare.