惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
罗磊的独立博客
IT之家
IT之家
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
月光博客
月光博客
博客园 - Franky
博客园 - 聂微东
博客园_首页
爱范儿
爱范儿
量子位
博客园 - 三生石上(FineUI控件)
G
Google Developers Blog
Martin Fowler
Martin Fowler
小众软件
小众软件
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Y
Y Combinator Blog
Vercel News
Vercel News
腾讯CDC
Microsoft Azure Blog
Microsoft Azure Blog
Hugging Face - Blog
Hugging Face - Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
Engineering at Meta
Engineering at Meta

博客园 - See Me Fly

[MVC] Code First中Migration的问题 [MVC]开篇 搭建小型邮件服务器 Visual Studio中添加Service异常 IIS7 IIS8上面运行 ASP 画圆滑的曲线连接地图上面的点 [IIS] 不能加载类型System.ServiceModel.Activation.HttpModule [DICOM] Download ClearCanvas Source Code [DICOM] 开篇 研究SplendidCRM UnauthorizedAccessException trying to delete a file [转]C#WinForm - 立即更新静态文本Label Crystal Report 2011连接SQL Server 2008失败 Xcode: 给项目添加framework 用VNC连接Mac OS Xcode访问SVN服务器 Window 7访问共享目录问题 JIRA配置SSL Failed to install MSXML6 when installing SQL Server 2005 - See Me Fly
DC中用户的同步问题
See Me Fly · 2011-09-09 · via 博客园 - See Me Fly

公司很久之前装AD,然后加了几台服务器,都是DC。估计当时装的人也不熟悉。

 经历了很久的时间,没人打理,最近上去发现主DC上面的用户跟其他的DC上面的用户没有办法同步,上去发现很多问题。

因为本人对AD基本只知道是啥东西,一步一步折腾, 后面也不知道怎么弄好的。现在大概记录一下:

1) 保证DC能访问主DC,确保DNS是对的。

2)移除掉过期的对象(lingering objects)

Repadmin /removelingeringobjects <DC2> <DC1guid> <domain A LDAP DN>

Repadmin /removelingeringobjects my-domain.my.com 5a347e2e-2852-46d0-adc9-xxxxxxx DC=LTI,DC=COM /advisory_mode
Repadmin /removelingeringobjects my-sp.my.com aee1a363-f77a-48b3-89b3-xxxxx DC=LTI,DC=COM /advisory_mode

3) 然后同步两边的对象。

很多命令和资料都忘记记录,:(