ldap_compare
Compare value of attribute found in entry specified with DN
Description
boolldap_compare
resourcelink_identifier
stringdn
stringattribute
stringvalue
Returns &true; if value matches otherwise returns &false;. Returns -1 on error.
ldap_compare is used to compare value
of attribute to value of same attribute in LDAP directory
entry specified with dn.
The following example demonstrates how to check whether or not given password matches
the one defined in DN specified entry.
Complete example of password check
]]>
ldap_compare can NOT be used to compare BINARY values!
This function was added in 4.0.2.