Re: 401 error requires browser restart for unrestricted pages

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 11/18/03


Date: Tue, 18 Nov 2003 04:16:49 -0800

This is a 401.1 problem (failure to logon network user), so a NetMon network
trace along with authentication configured for the URLs involved (including
the anonymous user and password that is configured for the URL) would be
helpful. That way, we know what authenticated user is trying to make a
request, and we can see IIS's response, and together with IIS configuration,
should narrow down WHAT user is being denied logon.

Here is one possible scenario that can result in your situation:
1. Anonymous username/password is out of sync between IIS and Windows SAM
DB, so anonymous access always returns 401.1
2. Since you have other authentication enabled (like Challenge/Response),
users that IE remembered to successfully auto-login would succeed in
accessing content as that user -- and not as anonymous.
3. Meanwhile, if the user failed to auto-login and IE doesn't retry (until
it is restarted), it'll always make anonymous requests, and since due to the
anonymous username/password being out of sync, always results in 401.1

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Dale Sundstrom" <dalesundstrom@hotmail.com> wrote in message
news:5cb601c3ad36$d3ff9ed0$a601280a@phx.gbl...
There is no authentication on http://website.  It allows
Anonymous access.
--Dale
>-----Original Message-----
>Get a NetMon network trace of the issue -- it is the
fastest way to resolve
>this issue.
>
>If you're just using Challenge/Response, I think the
issue is with IE since
>the browser is responsible for performing the necessary
automatic logon.
>
>What authentication is enabled on http://website ?
>
>-- 
>//David
>IIS
>This posting is provided "AS IS" with no warranties, and
confers no rights.
>//
>"Dale Sundstrom" <dalesundstrom@hotmail.com> wrote in
message
>news:048f01c3ab02$76835a70$a301280a@phx.gbl...
>After failing to logon to a restricted directory of a
>website (http://website/restricted), IE will continue to
>prompt for a login for unrestricted pages such as the
>website's home page (http://website) until IE is
restarted.
>
>For example, visiting a website's homepage
>(http://website) and clicking a link to a restricted
>directory (http://website/restricted) will cause IE to
>prompt for a User Name and Password.  If this
>authentication fails, the server will return a "401.1
>Unauthorized: Login Failed" error.  After receiving this
>error, IE continues to try authenticating the user for any
>unrestricted pages on the same website, so the user cannot
>return to the unrestricted home page of the site (without
>logging on) until restarting IE.
>
>This occurs using IIS on NT4 with Challenge/Response
>authentication on the restricted directory, and with IE6
>as the browser.
>
>What causes this behavior?  Is this actually caused by
>IIS or IE?  How can this behavior be avoided?
>
>Any help would be greatly appreciated!
>
>Thanks,  --Dale
>
>
>.
>


Relevant Pages

  • Re: IIS Bug
    ... I don't understanrfrrrr5d your configuration. ... IIS Supportability Lead ... Virtual directory is set to anonymous ... >>password and authentication fails. ...
    (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: Integrated Authentication - one way cross forest trust
    ... You must set the permissions in IIS and on the folder you are ... > and is in the trusted domain) we are unable to get past the authentication ... this would lead me to believe it is specific to IIS. ... > Logon Failure: ...
    (microsoft.public.inetserver.iis)
  • IIS auth. problem with 2003 SP1
    ... as such IIS sees user sessions as anonymous. ... allows for administration of the web interface, and because of that I've set ... it to require integrated authentication. ... For each logon attempt the following message is written to the audit log: ...
    (microsoft.public.inetserver.iis.security)
  • Re: Kerberos machine authentication - apparent authentication fail
    ... as the case may be) which will delay authentication until ... I also have an Intel network adapter and WAP that does not have this> problem and even works well with 802.1X EAP-TLS for domain logon. ... In> most cases [ipsec a possible exception] kerberos authentication is not> needed to access domain resources as long as the client and server use a> common authentication method for lm/ntlm/ntlmv2. ... The main issue is to> NEVER include an ISP dns server in the preferred server list in the tcp/ip> properties or DHCP scope of any domain computer or any computer you want to> join to the domain in which case your computers may be trying to locate the> domain _srv records on the ISP dns server and fail. ...
    (microsoft.public.windows.server.security)