Monday, August 10, 2009

VPNC setting problem on Ubuntu 9.04

I upgraded to Ubuntu 9.04. VPNC on Network Manager didn't work with an error message "VPN Connection failed because there were no valid VPN secrets." After searching the net, I found this is a bug reported in https://bugs.launchpad.net/ubuntu/+source/network-manager-vpnc/+bug/360818
Patrick Healy's patch solved this problem:

--- nm-vpnc-service.conf.fixed 2009-04-18 17:56:45.000000000 -0500
+++ nm-vpnc-service.conf 2009-04-18 17:57:37.000000000 -0500
@@ -6,6 +6,10 @@
<allow own="org.freedesktop.NetworkManager.vpnc">
<allow send_destination="org.freedesktop.NetworkManager.vpnc">
</policy>
+ <policy user="at_console">
+ <allow own="org.freedesktop.NetworkManager.vpnc">
+ <allow send_destination="org.freedesktop.NetworkManager.vpnc">
+ </policy>
<policy context="default">
<deny own="org.freedesktop.NetworkManager.vpnc">
<deny send_destination="org.freedesktop.NetworkManager.vpnc">

No comments: