~robert-ancell/accountsservice/lp1376357

« back to all changes in this revision

Viewing changes to debian/patches/0008-nopasswdlogin-group.patch

  • Committer: Robert Ancell
  • Date: 2014-10-01 23:25:55 UTC
  • Revision ID: robert.ancell@canonical.com-20141001232555-mg3vlx4nk58il83f
* debian/patches/0012-add-keyboard-layout-support.patch:
  - Don't emit Changed on a user when XKeyboardLayouts is set to the same
    value (LP: #1376357)
  - Fix compile warnings and a potential crasher
* debian/patches/0013-add-has-message-support.patch:
  - Don't emit Changed on a user when XHasMessages is set to the same value
    (LP: #1376357)
* debian/libaccountsservice0.symbols:
  - Updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 src/user.c |   46 ++++++++++++++++++++++++++++++++++++++++++++++
3
3
 1 file changed, 46 insertions(+)
4
4
 
5
 
Index: accountsservice-0.6.35/src/user.c
 
5
Index: accountsservice-0.6.37/src/user.c
6
6
===================================================================
7
 
--- accountsservice-0.6.35.orig/src/user.c      2013-11-13 15:16:46.892125154 +0100
8
 
+++ accountsservice-0.6.35/src/user.c   2013-11-13 15:16:46.888125154 +0100
9
 
@@ -1824,6 +1824,21 @@
 
7
--- accountsservice-0.6.37.orig/src/user.c
 
8
+++ accountsservice-0.6.37/src/user.c
 
9
@@ -1825,6 +1825,21 @@ user_change_password_mode_authorized_cb
10
10
                                 return;
11
11
                         }
12
12
 
28
28
                         if (mode == PASSWORD_MODE_SET_AT_LOGIN) {
29
29
                                 argv[0] = "/usr/bin/chage";
30
30
                                 argv[1] = "-d";
31
 
@@ -1871,6 +1886,23 @@
 
31
@@ -1872,6 +1887,23 @@ user_change_password_mode_authorized_cb
32
32
                         g_object_notify (G_OBJECT (user), "locked");
33
33
                 }
34
34
 
52
52
                 user->password_mode = mode;
53
53
 
54
54
                 g_object_notify (G_OBJECT (user), "password-mode");
55
 
@@ -1938,6 +1970,20 @@
 
55
@@ -1939,6 +1971,20 @@ user_change_password_authorized_cb (Daem
56
56
 
57
57
         error = NULL;
58
58
         if (!spawn_with_login_uid (context, argv, &error)) {