Windows Authentication problem
I have a websit开发者_StackOverflow社区e setup to use two different bindings in iis. When visiting one url windows authentication works, but when using the other url it prompts the user for their login credentials (and doesn't work)
Any ideas what's going on here?
Could be a whole plethora of things:
- ACL permissions on the files/folder themselves.
- Impersonation on in one app and not another.
- IIS security settings allowing anonymous on one and integrated on the other with improper permissions, etc etc.
Check permissions are the same, web.config settings are the same for authentication, and IIS security settings are the same and that the user you are trying has permissions to the files/folders.
What are your bindings and what windows authentication provider are you trying to use?
This is just a stab in the dark, since I don't have more information, but:
I know Negotiate:Kerberos doesn't work if you have a locally declared host and you're trying to delegate with Kerberos to another system (service layer etc) when your machine has been given AD privledges to delegate to the other system. AFAIK, the reason for that is that the origin that your request is coming from is a host that the domain doesn't know. It knows how to translate localhost, but not a custom hostname.
精彩评论