第一次安装AD(用DCpromo命令),就遇到两个问题:

一是, Active Directory向导在创建AD快捷方式的时候就死在那儿,怎么也无法中断。事后估计是因为先安装的DNS没有配置为动态方式,导致AD安装异常;只好重新运行dcpromo来卸载AD,另外还卸载了DNS。

二是,重新安装AD(test.com是测试域),同时让向导自动安装DNS,一切顺利。不过在准备加入客户端时候,有得到一个提示,域控制器联系不上,详细信息为:
Note: This information is intended for a network administrator.  If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\WINDOWS\debug\dcdiag.txt.

An error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain test.com.

The error was: "No records found for given DNS query."
(error code 0x0000251D DNS_INFO_NO_RECORDS)

The query was for the SRV record for _ldap._tcp.dc._msdcs.test.com
For more information, click Help.

在服务器的DNS日志中发现如下记录:

事件类型:    警告
事件来源:    DNS
事件种类:    无
事件 ID:    4521
日期:        2008-11-17
事件:        14:45:11
用户:        N/A
计算机:    DNS1
描述:
DNS 服务器试图从 Active Directory 加载区域 _msdcs.test.com 时遇到 错误 32。DNS 服务器将在下一个超时周期重新尝试加载此区域。 这可能是由 Active Directory 负载过高导致,并且 可能是暂时情况。

有关更多信息,请参阅在 [url]http://go.microsoft.com/fwlink/events.asp[/url] 的帮助和支持中心。

查了查网上资料,感觉是因为Windows2003服务器刚刚重启动几分钟,动态dns还没有配置成功。又等待近10分钟,在dns处看到了_msdcs.test.com 域,再到XP客户端重新配置,果然出现了允许加入域的登陆窗口。

有价值的参考链接,我记录下来的有:

创建windows域:[url]http://nickzp.blog.51cto.com/12728/39836[/url]