[Samba] Clarification requested

Andrew Bartlett abartlet at samba.org
Sat Jan 30 12:02:21 UTC 2016


On Fri, 2016-01-29 at 14:38 +1100, John Gardeniers wrote:
> There are smb.conf items which can have multiple entries. e.g. "admin
> users". I see examples showing both comma separated and whitespace 
> separated lists. Even our old Samba 3 conf file shows both being
> used. 
> The man page doesn't show an example of a multiple list at all, so
> that 
> doesn't help to clear this up.

When we re-print such a parameter, we use ",".

> So, for the sake of clarity, what is the proper/recommended
> separator? 
> Does it even matter? If it's not important, what are the valid
> separators?

This is the valid list:
#define LIST_SEP " \t,;\n\r"

> The reason I'm asking is that I'm getting some odd and inconsistent 
> results in one of my tests and I just want to make sure this isn't
> part 
> of the problem.

As long as any values with spaces are quoted, it shouldn't be.

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba






More information about the samba mailing list