nerdexam
LPI

300-300 · Question #41

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

The correct answer is C. [global]. Option C ([global]) is correct because the logon script parameter is a domain-wide setting that applies to all users authenticating through Samba, making it a global configuration directive. The [global] section is where you define server-wide behaviors including logon script =…

300.8 Authentication and Authorization

Question

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

Options

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

How the community answered

(21 responses)
  • A
    5% (1)
  • B
    5% (1)
  • C
    90% (19)

Explanation

Option C ([global]) is correct because the logon script parameter is a domain-wide setting that applies to all users authenticating through Samba, making it a global configuration directive. The [global] section is where you define server-wide behaviors including logon script = script.bat.

  • [homes] (A) handles per-user home directory share definitions, not authentication/logon behavior.
  • [netlogon] (B) defines the share that serves the scripts to clients, but does not specify which script to run - that's a common trap on this exam.
  • [profiles] (D) is a share definition for roaming profile storage, unrelated to script assignment.

Memory tip: Think "global policy, global section." Just like Group Policy in Windows applies domain-wide, the logon script directive lives in [global] because it governs all users' login behavior, not a specific share.

Topics

#Samba configuration#logon scripts#smb.conf#Active Directory

Community Discussion

No community discussion yet for this question.

Full 300-300 Practice