共用方式為


3.2.4.13.4 Workgroup Join Specific Message Processing

The following statements define the sequence of message processing operations.

  1. If the server (2) processing the message is already joined to a domain, the server MUST return NERR_SetupAlreadyJoined. Otherwise, message processing continues.

  2. The DomainNameParam parameter MUST be validated as a valid workgroup name. The validation process is specified in section 3.2.4.16, where NameType is NetSetupWorkgroup from the NETSETUP_NAME_TYPE enumeration (section 2.2.3.2). If this validation fails, the server MUST return the error specified in the preceding validation process.

  3. The server's ADM elements in section 3.2.1.6 MUST be set as follows:

    • DomainName.NetBIOS = DomainNameParam

    • DomainName.FQDN = NULL

    • DomainGuid = NULL

    • DomainSid = NULL

  4. The server MUST configure the local Netlogon Remote Protocol [MS-NRPC] so that it is aware of being joined to a workgroup by the name of DomainNameParam.

  5. The server MUST configure the local W32Time [WTSREF] so that it is aware of being joined to a workgroup.

  6. The server MUST stop impersonating the client by invoking the StopImpersonatingClient task (section 3.2.4.29.7).

If no errors occur, the server MUST return NERR_Success.