Bug 259893 - networkmanager plasma widget fails to ask for VPNC password when password is set to always ask
Summary: networkmanager plasma widget fails to ask for VPNC password when password is ...
Status: RESOLVED FIXED
Alias: None
Product: Network Management
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-14 22:17 UTC by Robert LeBlanc
Modified: 2011-03-14 19:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert LeBlanc 2010-12-14 22:17:11 UTC
Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

If a VPNC connection is configured to always ask for a password then when you try to connect there is no prompt for a password and connection to the VPN tries without a password and fails. When you configure VPNC to store the password it works just fine.

Reproducible: Always

Steps to Reproduce:
Configure a VPNC connection to always ask for a password. Try to connect to the VPN.

Actual Results:  
Nothing happens in the widget, it still shows disconnected. In the system logs, you see:
Dec 14 13:41:01 picard NetworkManager[1561]: <info> Starting VPN service 'org.freedesktop.NetworkManager.vpnc'...
Dec 14 13:41:01 picard NetworkManager[1561]: <info> VPN service 'org.freedesktop.NetworkManager.vpnc' started (org.freedesktop.NetworkManager.v
pnc), PID 3036
Dec 14 13:41:01 picard kernel: [  192.883636] tun: Universal TUN/TAP device driver, 1.6
Dec 14 13:41:01 picard kernel: [  192.883638] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Dec 14 13:41:01 picard NetworkManager[1561]: <info> VPN service 'org.freedesktop.NetworkManager.vpnc' appeared, activating connections
Dec 14 13:41:01 picard NetworkManager[1561]: <info> VPN plugin state changed: 1
Dec 14 13:41:04 picard NetworkManager[1561]: <info> VPN plugin state changed: 3
Dec 14 13:41:04 picard NetworkManager[1561]: <info> VPN connection 'My VPNC' (Connect) reply received.
Dec 14 13:41:04 picard NetworkManager[1561]: <warn> VPN plugin failed: 1
Dec 14 13:41:04 picard NetworkManager[1561]: <info> VPN plugin state changed: 6
Dec 14 13:41:04 picard NetworkManager[1561]: <info> VPN plugin state change reason: 0
Dec 14 13:41:04 picard NetworkManager[1561]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active
.


Expected Results:  
VPN connection should be established and status shown in the widget.
Comment 1 Divan Santana 2011-01-28 15:30:58 UTC
This is much improved but not quite fixed yet.

Using archlinux and following packages:
kde 4.6
kdeplasma-applets-networkmanagement git20110126-2
networkmanager 0.8.3-0.20110113
networkmanager-vpnc 0.8.2-1
vpnc-fnb 0.5.3-1

If you set "User Password" to "Always Ask" it now pops up (in the background unfortunately) with a group password(filled in as it's correctly set to store password) and a user password field which is blank.
However one can not click and enter any data into the above field therefore it obviously fails.

It's sooo close to working.

Is this an upstream bug/work in progress or does it work on your side?

Jan 28 16:27:20 htf3333000l NetworkManager[4906]: <info> Starting VPN service 'vpnc'...
Jan 28 16:27:20 htf3333000l NetworkManager[4906]: <info> VPN service 'vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 7339
Jan 28 16:27:20 htf3333000l NetworkManager[4906]: <info> VPN service 'vpnc' appeared; activating connections
Jan 28 16:27:20 htf3333000l NetworkManager[4906]: <info> VPN plugin state changed: 1
Jan 28 16:27:38 htf3333000l NetworkManager[4906]: <info> VPN plugin state changed: 3
Jan 28 16:27:38 htf3333000l NetworkManager[4906]: <info> VPN connection 'blah' (Connect) reply received.
Jan 28 16:27:38 htf3333000l NetworkManager[4906]: <warn> VPN plugin failed: 1
Jan 28 16:27:38 htf3333000l NetworkManager[4906]: <info> VPN plugin state changed: 6
Jan 28 16:27:38 htf3333000l NetworkManager[4906]: <info> VPN plugin state change reason: 0
Jan 28 16:27:38 htf3333000l NetworkManager[4906]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active
Comment 2 Divan Santana 2011-02-10 12:38:19 UTC
This is fixed and fully working now.
This bug can be closed and resolved :)

kde 4.6
kdeplasma-applets-networkmanagement git20110126-2
networkmanager 0.8.3-0.20110113
networkmanager-vpnc 0.8.2-1
vpnc 0.5.3-1

Not sure of what changed since last time, packages above seem the same. Perhaps newer kde builds updates in arch. Either way this is fully working now. :)