I see same issue on Xenial upgraded to 4.13.0-32.35~16.04.1

# mount.cifs //10.1.0.1/test /mnt/ -o user=guest
Password for guest@//10.1.0.1/test:  **
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

# dmesg
...
[   45.646461] No dialect specified on mount. Default has changed to a more 
secure dialect, SMB3 (vers=3.0), from CIFS (SMB1). To use the less secure SMB1 
dialect to access old servers which do not support SMB3 specify vers=1.0 on 
mount. For somewhat newer servers such as Windows 7 try vers=2.1.
[   45.656687] CIFS VFS: cifs_mount failed w/return code = -22

When I try to mount share with SMB1 it works

# mount.cifs //10.1.0.1/test /mnt/ -o user=guest,vers=1.0
Password for guest@//10.1.0.1/test:  *****

# mount -t cifs
//10.1.0.1/test on /mnt type cifs 
(rw,relatime,vers=1.0,cache=strict,username=guest,domain=,uid=0,noforceuid,gid=0,noforcegid,addr=10.1.0.1,unix,posixpaths,serverino,mapposix,acl,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1)

I can see same issue (cifs not mounting) on other 4.13 kernels
(4.13.0-31.34~16.04.1, 4.13.0-16.19~16.04.3)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1742735

Title:
  CIFS client: access problems after updating to kernel
  4.13.0-26-generic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1742735/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to