9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <russcox@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] factotum & invalid entries
Date: Sat,  5 Feb 2005 15:12:54 -0500	[thread overview]
Message-ID: <ee9e417a0502051212231fdd53@mail.gmail.com> (raw)
In-Reply-To: <opslqliny03anw4g@tiitl.aprote.com>

> I don't have a secstore. Each time I connect to, say, sources, and I type
> either an incorrect username or password, I can't connect (authentication
> fails) until I clean factotum's database and get it correct the first time.

I think you are half-mistaken.  If you type a bad password, it should be
no big deal.  If you type a bad user name, that's when you get the
infinite loop.

> What exactly happens when authentication fails and factotum re-prompts
> the user for credentials?

If you type the same user name and a new password, then factotum
replaces the bad key, and all is well.  But if you type the wrong user name
the first time and then get it right the second time, factotum won't think
the two keys match (the user names are different!) so your key gets
added to the end of the list.  Factotum looks for keys to use from the
beginning of the list, so it finds the bad key again, and adding more
keys isn't going to help.

I changed things so that the new keys get inserted at the beginning
of the list.  That should help a bit.

Russ


  reply	other threads:[~2005-02-05 20:12 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-04  5:45 [9fans] netpbm tapique
2005-02-04  7:00 ` arisawa
2005-02-04  7:17   ` Lucio De Re
2005-02-04  8:06     ` geoff
2005-02-04  9:06       ` Lucio De Re
2005-02-04  9:13       ` Lucio De Re
2005-02-04 21:38       ` boyd, rounin
2005-02-05  1:35         ` geoff
2005-02-05  1:41           ` andrey mirtchovski
2005-02-05  1:45             ` geoff
2005-02-05  1:47             ` geoff
2005-02-05  6:19         ` Bruce Ellis
2005-02-04  8:52     ` arisawa
2005-02-04  9:03       ` arisawa
2005-02-04  9:16         ` Lucio De Re
2005-02-04 14:07           ` arisawa
2005-02-04 14:32             ` Sam
2005-02-04 15:54               ` andrey mirtchovski
2005-02-07  6:57                 ` Lucio De Re
2005-02-04  9:31       ` C H Forsyth
2005-02-04  9:33         ` Tiit Lankots
2005-02-04 16:47         ` Derek Fawcus
2005-02-04 16:49           ` Ronald G. Minnich
2005-02-04 16:52             ` Charles Forsyth
2005-02-04 21:45           ` boyd, rounin
2005-02-04 22:02             ` Ronald G. Minnich
2005-02-04 22:08               ` boyd, rounin
2005-02-05 18:26         ` [9fans] factotum & invalid entries Tiit Lankots
2005-02-05 20:12           ` Russ Cox [this message]
2005-02-04 12:32 ` [9fans] netpbm arisawa
2005-02-04 14:00   ` arisawa
2005-02-06  2:45 [9fans] factotum & invalid entries YAMANASHI Takeshi
2005-02-06 16:12 ` Russ Cox
2005-02-06 20:00   ` Tiit Lankots
2005-02-07  5:25   ` Lucio De Re
2005-02-07  5:42     ` arisawa
2005-02-07  6:03       ` Lucio De Re
2005-02-07  6:47         ` arisawa
2005-02-07  7:26           ` Lucio De Re
2005-02-07  8:09             ` arisawa
2005-02-07  8:55               ` Lucio De Re
2005-02-07  9:15                 ` arisawa
2005-02-07 10:05                   ` Lucio De Re
2005-02-08  5:12                     ` Russ Cox
2005-02-08 16:36                       ` rog
2005-02-08 16:42                         ` Russ Cox
2005-02-08 16:55                           ` Lucio De Re
2005-02-08 16:51                             ` rog
2005-02-08 16:52                             ` Devon H. O'Dell
2005-02-08 17:08                               ` Lucio De Re
2005-02-08 17:10                                 ` rog
2005-02-13 20:03 ` Russ Cox
2005-02-14  2:35 YAMANASHI Takeshi
2005-02-14  3:42 ` Russ Cox

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=ee9e417a0502051212231fdd53@mail.gmail.com \
    --to=russcox@gmail.com \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).