3.2.3 Initialization
The server MUST listen on the well-known endpoint that is defined for this RPC interface. For more information, see section 2.1.<8>
ComputerUpgrade is initialized to FALSE.
PreviousServerState is initialized to DsRoleServerUnknown.
ComputerOperationState is initialized to DsRoleOperationIdle.
ComputerRole is set only during initialization. It is initialized as follows:
If the server meets the requirements of a domain controller as described in [MS-ADTS] section 6.1.2.1, then
If the server is hosting the PdcEmulationMasterRole ([MS-ADTS] section 3.1.1.1.11), ComputerRole is set to DsRole_RolePrimaryDomainController, else ComputerRole is set to DsRole_RoleBackupDomainController. The server determines if it is hosting the PdcEmulationMasterRole by invoking the IsEffectiveRoleOwner function with the roleObject parameter set to RoleObject(Default NC, PdcEmulationMasterRole) (see [MS-ADTS] section 3.1.1.5.1.8).
Else
If DNSDomainName is not NULL, then ComputerRole is set to DsRole_RoleMemberServer, else ComputerRole is set to DsRoleStandaloneServer.