The LDAP protocol does not support setting the type of the arguments in comparison filters. It is up to the server to decide which one to use.

Anyway, I would enable debugging on the Net::LDAP object and see what is being send and received by the script:

$ldap->debug(12);

In reply to Re^3: Net::LDAP q by salva
in thread Net::LDAP q by fisher

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":