LFCS · Question #587
Which of the following commands would you run to add your machine to an NT4 domain?
The correct answer is A. net rpc join -S PDC -UAdministrator%password. To add a Samba machine to an NT4-style domain, the net rpc join command is used, specifying the primary domain controller (PDC) and administrator credentials.
Question
Options
- Anet rpc join -S PDC -UAdministrator%password
- Bnet ads join -s PDC -UAdministrator%password
- Cnet rpc join -s PDC -UAdministrator%password
- Dnet ads join -W PDC -nAdministrator%password
How the community answered
(58 responses)- A93% (54)
- B2% (1)
- C2% (1)
- D3% (2)
Why each option
To add a Samba machine to an NT4-style domain, the `net rpc join` command is used, specifying the primary domain controller (PDC) and administrator credentials.
The `net rpc join` command is specifically designed for joining a Samba server to an NT4-style domain. The `-S` flag correctly specifies the name of the Primary Domain Controller (PDC), and `-U` is used to provide the username and password for authentication during the join process.
`net ads join` is for Active Directory domains, not NT4 domains, and `-s` is not the correct flag for the PDC name.
While `net rpc join` is correct, the `-s` flag is not the standard flag for specifying the PDC; `-S` (uppercase) is used instead.
`net ads join` is for Active Directory, not NT4, and the flags `-W` and `-n` are not correct for specifying the PDC and credentials in this manner.
Concept tested: Samba NT4 domain join
Source: https://www.samba.org/samba/docs/current/manpages/net.8.html
Topics
Community Discussion
No community discussion yet for this question.