3.1.5.5 WDS_OP_GET_DOMAIN_JOIN_INFORMATION
This opcode is used to query policy for joining the deployed OS to an Active Directory domain.
The server MUST validate that all required variables are specified in the request packet.
The server MUST search for a user account in the Active Directory domain (section 3.1.1.3) and MUST set the following variables:
FIRSTNAME variable to FirstName attribute (section 3.1.1.3).
LASTNAME variable to LastName attribute (section 3.1.1.3).
The server MUST search for a computer object in the Active Directory domain for the client machine, as specified in section 3.1.1.2. If a computer object is found, the server MUST follow the steps in section 3.1.1.2; otherwise, the server MUST follow steps in section 3.1.1.2.