Hi,Hello Peter,
I may be mistaken, but I beleive it does. It's running on a debian linux box
On Saturday 20 December 2003 10:46, GuRU wrote:
Graham Barr wrote: > On Nov 11, 2003, at 17:55, Chris Masters wrote: >> I upgraded to 0.30 directly after you suggested. All >> mails after your suggestion were refering to a 0.30 >> version installation. > > Then please add the following directly after your call to search and > before you try to call any methods on $mesg > > warn "'$mesg'" unless ref($mesg);
Hello Graham, I've been following this thread as I'm having the same problem with search. I'm running NetBSD -current with perl 5.6.1. We're also seeing the same problem with perl 5.8. on Debian Linux kernel 2.4.21.072103. I've upgraded Net::LDAP to 0.30, but the problem still exists. I added the warn function and i get:
'81' at ./nis2ldap line 150.
However my script works if I do
my $ldap = Net::LDAP->new($ldaphost,version => 2)
but fails if we use the default version => 3.
Does the server you connect to support LDAPv3 ?
ldap-master:openldap# apt-cache showpkg libldap2 Package: libldap2 Versions: 2.0.23-6.3(/var/lib/apt/lists/debian.nscl.msu.edu_debian_dists_stable_main_binary-i386_Packages)
(/var/lib/apt/lists/security.debian.org_dists_stable_updates_main_binary-i386_Packages)(/var/lib/dpkg/status)
If not then that is the problem :)
Peter
./i'khala