nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #586

LFCS Question #586: Real Exam Question with Answer & Explanation

The correct answer is C: [global]. The logon script parameter in smb.conf is declared within the [global] section to apply to all users authenticating against the Samba server.

Submitted by yuki_2020· Apr 18, 2026Service Configuration

Question

In which section of the smb.conf configuration file is the logon script declared?

Options

  • A[homes]
  • B[netlogon]
  • C[global]
  • D[profiles]

Explanation

The logon script parameter in smb.conf is declared within the [global] section to apply to all users authenticating against the Samba server.

Common mistakes.

  • A. The [homes] section is specifically for user home directories and related settings.
  • B. The [netlogon] section defines the share where logon scripts are stored, not where the logon script parameter itself is configured.
  • D. The [profiles] section is typically used for user roaming profiles configuration.

Concept tested. Samba logon script configuration

Reference. https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html

Topics

#Samba#smb.conf#Logon Scripts#Service Configuration

Community Discussion

No community discussion yet for this question.

Full LFCS PracticeBrowse All LFCS Questions