Open spirritus opened 5 years ago
@spirritus This could be due to this line:
Which is yes
by default:
Have you tried setting this to no
in your pillar as well as the change you mentioned above?
He myii, thx for the info, salt is still a bit new to me. That line fixed it.
Hi @spirritus
Is "include_unordered_sections: no
" a better default? If the current default is unexpected then I'd like to fix that. I'm interested in opinion from Samba user.
Well, I guess it would be a better default. If you specify a list, then you would expect the list to define what is present and nothing else, unless you specify it with another parameter.
edit: would also delete ''wins support = yes' from default.yaml. excerpt from the docu:
wins support (G)
This boolean controls if the nmbd(8) process in Samba will act as a WINS server. You should not set
this to yes unless you have a multi-subnetted network and you wish a particular nmbd to be your WINS
server. Note that you should NEVER set this to yes on more than one machine in your network.
Default: wins support = no
If you specify section_order: ['global'] to only create the global entries for smb.conf this setting is ignored; global, printers and homes (in that order) are always created.