jspωiki
Compare Request

Overview#

CompareRequest LDAP Message is a request used to determine whether a specified entry contains a given Attribute Value.

The Compare Request protocol op is defined as follows:

        
CompareRequest ::= [APPLICATION 14] SEQUENCE 
{
    entry           LDAPDN,
    ava             AttributeValueAssertion 
}

AttributeValueAssertion ::= SEQUENCE 
{
    attributeDesc   AttributeDescription,
    assertionValue  AssertionValue } 

The elements of the request include:

  • The DN of the entry in which the comparison is to be made.
  • The Name of the attribute in which the comparison is to be made.
  • The Attribute Value Assertion to try to find in the specified attribute.

The response to an LDAP compare operation is an LDAP Result element consisting of an Compare Response.

More Information#

There might be more information for this subject on one of the following: