From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Layton Subject: Re: Build infrastructure for storing NTLM creds in kernel keyring Date: Tue, 6 Jul 2010 07:00:56 -0400 Message-ID: <20100706070056.0b37e3d3@corrin.poochiereds.net> References: <20100430091431.624ee020@tlielax.poochiereds.net> <20100525121037.219129da@corrin.poochiereds.net> <2AF95C52855747BABAE21349F35C773E@lan.jax.org.ru> <20100601074406.5b8f7a87@tlielax.poochiereds.net> <73A4A0D322484441A6CEF0FE91E5D263@lan.jax.org.ru> <20100625161632.5f9378b2@tlielax.poochiereds.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: To: "Igor Druzhinin" Return-path: In-Reply-To: Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Tue, 6 Jul 2010 14:04:44 +0400 "Igor Druzhinin" 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. > 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