Professional Documents
Culture Documents
Active Directory has five special roles which are vital for the smooth running of AD as a multimaster system. Some functions of AD require there is an authoritative master to which all Domain Controllers can refer to. These roles are installed automatically and there is normally very little reason to move them, however if you de-commission a DC and DCPROMO fails to run correctly or have a catastrophic failure of a DC you will need to know about these roles to recover or transfer them to another DC. The forest wide roles must appear once per forest, the domain wide roles must appear once per domain.
The Roles
There are five FSMO roles, two per forest, three in every Domain. A brief summary of the role is below.
Schema Master
The schema is shared between every Tree and Domain in a forest and must be consistent between all objects. The schema master controls all updates and modifications to the schema.
Domain Naming
When a new Domain is added to a forest the name must be unique within the forest. The Domain naming master must be available when adding or removing a Domain in a forest.
Allocates RIDs to DCs within a Domain. When an object such as a user, group or computer is created in AD it is given a SID. The SID consists of a Domain SID (which is the same for all SIDs created in the domain) and a RID which is unique to the Domain. When moving objects between domains you must start the move on the DC which is the RID master of the domain that currently holds the object.
PDC Emulator
The PDC emulator acts as a Windows NT PDC for backwards compatibility, it can process updates to a BDC.
It is also responsible for time synchronising within a domain. It is also the password master (for want of a better term) for a domain. Any password change is replicated to the PDC emulator as soon as is practical. If a logon request fails due to a bad password the logon request is passed to the PDC emulator to check the password before rejecting the login request.
Infrastructure Master
The infrastructure master is responsible for updating references from objects in its domain to objects in other domains. The global catalogue is used to compare data as it receives regular updates for all objects in all domains. Any change to user-group references are updated by the infrastructure master. For example if you rename or move a group member and the member is in a different domain from the group the group will temporarily appear not to contain that member.
Important Note :
Unless there is only one DC in a domain the Infrastructure role should not be on the DC that is hosting the global catalogue. If they are on the same server the infrastructure master will not function, it will never find data that is out of date and so will never replicate changes to other DCs in a domain. If all DCs in a domain also host a global catalogue then it does not matter which DC has the infrastructure master role as all DCs will be up to date due to the global catalogue.
Gui View
Schema Master
To view the schema you must first register the schema master dll with Windows. To do this enter the following in the RUN dialog of the start menu. regsvr32 schmmgmt.dll Once you have done this the schema master mmc snap-in will be available.
NTDSUTIL
NTDSUTIL provides FSMO maintenance and the option to seize a role (covered in the FSMO Role Failure section below). To transfer a role using ntdsutil use the example below as a template for all the roles.
Open a command prompt Enter in ntdsutil At the ntdsutil command prompt enter in roles At the fsmo maintenance prompt enter in connection At the server connections prompt enter in connect to domancontrollername At the server connections prompt enter in quit At the fsmo maintenance prompt enter in transfer schema master Quit from the console
Temporary loss of this role holder will not be noticeable to network users. Domain Admins will only notice the loss if they try and add or remove a domain in the forest. You should however only seize this role when the failure of the existing holder is considered permanent. Note: A DC whose schema master role has been seized should never be brought back online