From: <go...@ss...> - 2001-04-05 12:13:04
|
Hi LDAP members, I wrote a CGI script in PERL with LDAP calls to make query to Windows 2000 Active Directory. I had some success trying it out on a Linux running Apache web server. The PERL version was 5.00401. When I ported the PERL script to a Windows 2000 platform, I encountered problem. The Windows 2000 ran IIS version 5, Active PERL 5.6.0620. The problem was the CGI PERL script would fail (return undef) on first LDAP call Net::LDAP->new This problem was only observed if the PERL script was run as a CGI script - activated from a client browser by specifying a URL. If the PERL script was run from Windows 2000 command line, everything worked fine. Any idea or experience sharing will be highly appreciated. With Regards, Goy |