nerdexam
CompTIA

LX0-104 · Question #585

Which command would create a machine account in Active Directory under the Computers\BusinessUnit\Department\Servers organizational unit?

The correct answer is D. net ads join "Computers\BusinessUnit\Department\Servers". The net ads join command is used to add a Samba machine to an Active Directory domain, allowing the specification of a target Organizational Unit for the machine account.

Administrative Tasks

Question

Which command would create a machine account in Active Directory under the Computers\BusinessUnit\Department\Servers organizational unit?

Options

  • Anet rpc join -m localhost -
  • Brpcclient -c "join Computers\BusinessUnit\Department\Servers"
  • Cnet ads join ou="Computers\BusinessUnit\Department\Servers"
  • Dnet ads join "Computers\BusinessUnit\Department\Servers"

How the community answered

(18 responses)
  • A
    6% (1)
  • B
    6% (1)
  • C
    17% (3)
  • D
    72% (13)

Why each option

The `net ads join` command is used to add a Samba machine to an Active Directory domain, allowing the specification of a target Organizational Unit for the machine account.

Anet rpc join -m localhost -

`net rpc join` is used for joining Windows NT4-style domains, not Active Directory, and has different syntax.

Brpcclient -c "join Computers\BusinessUnit\Department\Servers"

`rpcclient` is a command-line utility for interacting with RPC services and does not directly have a 'join' command for Active Directory domain enrollment with OU specification.

Cnet ads join ou="Computers\BusinessUnit\Department\Servers"

The syntax `ou=` is not a recognized flag for the `net ads join` command to specify the organizational unit; the OU's distinguished name is typically passed as a direct string argument.

Dnet ads join "Computers\BusinessUnit\Department\Servers"Correct

The `net ads join` command is the correct utility for joining a Samba server to an Active Directory domain. When a string representing the Organizational Unit (OU) path is provided as an argument, Samba attempts to create the machine account within that specified OU.

Concept tested: Samba Active Directory join OU

Source: https://www.samba.org/samba/docs/current/manpages/net.8.html

Topics

#Samba#Active Directory integration#net ads join#machine accounts

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice