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_identifier
An LDAP link identifier, returned by ldap_connect().
dn
The distinguished name of an LDAP entity.
attribute
The attribute name.
value
The compared value.
Przykłady
The following example demonstrates how to check whether or not given password matches the one defined in DN specified entry.