[linux-cifs-client] mount.cifs w/ sec=krb5i still non-op when DC != Fileserver

Jeff Layton jlayton at samba.org
Tue Mar 30 06:43:16 MDT 2010


On Wed, 24 Mar 2010 08:45:18 +0100
Harald Milz <hm at seneca.muc.de> 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 <jlayton at samba.org>


More information about the linux-cifs-client mailing list