Re: mount.cifs w/ sec=krb5i still non-op when DC != Fileserver

Jeff Layton <[email protected]>
Newsgroups gmane.linux.file-systems.cifs
Message-ID <[email protected]>
On Wed, 24 Mar 2010 08:45:18 +0100
Harald Milz <[email protected]> wrote:

> 
> One thing that I came across is the behaviour of mount.cifs / cifs.upcall (not
> sure which) concerning the uid= option, which I think is wrong.  Methinks the
> option should only be used to explicitly set the ownership of the mounted
> share as documented in the mount.cifs man page, and not interfere with getting
> a service ticket.   
> 

I think this is a good idea. We could have the kernel determine the
real uid of the process that's initiating the mount and have the upcall
use that instead of the uid= passed in via the mount options. Or...we
could have the mount helper determine this and pass in a "creduid" in
the mount options.

The only thing that makes me hesitate is that we probably have existing
users who are dependent on the current behavior. If we can come up with
a way to transition them smoothly, then I'm all for making this change.

-- 
Jeff Layton <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.