All of lore.kernel.org
 help / color / mirror / Atom feed
* multiuser mount without initial mount credentials
@ 2013-11-13 23:14 Orion Poplawski
       [not found] ` <528407E4.3030205-CVdf0l11yl+B+jHODAdFcQ@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Orion Poplawski @ 2013-11-13 23:14 UTC (permalink / raw)
  To: linux-cifs-u79uwXL29TY76Z2rM5mHXA

Is there any possibility of removing the requirement to have an initial set of 
credentials when mounting a cifs filesystem as multiuser?  I'd like to have an 
automount driven multiuser configuration without the need to have a separate 
set of credentials just for mounting.  Could we imaging some way for the 
automount process to access a keyring stored credential for use in mounting?

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion-CfuHcwXVrUc@public.gmane.org
Boulder, CO 80301                   http://www.nwra.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: multiuser mount without initial mount credentials
       [not found] ` <528407E4.3030205-CVdf0l11yl+B+jHODAdFcQ@public.gmane.org>
@ 2013-11-14 13:14   ` Jeff Layton
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Layton @ 2013-11-14 13:14 UTC (permalink / raw)
  To: Orion Poplawski; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA

On Wed, 13 Nov 2013 16:14:44 -0700
Orion Poplawski <orion-CVdf0l11yl+B+jHODAdFcQ@public.gmane.org> wrote:

> Is there any possibility of removing the requirement to have an initial set of 
> credentials when mounting a cifs filesystem as multiuser?  I'd like to have an 
> automount driven multiuser configuration without the need to have a separate 
> set of credentials just for mounting.  Could we imaging some way for the 
> automount process to access a keyring stored credential for use in mounting?
> 

One possibility would be to teach the kernel how to use an anonymous
logon (equivalent to what we do with sec=none) for the initial mount.
That would take a bit of reengineering but it's possible.

Also, if you pass credentials to the mount command then those
credentials will just be used for root access. e.g. something like this:

    sec=ntlmssp,username=foo,password=bar,multiuser

You probably don't want to put that in a mount command, but you could
use a credentials file (see mount.cifs(8)).

-- 
Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-14 13:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-13 23:14 multiuser mount without initial mount credentials Orion Poplawski
     [not found] ` <528407E4.3030205-CVdf0l11yl+B+jHODAdFcQ@public.gmane.org>
2013-11-14 13:14   ` Jeff Layton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.