Re: Windows 2003 - IIS 6 - local CGI Authentication problem.

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 10/06/04


Date: Tue, 5 Oct 2004 22:30:57 -0700

Regarding the authentication dialogs -- that is by design. Browsers may
choose to auto-authenticate depending on how you access the server -- so
this is a browser behavior, not server.

i.e.
http://127.0.0.1/secure/cgi.exe
http://localhost/secure/cgi.exe
http://server/secure/cgi.exe
http://server.domain.com/secure/cgi.exe

Can all have different authentication behaviors.

Regarding the CGI failure over Remote Desktop -- it looks like a previously
reported issue that has been fixed in Windows Server 2003 SP1.

This only happens when you are browsing the website LOCALLY on the server,
against a CGI, involving NTLM authentication, and optionally over Remote
Desktop (just need a different console Desktop, and Remote Desktop is one
way to do that). Basically, these circumstances affect the type of user
token that IIS obtains which eventually prevents IIS calling
CreateProcessAsUser to launch the CGI EXE, and hence you get 500.

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Jacques Garcia Vazquez" <jgv at FlexsysBelgium dot com> wrote in message
news:uIsHxgvqEHA.1964@TK2MSFTNGP12.phx.gbl...
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: 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)
  • Re: Delegated Kerberos through a CGI
    ... Does anyone know how to use the Windows Security API to generate a new ... I'm trying to get a CGI to use delegated Kerberos authentication. ... "Test1.asp" (both running on the server B in the same virtual directory ...
    (microsoft.public.inetserver.iis.security)
  • Re: Kerberos machine authentication - apparent authentication fail
    ... > until logon), the wireless connection can kick off when it is ready. ... > was confirmed in the server event logs with IAS (i set that up as the radius ... > as an ordinary user kicks in and takes over from the machine authentication. ... > while the network sorts itself out and a double click on a network link of ...
    (microsoft.public.windows.server.security)
  • Re: Basic Authentication + IIS 5 + Windows 2000 + Frontpage 2002 = failure?
    ... SYSTEM account. ... In IIS I took the virtual server that I was testing, ... Authentication premise. ... From a website perspective, I ...
    (microsoft.public.inetserver.iis.security)

Loading