> Try using your second attempt but add a filter of "(objectClass=*)".
I tried this and still do not get expected return
$mesg = $ldap->search(
base => $dn,
scope => 'base',
filter => '(objectClass=*)',
);
Both of these command line searches work:
ldapsearch -h ldap_host -x -s sub -b "dn"
ldapsearch -h ldap_host -x -b "dn"
