This is probably a really easy fix, but I can't seem to find it.
We have a web server setup at work. I've set it to use Integrated Windows authentication, and disabled all the rest (i.e. Anonymous, Basic, and Digest).
To test the authentication, I wrote a basic ASP.NET application that just says:
Response.Write("You are authenticated as: " + Context.User.Identity.Name);
The problem is, I'm authenticated on COMPANYDOMAIN. But the web application is outputting:
"You are authenticated as WEBSERVERNAME\jshantz"
What am I doing wrong? I don't want to enable Basic or Digest (which allow you to specify a default domain), so how I can I get the server to authenticate based on COMPANYDOMAIN accounts, and not WEBSERVERNAME accounts? The weird thing is that it doesn't ask me for a username/password or anything, so it's obviously accepting my existing network credentials (from being authenticated already with COMPANYDOMAIN), but still it prints WEBSERVERNAME as the domain.