[3.23 and below]Every time you use the general find, with only the DC, as in this example:
**DC=senhasegura,DC=mt4d,DC=com**
The protocol version of REFERRALS must be zero, like this:
set-option LDAP_OPT_PROTOCOL_VERSION 3
set-option LDAP_OPT_REFERRALS 0