help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: auth-source multiple accounts


From: Uday S Reddy
Subject: Re: auth-source multiple accounts
Date: Wed, 08 Dec 2010 15:21:19 -0000
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Ted Zlatanov wrote:

I mean "machine" will still be the server name but VM will also pass an
optional (account "xyz") query parameter to
auth-source-user-or-password, which will find "account xyz" in the netrc
file.

I'll add another optional parameter QUERIES to
auth-source-user-or-password.  It will be an alist.  When a query is not
specified you'd still get the first match (thus it's backwards
compatible).  Does all that sound reasonable?

Adding a QUERIES parameter is good but I would urge you to allow (login "xyz") as a possible query.

For looking up email passwords, the "account" attribute seems like an overkill. What would users put as their "account", if not their login id? Since they are already using the "login" parameter to write their login id, it seems like unnecessary duplication.

Thanks for all your help!

Cheers,
Uday


reply via email to

[Prev in Thread] Current Thread [Next in Thread]