LFCS · Question #600
In the smb.conf configuration file, which pair may be used as a boolean value?
The correct answer is D. Any of the above. Samba's smb.conf configuration file is flexible and allows for multiple standard representations of boolean values, including yes/no, true/false, and 0/1.
Question
Options
- Ayes/no
- Btrue/false
- C0/1
- DAny of the above.
How the community answered
(22 responses)- A5% (1)
- B9% (2)
- D86% (19)
Why each option
Samba's `smb.conf` configuration file is flexible and allows for multiple standard representations of boolean values, including `yes/no`, `true/false`, and `0/1`.
This option is correct but not exhaustive, as other boolean representations are also valid.
This option is correct but not exhaustive, as other boolean representations are also valid.
This option is correct but not exhaustive, as other boolean representations are also valid.
Samba's configuration parser is designed to be user-friendly and accepts various common boolean representations. All options listed, `yes/no`, `true/false`, and `0/1`, are valid and interchangeable ways to set boolean parameters in `smb.conf`.
Concept tested: Samba boolean value syntax
Source: https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html
Topics
Community Discussion
No community discussion yet for this question.