nerdexam
Linux_Foundation

LFCS · 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 verify if a machine has successfully joined an Active Directory domain, the net ADS testjoin command is the correct utility to use.

Submitted by haru.x· Apr 18, 2026Networking

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)
  • C
    3% (1)
  • D
    90% (26)

Why each option

To verify if a machine has successfully joined an Active Directory domain, the `net ADS testjoin` command is the correct utility to use.

Anet RPC testjoin

The `net RPC testjoin` command is not the correct syntax or utility for directly testing an Active Directory domain join status; `net ADS` is used for Active Directory specific operations.

Btdbdump /etc/samba/secret.tdb

The `tdbdump /etc/samba/secret.tdb` command displays the contents of the Samba secrets database, which stores machine account information, but it does not actively test the live domain join status or connectivity.

Ctestparm -v |grep join

The `testparm -v |grep join` command is used to display and filter Samba configuration parameters related to joining, not to perform a live check of the actual domain membership status with Active Directory.

Dnet ADS testjoinCorrect

The `net ADS testjoin` command is a Samba utility designed specifically to check the current status of a Samba machine's membership in an Active Directory domain, ensuring that it can communicate and authenticate correctly with the domain controllers.

Concept tested: Verifying Active Directory domain join

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

Topics

#Active Directory#Domain Join#net command#Networking

Community Discussion

No community discussion yet for this question.

Full LFCS Practice