mount.cifs does not handle username uid
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\
mount.cifs kernel mount options: ip=172.
$ sudo /sbin/mount.cifs \\\\project01\\dia$ mp --verbose -o user=dom\
mount.cifs kernel mount options: ip=172.
Mounting works in both cases, but the first does not have the desired permissions.