公司新建域控由于分公司需要辅助域控,就新建了一台额外域控,但是该域控建好后发现组策略不生效,检查sysvol文件夹一片空白,肯定是没有从主域控复制过来,使用dcdiag检查,有下面报错


目录服务器诊断



正在执行初始化设置:


   正在尝试查找主服务器...


   * 正在验证本地计算机 cansinesv02 是否为目录服务器。 

   主服务器 = cansinesv02


   * 正在连接到服务器 cansinesv02 上的目录服务。


   * 已识别的 AD 林。 

   Collecting AD specific global data 

   * 正在收集站点信息。


   Calling ldap_search_init_page(hld,CN=Sites,CN=Configuration,DC=cansine,DC=com,LDAP_SCOPE_SUBTREE,(objectCategory=ntDSSiteSettings),.......

   The previous call succeeded 

   Iterating through the sites 

   Looking at base site object: CN=NTDS Site Settings,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=cansine,DC=com

   Getting ISTG and options for the site

   * 正在标识所有服务器。


   Calling ldap_search_init_page(hld,CN=Sites,CN=Configuration,DC=cansine,DC=com,LDAP_SCOPE_SUBTREE,(objectClass=ntDSDsa),.......

   The previous call succeeded....

   The previous call succeeded

   Iterating through the list of servers 

   Getting information for the server CN=NTDS Settings,CN=CANSINESV01,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=cansine,DC=com 

   objectGuid obtained

   InvocationID obtained

   dnsHostname obtained

   site info obtained

   All the info for the server collected

   Getting information for the server CN=NTDS Settings,CN=CANSINESV02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=cansine,DC=com 

   objectGuid obtained

   InvocationID obtained

   dnsHostname obtained

   site info obtained

   All the info for the server collected

   * 标识所有 NC 交叉引用。


   * 找到 2 DC。正在测试其中的 1。


   已完成收集初始化信息。



正在进行所需的初始化测试


   

   正在测试服务器: Default-First-Site-Name\CANSINESV02


      开始测试: Connectivity


         * Active Directory LDAP Services Check

         Determining IP4 connectivity 

         * Active Directory RPC Services Check