This can be achieved either by retrieving the password attribute for the user and comparing it locally, or by peforming an LDAP "compare" operation.