LFCS · Question #586
In which section of the smb.conf configuration file is the logon script declared?
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.
Question
Options
- A[homes]
- B[netlogon]
- C[global]
- D[profiles]
How the community answered
(43 responses)- A5% (2)
- C93% (40)
- D2% (1)
Why each option
The `logon script` parameter in `smb.conf` is declared within the `[global]` section to apply to all users authenticating against the Samba server.
The `[homes]` section is specifically for user home directories and related settings.
The `[netlogon]` section defines the share where logon scripts are stored, not where the `logon script` parameter itself is configured.
The `[global]` section of `smb.conf` is used for parameters that apply to the entire Samba server and all its services, including user authentication and logon processes. The `logon script` parameter, which specifies a script to run for Windows clients upon logon, is configured here to ensure it's applied universally.
The `[profiles]` section is typically used for user roaming profiles configuration.
Concept tested: Samba logon script configuration
Source: https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.