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.
Question
Options
- Anet RPC testjoin
- Btdbdump /etc/samba/secret.tdb
- Ctestparm -v |grep join
- Dnet ADS testjoin
How the community answered
(29 responses)- A7% (2)
- B3% (1)
- C3% (1)
- D86% (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.
`net RPC testjoin` is used for testing domain joins in classic NT4-style domains or generic RPC connectivity, not for Active Directory join verification.
`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.
`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.
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
Community Discussion
No community discussion yet for this question.