After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 551939 - VPN configuration export does not work
VPN configuration export does not work
Status: RESOLVED INVALID
Product: NetworkManager
Classification: Platform
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks:
 
 
Reported: 2008-09-12 10:45 UTC by Alexey Balmashnov
Modified: 2010-06-13 15:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexey Balmashnov 2008-09-12 10:45:04 UTC
Please describe the problem:
Configured VPN connection can not be exported to a file.

Steps to reproduce:
1. Configure VPN connection
2. Try to Export it to a file

Actual results:
I obtain a cryptic error message dialog:
===
Cannot export VPN connection

The VPN connection 'vpn_test' could not be exported to vpn_test (pptp).conf.

Error: unknown error.
===

Expected results:
Configuration saved to a file.

Does this happen every time?
Yes.

Other information:
Comment 1 tama 2008-11-02 00:07:47 UTC
I've got the same error when exporting.

Besides, I can't import an openvpn config file, I keep getting this message:

Error: The file to import wasn't a valid OpenVPN client configuration..
Comment 2 Ronan Paixão 2008-11-08 18:38:59 UTC
I can confirm this.
Actually, there are many problems with import/export functionality.

First of all, NM won't export VPN settings at all (tested with both openvpn and pptp plugins).
Then, NM won't import configurations correctly. It won't import PPTP settings, and will only import parts of OpenVPN's config.
Then it won't import settings exported with previous NM versions.

Using NM version  0.7~~svn20081018t105859-0ubuntu1, from Ubuntu 8.10
Comment 3 Jesper Skytte Hansen 2008-11-14 09:52:27 UTC
I can confirm this too,

Only tried with OpenVPN import/export function, neither worked.

Using NM version 0.7~~svn20081018t105859-0ubuntu1 in Intrepid
Comment 4 Dmitry Korzhevin 2008-11-26 00:22:51 UTC
I confirm this bug in Ubuntu 8.10
network-manager Version: 0.7~~svn20081018t105859-0ubuntu1
Comment 5 Kjell Braden 2008-12-01 14:18:44 UTC
It's a bug in both the openvpn and the pptp parts (/trunk/vpn-daemons/{pptp,openvpn}/properties/import-export.c). They don't seem to support export yet. However, they should provide a sensible error message. Importing with PPTP doesn't work for the same reasons.
Comment 6 Dan Williams 2009-03-03 21:52:44 UTC
this should really get split into two bugs, which I've just done:

OpenVPN: http://bugzilla.gnome.org/show_bug.cgi?id=573986
PPtP: http://bugzilla.gnome.org/show_bug.cgi?id=573987

Marking INVALID since those two bugs should cover the issue.
Comment 7 Martin McDowell 2010-06-13 15:03:39 UTC
This is VERY sad. This STILL doesn't work in version 0.8 in Ubuntu 10.04