Bug 1211785 - Unable to connect to Samba share using vers=1.0
Summary: Unable to connect to Samba share using vers=1.0
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Samba (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Paulo Alcantara
QA Contact: The 'Opening Windows to a Wider World' guys
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-29 04:48 UTC by John Bennett
Modified: 2023-06-12 15:11 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Bennett 2023-05-29 04:48:28 UTC
Tumbleweed
Samba V4.18.1
CIFS-Utils V7.0-2.2

Unable to connect to samba share on samba servers, with the option:
-o vers=1.0
eg
sudo mount //192.168.0.1/SeagateExpansionDrive/data /MyMnt -o user=admin,vers=1.0

Have tried connecting to multiple servers.

Result is:

sudo mount //192.168.0.1/SeagateExpansionDrive/data /MyMnt -o user=admin,vers=1.0
Password for admin@//192.168.0.1/SeagateExpansionDrive/data: 
mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

Trying to connect using other client (Ubuntu/Windows tested) works OK.

This was working OK prior to reinstall approx 1 month ago.
Comment 1 Paulo Alcantara 2023-05-30 15:00:08 UTC
Hi John,

Thanks for the report.

This is a known regression and has recently been fixed by [1] as well
as marked for v6.2+ stable.  Next maintenance updates on Tumbleweed
will have the fix.

In the meantime, feel free to try

   https://build.opensuse.org/package/show/home:pauloac:kernel-bsc1211785/kernel-default

which contains [1] backported.  Please let us know if the fix works
for you.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=72a7804a667eeac98888610521179f0418883158
Comment 2 Paulo Alcantara 2023-06-07 15:55:42 UTC
Ping?
Comment 3 John Bennett 2023-06-08 11:16:28 UTC
Hi Paulo,
Sorry, not totally conversant with adding kernels etc, am waiting for the update at this point...
Have actually got it working with vers=2.0 (an issue with the router made that a bit tricky... and was why I was trying to get working with vers=1.0)

Thanks for your assistance.
Comment 4 Paulo Alcantara 2023-06-08 18:47:12 UTC
Hi John,

No problem.  If you still want to try it, just run

   # zypper ar https://download.opensuse.org/repositories/home:/pauloac:/kernel-bsc1211785/standard/ kernel-bsc1211785
   # zypper ref
   # zypper in --force --repo kernel-bsc1211785 kernel-default
   # reboot

Then, make sure you booted to new kernel and try mounting it again
with 'vers=1.0'.
Comment 5 Paulo Alcantara 2023-06-12 15:11:11 UTC
Hi John,

The regression fix is now available in tumbleweed kernel-default-6.3.6-1.1.

Closing.  Feel free to re-open if issue still occurs.