summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2013-11-20 14:25:22 -0500
committerRay Strode <rstrode@redhat.com>2013-11-20 14:28:11 -0500
commit16db34e6daa9fef934488146503656c267e184e3 (patch)
tree071c869a665a6ba09cfdf71fb7d907978c67b8ca /daemon
parent735440671740379c4a00dbf05f717ceefe309aa4 (diff)
downloadgdm-16db34e6daa9fef934488146503656c267e184e3.tar.gz
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
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gdm-session.c2
1 files changed, 2 insertions, 0 deletions
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,