str_list_make in master
Jeremy Allison
jra at samba.org
Thu Nov 6 22:22:10 GMT 2008
On Thu, Nov 06, 2008 at 11:10:20AM -0800, Dan Sledz wrote:
> It appears the behavior of str_list_make changed between samba 3.2 and
> master.
>
> In samba 3.2 passing NULL or an empty string returned NULL.
>
> In master, it now returns a list of length 1 with the first string set
> to NULL (an empty list)
>
>
>
> In our smb.conf, we use "valid users = " to imply that everyone has
> access to a share. The new behavior now causes user_ok_token() to deny
> everyone. As a workaround, I've stopped setting "valid users", but it's
> concerning that I'm unable to express the default value in smb.conf.
>
>
>
> Should the callers adjust or should str_list_make change?
Good catch, thanks. Can you log a bug so I can track it (and
it won't disappear into the swamp that is my inbox).
I think we'll fix the callers (depending on how many there
are :-).
Thanks once again - at least it isn't in released code
(thank goodness for small mercies :-).
Jeremy.
More information about the samba-technical
mailing list