Brian Gaber wrote:
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=*)',
);

Is the search succeeding or failing?  Add something like this:

  $mesg->code && die $mesg->error;


Both of these command line searches work:

ldapsearch -h ldap_host -x -s sub -b "dn"
ldapsearch -h ldap_host -x -b "dn"


--
%%  Christopher A. Bongaarts   %%  c...@umn.edu          %%
%%  OIT - Identity Management  %%  http://umn.edu/~cab  %%
%%  University of Minnesota    %%  +1 (612) 625-1809    %%

Reply via email to