11111
ldap_compare
- 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.
- ldap_compare() can NOT be used to compare BINARY values!
Замечание:
This function was added in 4.0.2.
Внимание
ldap_close
ldap_connect 22222