NetworkManager/introspection
Jiří Klimeš 9dff830692 vpn: fix connecting to VPN (bgo #708255)
The ConnectInteractive() -> Connect() fallback code doesn't work, because
_connect_internal() changes the state to NM_VPN_SERVICE_STATE_STARTING before
checking if it can implement ConnectInteractive(), and then when the Connect()
call comes in, the VPN is not in STOPPED or INIT, so it returns an error.

The commit moves setting state to STARTING after the ConnectInteractive() check
availability, in the plugin. We introduce new plugin error and set it when the
the plugin does not implement ConnectInteractive(). NetworkManager uses this
error for ConnectInteractive() -> Connect() fallback.

https://bugzilla.gnome.org/show_bug.cgi?id=708255
2013-09-27 13:26:09 +02:00
..
all.xml.in bridge: add bridge device type 2012-11-30 13:21:51 -06:00
errors.xml DBus API: removing user settings support 2010-08-06 13:05:46 -04:00
generic-types.xml wifi: support ap-mode with wpa_supplicant 2012-10-17 12:08:11 -05:00
Makefile.am core: add support for team device 2013-08-15 10:54:15 -05:00
nm-access-point.xml Doc updates 2008-11-06 16:04:49 +00:00
nm-active-connection.xml api: clarify lifetime and behavior of ActiveConnection's SpecificObject property (rh #1012309) 2013-09-26 12:17:51 -05:00
nm-agent-manager.xml agents: add agent capabilities 2013-07-31 08:16:34 -05:00
nm-device-adsl.xml adsl: settings and initial "scaffolding" 2012-05-18 15:42:55 -05:00
nm-device-bond.xml core, libnm-glib: expose "slaves" property on NMDeviceBond 2012-10-19 12:09:27 -04:00
nm-device-bridge.xml core,libnm-glib: expose "slaves" property on NMDeviceBridge 2012-11-30 13:21:51 -06:00
nm-device-bt.xml bluetooth: fixes and addition of NMDeviceBt to libnm-glib 2009-07-10 10:45:24 -04:00
nm-device-ethernet.xml core: MAC address spoofing/cloning (rh #447827) (bgo #553771) 2010-06-22 14:21:25 +02:00
nm-device-generic.xml core: add NMDeviceGeneric:type-description 2013-05-07 12:46:56 -04:00
nm-device-gre.xml platform, devices: add support for gre and gretap devices 2013-06-04 10:01:14 -03:00
nm-device-infiniband.xml wired: split NMDeviceWired out of NMDeviceEthernet and add NMDeviceInfiniband 2011-12-02 13:09:16 -06:00
nm-device-macvlan.xml platform, devices: add support for macvlan and macvtap devices 2013-06-04 10:01:13 -03:00
nm-device-modem.xml core: consolidate mobile broadband device types 2011-02-25 10:16:17 -06:00
nm-device-olpc-mesh.xml olpc-mesh: fix companion path and active channel property types 2010-01-14 14:30:02 -08:00
nm-device-team.xml core: add support for team device 2013-08-15 10:54:15 -05:00
nm-device-tun.xml platform, devices: add support for tun and tap devices 2013-06-04 10:01:13 -03:00
nm-device-veth.xml platform, devices: add support for veth devices 2013-05-24 16:10:03 -03:00
nm-device-vlan.xml core: convert VLAN interfaces to a device subclass 2012-03-01 17:40:17 -06:00
nm-device-wifi.xml core: add NM_WIFI_DEVICE_CAP_ADHOC 2013-02-11 12:39:28 -05:00
nm-device-wimax.xml wimax: add Center Frequency, RSSI, CINR, TX Power, and BSID properties 2011-01-06 15:18:19 -06:00
nm-device.xml api: note that the Ip4Address property is deprecated 2013-06-11 12:48:15 -05:00
nm-dhcp4-config.xml 2008-07-17 Dan Williams <dcbw@redhat.com> 2008-07-17 17:04:13 +00:00
nm-dhcp6-config.xml dhcp: add the NMDHCP6Config object 2010-01-13 22:30:40 -08:00
nm-ip4-config.xml core: update existing IP[46]Config of device instead of replacing it (bgo #707617) 2013-09-25 23:12:37 +02:00
nm-ip6-config.xml core: update existing IP[46]Config of device instead of replacing it (bgo #707617) 2013-09-25 23:12:37 +02:00
nm-manager.xml core: add NMManager:primary-connection and :activating-connection 2013-08-28 11:01:13 -04:00
nm-ppp-manager.xml Implement PPPoE. 2008-03-11 16:37:41 +00:00
nm-secret-agent.xml vpn: handle interactive plugin secrets requests 2013-07-31 08:16:40 -05:00
nm-settings-connection.xml core: add monitor-connection-files=false and ReloadConnections 2013-06-14 12:57:47 -03:00
nm-settings.xml core: add monitor-connection-files=false and ReloadConnections 2013-06-14 12:57:47 -03:00
nm-vpn-connection.xml Revert "api: fix VpnStateChanged signal arguments" 2012-06-29 15:17:18 -05:00
nm-vpn-plugin.xml vpn: fix connecting to VPN (bgo #708255) 2013-09-27 13:26:09 +02:00
nm-wimax-nsp.xml wimax: Implement WiMAX support 2009-12-18 15:41:27 +02:00
vpn-errors.xml vpn: fix connecting to VPN (bgo #708255) 2013-09-27 13:26:09 +02:00