mount.cifs does not handle username uid

Bug #900295 reported by Tobias Richter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cifs-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

According to the man page you are supposed to be able to use username or numerical id as argument to uid. But username does not work in ubuntu 11.10. Instead it passes 0 as default for unknown id. I am not running any non std pam or user management stuff that could be to blame for this.

$ sudo /sbin/mount.cifs \\\\project01\\dia$ mp --verbose -o user=dom\\tsr,rw,uid=tsr
mount.cifs kernel mount options: ip=172.23.12.18,unc=\\project\dia$,uid=0,ver=1,user=tsr,domain=dom,pass=********

$ sudo /sbin/mount.cifs \\\\project01\\dia$ mp --verbose -o user=dom\\tsr,rw,uid=1000
mount.cifs kernel mount options: ip=172.23.12.18,unc=\\project01\dia$,uid=1000,ver=1,user=tsr,domain=dom,pass=********

Mounting works in both cases, but the first does not have the desired permissions.

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.