diff options
author | Ray Strode <rstrode@redhat.com> | 2008-02-09 03:56:36 +0000 |
---|---|---|
committer | Ray Strode <halfline@src.gnome.org> | 2008-02-09 03:56:36 +0000 |
commit | f99b7475706df558f12d3f5ce137791c9b5d2c62 (patch) | |
tree | 6f49991c6a067cc61e8c40a38a3d5b887b86c4f4 /daemon/gdm-session-auditor.c | |
parent | 68eca9fcccf3938dbdda2149a4fcd463ec04f1dc (diff) | |
download | gdm-f99b7475706df558f12d3f5ce137791c9b5d2c62.tar.gz |
report to auditor username even if it doesn't change over the course of
2008-02-08 Ray Strode <rstrode@redhat.com>
* daemon/gdm-session-worker.c
(gdm_session_worker_update_username):
report to auditor username even if it doesn't
change over the course of the pam conversation
svn path=/trunk/; revision=5743
Diffstat (limited to 'daemon/gdm-session-auditor.c')
-rw-r--r-- | daemon/gdm-session-auditor.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/daemon/gdm-session-auditor.c b/daemon/gdm-session-auditor.c index f656511e..0a57154b 100644 --- a/daemon/gdm-session-auditor.c +++ b/daemon/gdm-session-auditor.c @@ -145,6 +145,7 @@ gdm_session_auditor_set_username (GdmSessionAuditor *auditor, if ((username == NULL || auditor->priv->username == NULL) || strcmp (username, auditor->priv->username) != 0) { + g_debug ("reporting to auditor username has been set to '%s'\n", username); auditor->priv->username = g_strdup (username); g_object_notify (G_OBJECT (auditor), "username"); } @@ -257,6 +258,7 @@ gdm_session_auditor_new (const char *hostname, void gdm_session_auditor_report_password_changed (GdmSessionAuditor *auditor) { + g_debug ("report password changed %s\n", auditor->priv->username); if (GDM_SESSION_AUDITOR_GET_CLASS (auditor)->report_password_changed != NULL) { GDM_SESSION_AUDITOR_GET_CLASS (auditor)->report_password_changed (auditor); } @@ -265,6 +267,7 @@ gdm_session_auditor_report_password_changed (GdmSessionAuditor *auditor) void gdm_session_auditor_report_password_change_failure (GdmSessionAuditor *auditor) { + g_debug ("report password change failure %s\n", auditor->priv->username); if (GDM_SESSION_AUDITOR_GET_CLASS (auditor)->report_password_change_failure != NULL) { GDM_SESSION_AUDITOR_GET_CLASS (auditor)->report_password_change_failure (auditor); } @@ -273,6 +276,7 @@ gdm_session_auditor_report_password_change_failure (GdmSessionAuditor *auditor) void gdm_session_auditor_report_user_accredited (GdmSessionAuditor *auditor) { + g_debug ("report user accredited %s\n", auditor->priv->username); if (GDM_SESSION_AUDITOR_GET_CLASS (auditor)->report_user_accredited != NULL) { GDM_SESSION_AUDITOR_GET_CLASS (auditor)->report_user_accredited (auditor); } @@ -281,6 +285,8 @@ gdm_session_auditor_report_user_accredited (GdmSessionAuditor *auditor) void gdm_session_auditor_report_login (GdmSessionAuditor *auditor) { + + g_debug ("report login %s\n", auditor->priv->username); if (GDM_SESSION_AUDITOR_GET_CLASS (auditor)->report_login != NULL) { GDM_SESSION_AUDITOR_GET_CLASS (auditor)->report_login (auditor); } @@ -291,6 +297,7 @@ gdm_session_auditor_report_login_failure (GdmSessionAuditor *auditor, int error_code, const char *error_message) { + g_debug ("report login failure %s\n", auditor->priv->username); if (GDM_SESSION_AUDITOR_GET_CLASS (auditor)->report_login_failure != NULL) { GDM_SESSION_AUDITOR_GET_CLASS (auditor)->report_login_failure (auditor, error_code, error_message); } @@ -299,6 +306,7 @@ gdm_session_auditor_report_login_failure (GdmSessionAuditor *auditor, void gdm_session_auditor_report_logout (GdmSessionAuditor *auditor) { + g_debug ("report logout %s\n", auditor->priv->username); if (GDM_SESSION_AUDITOR_GET_CLASS (auditor)->report_logout != NULL) { GDM_SESSION_AUDITOR_GET_CLASS (auditor)->report_logout (auditor); } |