diff options
author | Scott Mayhew <[email protected]> | 2023-08-16 00:23:56 -0500 |
---|---|---|
committer | Steve French <[email protected]> | 2023-08-16 00:26:07 -0500 |
commit | 270d73e6507f9c7fff43844d74f86365df000b36 (patch) | |
tree | eceac3f5b6b14c7bc2412455cc4e2a747c7e0310 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 2d7b8c6b90e4054a35eb59cd6d7c66e903e8ae4b (diff) |
smb: client: fix null auth
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")
Cc: [email protected]
Signed-off-by: Scott Mayhew <[email protected]>
Reviewed-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions