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 Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1742735
Title:
CIFS client: access problems after updating to kernel
4.13.0-26-generic
Status in linux package in Ubuntu:
Incomplete
Bug description:
Hello I've the kernel version 4.13.0-26 and I'm experiencing problem
mounting CIFS:
# sudo mount -t cifs //mydomain.com/documents /home/nico/mnt/documents -o
user=nico
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
This works correctly with the kernel before.
This is a bug with high impact and need to solve as soon as possible.
Thanks for help
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1742735/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp