Bugzilla – Bug 157843
NM doesn't prompt you for a new password when saved vpn password changes
Last modified: 2006-03-15 17:06:03 UTC
I was forced to change my password, and then the next time I tried to connect to the vpn, it failed, with a "user or password incorrect" error. But it didn't let me change the password. I had to go and delete it from gnome-keyring-manager. This might be specific to NM-vpnc
GNOME keyring? You could do VPN -> Configure -> Edit and change the username and/or password, no?
... You can change the username and password in the VPN configuration tool.
oops, forgot to reply. This is with NetworkManager-vpnc. There is no password field in its edit dialog.
Oh, got it. This needs to be fixed.
Wait. The next time you try to connect, it asks for the password. Its hard to ask for the password in response to the failure because of the plugin nature of the VPN. But the applet should recheck username/password on subsequent connections following an error. Did you not see this, or is this not sufficient?
I assumed it would just fail again if I tried again, so I didn't try again until after I'd deleted the password from my keyring. Does it actually understand what the error is or is it just echoing an error string from the server that it doesn't know how to interpret? If it knows what went wrong, it seems like it ought to let you correct it right then and there, rather than making you tell it to reconnect and then asking for the info. But if it doesn't actually understand the error, then I don't know if there's anything better it could do than what it does now.
It just echoes an error string. I suppose we could snag the string and parse it, but the code to handle this case is going to be quite large -- involving the VPN daemons, NM daemon, and the applet. I just tested that it prompts for the username/password on reconnect when the login fails. With the Code10 code freeze in place, WONTFIX.