Hi,
I have a strange problem. I can run my Perl script (with routine
to query a LDAP directory) without any problems on command line.
But when I use it in a web environment I face the following CGI
error:
IO::Socket::INET: Unknown error at E:\Data\Web\Host
scripts\ldaptest.pl line 181.
This is caused by the initialize call:
my $ldap = new Net::LDAP("server.com", port => $port) or die
"$@";
I'm running on Windows 2000 and IIS5.
And yes I did configure IIS to use the Perl interpreter for .pl
files.
Anyone any ideas what's wrong?
Thanks in advance,
Vincent.
|