Integrated Windows Authentication (NTLM) is a challenge/response authentication scheme between two endpoints. The user's password is never actually sent and this makes it somewhat difficult for the server to authenticate to a third endpoint.
The solution is to use Basic authentication if you need to access a remote share. If security is an issue, you can always enable SSL. Also, if your stat() fails be sure to check $! for more information. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bryan M. Kramer Sent: Monday, September 26, 2005 1:05 PM To: [email protected] Subject: IIS 5, integrated authentication, CGI, perl 5.6.1, accessing network shares (unc name doesn't work), NT domain I'm having trouble accessing network shares from a perl cgi application with the stat() function. stat('//share/home') works fine in a perl application run from my command line. The same stat fails (returns undefined) when run from my CGI application. The CGI is set up to use integrated authentication in a windows NT domain. The same user account can access the network share. Does anyone know what might be wrong? Thanks in advance Bryan The perl version is: This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2001, Larry Wall Binary build 628 provided by ActiveState Tool Corp. http://www.ActiveState.com Built 15:41:05 Jul 4 2001 -- Bryan M. Kramer, Ph.D. Techné Knowledge Systems Inc. www.techne.ca <http://www.techne.ca> _______________________________________________ Perl-Win32-Web mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Web mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
