nerdexam
CompTIA

LX0-104 · Question #321

How can it be checked that a machine was sucessfully added to an Active Directory enviroment?

The correct answer is D. net ADS testjoin. To confirm that a Samba machine has successfully joined an Active Directory environment, the net ADS testjoin command should be used.

Administrative Tasks

Question

How can it be checked that a machine was sucessfully added to an Active Directory enviroment?

Options

  • Anet RPC testjoin
  • Btdbdump /etc/samba/secret.tdb
  • Ctestparm -v |grep join
  • Dnet ADS testjoin

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    3% (1)
  • C
    3% (1)
  • D
    86% (25)

Why each option

To confirm that a Samba machine has successfully joined an Active Directory environment, the `net ADS testjoin` command should be used.

Anet RPC testjoin

`net RPC testjoin` is used for testing domain joins in classic NT4-style domains or generic RPC connectivity, not for Active Directory join verification.

Btdbdump /etc/samba/secret.tdb

`tdbdump /etc/samba/secret.tdb` dumps the raw content of a Samba database file, which might contain machine credentials but does not actively test the connectivity or operational status of the Active Directory join.

Ctestparm -v |grep join

`testparm -v | grep join` displays the configuration parameters related to joining from `smb.conf` but does not perform a real-time check of the actual Active Directory join status or connectivity.

Dnet ADS testjoinCorrect

The `net ADS testjoin` command is specifically designed to perform a live test of the Samba machine's join status with an Active Directory domain. It verifies communication, Kerberos authentication, and the validity of the machine account, reporting whether the join is functional.

Concept tested: Samba Active Directory join verification

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

Topics

#Samba#Active Directory integration#net ADS testjoin

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice