如果此域包含在没有 Windows 2000 或 Windows XP Professional 客户端软件情况下运行的计算机,或者包含 Windows NT 备份域控制器 (BDC),则由PDC仿真主机担当Windows NT的主域控制器。它处理来自客户端的密码更改并将更新复制到 BDC。在任何时候,林中的每个域中只能有一个域控制器作为 PDC 仿真主机。在默认情况下,PDC 仿真主机还负责同步整个域内所有域控制器上的时间。域的 PDC 模拟器将其时钟设置为父域中任意域控制器上的时钟。父域中的 PDC 模拟器应配置为与外部时间源同步。您可以使用下列语法执行“net time”命令,同步 PDC 模拟器和外部服务器上的时间:
net time \\ServerName/setsntp:TimeSource
最终结果是整个林内所有运行 Windows Server 2003 或 Windows 2000 的计算机的时间相差都在几秒钟以内。PDC 模拟器接受域中其他域控制器执行的密码更改的首选复制。如果密码最近被更改,则需要花费一定时间将此次更改复制到域中的每个域控制器。如果登录验证由于密码错误而在另一个域控制器中执行失败,则该域控制器将在拒绝登录尝试前将验证请求转发给 PDC 模拟器。配置了 PDC 模拟器角色的域控制器支持两种身份验证协议:
1. Add an alternate name for a Windows Server 2003 domain controller To give an alternate name for the domain controller DC in the example.com domain, use the following syntax:
netdom computername dc /add:altDC.example.com
A name must first exist as an alternate before it can be made the primary name of a computer.
2. Rename a domain controller in a Windows Server 2003 domain To rename the domain controller DC to altDC in the example.com domain use the following syntax: netdom computername dc /makeprimary:altdc.example.comTo rename a member server you must choose one of the existing alternate names for the computer and make it the new primary name.
3. Rename a Member Server
To rename the member server member to member1, type the following at the command prompt:
netdom renamecomputer member /newname:member1.example.com /userd:administrator
4. Join a Workstation or Member Server to a Domain To join mywksta to the dev.example.com domain in the Dsys/workstations organizational unit, type the following at the command prompt:
5. Besides adding the computer account to the domain, the workstation is modified to contain the appropriate shared secret to complete the join operation To remove mywksta from the mydomain domain and make the workstation a part of a workgroup, type the following at the command prompt: netdom remove /d:mydomain mywksta /ud:mydomain\admin /pd:password To move mywksta from its current domain into the mydomain domain, type the following at the command prompt: netdom move /d:mydomain mywksta /ud:mydomain\admin /pd:password If the destination is a Windows 2000 domain, the Security ID history (SIDHistory) for the workstation is updated, retaining the security permissions that the computer account had previously.
6. Establish a One-Way Trust Relationship When used with the trust operation, the /d:Domain parameter always refers to the trusted domain.To set the Windows NT 4.0 resource domain Chicago to trust the Windows NT 4.0 account domain Namerica, type the following at the command prompt: netdom trust /d:Namerica Chicago /add /Ud:Namerica\admin /Pd:* /Uo: Chicago\admin /Po:* Press Enter and the following prompt is displayed: Password for Northamerica\admin: Enter the password for Northamerica\admin and press Enter. The following prompt is displayed: Password for USA-Chicago\admin: Enter the password for USA-Chicago\admin and press Enter.The user must have credentials for both domains. The /pd parameter can be used to specify the password for Northamerica\admin and the /po parameter can be used to specify the password for USA-Chicago\admin. If passwords are not provided on the command line, the user is prompted for both. If you then want to specify a two-way trust, type the following at the command prompt netdom trust /d:marketing.example.com engineering.example.com /add /twoway /Uo:admin@engineering.example.com /Ud:admin@marketing.example.com:
7. Break a One-Way Trust Relationship To undo the trust that USA-Chicago has for Northamerica, type the following at the command prompt:
netdom trust /d:Northamerica USA-Chicago /remove
8. To break a two-way trust relationship, type the following at the command prompt: netdom trust /d:marketing.example.com Engineering.example.com /remove /twoway /Uo:admin@engineering.example.com /Ud:admin@marketing.example.com To reset the secure channel for the one-way trust between Northamerica and USA-Chicago, type the following at the command prompt: netdom trust /d:Northamerica USA-Chicago /Ud:Northamerica\admin /reset The /reset parameter synchronizes the appropriate shared secrets if they are not already synchronized.
9. List the Primary Domain Controller Member in a Domain
To list the PDC for Northamerica, type the following at the command prompt:
netdom query /d:Northamerica PDC
10. List the Primary Domain Controller Emulator in a Domain To list the current PDC emulator for devgroup.example.com, type the following at the command prompt:
netdom query /d:devgroup.example.com FSMO
11. View Domain Trusts To view all the direct trust relationships for the domain Northamerica, type the following at the command prompt: netdom query /d:Northamerica /Ud:Northamerica\admin DOMAIN /Direct To view all the direct and indirect trust relationships for the domain Northamerica, type the following at the command prompt: netdom query /d:Northamerica /Ud:Northamerica\admin DOMAIN To view all trust relationships and check their status, type the following at the command prompt: