Author: Tambet Ingo <tambet@gmail.com>

Date:   Tue Mar 18 21:46:10 2008 -0600

    2008-03-18  Tambet Ingo  <tambet@gmail.com>

    	* src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
    	print out username and password, it's supposed to be a secret.

    	* src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
    	request and set the device state accordingly.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3481 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Tambet Ingo 2008-03-19 15:27:59 +00:00
parent 1ef0dfb691
commit 731cacc944
3 changed files with 11 additions and 2 deletions

View file

@ -7,6 +7,14 @@
profiles. DNS servers and searches must now be stored in the ifcfg
files themselves
2008-03-18 Tambet Ingo <tambet@gmail.com>
* src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
print out username and password, it's supposed to be a secret.
* src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
request and set the device state accordingly.
2008-03-18 Tambet Ingo <tambet@gmail.com>
* src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.

View file

@ -1019,6 +1019,9 @@ ppp_state_changed (NMPPPManager *ppp_manager, NMPPPStatus status, gpointer user_
else
nm_device_state_changed (device, NM_DEVICE_STATE_FAILED);
break;
case NM_PPP_STATUS_AUTHENTICATE:
nm_device_state_changed (device, NM_DEVICE_STATE_NEED_AUTH);
break;
default:
break;
}

View file

@ -709,8 +709,6 @@ nm_ppp_manager_update_secrets (NMPPPManager *manager,
pppoe_setting = NM_SETTING_PPPOE (nm_connection_get_setting (connection, NM_TYPE_SETTING_PPPOE));
g_assert (pppoe_setting);
nm_info ("Sending secrets: %s %s", pppoe_setting->username, pppoe_setting->password);
/* FIXME: Do we have to strdup the values here? */
dbus_g_method_return (priv->pending_secrets_context,
g_strdup (pppoe_setting->username),