Linux CIFS filesystem development
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
To: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
Cc: "Igor Druzhinin"
	<jaxbrigs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	<linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: Build infrastructure for storing NTLM creds in kernel keyring
Date: Tue, 6 Jul 2010 07:09:32 -0400	[thread overview]
Message-ID: <20100706070932.093d8916@corrin.poochiereds.net> (raw)
In-Reply-To: <20100706070056.0b37e3d3-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>

On Tue, 6 Jul 2010 07:00:56 -0400
Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org> wrote:

> On Tue, 6 Jul 2010 14:04:44 +0400
> "Igor Druzhinin" <jaxbrigs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> 
> > As I saw current kernel code had no method for checking from userspace is 
> > the entered credentials are wrong without mount. Is it's right?
> 
> Correct. You really can't check without connecting to the server.

We certainly could have this tool use libsmbclient to connect to the
server and authenticate to test the creds. I wouldn't bother with that
for the initial implementation though -- keep it simple. Still it's
something to keep in mind while you're coding this up.

> 
> > But if user want to update them there are should be a mechanism for clearing 
> > old or wrong creds. As my opinion it may be something like --clear option.
> 
> Sounds good. You will want to be able to update or clear invalid creds.
> 
> > Besides, is it right to store multiple identical creds in keyring or creds 
> > with the same user and domain_host name?
> 
> Not sure that I see any point in multiple creds per user@host or
> user@domain. Only one will ever be valid for each combination. Why
> would you want multiple sets? How would you know which ones to use?
> 


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

  parent reply	other threads:[~2010-07-06 11:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100430091431.624ee020@tlielax.poochiereds.net>
     [not found] ` <EB4CC79E8F0546FF8AFBFD746C856421@lan.jax.org.ru>
     [not found]   ` <20100525121037.219129da@corrin.poochiereds.net>
     [not found]     ` <2AF95C52855747BABAE21349F35C773E@lan.jax.org.ru>
     [not found]       ` <20100601074406.5b8f7a87@tlielax.poochiereds.net>
     [not found]         ` <73A4A0D322484441A6CEF0FE91E5D263@lan.jax.org.ru>
     [not found]           ` <73A4A0D322484441A6CEF0FE91E5D263-PUkIMHyhFB22ZuJnPpCLiw@public.gmane.org>
2010-06-25 20:16             ` Build infrastructure for storing NTLM creds in kernel keyring Jeff Layton
2010-07-06 10:04               ` Igor Druzhinin
     [not found]                 ` <C3BD4CBCCAD04D9EA6E04D3B157A69A4-PUkIMHyhFB22ZuJnPpCLiw@public.gmane.org>
2010-07-06 11:00                   ` Jeff Layton
     [not found]                     ` <20100706070056.0b37e3d3-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2010-07-06 11:09                       ` Jeff Layton [this message]
2010-07-08 16:14 Igor Druzhinin
     [not found] ` <469B064927F7461992FFB15852A3B90F-PUkIMHyhFB22ZuJnPpCLiw@public.gmane.org>
2010-07-08 16:59   ` Jeff Layton
2010-07-08 17:28     ` Igor Druzhinin
     [not found]       ` <7E471FB7A6424D8595FEB4122BC8E0BA-PUkIMHyhFB22ZuJnPpCLiw@public.gmane.org>
2010-07-08 18:04         ` Jeff Layton
2010-07-09  8:54     ` Igor Druzhinin
     [not found] <CC75E34383A8445493DD41AF4F7E7857@lan.jax.org.ru>
     [not found] ` <20100721100503.672a735e@tlielax.poochiereds.net>
     [not found]   ` <9DFCDE0105DF4B70AEA82A8A2B2A2A94@lan.jax.org.ru>
     [not found]     ` <20100722093121.4c64b102@barsoom.rdu.redhat.com>
2010-07-29 13:52       ` Igor Druzhinin
     [not found]         ` <54DA210795E649C1A62B5E10BF366BB3-PUkIMHyhFB22ZuJnPpCLiw@public.gmane.org>
2010-08-04 11:31           ` Jeff Layton
2010-08-05 15:43             ` Igor Druzhinin
     [not found]               ` <9EE2EFBFF2304A849754EEE0F1C1CE29-PUkIMHyhFB22ZuJnPpCLiw@public.gmane.org>
2010-08-05 18:03                 ` Jeff Layton
2010-08-05 18:48                   ` Igor Druzhinin
     [not found]                     ` <583072918FF1484C9380D991E5A4E83C-PUkIMHyhFB22ZuJnPpCLiw@public.gmane.org>
2010-08-05 20:12                       ` Jeff Layton

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=20100706070932.093d8916@corrin.poochiereds.net \
    --to=jlayton-eunubhrolfbytjvyw6ydsg@public.gmane.org \
    --cc=jaxbrigs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox