[Bug 480650] [NEW] NetworkManager + vpnc doesn't work if user password is set to 'Not Required'

ThomasNovin thomas at xyz.pp.se
Wed Nov 11 11:58:08 UTC 2009


Public bug reported:

Binary package hint: network-manager-vpnc

If I try to connect to my VPN connection that uses VPNC with group name,
group password and user name but NOT user password this connection
fails.

Started NM from CLI and got this on my console:

NetworkManager: <info>  (eth0): device state change: 7 -> 8 (reason 0)
NetworkManager: <info>  (eth0): writing resolv.conf to /sbin/resolvconf
NetworkManager: <info>  Policy set 'Auto eth0' (eth0) as default for routing and DNS.
NetworkManager: <info>  Activation (eth0) successful, device activated.
NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete.
NetworkManager: Tried to set deprecated property gsm/band
NetworkManager: Tried to set deprecated property gsm/band
NetworkManager: <info>  Starting VPN service 'org.freedesktop.NetworkManager.vpnc'...
NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 3944
NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.vpnc' just appeared, activating connections
NetworkManager: <info>  VPN plugin state changed: 1
NetworkManager: <info>  VPN plugin state changed: 3
** Message: <info>  vpnc started with pid 3951

/usr/sbin/vpnc: missing Xauth password
NetworkManager: <info>  VPN connection 'X-sam' (Connect) reply received.

** (process:3944): WARNING **: <WARN>  vpnc_watch_cb(): vpnc exited with
error code 1

NetworkManager: <info>  VPN plugin failed: 1
NetworkManager: <info>  VPN plugin state changed: 6
NetworkManager: <info>  VPN plugin state change reason: 0
NetworkManager: <WARN>  connection_state_changed(): Could not process the request because no VPN connection was active.
NetworkManager: <info>  (eth0): writing resolv.conf to /sbin/resolvconf
NetworkManager: <info>  Policy set 'Auto eth0' (eth0) as default for routing and DNS.

So I guess it's related to the user password being blank.

It works fine if I run vpnc from cli instead.

thonov at thonov-ubuntu:~$ apt-cache policy network-manager-vpnc
network-manager-vpnc:
  Installed: 0.8~a~git.20091008t124012.f5b95a2-0ubuntu1
  Candidate: 0.8~a~git.20091008t124012.f5b95a2-0ubuntu1
  Version table:
 *** 0.8~a~git.20091008t124012.f5b95a2-0ubuntu1 0
        500 http://se.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

** Affects: network-manager-vpnc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
NetworkManager + vpnc doesn't work if user password is set to 'Not Required'
https://bugs.launchpad.net/bugs/480650
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list