ldap_compare
Opis
mixed ldap_compare ( resource link_identifier, string dn, string attribute, string value )
Compare value of attribute
with value of same attribute in an LDAP directory entry.
Parametry
link_identifierAn LDAP link identifier, returned by ldap_connect().
dnThe distinguished name of an LDAP entity.
attributeThe attribute name.
valueThe compared value.
Przykłady
The following example demonstrates how to check whether or not given password matches the one defined in DN specified entry.