简体   繁体   English

在Asp.net中的Active Directory上对用户进行身份验证

[英]Authenticate User on Active Directory in Asp.net

I want to make a web application that enable employee to access company server remotely from his laptop using an authentication to active directory 我想制作一个Web应用程序,使员工能够使用对活动目录的身份验证从他的笔记本电脑远程访问公司服务器

I have found this article 我找到了这篇文章

http://msdn.microsoft.com/en-us/library/ms180890(v=vs.80).aspx http://msdn.microsoft.com/zh-CN/library/ms180890(v=vs.80).aspx

I want to implement it on my local machine first, I want to enter domain which is my localserver and my user account data (username and password) and then authenticate myself to use the web application 我想首先在本地计算机上实现它,我想输入域(即我的本地服务器和用户帐户数据(用户名和密码),然后对自己进行身份验证以使用Web应用程序

When I entered My Domain : http://localhost:5000 Username : AMIRA --> The user that I'm using in windows and My Password 当我输入“我的域”时: http:// localhost:5000用户名:AMIRA->我在Windows中使用的用户和“我的密码”

I got the error Error authenticating. 我收到错误错误验证。 Error authenticating user. 验证用户时出错。 Unspecified error 未指定的错误

Please if anyone know how to configure it or solve this problem I will be thankful 如果有人知道如何配置或解决此问题,请多谢

Thanks in Advance 提前致谢

First you need to use the windows authentications to allow application check with active directory users and I suggest to use actual IIS not the build in one with MS.Net and try to access remotely to site on the local machine to test it (using your PC IP address) 首先,您需要使用Windows身份验证,以允许与活动目录用户进行应用程序检查,我建议使用实际的IIS,而不是与MS.Net内置的IIS,并尝试远程访问本地计算机上的站点以对其进行测试(使用PC IP地址)

regards, 问候,

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM