Windows 2003 - IIS 6 - local CGI Authentication problem.

From: Jacques Garcia Vazquez (jgv)
Date: 10/05/04


Date: Tue, 5 Oct 2004 18:27:20 +0200

Hi All,

We have a web site (virtual directory) with authentication set to
"integrated windows authentication".
This web site call a cgi (.exe).
The directory (since the cgi is part of the site directory) is secured
correctly - (well I hope).
The CGI is correctly defined in the Web service extensions.

Everything is working correctly when working from the network that means
that IE don't request a user name and password and authenticate the user
correctly (which means for me that IE send the correct user).

If we try to work on the server directly on the console, the logon dialog is
displayed when the cgi is called (but not with the normal html pages). If we
reintroduce the same user account as the one currently logged in, every
thing is fine till IE is closed. This behavior is constant whatever account
we used, even with the local administrator account. The security log don't
show any error.

The first question is how to make working the integrated authentication when
working on the console ?

Now if we connect with an XP desktop with a remote desktop connection, and
we start browsing then we get a 500 error when trying to use the CGI. Any
idea are welcome.

Thanks for your time.
Jacques Garcia Vazquez



Relevant Pages

  • Re: HTTP_AUTHORIZATION header
    ... HTML file from one virtual directory, and then immediately execute a CGI from ... Authentication happens when I request the HTML ... header is not expected for every request for NTLM ...
    (microsoft.public.inetserver.iis.security)
  • Re: HTTP_AUTHORIZATION header
    ... authentication sequence. ... this in your setup by directly accessing the CGI EXE a couple of timems. ... i.e. the HTTP_AUTHORIZATION header gets sent every time ... I use WFetch to make a Basic authenticated POST request against my CGI ...
    (microsoft.public.inetserver.iis.security)
  • Re: HTTP_AUTHORIZATION header
    ... I use WFetch to make a Basic authenticated POST request against my CGI EXE ... Nitpick on your stated understanding of authentication protocols - ... header is not expected for every request for NTLM ...
    (microsoft.public.inetserver.iis.security)
  • Re: CGI XPSP2 IIS5.1 - cant write a local file from CGI .exe
    ... operation in the CGI access to read/write in the appropriate folders. ... changes back to the original state before you really screw up the server. ... If Anonymous is not enabled and some other Authentication method is enabled, ... YOU, a third party, by means of either mutual trust in the same Active ...
    (microsoft.public.inetserver.iis)
  • Re: Windows 2003 - IIS 6 - local CGI Authentication problem.
    ... But the Remote desktop problem is still there. ... > authentication + CGI on the local machine. ... not server. ... But our cgi is in the same directory tree. ...
    (microsoft.public.inetserver.iis)