nerdexam
CompTIA

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.

Administrative Tasks

Question

Which of the following commands would you run to add your machine to an NT4 domain?

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)
  • A
    76% (37)
  • B
    4% (2)
  • C
    14% (7)
  • D
    6% (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.

Anet rpc join -S PDC -UAdministrator%passwordCorrect

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.

Bnet ads join -s PDC -UAdministrator%password

`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.

Cnet rpc join -s PDC -UAdministrator%password

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`.

Dnet ads join -W PDC -nAdministrator%password

`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

#Samba#NT4 domain join#net rpc join

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice