connman.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: John Keeping <john@metanate.com>
To: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Cc: "connman@lists.linux.dev" <connman@lists.linux.dev>
Subject: Re: No password prompt after wrong entry
Date: Thu, 8 Sep 2022 15:12:41 +0100	[thread overview]
Message-ID: <20220908151241.3fb95a89.john@metanate.com> (raw)
In-Reply-To: <ef8ef3d5-3786-6064-605b-7d668a8d92bb@collabora.com>

On Thu, 8 Sep 2022 10:52:11 -0300
Ariel D'Alessandro <ariel.dalessandro@collabora.com> wrote:

> I have a question regarding the expected behavior on connmanctl.
> 
> After trying to connect to a network using a wrong password, connman
> returns `connect-failed`. Further attempts to connect won't prompt for a
> new password, so it will use the same old wrong one and keep returning
> `connect-failed`.
> 
> After manually removing the network, re-connecting will prompt for a new
> password and the connection will succeed. Is this the expected behavior
> or it should automatically prompt after a wrong password entry?

What version of connman are you using?

There is a bug in 1.40 which was fixed by commit fe5c1436 ("agent:
Always inform upper layer via callback") that has precisely the symptoms
you're describing.

  reply	other threads:[~2022-09-08 14:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-08 13:52 No password prompt after wrong entry Ariel D'Alessandro
2022-09-08 14:12 ` John Keeping [this message]
2022-09-08 14:22   ` Ariel D'Alessandro

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=20220908151241.3fb95a89.john@metanate.com \
    --to=john@metanate.com \
    --cc=ariel.dalessandro@collabora.com \
    --cc=connman@lists.linux.dev \
    /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).