Hi Drew and Igor,

You can build the SVN PPTP plugin against 0.6.x versions of
NetworkManager - Antony has kindly provided a configure option that
allows you to use the old dbus parameters, rather than the new VPN dict
structure.  Run ./configure with 

 --enable-nm-vpn-dbus-old

to enable this.

If you're building against 0.6.2, you will also need to remove 'mss'
from the connection info struct. Edit src/nm-ppp-starter.c and comment
out around line 1512:

+       /* NetworkManager 0.6.2 doesn't have the mss in the connection
+        * info packet.
                                DBUS_TYPE_UINT32, &mss,
+        */

The configure option defines NM_VPN_USE_OLD_DBUS_INTERFACE, which
enables the old code instead of the new.  I am not sure if OpenVPN has a
similar flag, but you could use this as the basis for a patch, or revert
to an earlier version of the source if you wished.

You may also find
http://craig.dubculture.co.nz/blog/2007/05/13/building-nm-pptp-from-source/ 
helpful.

Regards
Craig

_______________________________________________
NetworkManager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to