LX0-104 · 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 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
(49 responses)- A76% (37)
- B4% (2)
- C14% (7)
- D6% (3)
Why each option
To add a Samba machine to an NT4 domain, the `net rpc join` command is used, specifying the Primary Domain Controller (PDC) and administrator credentials.
The `net rpc join` command is the appropriate utility for joining a Samba server to a Windows NT4 domain. The `-S` flag correctly designates the PDC server to join, and `-U` provides the necessary administrative username and password for authentication.
`net ads join` is specifically designed for joining Active Directory domains, not NT4 domains, and `-s` is not the correct flag for specifying the PDC in this context.
While `net rpc join` is the correct command, the `-s` flag is typically used to specify the Samba server's own NetBIOS name, not the target PDC; the correct flag for the PDC is `-S`.
`net ads join` is for Active Directory domains, not NT4, and the flags `-W` and `-n` are incorrect or misused in this context for domain joining.
Concept tested: Samba join NT4 domain
Source: https://www.samba.org/samba/docs/current/manpages/net.8.html
Topics
Community Discussion
No community discussion yet for this question.