[gdm] session: set reauth sessions as such



commit 16db34e6daa9fef934488146503656c267e184e3
Author: Ray Strode <rstrode redhat com>
Date:   Wed Nov 20 14:25:22 2013 -0500

    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 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index b2d931d..508446a 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]