[PATCH][CIFS] fix reconnect with SMB1 Unix Extensions

Steve French smfrench at gmail.com
Tue Jul 23 05:07:50 UTC 2024


Andrew had pointed out having problems with SMB1 Unix extensions to
Samba when investigating an unrelated problem, and when I tried it I
noticed a serious reconnect issue with the SMB1 Unix Extensions.

When mounting with the SMB1 Unix Extensions (e.g. mounts
to Samba with vers=1.0), cifs.ko reconnects no longer reset the
Unix Extensions (SetFSInfo SET_FILE_UNIX_BASIC) after tcon so most
operations (e.g. stat, ls, open, statfs) will fail continuously
with:
        "Operation not supported"
if the connection ever resets (e.g. due to brief network disconnect)

Fix attached



-- 
Thanks,

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cifs-fix-reconnect-with-SMB1-UNIX-Extensions.patch
Type: text/x-patch
Size: 1728 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20240723/d794032b/0001-cifs-fix-reconnect-with-SMB1-UNIX-Extensions.bin>


More information about the samba-technical mailing list