nerdexam
Linux_Foundation

LFCS · Question #125

For Samba to be able to work as a PDC, some modifications are needed in its main configuration file. Select the THREE options below that show the required actions for this task.

The correct answer is A. The Samba server has to be a logon server. This can be configured by the domain logons directive. C. The Samba server must be a Domain Master Browser. To configure this, the domain master directive E. The security = user directive must be set. To configure Samba as a Primary Domain Controller (PDC), essential smb.conf directives include domain logons = yes, domain master = yes, and security = user.

Submitted by satoshi_tk· Apr 18, 2026Service Configuration

Question

For Samba to be able to work as a PDC, some modifications are needed in its main configuration file. Select the THREE options below that show the required actions for this task.

Options

  • AThe Samba server has to be a logon server. This can be configured by the domain logons directive.
  • BThe Samba server needs to have the logon and the account creation scripts, to properly setup the
  • CThe Samba server must be a Domain Master Browser. To configure this, the domain master directive
  • DThe time server = yes directive needs to be configured, so Samba will behave as a WINS server
  • EThe security = user directive must be set.

How the community answered

(23 responses)
  • A
    74% (17)
  • B
    9% (2)
  • D
    17% (4)

Why each option

To configure Samba as a Primary Domain Controller (PDC), essential `smb.conf` directives include `domain logons = yes`, `domain master = yes`, and `security = user`.

AThe Samba server has to be a logon server. This can be configured by the domain logons directive.Correct

Setting `domain logons = yes` in the `smb.conf` file is critical for Samba to authenticate Windows clients and provide domain logon services, a core function of a PDC.

BThe Samba server needs to have the logon and the account creation scripts, to properly setup the

While logon scripts are often used in a domain, the general statement "logon and account creation scripts" is not a direct `smb.conf` directive or a fundamental server-side configuration requirement for Samba to be a PDC in the same vein as the other options.

CThe Samba server must be a Domain Master Browser. To configure this, the domain master directiveCorrect

The `domain master = yes` directive configures Samba to act as the Domain Master Browser, which is necessary for it to facilitate browsing services across the domain and manage network discovery as a PDC.

DThe time server = yes directive needs to be configured, so Samba will behave as a WINS server

The `time server = yes` directive enables Samba to act as an NTP server, but this is an optional feature for a PDC and not strictly required for its core domain controller functionality; furthermore, it does not configure Samba as a WINS server, which is done by `wins support = yes`.

EThe security = user directive must be set.Correct

The `security = user` parameter ensures that Samba performs authentication against its internal user database or a configured backend, which is a fundamental requirement for a PDC to manage user accounts and validate logins.

Concept tested: Samba PDC configuration

Source: https://www.samba.org/samba/docs/current/manpages-3/smb.conf.5.html

Topics

#Samba configuration#PDC role#Service configuration#Authentication

Community Discussion

No community discussion yet for this question.

Full LFCS Practice