mount.cifs fails with user=domain/name in 14.04.1

Bug #1384624 reported by Thierry Guérin
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
cifs-utils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

when mounting a Samba share, the user parameter is incorrectly parsed in 14.04.1 (this works in 12.04 and should work according to the man page):
mount.cifs //host/share /mnt/share -o user=domain/login,password=*** fails with error:
mount error(13): Permission denied

whereas
mount.cifs //host/share /mnt/share -o domain=domain,user=login,password=*** works as expected

Had this error after upgrading from 12.04, and had to use tshark to figure out the problem: the Session Setup AndX request contained 'domain/login' as Account, and nothing as the Primary Domain

release info: lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04

cifs-utils:
  Installed: 2:6.0-1ubuntu2
  Candidate: 2:6.0-1ubuntu2
  Version table:
 *** 2:6.0-1ubuntu2 0
        500 http://fr.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cifs-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Johan Ryberg (jryberg) wrote :

Happy there is a work around to this issue.

Can verify it start work again when adding domain=<workgroup/domain>

Revision history for this message
Roberto Pensa (roberto16900) wrote :

the work around does not work on 14.04 LTS!
There is no problem to mount from a samba share on 12.04 LTS but not vice versa!
This is typical for the so called stable releases. Hope it will be fixed very soon, but
don't believe that.

Revision history for this message
Tobias Wrenger (tueftl) wrote :

Did you try to specify "user=login@domain" in the options (instead "user=domain\\login" and "user=login,domain=domain")?
For me, that worked. :-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.