Re: Net::LDAP search of a DN

2011-05-18 Thread Chris Ridd
On 18 May 2011, at 18:45, Brian Gaber wrote: > 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

Net::LDAP search of a DN

2011-05-18 Thread Brian Gaber
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(