From: Guruprasad S <sgu...@no...> - 2001-01-27 08:45:59
|
Hi, I am running Perl5.6.0 on NT. Whenever I build with USE_MULTI uncommented = and USE_ITHREAD commented, I can access the directory. But when I = uncomment UCS_ITHREAD as well, my script fails by saying=20 decode error at c:/perl/site/5.6.0/lib/Convert/ASN1/_decode.pm line 136. 84 decode error at c:/perl/site/5.6.0/lib/Convert/ASN1/_decode.pm line 136. ...propagated at ldap1.pl line 12. Can any of you help me out. My script looks like this: use Net::LDAP; $ldap =3D Net::LDAP->new('blr-nb7.blr.novell.com') or die "$@"; $mesg =3D $ldap->bind or die "Failed to bind\n"; if ($mesg->code) { print $mesg->error, $mesg->code,"\n"; die; } $mesg =3D $ldap->search( # perform a search base =3D> "o=3Dnovell", filter =3D> "sn=3D*", ) or die "Failed to search\n"; if ($mesg->code) { print $mesg->error, $mesg->code,"\n"; die; } Thanks Guru |