In the immortal words of John Arends:

> When I run the code I can tell I am binding because I don't get error 
> messages (I do get an error if I put in a bogus server).

You don't know if you're binding correctly, as you're not checking the 
return value from the search.  Try adding, between these lines:

> $mesg = $ldap->search(filter=>"(OU=SubOU,OU=myOU)", 
> base=>"dc=ad,dc=myorg,dc=edu");

die $mesg->error() if $mesg->code();

> @entries = $mesg->entries;

to make it actually give you more information about why your search is 
returning no entries.

%%  Christopher A. Bongaarts  %%  [EMAIL PROTECTED]       %%
%%  Internet Services         %%  http://umn.edu/~cab  %%
%%  University of Minnesota   %%  +1 (612) 625-1809    %%

Reply via email to