This dn search of dn=cn=name,o=org works from a command line and returns all 
the attributes of the dn:

ldapsearch -h host -x -b "cn=name,o=org"

However, this Net::LDAP does not return anything:

$mesg = $ldap->search(base=>"cn=name,o=org");

I have also tried:

$mesg = $ldap->search(
                               base  =>"cn=name,o=org",
                               scope => 'base'
);


Reply via email to