diff options
| author | Paulo Alcantara <[email protected]> | 2025-03-12 13:51:31 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-03-13 13:40:24 +0000 |
| commit | fc99045effa81fdf509c2a97cbb7e6e8f2fd4443 (patch) | |
| tree | af73a611917067242d622645eba5808e644644cb /net/unix/garbage.c | |
| parent | Linux 6.14-rc6 (diff) | |
| download | kernel-fc99045effa81fdf509c2a97cbb7e6e8f2fd4443.tar.gz kernel-fc99045effa81fdf509c2a97cbb7e6e8f2fd4443.zip | |
smb: client: fix regression with guest option
When mounting a CIFS share with 'guest' mount option, mount.cifs(8)
will set empty password= and password2= options. Currently we only
handle empty strings from user= and password= options, so the mount
will fail with
cifs: Bad value for 'password2'
Fix this by handling empty string from password2= option as well.
Link: https://bbs.archlinux.org/viewtopic.php?id=303927
Reported-by: Adam Williamson <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]
Fixes: 35f834265e0d ("smb3: fix broken reconnect when password changing on the server by allowing password rotation")
Cc: [email protected]
Signed-off-by: Paulo Alcantara (Red Hat) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
