An important item to remember about configuration options is that all whitespaces in the
value
are significant. For example, consider the following option:
volume = The Big Bad Hard Drive Number 3543
Samba strips away the spaces between the final
e
in
volume
and the first
T
in
The
. These whitespaces are insignificant. The rest of the whitespaces are significant and will be recognized and preserved by Samba when reading in the file. Space is not significant in option names (such as
guest
ok
), but we recommend you follow convention and keep spaces between the words of options.
If you feel safer including quotation marks at the beginning and ending of a configuration option's value, you may do so. Samba will ignore these quotation marks when it encounters them. Never use quotation marks around an option itself; Samba will treat this as an error.
Finally, you can use whitespaces to separate a series of values in a list, or you can use commas. These two options are equivalent:
netbios aliases = sales, accounting, payroll
netbios aliases = sales accounting payroll
In some values, however, you must use one form of separation - spaces in some cases, commas in others.