AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 754291
Accepted
Matthias Güntert
Matthias Güntert
Asked: 2016-02-06 07:37:15 +0800 CST2016-02-06 07:37:15 +0800 CST 2016-02-06 07:37:15 +0800 CST

DNS 后缀更改后,客户端无法更新 dNSHostName 属性

  • 772

我们有一堆属于 domain 的 Windows 7 和 Windows Vista 客户端contoso.com。客户端在 DNS 中注册到client.contoso.com. 我们已通过 GPO 将 DNS 后缀从 更改client.contoso.com为contoso.com. 这对大多数客户来说都很好——servicePrincipalNames自动更新,包括计算机对象dNSHostName属性。

但是,一些客户端一直无法更新属性,这会导致以下错误消息:

日志名称:系统

来源:NETLOGON

事件编号:5789

级别:错误

电脑:someClient

尝试更新 Active Directory 中计算机对象的 DNS 主机名失败。更新后的值为“someClient.contoso.com”。发生以下错误:请求的资源正在使用中。

到目前为止,解决此问题的唯一方法是将客户端从域中删除并将其放回,这是解决此问题的一种蛮力方法。AD 对象似乎必须更正权限才能更新上述属性。

设置-ADComputer -Identity someClient -DNSHostName someClient.contoso.com

Set-ADComputer : While processing a change to the DNS Host Name for an object, the Service Principal Name values could not be kept in sync
At line:1 char:1
+ Set-ADComputer someClient -DNSHostName someClient.contoso.com
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (someClient:ADComputer) [Set-ADComputer], ADException
    + FullyQualifiedErrorId : While processing a change to the DNS Host Name for an object, the Service Principal Name values could not be kept in sync,Micros
   oft.ActiveDirectory.Management.Commands.SetADComputer

获取广告计算机 someCliemt

DistinguishedName : [...]
DNSHostName       : someClient.client.contoso.com
Enabled           : True
Name              : someClient
ObjectClass       : computer
ObjectGUID        : fdddd6ec-44f3-5b63-xxxx-55229cexxxxx
SamAccountName    : comeClient$
SID               : S-1-5-21-1815460242-1203374957-4236298635-xxxxxx
UserPrincipalName :

到目前为止我尝试过的事情:

  • 运行 gpupdate /force 几次...当然要重新启动
  • 已验证客户端从 GPO 接收到正确的 DNS 后缀设置
  • 验证内置对象SELF有Validated write to DNS host Name和Validated write to Service principal Name权限

关于如何解决这个问题的任何想法,而不必重新加入计算机?

active-directory
  • 2 2 个回答
  • 8624 Views

2 个回答

  • Voted
  1. Best Answer
    Matthias Güntert
    2016-02-09T03:47:10+08:002016-02-09T03:47:10+08:00

    我找到了一个简单的解决方案。如果我首先“重置”它的属性,$null它会按预期工作......

    Set-ADComputer -Identity someClient -DNSHostName $null
    Set-ADComputer -Identity someClient -DNSHostname someClient.contoso.com 
    
    • 1
  2. marsh-wiggle
    2020-10-05T05:13:13+08:002020-10-05T05:13:13+08:00

    我使用 dcdiag 对其进行了分析

    DCDIAG /TEST:DNS /V /E /F:<filename.log>

    这暴露了一个RCP not available错误。

    有很多文档如何处理此错误,但没有任何帮助。最后我安装了wireshark,并且是来自未知IP的一些奇怪的流量:我的服务器为接口定义了第二个IP。删除第二个 IP 后一切正常。

    • 0

相关问题

  • 如果以域用户身份远程登录,PC 速度极慢

  • 如何在 Windows 2003 的 ou 级别应用策略

  • 允许用户更改其 Active Directory 密码的 Web 界面

  • MOSS 2007 无法使用 ActiveDirectoryMembershipProvider 配置表单身份验证

  • 通过 VPN 更改 Active Directory 密码

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve