Hi,

I had the same issue today and finally found a solution.
The problem  is with the kerberos ticket file ownership.
When mount is called using sudo, cifs.upcall searchs for a cache file owned by 
root.
Using the cruid option when calling mount.cifs, you can specify the ownership 
to search/use.

Here is my command :
/usr/bin/sudo -- /sbin/mount.cifs //my-server/my-share /my/mountpoint -o uid=$( 
id -u ),gid=$( id -g ),sec=krb5,cruid=$( id -u )

Hope this helps.

(Tested on Ubuntu 12.04.3 LTS)

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

Title:
  mount.cifs cannot mount with kerberos

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to