in reply to Re: Re: Net::LDAP issues...
in thread Net::LDAP issues...

Hrm. Three more thoughts. First, try printing out $search right after you call $ldap->search; that should tell you what type of object Perl thinks it is. Net::LDAP's search method is supposed to return a Net::LDAP::Search object. You might also want to make sure you have use Net::LDAP::Search at the top of your script; I'm not sure if Perl handles this automatically. Finally, make sure you check for an error after the bind method, since if that's failing it could explain why your other calls are failing.