All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
To: Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Suresh Jayaraman <sjayaraman-IBi9RG/b67k@public.gmane.org>,
	Stef Bon <stefbon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linux-cifs <linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	David Howells <dhowells-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: How to test multiusermount?
Date: Fri, 4 Nov 2011 20:46:25 -0400	[thread overview]
Message-ID: <20111104204625.3d47fd26@corrin.poochiereds.net> (raw)
In-Reply-To: <CAH2r5muM1_pftwtc=C29-jV5HC-SrwCanmEFPwkDxQpyO6f=rg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Fri, 4 Nov 2011 11:25:43 -0500
Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> On Fri, Nov 4, 2011 at 9:02 AM, Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org> wrote:
> > On Fri, 4 Nov 2011 00:56:16 -0500
> > Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >
> >> On Fri, Nov 4, 2011 at 12:34 AM, Suresh Jayaraman <sjayaraman@suse.com> wrote:
> >> > On 11/01/2011 03:34 PM, Jeff Layton wrote:
> >> >> On Tue, 1 Nov 2011 00:12:21 +0100
> >> >> Stef Bon <stefbon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >> >>
> >> >>> Hi,
> >> >>>
> >> >>> I would like to test the multiusermounts?
> >> >>>
> >> >>> I know to set:
> >> >>>
> >> >>>  echo 1 > /proc/fs/cifs/MultiuserMount
> >> >>>
> >> >>> and add an option to the mount command, but I can remember/read somewhere
> >> >>> that one have to add some mapping somehwere:
> >> >>>
> >> >>> local user : remote user
> >> >>> ...
> >> >>>
> >> >>> Is this correct?
> >> >>>
> >> >>
> >> >> No. The MultiuserMount code that the above switch activates is
> >> >> basically deprecated (and never worked very well in the first place).
> >> >
> >> > So, time for planning its good riddance?
> >>
> >> Mainly waiting for some way to have ntlmv2 enablement of multiuser
> >> mount (krb5 only is too restrictive).
> >>
> >
> > Right. The new multiuser code only works with krb5 so far. I
> > think in order to deprecate the old code, we need to do the following:
> >
> > 1) the cifscreds program in cifs-utils will need to be cleaned up and
> > completed. This would allow users to stash their NTLM creds in the
> > kernel's keyring. This includes username and password, and some info
> > about which creds should be used with which servers (or NT domains).
> > The existing format for stashing those creds is probably not what we
> > need so this is a bit of work and redesign I think.
> >
> > 2) code will need to be added to the kernel to fetch NTLM auth info out
> > of the kernel keyring for establishing new sessions.
> >
> > 3) better documentation for multiuser mounts. This is always an issue,
> > but multiuser is more complicated so we'll really need this.
> >
> > At that point, I think we can schedule the old multiuser code for
> > deprecation.
> 
> Yes.  Also note probable need for optional winbind integration
> to fetch creds (or winbind -> kernel keyring tie so we can get
> at these creds as needed)
> 

That's a nice-to-have, and something that can be added after we have
basic support for NTLM credential stashing in the kernel.

Cheers,
-- 
Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>

      parent reply	other threads:[~2011-11-05  0:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-31 23:12 How to test multiusermount? Stef Bon
     [not found] ` <CANXojcwxf0aD=_18_6D6=WkG86F9Qx4PTf7F=2husGbASac6hA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-10-31 23:14   ` Steve French
2011-11-01 10:04   ` Jeff Layton
     [not found]     ` <20111101060428.5d474bb9-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2011-11-02 15:56       ` Stef Bon
     [not found]         ` <CANXojcx0=j-hLOEO3qQyx65C8mB4sQ6mLhT5AY9vPtwcko5HAQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-02 19:08           ` Jeff Layton
2011-11-04  5:34       ` Suresh Jayaraman
     [not found]         ` <4EB37983.3080607-IBi9RG/b67k@public.gmane.org>
2011-11-04  5:56           ` Steve French
2011-11-04 14:02             ` Jeff Layton
     [not found]               ` <20111104100231.57ad94d6-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2011-11-04 16:25                 ` Steve French
     [not found]                   ` <CAH2r5muM1_pftwtc=C29-jV5HC-SrwCanmEFPwkDxQpyO6f=rg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-05  0:46                     ` Jeff Layton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111104204625.3d47fd26@corrin.poochiereds.net \
    --to=jlayton-eunubhrolfbytjvyw6ydsg@public.gmane.org \
    --cc=dhowells-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sjayaraman-IBi9RG/b67k@public.gmane.org \
    --cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=stefbon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.