[Pkg-sssd-devel] sssd: Changes to 'master'

Timo Aaltonen tjaalton at moszumanska.debian.org
Tue May 10 07:40:54 UTC 2016


 debian/apparmor-profile                                     |    1 
 debian/changelog                                            |    8 +
 debian/patches/gpo-add-unity-to-ad-gpo-map-interactive.diff |   52 ++++++++++++
 debian/patches/series                                       |    1 
 debian/sssd-common.dirs                                     |    1 
 debian/sssd-common.postinst                                 |   11 +-
 6 files changed, 71 insertions(+), 3 deletions(-)

New commits:
commit 77e0ed9cd77c7d0f1951f1e21e9abc80677683e4
Author: Timo Aaltonen <tjaalton at debian.org>
Date:   Tue May 10 10:39:57 2016 +0300

    releasing package sssd version 1.13.4-3

diff --git a/debian/changelog b/debian/changelog
index 7ee120a..06a3188 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,10 @@
-sssd (1.13.4-3) UNRELEASED; urgency=medium
+sssd (1.13.4-3) unstable; urgency=medium
 
   * common: Add /var/lib/sss/gpo_cache. (LP: #1579092)
   * gpo-add-unity-to-ad-gpo-map-interactive.diff: Allow logging in from
     unity lockscreen. (LP: #1578415)
 
- -- Timo Aaltonen <tjaalton at debian.org>  Tue, 10 May 2016 10:13:19 +0300
+ -- Timo Aaltonen <tjaalton at debian.org>  Tue, 10 May 2016 10:39:46 +0300
 
 sssd (1.13.4-2) unstable; urgency=medium
 

commit bc1bd8798440600875f4ddec5b8cb75dbcc4569a
Author: Timo Aaltonen <tjaalton at debian.org>
Date:   Tue May 10 10:37:31 2016 +0300

    gpo-add-unity-to-ad-gpo-map-interactive.diff: Allow logging in from unity lockscreen. (LP: #1578415)

diff --git a/debian/changelog b/debian/changelog
index 6c78206..7ee120a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 sssd (1.13.4-3) UNRELEASED; urgency=medium
 
   * common: Add /var/lib/sss/gpo_cache. (LP: #1579092)
+  * gpo-add-unity-to-ad-gpo-map-interactive.diff: Allow logging in from
+    unity lockscreen. (LP: #1578415)
 
  -- Timo Aaltonen <tjaalton at debian.org>  Tue, 10 May 2016 10:13:19 +0300
 
diff --git a/debian/patches/gpo-add-unity-to-ad-gpo-map-interactive.diff b/debian/patches/gpo-add-unity-to-ad-gpo-map-interactive.diff
new file mode 100644
index 0000000..18b18ab
--- /dev/null
+++ b/debian/patches/gpo-add-unity-to-ad-gpo-map-interactive.diff
@@ -0,0 +1,52 @@
+commit 89376da80b2250b82d256ea85ec349ce29fe5b51
+Author: Stephen Gallagher <sgallagh at redhat.com>
+Date:   Thu May 5 10:44:24 2016 -0400
+
+    GPO: Add "unity" to ad_gpo_map_interactive
+    
+    Ubuntu systems use "unity" as their screen-locker. Without this in the
+    defaults, people often get locked out of their machines when the screen
+    locks.
+    
+    Resolves:
+    https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1578415
+    
+    Reviewed-by: Lukáš Slebodník <lslebodn at redhat.com>
+
+diff --git a/src/man/sssd-ad.5.xml b/src/man/sssd-ad.5.xml
+index dc17a2f..265409e 100644
+--- a/src/man/sssd-ad.5.xml
++++ b/src/man/sssd-ad.5.xml
+@@ -439,6 +439,11 @@ ad_gpo_map_interactive = +my_pam_service, -login
+                                 </listitem>
+                                 <listitem>
+                                     <para>
++                                        unity
++                                    </para>
++                                </listitem>
++                                <listitem>
++                                    <para>
+                                         xdm
+                                     </para>
+                                 </listitem>
+diff --git a/src/providers/ad/ad_gpo.c b/src/providers/ad/ad_gpo.c
+index 3029ffe..22ac803 100644
+--- a/src/providers/ad/ad_gpo.c
++++ b/src/providers/ad/ad_gpo.c
+@@ -188,6 +188,7 @@ int ad_gpo_process_cse_recv(struct tevent_req *req);
+ #define GPO_LIGHTDM "lightdm"
+ #define GPO_LXDM "lxdm"
+ #define GPO_SDDM "sddm"
++#define GPO_UNITY "unity"
+ #define GPO_XDM "xdm"
+ #define GPO_SSHD "sshd"
+ #define GPO_FTP "ftp"
+@@ -209,7 +210,7 @@ struct gpo_map_option_entry {
+ const char *gpo_map_interactive_defaults[] =
+     {GPO_LOGIN, GPO_SU, GPO_SU_L,
+      GPO_GDM_FINGERPRINT, GPO_GDM_PASSWORD, GPO_GDM_SMARTCARD, GPO_KDM,
+-     GPO_LIGHTDM, GPO_LXDM, GPO_SDDM, GPO_XDM, NULL};
++     GPO_LIGHTDM, GPO_LXDM, GPO_SDDM, GPO_UNITY, GPO_XDM, NULL};
+ const char *gpo_map_remote_interactive_defaults[] = {GPO_SSHD, GPO_COCKPIT,
+                                                      NULL};
+ const char *gpo_map_network_defaults[] = {GPO_FTP, GPO_SAMBA, NULL};
diff --git a/debian/patches/series b/debian/patches/series
index f3a8059..8b5ef47 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 ipa-terminate-if-view-name-fails.diff
+gpo-add-unity-to-ad-gpo-map-interactive.diff

commit 2bc951a5944f8328ee9609697dbcd7ce2e272ff4
Author: Timo Aaltonen <tjaalton at debian.org>
Date:   Tue May 10 10:14:55 2016 +0300

    common: Add /var/lib/sss/gpo_cache. (LP: #1579092)

diff --git a/debian/apparmor-profile b/debian/apparmor-profile
index 9c64090..fd9b9b7 100644
--- a/debian/apparmor-profile
+++ b/debian/apparmor-profile
@@ -34,6 +34,7 @@
 
   /var/lib/sss/* rw,
   /var/lib/sss/db/* rwk,
+  /var/lib/sss/gpo_cache/* rw,
   /var/lib/sss/mc/* rw,
   /var/lib/sss/pipes/* rw,
   /var/lib/sss/pipes/private/* rw,
diff --git a/debian/changelog b/debian/changelog
index ca9aae2..6c78206 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sssd (1.13.4-3) UNRELEASED; urgency=medium
+
+  * common: Add /var/lib/sss/gpo_cache. (LP: #1579092)
+
+ -- Timo Aaltonen <tjaalton at debian.org>  Tue, 10 May 2016 10:13:19 +0300
+
 sssd (1.13.4-2) unstable; urgency=medium
 
   * ipa-terminate-if-view-name-fails.diff: Fix support for older IPA
diff --git a/debian/sssd-common.dirs b/debian/sssd-common.dirs
index cf6b3f9..79fe1e4 100644
--- a/debian/sssd-common.dirs
+++ b/debian/sssd-common.dirs
@@ -1,6 +1,7 @@
 etc/sssd
 var/lib/sss
 var/lib/sss/db
+var/lib/sss/gpo_cache
 var/lib/sss/mc
 var/lib/sss/pipes
 var/lib/sss/pipes/private
diff --git a/debian/sssd-common.postinst b/debian/sssd-common.postinst
index f47be0e..47d0884 100644
--- a/debian/sssd-common.postinst
+++ b/debian/sssd-common.postinst
@@ -31,13 +31,18 @@ case "$1" in
                 sssd > $OUT
         fi
         chown sssd:sssd \
-            $HOME/db $HOME/mc $HOME/pipes $HOME/pipes/private \
-            $HOME/pubconf  /etc/sssd \
+            $HOME/db \
+            $HOME/gpo_cache \
+            $HOME/mc \
+            $HOME/pipes \
+            $HOME/pipes/private \
+            $HOME/pubconf \
+            /etc/sssd \
             /var/log/sssd
         chown root:sssd $LIBDIR/p11_child
 
         chmod 4754 $LIBDIR/p11_child
-        chmod 755 $HOME/mc $HOME/pipes $HOME/pubconf
+        chmod 755 $HOME/gpo_cache $HOME/mc $HOME/pipes $HOME/pubconf
         chmod 750 /var/log/sssd
         chmod 711 /etc/sssd
         chmod 700 $HOME/db $HOME/pipes/private



More information about the Pkg-sssd-devel mailing list