nerdexam
Linux_Foundation

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.

Submitted by javi_es· Apr 18, 2026Service Configuration

Question

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 WIN3K domain?

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)
  • A
    10% (4)
  • B
    5% (2)
  • C
    82% (32)
  • D
    3% (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.

Anet rpc trustdom add WIN3K

`net rpc trustdom add` is used for adding a new trust *account* rather than establishing the full inter-domain trust relationship.

Bnet rpc addtrust WIN3K

`net rpc addtrust` is not a valid or standard command for establishing domain trust relationships in Samba.

Cnet rpc trustdom establish WIN3KCorrect

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.

Dnet rpc trustdom establish SAMBA

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

#Samba#Domain Trust#net rpc#Service Configuration

Community Discussion

No community discussion yet for this question.

Full LFCS Practice