* src/nm-vpnc-service.c
properties/nm-vpnc.c
- Switch default NAT Traversal mode back to Cisco UDP until the plugin
natively supports more vendors (bgo #512675)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4284 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Add password types to better support OTP/token use-cases, and for people
who want to be asked every time for one or both passwords (bgo #346547).
Heavily based on a patch from Mathieu Trudel-Lapierre <mathieu.tl@gmail.com>
* common-gnome/keyring-helpers.c
common-gnome/keyring-helpers.h
- (keyring_helpers_get_one_secret): accessor to get just one secret
* auth-dialog/gnome-two-password-dialog.c
auth-dialog/gnome-two-password-dialog.h
- (gnome_two_password_dialog_focus_password,
gnome_two_password_dialog_focus_password_secondary): add functions to
focus specific password entries
* auth-dialog/Makefile.am
auth-dialog/main.c
- Retrieve password types from GConf, and handle them correctly when
asking the user for passwords
* properties/nm-vpnc-dialog.glade
properties/nm-vpnc.c
- Add combo boxes for both passwords with options for saving, asking,
or not requiring the password
- (fill_vpn_passwords): handle passwords individually
- (pw_type_changed_helper): disable the password entry when the user
picks "Not Required" or "Always Ask"
- (init_one_pw_combo, init_plugin_ui): set up password combos
- (handle_one_pw_type, update_connection): save password type
- (save_one_password): handle saving/clearing passwords based on what
each password's type is
* src/nm-vpnc-service.c
src/nm-vpnc-service.h
- (validate_one_property): ignore password type properties
- (nm_vpnc_config_write, write_one_property): don't write secrets if
they aren't used
- (real_need_secrets): only ask for secrets when needed
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4283 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Fix bgo #559152
* src/nm-pptp-pppd-plugin.c
- (nm_ip_up): remote peer's address is the PTP address, not the external
gateway address
* src/nm-pptp-service.c
- (construct_pppd_args): allow easier PPP debugging
- (service_ip4_config_cb): insert the VPN gateway's public IP address
into the IP4 config
- (real_connect, real_disconnect, state_changed_cb, dispose): cache
the connection so that the VPN gateway's public IP address can be
retrieved from it when the IP4 config comes back from pppd
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4255 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Patch from Carlos Martín Nieto <carlos@cmartin.tk> (and me) (bgo #547582)
* properties/nm-vpnc.c
- (import, fill_vpn_passwords): import passwords too
- (decrypt_cisco_key, child_stdout_data_cb, decrypt_child_finished_cb):
call out to cisco-decrypt if present to de-obfuscate the group
password
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4252 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Patch from Bin Li <libin.charles@gmail.com>.
* properties/import-export.c (handle_path_item): Search for certificates
from the directory where the configuration file is from.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4230 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-pptp-service.c
- (construct_pppd_args): pppd always parses /etc/ppp/options, so always
add really important stuff to the command line to ensure that NM
overrides /etc/ppp/options (bgo #556781)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4210 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* properties/auth-helpers.c
- (advanced_dialog_new): The "Certificates (TLS)" tab should also be
present for NM_OPENVPN_CONTYPE_PASSWORD
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4189 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Patch from Bin Li <libin.charles@gmail.com>, based on patches by Tambet
(openvpn) and Dan (vpnc)
* common-gnome/*
- Copy over common keyring functions
* auth-dialog/Makefile.am
auth-dialog/main.c
- Use common keyring functions
* properties/Makefile.am
properties/nm-pptp-dialog.glade
properties/nm-pptp.c
properties/nm-pptp.h
- Add a 'password' entry and read/write the password when appropriate
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4175 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* properties/nm-openvpn-dialog.glade
- Fix the User and CA certificate entries in Password TLS mode, they
were swapped with their labels (rh #464765)
- Move private key password entries below private key chooser
- Rename "Certificate Password" to "Private key password" since that's
what they actually are
* properties/auth-helpers.c
- (fill_password): s/cert_password/priv_key_password/s
- (fill_vpn_passwords): fix up for corrected widget names; fix mis-filling
of pw_tls secret widgets where passwords were reversed
- (auth_widget_save_secrets): fix up for corrected widget names
* src/nm-openvpn-service.c
- s/certpass/priv_key_pass/s becuase that's what it is
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4127 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Make libnm-openvpn-common-gnome.la and libnm-vpnc-common-gnome.la noinst
libs as they shouldn't be installed and linked statically.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4124 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/nm-pptp-serivce.c
- (impl_pptp_service_need_secrets): use the expected Windows-style
'domain\\username' format, not whatever I made up
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4122 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Patch from Robert Buchholz <rbu@gentoo.org>
* src/nm-openvpn-service.c
- (openvpn_watch_cb): don't access socket_channel if it doesn't exist
because openvpn exited before the management socket could be set up
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4121 4912f4e0-d625-0410-9fb7-b9a5a253dbdc