VPN import and export committed
- From: David Zeuthen <davidz redhat com>
- To: networkmanager-list gnome org
- Subject: VPN import and export committed
- Date: Fri, 17 Jun 2005 00:46:08 -0400
Hey,
I just committed a bunch of code for handling the import, and also now
export, of VPN data. There's some churn in the API's so you need to
build and install both NetworkManager and NetworkManager-vpnc in that
order (and install the latter before building the latter). You also want
to run /usr/bin/update-desktop-database as root after installing
NetworkManager-vpnc.
This is because that NetworkManager-vpnc now install a desktop-file to
associate with the MIME-type application/x-cisco-vpn-settings which
means that if someone sends you a .pcf file as an attachment you should
get the option "Open in VPN Connection Manager (vpnc)" which launches
nm-vpn-properties and steps you into the edit VPN details in the import
wizard. I've tested this in Evolution at least [1]. This should work in
Nautilus too, with e.g. double-clicking.
However, for this to work shared-mime-info needs a little patch, details
are here
https://bugs.freedesktop.org/show_bug.cgi?id=3560
For people using Fedora, I'm going to build this patch into
shared-mime-info so it's available tomorrow in Rawhide. Oh, to be super
elite, we'll need an icon too; I'm going to file a bug against
gnome-icon-theme for gnome-mime-application-x-cisco-vpn-settings.png.
As mentioned I've also added an export option; we'll also export our
routes (since I believe that is an integral part of the VPN connection
settings) as the key X-NM-Routes. It would be great if someone could
test that files generated by our tool works in the Cisco tools (both
with or without the X-NM-Routes). Either way, I think Export is an
useful feature since it enables sysadmins to easily generate the .pcf
files.
David
[1] : though Evolution got a really annoying bug where it uses the
MIME-type embedded in the mail message instead of locally sniffing. This
means that the .pcf files Bryan sent me shows up as fonts :-/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]