John Gully
John Gully

Reputation: 463

IIS Windows Authentication 401.1 when accessed internally

I have an intranet site that our customer needs to access both internally and from the internet. The site has access restricted with Window Authentication.

The problem is that the site works when access externally, but fails with a 401.1 when accessed from within the local network. Why would the authentication fail locally?

DETAILS

FROM THE INTERNET

  1. User vists dashboard.example.com from home over the internet.
  2. They are prompted for their username and password
  3. They are then authenticated and the site is displayed
    This is the expected behavior

FROM THE LOCAL NETWORK

  1. User vists dashboard.example.com from the local network.
  2. They are prompted for their username and password
  3. The prompt reappears for three tries
  4. The site presents a 401.1 authentication failure message.

Upvotes: 1

Views: 2361

Answers (1)

John Gully
John Gully

Reputation: 463

I think I have found the solution to this problem. It turned out that the user was not properly entering the domain prefix before their username (ie: example\joe)

The second issue that misled me, was testing directly on the web server. Apparently their is a loopback check that prevents the authentication from processing properly when on the server itself. For more information see this article: http://msfarmer.blogspot.com/2009/03/4011-errors-with-reporting-services-and.html

Upvotes: 1

Related Questions