LDAP Search for all attributes of a DN
[email protected] (Brian Gaber)
| Newsgroups | perl.ldap |
|---|---|
| Message-ID | <37CAD44053C7CA4EA6E242DF34594A6306651B1421@MB-NCR-128.ad.pwgsc-tpsgc.gc.ca> |
I have tried these two Net::LDAP approaches, but $numEnt is zero in both cases: $mesg = $ldap->search( base => $dn ); $numEnt = $mesg->count; $mesg = $ldap->search ( base => $dn, scope => 'base',); $numEnt = $mesg->count; A command line ldapsearch like so works fine: ldapsearch -h my_ldap_server -x -b "fully qualfied dn"