* src/nm-vpnc-service.c
- (validate_one_property): print message about what properties fail
validation
- (real_connect, nm_vpnc_config_write): use default username from VPN
setting if no Xauth username is provided in custom properties
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2968 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/NetworkManager.c (main): When dbus manager doesn't want to
* start, complain
about dbus manager, not named manager.
Make sure hal_manager and dbus_mgr are created before trying to
unreference.
* src/nm-dbus-manager.c: There was an issue with priv->proxy: We
* have a signal
handler for it's 'destroy' signal - we use it to catch
disconnects from dbus.
However, the same signal is emitted when we destroy it and
there's
nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup
cycle.
(nm_dbus_manager_cleanup): Let go of the DBusGProxy before
releasing the DBusGConnection, since proxy needs a conneciton.
(destroy_cb): Set the private proxy to NULL before cleaning up
the manager.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2959 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* auth-dialog/main.c
- Rework password storage to match the GConf semantics of nm-applet
better. Also, use generic secrets, not keyring network passwords.
Keyring network passwords are inappropriate for our usage here.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2907 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-vpnc-service.c
- (nm_vpnc_config_write): turn back on various options that the vpnc
plugin had before that are used with vpnc 0.3.x
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2906 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-vpnc-service-vpnc-helper.c
- (addr_list_to_gvalue): list should contain straight guint32s, not
GValues containing guint32s
- (main): For Cisco/vpnc, the IP4 PTP address needs to be the same as
the internal IP4 address
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2904 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-vpnc-service-helper.c
- (str_to_gvalue, addr_to_gvalue): ensure the GValues are zeroed when
allocated so that they can be assigned a type later
- (addr_list_to_gvalue): use a GArray rather than a GSList, dbus-glib
seems ignorant of GSLists with G_TYPE_UINT elements
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2900 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the
* plugin activation
method.
(impl_vpn_plugin_connect): Convert properties hash to
NMConnection, activate, and
unreference the connection.
* introspection/nm-vpn-plugin.xml: Modify the 'Connect' method
* arguments: instead of
passing properties hash and routes string list, pass
NMConnection (in hashed form).
* src/vpn-manager/nm-vpn-connection.c
* (nm_vpn_connection_get_routes): Return routes
as GSList, no need to copy stuff around anymore.
(nm_vpn_connection_activate): Update the plugin activation
method.
* src/NetworkManagerSystem.c
* (nm_system_vpn_device_set_from_ip4_config): Convert
routes argument to GSList.
* vpn-daemons/vpnc/src/nm-vpnc-service.c (real_connect):
The arguments have changed, update.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2890 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* vpn-daemons/vpnc/properties/nm-vpnc.c
- Update for new VPN properties API bits; instead of passing around
a lot of random things, everything goes into the NMConnection
object.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2861 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-vpnc-service.[ch]: Rewrite. Derive from NMVPNPlugin.
* src/nm-vpnc-service-vpnc-helper.c: Rewrite using dbus-glib.
* auth-dialog/main.c: Populate the properties hash with the
* passwords.
* properties/nm-vpnc.c: The VPN connection properties are all
* hash tables now.
* src/nm-utils.[ch]: Remove. Use the same things from
* libnm-util.
* configure.in: Check libnm_glib module as well now that we use
* NMVPNPlugin.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2797 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* nm-vpnc-service.name.in: Use upper-case macro names as that's
* what the
sed script from Makefile is trying to replace.
* src/Makefile.am: Link to $NM_UTILS_LIBS.
* configure.in: Update required NetworkManager version to 0.7.0.
Clean up the double-check to NetworkManager.pc.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2693 4912f4e0-d625-0410-9fb7-b9a5a253dbdc