[PATCH] smb: client: fix null auth
smfrench at gmail.com
Wed Aug 16 05:28:36 UTC 2023
Fixed some checkpatch warnings and added Paulo's RB, and updated
On Tue, Aug 15, 2023 at 1:42 PM Paulo Alcantara via samba-technical
<samba-technical at lists.samba.org> wrote:
> Scott Mayhew <smayhew at redhat.com> writes:
> > Commit abdb1742a312 removed code that clears ctx->username when
> > sec=none, so attempting to mount with '-o sec=none' now fails with
> > -EACCES. Fix it by adding that logic to the parsing of the 'sec'
> > option, as well as checking if the mount is using null auth before
> > setting the username when parsing the 'user' option.
> > Fixes: abdb1742a312 ("cifs: get rid of mount options string parsing")
> > Signed-off-by: Scott Mayhew <smayhew at redhat.com>
> > ---
> > fs/smb/client/fs_context.c | 4 ++++
> > 1 file changed, 4 insertions(+)
> Reviewed-by: Paulo Alcantara (SUSE) <pc at manguebit.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1603 bytes
Desc: not available
More information about the samba-technical