Re: 401 - Error from WebServer

From: Chris (
Date: 10/09/02

From: ("Chris")
Date: Wed, 09 Oct 2002 20:10:27 GMT

This is normal if you have anonymous authentication disabled and are using
Basic and\or NTLM. The authentication handshake assumes anonymous first
(no matter the setting) and the browser depends on IIS to respond with the
correct WWW-Authenticate header.

If anonymous is disabled, IIS will send in the header the correct methods
to use like Basic, Negotiate (for Kerberos), or NTLM for NTLM. With that
said, you should always see a 401.1 Login Failed in your logs for any
content that is not using anonymous and then a subsequent authenticated log
entry with the username. This is all by design.

Here is the article that discusses this...

Q264921 INFO: How IIS Authenticates Browser Clients;EN-US;Q264921


Microsoft IIS Technical Lead

“Please do not send email directly to this alias. This is our online
account name for newsgroup participation only.”

This posting is provided “AS IS” with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights

Relevant Pages

  • Re: 401 error for user that used to logon fine
    ... Was over the Internet and you were right. ... > Why are you getting prompted by NTLM? ... How IIS Authenticates Browser Clients ... > Directory with Integrated Authentication ONLY -or- NTFS permissions ...
  • RE: ADS Password Storage Protection
    ... In Windows it is LM or NT (sometimes called NTLM) hashes. ... NTLMv2 refers to the authenication protocol that exchanges the hash ... between the client and server authentication database. ...
  • RE: Correct Domain User/Pass/Domain credentials rejected
    ... Authentication" checked vs. unchecked is that if it's unchecked, ... use NTLM or Kerberos, and Kerberos usually ends up being the winner. ... you can force IIS to only use NTLM: ...
  • Re: Relationship between IIS security and .NET AuthenticationManager
    ... Implementing NTLM on your own is hard - you have to program against the SSPI API - which is unmanaged ... just as IIS implements NTLM - you could write your own implementation in Cassini - ... HTTP-level authentication? ... security and AuthenticationManager security interrelate in the ...
  • Re: iusr and iwan account have wrong machine name
    ... this is now a totally separate issue from IUSR/IWAM where we started ... Are you using custom authentication or the authentication supported by ... This posting is provided "AS IS" with no warranties, and confers no rights. ... > IIS ...