mount.cifs on 13.04 fails to mount a samba share with 13: Permission Denied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cifs-utils (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I mount my samba shares with the following command:
sudo mount -t cifs -o user=admin,
On 12.10, the command works flawlessly and correctly mounts the share. After I upgraded to 13.04, the command no longer worked and always produced the following output:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Note that accessing the samba mount with krusader works correctly (I have to input the username/password of course).
I am no longer on Ubuntu 13.04 so I cannot provide exact versions of packages. But the error is reproducible on a fully updated Ubuntu 13.04 x86-32. My guess is that the error occurs because the password contains a dot character and the -o parameter gets parsed incorrectly. Or perhaps the password is too long (27 characters).
Thank you
Changed in cifs-utils (Ubuntu): | |
importance: | Undecided → Medium |
Changed in cifs-utils (Ubuntu): | |
assignee: | Jelmer Vernooij (jelmer) → nobody |
dmesg:
[ 1981.928924] FS-Cache: Loaded
[ 1981.986392] FS-Cache: Netfs 'cifs' registered for caching
[ 1981.986826] Key type cifs.spnego registered
[ 1981.986868] Key type cifs.idmap registered
[ 1991.507966] CIFS VFS: Send error in SessSetup = -13
[ 1991.508425] CIFS VFS: cifs_mount failed w/return code = -13
mount.cifs:
mount.cifs kernel mount options: ip=192. 168.1.104, unc=\\192. 168.1.104\ stuff,forceuid, uid=1000, gid=1000, user=admin, pass=** ******
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
The same mount.cifs works on Ubuntu 12.10 and lower.