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

Steve French smfrench at gmail.com
Tue Jul 23 22:50:46 UTC 2024


updated to add missing #ifdef


On Tue, Jul 23, 2024 at 12:07 AM Steve French <smfrench at gmail.com> wrote:
>
> 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



-- 
Thanks,

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


More information about the samba-technical mailing list