~ubuntu-desktop/lightdm/ubuntu

« back to all changes in this revision

Viewing changes to debian/patches/06_disable_remote_login.patch

  • Committer: Michael Terry
  • Date: 2012-09-07 15:49:23 UTC
  • Revision ID: michael.terry@canonical.com-20120907154923-3k8ar0i0mgi3q0rq
Tags: 1.3.3-0ubuntu3
* debian/patches/06_disable_remote_login.patch:
  - Drop patch, thereby enabling Remote Login support (LP: #1040221)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: lightdm/src/greeter.c
2
 
===================================================================
3
 
--- lightdm.orig/src/greeter.c  2012-08-30 10:59:54.773293000 -0400
4
 
+++ lightdm/src/greeter.c       2012-08-30 11:28:39.976992004 -0400
5
 
@@ -407,6 +407,12 @@
6
 
 
7
 
     reset_session (greeter);
8
 
 
9
 
+    // Until our FeatureFreeze exception is granted, we must disable our
10
 
+    // remote login capability.
11
 
+    // https://launchpad.net/bugs/1040221
12
 
+    send_end_authentication (greeter, sequence_number, "", PAM_SYSTEM_ERR);
13
 
+    return;
14
 
+
15
 
     service = get_remote_session_service (session_name);
16
 
     if (!service)
17
 
     {