ldap_compare

 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.

戻り値

Returns TRUE if value matches otherwise returns FALSE. Returns -1 on error.