ASP.NET Windows authentication to another Active Directory domain

自作多情 提交于 2019-12-25 12:08:22

问题


We have ASP.NET web application running on Server1. Server1 is in Windows Active Directory domain Domain1.

We would like to have users setup in Domain2 to be able to access our web application using Windows Authentication against Domain2. ANY user who can authenticate to Domain2 should be able to access our application.

Domain1 and Domain2 are on the same LAN but there is no trust or any other relationship between these 2 domains. Computers from Domain1 can route to and access computers from Domain2 (and the other way around) - there are no firewalls between domains.

Can this be done? I found this example: http://msdn.microsoft.com/en-us/library/ff650307.aspx but it seems all domains have to be in the same forest which is not the case for our setup:

... Step 3. Configure the Web Application to Use ActiveDirectoryMembershipProvider

Identify all the domains that your application supports in your Active Directory forest ...


回答1:


No, it can't. There must be a trust in place.



来源:https://stackoverflow.com/questions/23458373/asp-net-windows-authentication-to-another-active-directory-domain

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!