Public bug reported:
Binary package hint: network-manager-vpnc
Running:
~$ lsb_release -rd
Description: Ubuntu hardy (development branch)
Release: 8.04
And using network-manager-vpnc_0.6.4svn2422-0ubuntu5 along with
vpnc_0.5.1r275-1, I attempt to log into my company's vpn concentrators.
After about 5 seconds, I get the following error:
VPN Connect Failure. Could not start the VPN connection 'XXXXXXXX' due
to a connection error. The VPN login failed because the VPN program
could not connect to the VPN server.
I stopped Network-Manager and started it manually so I could look at the
output. Here it is. Sensitive information has been "X'd" out.
NetworkManager: <info> Will activate VPN connection 'XXXXXXXXX', service
'org.freedesktop.NetworkManager.vpnc', user_name 'xxxx', vpn_data 'IPSec
gateway / xxx.xxx.xxx.xxx / IPSec ID / xxxxxx xxxxxxxxxx / Xauth username /
xxxxxxx', route ''.
NetworkManager: <info> VPN Activation (XXXXXXXXX) Stage 1 of 4 (Connection
Prepare) scheduled...
NetworkManager: <info> VPN Activation (XXXXXXXXX) Stage 1 of 4 (Connection
Prepare) ran VPN service daemon org.freedesktop.NetworkManager.vpnc (PID 6454)
NetworkManager: <info> VPN Activation (XXXXXXXXX) Stage 1 of 4 (Connection
Prepare) complete.
NetworkManager: <info> VPN Activation (XXXXXXXXX) Stage 2 of 4 (Connection
Prepare Wait) scheduled...
NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.vpnc'
signaled state change 1 -> 6.
NetworkManager: <info> VPN Activation (XXXXXXXXX) Stage 2 of 4 (Connection
Prepare Wait) waiting...
NetworkManager: <info> VPN Activation (XXXXXXXXX) Stage 2 of 4 (Connection
Prepare Wait) complete.
NetworkManager: <info> VPN Activation (XXXXXXXXX) Stage 3 of 4 (Connect)
scheduled...
NetworkManager: <info> VPN Activation (XXXXXXXXX) Stage 3 of 4 (Connect)
sending connect request.
NetworkManager: <info> VPN Activation (XXXXXXXXX) Stage 3 of 4 (Connect)
request sent, waiting for reply...
NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.vpnc'
signaled state change 6 -> 3.
** Message: <information> vpnc started with pid 6457
/usr/sbin/vpnc: warning: unknown configuration directive in stdin at line 2
/usr/sbin/vpnc: warning: unknown configuration directive in stdin at line 3
/usr/sbin/vpnc: warning: unknown configuration directive in stdin at line 9
NetworkManager: <info> VPN Activation (XXXXXXXXX) Stage 3 of 4 (Connect) reply
received.
NetworkManager: <info> VPN Activation (XXXXXXXXX) Stage 4 of 4 (IP Config Get)
timeout scheduled...
NetworkManager: <info> VPN Activation (XXXXXXXXX) Stage 3 of 4 (Connect)
complete, waiting for IP configuration...
Passcode for VPN [EMAIL PROTECTED]:
** Message: <information> Terminated vpnc daemon with PID 6457.
NetworkManager: <WARN> nm_vpn_service_process_signal(): VPN failed for service
'org.freedesktop.NetworkManager.vpnc', signal 'ConnectFailed', with message
'The VPN login failed because the VPN program could not connect to the VPN
server.'.
NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.vpnc'
signaled state change 3 -> 5.
NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.vpnc'
signaled state change 5 -> 6.
NetworkManager: <WARN> nm_vpn_service_stop_connection(): (VPN Service
org.freedesktop.NetworkManager.vpnc): could not stop connection 'XXXXXXXXX'
because service was 6.
NetworkManager: <debug> [1207708477.904701] nm_dbus_signal_filter():
NetworkManagerInfo triggered update of VPN connection 'XXXXXXXXX'
** (process:6454): WARNING **: <WARNING> vpnc_watch_cb (): vpnc
died with signal 15
After running vpnc manually, I found out that it is prompting like so:
~$ sudo vpnc example
Enter password for [EMAIL PROTECTED]:
Passcode for VPN [EMAIL PROTECTED]:
Connect Banner:
| Blah blah blah...Legaleze.
Some more blah.
|
VPNC started in background (pid: 6705)...
:~$ sudo vpnc-disconnect
Terminating vpnc daemon (pid: 6705)
If I leave the password prompt blank, then enter my passcode at the
passcode prompt, I am able to connect.
Notice in the output from Network Manger, it also prompts for
"Passcode", but never recieves a prompt as the dialog has already and
sent it's information to the password section.
After a little more digging, apparently to allow passcode authentication
in one shot, you need to use the "Xauth Interactive" option. I do not
see any option to allow this in gconf nor in any notes or settings
within Network Manager VPNC plugin.
Seeing as I don't see anything on this upstream, I will file there as
well.
** Affects: network-manager-vpnc (Ubuntu)
Importance: Undecided
Status: New
** Tags: network-manager-vpnc secureid vpn vpnc
--
Network Manager does not allow "Xauth Interactive"
https://bugs.launchpad.net/bugs/214405
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs