协议错误 目标服务器,当 (R2 的文件服务器上访问共享时) 目标帐户名称错误Windows Server 2012错误...

当 (R2 的文件服务器上访问共享时) 目标帐户名称错误Windows Server 2012错误

12/07/2020

本文内容

本文提供了一种解决方案,可解决用户无法访问运行 R2 的文件服务器上Windows Server 2012的问题。

适用于:  Windows Server 2012R2

原始 KB 编号:   3040803

症状

当域用户尝试访问运行 R2 的文件Windows Server 2012共享时,他们无法访问该共享,并且收到以下错误消息:

登录失败:目标帐户名不正确。

此外,发生此问题时,事件 ID 4 和事件 ID 1097 将记录在服务器日志中。 此问题可能会出现几个小时或最多一天。 然后,用户将失去对服务器上共享的访问权限。

事件 ID 4

The Kerberos client received a KRB_AP_ERR_MODIFIED error from the server server_name$. The target name used was server_name$. This indicates that the target server failed to decrypt the ticket provided by the client. This can occur when the target server principal name (SPN) is registered on an account other than the account the target service is using. Please ensure that the target SPN is registered on, and only registered on, the account used by the server. This error can also happen when the target service is using a different password for the target service account than what the Kerberos Key Distribution Center (KDC) has for the target service account. Please ensure that the service on the server and the KDC are both updated to use the current password. If the server name is not fully qualified, and the target domain (DNS_prefix.dns_suffix) is different from the client domain (DNS_prefix.dns_suffix), check if there are identically named server accounts in these two domains, or use the fully-qualified name to identify the server.

事件 ID 1097

The processing of Group Policy failed. Windows could not determine the computer account to enforce Group Policy settings. This may be transient. Group Policy settings, including computer configuration, will not be enforced for this computer.

原因

出现此问题的原因是文件服务器无法解密在 AES256 中加密的票证。

解决方案

若要解决此问题,将 SupportedEncryptionTypes 属性的值设置为 0x7fffffff。 为此,请按照下列步骤操作:

在组策略管理控制台 (GPMC) 中,展开"计算机配置",展开 "Windows 设置", 展开 "安全 设置", 展开"本地 策略",然后选择"安全选项"。

单击以选择" 网络安全: 配置 Kerberos 允许的加密类型" 选项。

单击以选中" 定义这些策略设置 "复选框和加密类型的所有六个复选框。

单击 "确定",然后关闭 GPMC。

备注

此策略将 SupportedEncryptionTypes 注册表项的值0x7FFFFFFF。 SupportedEncryptionTypes 注册表项位于 以下位置: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\Kerberos\parameters 。

状态

Microsoft 已确认这是 R2 Windows Server 2012问题。

参考

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值