FS#78558 - [kernel][cifs] Failure to monut CIFS v1 shares
Attached to Project:
Arch Linux
Opened by hotice (hotice) - Saturday, 20 May 2023, 07:14 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 31 May 2023, 22:45 GMT
Opened by hotice (hotice) - Saturday, 20 May 2023, 07:14 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 31 May 2023, 22:45 GMT
|
Details
Description: Kernel 6.3.2 failure to mount external samba
cifs v1 shares
Additional info: Failure to mount old external Windows smb shares v1 (either from fstab or manually). Affected arch kernels: linux-6.3.2-arch1-1 (64-bit) Latest working version of arch kernel is linux-6.3.1-arch1-1 (64-bit). Works in fstab without smb.conf file. Steps to reproduce: sudo mount -t cifs //pc/share /tmp/share -o vers=1.0,cred=/etc/samba/.cred/share mount error(5): Input/output error Related: same fstab setup as in https://bugs.archlinux.org/task/76939 Kernel quality just build back better) |
This task depends upon
Closed by Toolybird (Toolybird)
Wednesday, 31 May 2023, 22:45 GMT
Reason for closing: Fixed
Additional comments about closing: linux 6.3.5.arch1-1
Wednesday, 31 May 2023, 22:45 GMT
Reason for closing: Fixed
Additional comments about closing: linux 6.3.5.arch1-1
temp workaround: downgrade linux 6.3.2 > 6.3.1 works.
Syslog module CIFS VFS: cifs_mount failed w/return code = -5
A samba debug-3 on the server reveals that the server responds with "not a dfs root"
and the connection closes. In previous versions, this was not a fatal answer.
Workaround: add "nodfs" behind vers=1.0, then it works again.
get_referred_path: |hj| in dfs path \nslu\hj is not a dfs root.
error packet at smbd/trans2.c(8481) cmd=50 (SMBtrans2) NT_STATUS_NOT_FOUND
Transaction 5 of length 43 (0 toread)
switch message SMBulogoffX (pid 710) conn 0x0
ulogoffX vuid=100
amd (192.168.1.2) closed connection to service IPC$
Yielding connection to IPC$
Server exit (failed to receive smb request)
Terminated
@loqs So should we take adding this extra option as a long-term solution or a bug as samba version 1 is explicitly stated thus support for MS DFS shouldn't be expected?
[1] https://github.com/archlinux/linux/commit/83cd26c4f25130ae0e2bdc7c82c5ff204ff9fd67