From: Rafael C. <Raf...@li...> - 2001-05-04 22:23:21
|
Hi, First at all, you chould publish your request to the newsgroup related to PerLDAP, the Perl encapsulation of the Netscape SDK, e.g. the module Mozilla::LDAP. This is the mailing list of Perl-LDAP (Net::LDAP). These two products have really different approaches (Native Perl vs using external libraries). Take a look at http://www.mozilla.org/directory/perldap.html or go the the newsgroup news://news.mozilla.org/netscape.public.mozilla.directory Jsut one thing (I never installed Mozilla::LDAP on NT), Mozilla::LDAP uses the Netscape SDK. Are you sure that the DLL of the SDK is accessible (in the PATH) from your perl program? In fact, NSLDAPSSL32V30.DLL is the Netscape SDK DLL (in SSL mode). By the way, PerLDAP 1.0 downloaded from Netscape site should provide this DLL. Check that it has been correctly installed. Cheers Rafael -----Original Message----- From: christophe OLIVAR [mailto:chr...@ce...] Sent: vendredi, 4. mai 2001 18:19 To: per...@li... Subject: WINDOWS PERL LDAP PROBLEM : NSLDAPSSL32V30.dll Hi, I'm using LDAP with ActivePerl. I have install the package (ppm command) perlLDAP i have write this little program : ======================================== package ciddn; use strict; use Mozilla::LDAP::Conn; use Mozilla::LDAP::Utils; ... my $base = "ou=personne,ou=Cegetel,o=elearning.com"; my $conn = new Mozilla::LDAP::Conn("gtwmbds5c.ceram.fr", "389", "cn=Directory Manager", "inovatel"); die "No LDAPconnection" unless $conn; my $entry = $conn->search($base, "subtree", "*"); my @result=(); if (!$entry) { print "pas entry !\n"; } else { my $i=0; while ($entry) { @result[$i]=$entry->{"userPassword"}; print $entry->{"userPassword"}. "\n"; $i=$i+1; $entry = $conn->nextEntry(); } } ======================================== when I execute this program an windows NT's error message appears need NSLDAPSSL32V30.dll ... Question is how can I repair this problem ? Must I use a patch ? Where can I find IT ? Thanks, Christophe OLIVAR |