Public bug reported:

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.

** Affects: cifs-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900295

Title:
  mount.cifs does not handle username uid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/900295/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to