From: Graham B. <gb...@po...> - 2000-07-28 09:39:01
|
----- Forwarded message from Alex Kilimnik <sac...@ya...> ----- Date: Thu, 27 Jul 2000 23:01:19 -0700 (PDT) From: Alex Kilimnik <sac...@ya...> Subject: Re: (no subject) To: Graham Barr <gb...@po...> Graham: Thank you for your assistance regarding the version. I have come to another roadblock and have not found any documentation on the error I am receiving from Perl during the execution of the script. The error I am receiving from perl is "Died at ldap.pl line 9". Below is a copy of my code which I modeled after your example in the perldoc. I apologize for bothering you, I am new to LDAP. use Net::LDAP; $ldap = Net::LDAP->new('x.x.x.x') or die "$@"; $ldap->bind; $results = $ldap->search( base => "o=xxxxxx.com", filter => ="(&(sn=Jones))" ); $results->code && die $results->error; foreach $entry ($results->entries) { print "$entry->dump\n"; } $ldap->unbind; Thanks in advance for any assistance. Regards, Alex __________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/ ----- End forwarded message ----- |