Проверка подлинности Active directory в ASP.NET MVC
I am new for Active Directory authentication. Need to create login using active directory. Please help me with explained example or link where i can learn to create active directory login
<authentication mode="Forms"> <forms name=".ADAuthCookie" loginUrl="~/Account/LogOn" timeout="15" slidingExpiration="false" protection="All" /> </authentication> <membership defaultprovider="MY_ADMembershipProvider"> <providers> <clear /> <add name="MY_ADMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider" connectionstringname="ADService" attributemapusername="sAMAccountName" /> </providers> </membership>
Что я уже пробовал:
http://www.code.colostate.edu/active-directory-authentication-in-aspnet-mvc-5.aspx
http://www.benramey.com/2014/10/20/active-directory-authentication-in-asp-net-mvc-5-with-forms-authentication-and-group-based-authorization/