LFCS · Question #613
The SAMBADOM domain has been added as a trusted account to an existing domain called WIN3K. Which command should be run on the Samba server in order to establish the trusted relationship to the…
The correct answer is C. net rpc trustdom establish WIN3K. To establish a trusted relationship with an existing Windows domain (WIN3K) from a Samba server, the net rpc trustdom establish command followed by the domain name is used.
Question
Options
- Anet rpc trustdom add WIN3K
- Bnet rpc addtrust WIN3K
- Cnet rpc trustdom establish WIN3K
- Dnet rpc trustdom establish SAMBA
How the community answered
(39 responses)- A10% (4)
- B5% (2)
- C82% (32)
- D3% (1)
Why each option
To establish a trusted relationship with an existing Windows domain (WIN3K) from a Samba server, the `net rpc trustdom establish` command followed by the domain name is used.
`net rpc trustdom add` is used for adding a new trust *account* rather than establishing the full inter-domain trust relationship.
`net rpc addtrust` is not a valid or standard command for establishing domain trust relationships in Samba.
The `net rpc trustdom establish` command is the correct utility used on a Samba server to initiate and confirm a trust relationship with an existing Windows NT-style domain. This command authenticates the Samba domain controller to the specified trusted domain, enabling users from the trusted domain to access resources within the Samba domain.
Executing `net rpc trustdom establish SAMBA` would attempt to establish a trust relationship *with* the Samba domain itself, which is not the objective; the goal is to establish trust *to* the WIN3K domain.
Concept tested: Samba domain trust establishment
Source: https://www.samba.org/samba/docs/current/manpages/net.8.html
Topics
Community Discussion
No community discussion yet for this question.