From: Graham B. <gb...@po...> - 2000-09-15 15:50:15
|
Could you post the code you are using to call ->search with ? Which version of Net::LDAP do you have installed ? The latest is 0.22 Graham. On Fri, Sep 15, 2000 at 10:26:14AM -0500, Jonathan Leto wrote: > Hello everyone, just a quick question that my sleepless brain can't > figure out this early in the morning. > > I was working all day yesterday writing an ldap web app, and today I > go to test it out and I get : > > Can't call method "dn" on unblessed reference at /usr/lib/perl5/site_perl/5.005/Net/LDAP.pm line 230. > > which pertains to: > > my %stash = ( > baseObject => ref($base) ? $base->dn : $base, > scope => 2, > derefAliases => 2, > sizeLimit => $arg->{sizelimit} || 0, > timeLimit => $arg->{timelimit} || 0, > typesOnly => $arg->{typesonly} || $arg->{attrsonly} || 0, > filter => $filter, > attributes => $arg->{attrs} || [] > ); > > I haven't changed anything that I can see would cause a problme and all my scripts pass syntax checks, > so I was wondering if anybody could help me figure out where to look for the problem. > > Thanks. > > -- > jon...@le... > "With pain comes clarity." > > |