Michal B.
Michal B.

Reputation: 5719

Why am I logged in as a different user using NTLM?

This question is related to: Windows authentication does not work

I am developing a .NET 4.0 MVC3 application that has Integrated Windows Authentication turned on. If I open my application from my development machine (I am logged in as DOMAIN\USER) I am logged in automatically as DOMAIN\SERVERADMINACCOUNT. From any other machine on the network everything works as expected (current user is logged in automatically using NTLM).

Does anyone have an idea what's happening? The server is Windows 2003 with IIS6. All clients machines are Windows XP with SP3 or Windows 7 (mine is XP).

Upvotes: 0

Views: 457

Answers (1)

Michal B.
Michal B.

Reputation: 5719

I found the answer!

In Control Panel -> User Accounts -> Advanced tab I clicked Manage passwords button and removed the configuration for the domain I used. Now I am logged in to my web application as a currently logged in Windows user.

Upvotes: 1

Related Questions