September 2001
Intermediate to advanced
768 pages
32h 45m
English
bool ldap_compare(resource connectionID, string DN, string attribute, string value)
| connectionID | Connection ID |
| DN | Distinguished name to compare to |
| attribute | Attribute on which to perform the comparison string value |
| value | Value against which to compare the attribute’s setting |
Quickly compares an attribute.
Returns:
TRUE on success; FALSE otherwise
Description:
Rather than having to perform a search, loop through, or otherwise manage the results, and then code for the validation of an attribute, ldap_compare() allows you to quickly submit a query to an open LDAP connection and receive an answer. Traditionally, this is the mechanism used for password comparisons, Apache validation, and so on, because of the speed of this transaction. ...
Read now
Unlock full access