3.1.5.6.1.1 DomainServerRoleInformation

  1. If the server is not a DC, an error status MUST be returned.

  2. If DomainHandle.Object refers to the built-in domain, the server MUST abort and return STATUS_SUCCESS.

  3. If DomainInformation.Role.DomainServerRole is not equal to DomainServerRolePrimary, STATUS_SUCCESS MUST be returned.

  4. The fsmoRoleOwner attribute of the account domain object is set to the value of the distinguishedName attribute of the server's computer object, and any resulting processing errors MUST be returned. Otherwise, return STATUS_SUCCESS.