配置文件中的Windows身份验证无效 [英] Windows authentication in config file not working

查看:238
本文介绍了配置文件中的Windows身份验证无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在配置文件中使用以下代码,我正在尝试指定对域中特定人员的访问权限。



但是用户没有获得该站点的Windows身份验证,一次又一次地弹出凭证,最终导致401错误。即使在添加名称之后。



我正在使用IIS 7.0并在远程计算机上工作。



在IIS中,我尝试启用Windows身份验证,然后启用匿名,但两者都不起作用。



I use the below code in config file and I am trying to specify access to a particular person in the domain.

But the user is not getting windows authentication to that site, again and again its popping up of credentials ending up in 401 error. even after the name is added.

I am using IIS 7.0 and working from a remote machine.

In IIS, i tried windows authentication enabled, then anonymous enabled, but both didn't work.

<authentication mode="Windows">
    </authentication>

    <authorization>
      <allow users="DomainName\UserName"/>
      <deny users="*"/>
    </authorization>

推荐答案

你可以看看这个



Windows身份验证 [ ^ ]
You can have a look at this

Windows Authentication[^]


其工作现在,在执行此操作后,IIS重新启动已完成,并且只有Windows身份验证我启用了高级设置,内核模式被禁用并且它为我工作。
Its working now, after doing this, IIS restart was done and only windows authentication I enable where in advanced settings, Kernel mode was disabled and its working for me.


这篇关于配置文件中的Windows身份验证无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆