From 16db34e6daa9fef934488146503656c267e184e3 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 20 Nov 2013 14:25:22 -0500 Subject: session: set reauth sessions as such Reauthentication sessions need subtly different behavior than initial login sessions with regard to pam. For instance, we want to refresh existing kerberos credentials instead of establishing new kerberos credentials. GDM has all the code in place to do this properly, but lacks the actual call to mark reauthentication sessions as such. This commit adds the missing call. https://bugzilla.gnome.org/show_bug.cgi?id=691269 --- daemon/gdm-session.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c index b2d931d4..508446a4 100644 --- a/daemon/gdm-session.c +++ b/daemon/gdm-session.c @@ -1751,6 +1751,8 @@ start_conversation (GdmSession *self, conversation->job = gdm_session_worker_job_new (); gdm_session_worker_job_set_server_address (conversation->job, g_dbus_server_get_client_address (self->priv->worker_server)); + gdm_session_worker_job_set_for_reauth (conversation->job, + self->priv->verification_mode == GDM_SESSION_VERIFICATION_MODE_REAUTHENTICATE); if (self->priv->conversation_environment != NULL) { gdm_session_worker_job_set_environment (conversation->job, -- cgit v1.2.1