Authentication windows asp.net

What settings are required to perform the following actions?

IIS6 server is on Domain1

User access from Domain2, for example Domain2 \ User

I want

WindowsIdentity ident = WindowsIdentity.GetCurrent(); 

to return Domain2 \ User not Domain1 \ IUSR_SERVER

Current settings

I have IIS authentication configured as "Integrated Windows Authentication", but everything is clear, this works fine on the same server as the IIS server.

In web.config:

 <authentication mode="Windows"/> <identity impersonate="true"/> 

The cross domain of these parameters requests a login.

+3
authentication windows
source share
1 answer

For two domains, trust relationships must be created (if they are part of the same forest that should already exist), then it may be necessary to configure some delegation (the talking AD material is not .NET here).

Authentication between the client and the server must use consistency and keberos, which, in turn, means that the clock must be within 5 minutes of each other, again this should not be a problem when both domains belong to the same forest.

+4
source share

All Articles