加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

active-directory – 由于LDAP绑定问题导致GPUpdate失败

发布时间:2020-12-13 23:05:09 所属栏目:Windows 来源:网络整理
导读:当我在我的工作站上运行gpupdate时,我收到以下错误. Computer policy could not be updated successfully. The following errors were encountered:The processing of Group Policy failed. Windows could not resolve the computer name. This could be cau
当我在我的工作站上运行gpupdate时,我收到以下错误.
Computer policy could not be updated successfully. The following errors were encountered:

The processing of Group Policy failed. Windows could not resolve the computer name. This could be caused by one of more of the following:
a) Name Resolution failure on the current domain controller.
b) Active Directory Replication Latency (an account created on another domain controller has not replicated to the current domain controller).
User Policy could not be updated successfully. The following errors were encountered:

The processing of Group Policy failed. Windows could not authenticate to the Active Directory service on a domain controller. (LDAP Bind function call failed). Look in the details tab for error code and description.

To diagnose the failure,review the event log or run GPRESULT /H GPReport.html from the command line to access information about Group Policy results.

运行gpresult / h给出用户没有RSoP数据

查看事件日志,我可以看到与gpupdate相关联的错误代码49 Invalid Credentials.但是,当我使用ldp.exe测试ldap绑定时,凭据可以正常工作.

有人见过像这样的问题吗?我把头发拉出来试图找出发生了什么.

我自己能解决这个问题.事实证明,本地计算机帐户缓存了(正确)失败的错误凭据.感谢@ greg-askew让我指向了正确的方向.对于那些偶然发现寻找解决方案的人:

>从https://technet.microsoft.com/en-us/sysinternals/pxexec.aspx下载PsExec(sysinternals的一部分)
>从提升的命令提示符运行PsExec.exe -i -s cmd.exe(这将在本地计算机帐户上下文中打开另一个命令窗口).
>从该窗口,运行rundll32.exe keymgr.dll,KRShowKeyMgr(这将打开带有缓存凭据列表的gui).
>在那个gui中,删除任何看起来可疑的凭据(在我的情况下,凭据是以我的PDC命名的).

从缓存中删除凭据后,它立即重新开始工作.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读