简体   繁体   中英

iis7.5 windows authentication prompt shows on remote clients

I am building an Intranet system currently and the client has insisted on automatic login.

I have set up the system to authenticate the currently logged in (to windows) domain user in IIS 7.5 via Windows Authentication. The system than uses the user's username to drag details from AD via LDAP.

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.

So the question is: Why is this happening? and how can I stop the prompt?

Is it something to do with the IIS user? I have authentication mode="Windows" in web.config, and I do NOT have Impersonate enabled.

Most probably all you have to do is to add the site to the local intranet zone in IE.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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