** Attachment added: "ProcEnviron.txt"
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
default vers value when mounting cifs shares with mount.cifs not
Status in linux package in Ubuntu:
Firstly, apologies if this isn't a bug in cifs.mount - I know it's
intimitly connected to a recent kernel updates which changed the
default SMB version cifs connects with, but I'm having trouble
distinguishing whether this behaviour is caused by the kernel change
or a problem with cifs.
On a recently built 16.04.3 LTS box with kernel 4.4.0-109, I was able
to mount to a network DFS share with the following
mount.cifs -o user=username //pathto/share /mountpoint
and after doing so, I was able to navigate through the mounted share,
and through the underlying DFS structure with no problems. The mount
command notably contained 'vers=1.0' - which was expected.
After updating the kernel to 220.127.116.11, if I run the same command, the
share appears to mount, but I get a 'cannot access ...: Input/Output
error' when trying to move through a DFS mount within the mounted
Notably, the output from the mount command has 'vers=default'.
I understand from various sources, that the default SMB vers is now
3.0 - and if I mount this share explicitly with
mount.cifs -o user=username,vers=3.0 //pathto/share /mountpoint
Then I see 'vers=3' on the output from mount, and am able to use the
share as expected.
The man page for the cifs.mount cmd still says the default is SMB1.0
(this appeared to be the case with a kernel previous to 4.13). The
kernel sources now say the default is SMB 3.0 - which would also be
find, if the share is mounted with vers=3.0.
But instead I'm seeing 'vers=default' - and I'm unsure as to what
version of SMB it's actually trying to use (if any) - whatever it is,
it doesn't work unless I explicitly set vers=3.0.
crw-rw---- 1 root audio 116, 1 Feb 13 12:02 seq
crw-rw---- 1 root audio 116, 33 Feb 13 12:02 timer
AplayDevices: Error: [Errno 2] No such file or directory
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq',
'/dev/snd/timer'] failed with exit code 1:
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2017-07-11 (217 days ago)
InstallationMedia: Ubuntu-Server 16.04.2 LTS "Xenial Xerus" - Release amd64
IwConfig: Error: [Errno 2] No such file or directory
Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: VMware, Inc. VMware Virtual Platform
Package: linux (not installed)
ProcVersionSignature: Ubuntu 4.13.0-32.35~16.04.1-generic 4.13.13
RfKill: Error: [Errno 2] No such file or directory
Uname: Linux 4.13.0-32-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.vendor: Phoenix Technologies LTD
dmi.board.name: 440BX Desktop Reference Platform
dmi.board.vendor: Intel Corporation
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.vendor: No Enclosure
dmi.product.name: VMware Virtual Platform
dmi.sys.vendor: VMware, Inc.
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~kernel-packages
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp