nerdexam
Linux_Foundation

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.

Submitted by anna_se· Apr 18, 2026Service Configuration

Question

In the smb.conf configuration file, which pair may be used as a boolean value?

Options

  • Ayes/no
  • Btrue/false
  • C0/1
  • DAny of the above.

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    9% (2)
  • D
    86% (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`.

Ayes/no

This option is correct but not exhaustive, as other boolean representations are also valid.

Btrue/false

This option is correct but not exhaustive, as other boolean representations are also valid.

C0/1

This option is correct but not exhaustive, as other boolean representations are also valid.

DAny of the above.Correct

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

#Samba#smb.conf#configuration syntax#boolean values

Community Discussion

No community discussion yet for this question.

Full LFCS Practice