On Tue, 6 Jul 2010 07:00:56 -0400 Jeff Layton <[email protected]> wrote:
> On Tue, 6 Jul 2010 14:04:44 +0400 > "Igor Druzhinin" <[email protected]> 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 u...@host or > u...@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 <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
