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 response to an LDAP compare operation is an LDAP Result element consisting of an Compare Response.