cifs mount error when specifying prefixpath and having as part of the path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cifs-utils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Recently some of my cifs mounts have stopped working. This could have happened due to an upgrade on the server (over which I do not have any control) or if there was a package update to cifs-utils.
The issue I am seeing is if I try to mount a subdirectory of the network share, by appending the path to the unc when mounting, the mount fails with mount error(22): invalid argument
$mount.cifs -vvv //sol.ita.
domain=NET
mount.cifs kernel mount options: ip=129.
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
If I specify the prefixpath via an option the mount succeeds.
$mount.cifs -vvv //sol.ita.
domain=NET
mount.cifs kernel mount options: ip=129.
I don't really see any difference between the mount options, so I don't understand what's going on. Also smbclient and gvfs can mount the path without issues.
$ mount.cifs -V
mount.cifs version: 6.6
$ lsb_release -rd
Description: Ubuntu 17.04
Release: 17.04
$ uname -a
Linux MC2-F093 4.10.0-33-generic #37-Ubuntu SMP Fri Aug 11 10:55:28 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux