M
Matt
I have two sites on separate servers configured. When I query a page that
returns information on security/user context, I get two different replies.
On Server 1:
HttpContext.Current.User.Identity
Name
IsAuthenticated False
AuthenticationType
WindowsIdentity.GetCurrent()
Name MACHINENAME\IUSR_MACHINENAME1
IsAuthenticated True
AuthenticationType NTLM
Thread.CurrentPrincipal.Identity
Name
IsAuthenticated False
AuthenticationType
On Server 2:
HttpContext.Current.User.Identity
Name DOMAIN\USER
IsAuthenticated True
AuthenticationType Negotiate
WindowsIdentity.GetCurrent()
Name DOMAIN\USER
IsAuthenticated True
AuthenticationType NTLM
Thread.CurrentPrincipal.Identity
Name DOMAIN\USER
IsAuthenticated True
AuthenticationType Negotiate
--
My question is what is the likely configuration that is created these
differing scenarios. I have not been able to locate the entries in
machine.config,web.config or system.config that would be causing this since
most of these files have the default configuration. Also, which of the above
could I expect to see as a default configuration on a web in IIS?
returns information on security/user context, I get two different replies.
On Server 1:
HttpContext.Current.User.Identity
Name
IsAuthenticated False
AuthenticationType
WindowsIdentity.GetCurrent()
Name MACHINENAME\IUSR_MACHINENAME1
IsAuthenticated True
AuthenticationType NTLM
Thread.CurrentPrincipal.Identity
Name
IsAuthenticated False
AuthenticationType
On Server 2:
HttpContext.Current.User.Identity
Name DOMAIN\USER
IsAuthenticated True
AuthenticationType Negotiate
WindowsIdentity.GetCurrent()
Name DOMAIN\USER
IsAuthenticated True
AuthenticationType NTLM
Thread.CurrentPrincipal.Identity
Name DOMAIN\USER
IsAuthenticated True
AuthenticationType Negotiate
--
My question is what is the likely configuration that is created these
differing scenarios. I have not been able to locate the entries in
machine.config,web.config or system.config that would be causing this since
most of these files have the default configuration. Also, which of the above
could I expect to see as a default configuration on a web in IIS?