RE: LDAP Search for all attributes of a DN
Brian Gaber <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.ldap |
|---|---|
| Message-ID | <37CAD44053C7CA4EA6E242DF34594A6308D7C3F6B3@MB-NCR-128.ad.pwgsc-tpsgc.gc.ca> |
> 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"