Hi, 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 ? Peter -- Peter Marschall eMail: [EMAIL PROTECTED]