简体   繁体   English

iis7.5 Windows身份验证提示在远程客户端上显示

[英]iis7.5 windows authentication prompt shows on remote clients

I am building an Intranet system currently and the client has insisted on automatic login. 我正在构建一个Intranet系统,客户端坚持自动登录。

I have set up the system to authenticate the currently logged in (to windows) domain user in IIS 7.5 via Windows Authentication. 我已经设置了系统,通过Windows身份验证对IIS 7.5中当前登录的(到Windows)域用户进行身份验证。 The system than uses the user's username to drag details from AD via LDAP. 系统使用用户的用户名通过LDAP从AD拖动详细信息。

This works perfectly locally, however if a remote client (lets say a spare pc I have as a test-bed) which is on the same domain, and logged in as a spare test user, it will ask for login details via the standard prompt. 这在本地完美运行,但是如果一个远程客户端(比如说我作为试验台的备用电脑)在同一个域上,并作为备用测试用户登录,它将通过标准提示要求登录详细信息。

Once the user has done this, the system works fine, drags details from AD etc etc. but will ask again for login details the next time. 一旦用户完成此操作,系统工作正常,从AD等处拖动详细信息,但下次将再次询问登录详细信息。

So the question is: Why is this happening? 所以问题是:为什么会这样? and how can I stop the prompt? 以及如何停止提示?

Is it something to do with the IIS user? 它与IIS用户有关吗? I have authentication mode="Windows" in web.config, and I do NOT have Impersonate enabled. 我在web.config中有身份验证模式=“Windows”,并且我没有启用Impersonate。

Most probably all you have to do is to add the site to the local intranet zone in IE. 您可能需要做的就是将站点添加到IE中的本地Intranet区域。

http://netpl.blogspot.com/2012/06/iis-75-integrated-security-with-no.html http://netpl.blogspot.com/2012/06/iis-75-integrated-security-with-no.html

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

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