Merge ~paride/ubuntu/+source/samba:lp1942195-focal into ubuntu/+source/samba:ubuntu/focal-devel

Proposed by Paride Legovini
Status: Merged
Merged at revision: 952213173f305242a3d040560a27570b58a72f67
Proposed branch: ~paride/ubuntu/+source/samba:lp1942195-focal
Merge into: ubuntu/+source/samba:ubuntu/focal-devel
Diff against target: 40 lines (+7/-14)
2 files modified
debian/changelog (+7/-0)
debian/samba.postinst (+0/-14)
Reviewer Review Type Date Requested Status
Sergio Durigan Junior (community) Approve
Canonical Server Core Reviewers Pending
Review via email: mp+411693@code.launchpad.net

Commit message

Focal SRU for LP: #1942195, see the SRU template for more info testing instructions.
Test PPA: Test PPA: https://launchpad.net/~paride/+archive/ubuntu/samba-lp1942195

Autopkgtest:

@@@@@@@@@@@@@@@@@@@@ summary
cifs-share-access SKIP Test requires machine-level isolation but testbed does not provide that
reinstall-samba-common-bin SKIP Test requires machine-level isolation but testbed does not provide that
python-smoke PASS
smbclient-anonymous-share-list PASS
smbclient-authenticated-share-list PASS
smbclient-share-access PASS

Please review & sponsor. Thanks!

To post a comment you must log in.
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thanks.

Tested locally. LGTM, +1.

Uploaded:

$ dput samba_4.11.6+dfsg-0ubuntu1.11_source.changes
Trying to upload package to ubuntu
Checking signature on .changes
gpg: /home/sergio/work/samba/samba_4.11.6+dfsg-0ubuntu1.11_source.changes: Valid signature from 106DA1C8C3CBBF14
Checking signature on .dsc
gpg: /home/sergio/work/samba/samba_4.11.6+dfsg-0ubuntu1.11.dsc: Valid signature from 106DA1C8C3CBBF14
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading samba_4.11.6+dfsg-0ubuntu1.11.dsc: done.
  Uploading samba_4.11.6+dfsg-0ubuntu1.11.debian.tar.xz: done.
  Uploading samba_4.11.6+dfsg-0ubuntu1.11_source.buildinfo: done.
  Uploading samba_4.11.6+dfsg-0ubuntu1.11_source.changes: done.
Successfully uploaded packages.

review: Approve
Revision history for this message
Paride Legovini (paride) wrote :

Thanks for uploading! For completeness:

autopkgtest [12:01:47]: @@@@@@@@@@@@@@@@@@@@ summary
cifs-share-access PASS
python-smoke PASS
smbclient-anonymous-share-list PASS
smbclient-authenticated-share-list PASS
smbclient-share-access PASS
reinstall-samba-common-bin PASS

Revision history for this message
Paride Legovini (paride) wrote :

@Sergio I rebased this on 2:4.13.14+dfsg-0ubuntu0.20.04.1, we need to upload it again.

Revision history for this message
Paride Legovini (paride) wrote :

New autopkgtest results:

autopkgtest [16:17:07]: @@@@@@@@@@@@@@@@@@@@ summary
cifs-share-access PASS
python-smoke PASS
smbclient-anonymous-share-list PASS
smbclient-authenticated-share-list PASS
smbclient-share-access PASS
reinstall-samba-common-bin PASS

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thanks, Paride.

LGTM.

Uploaded:

$ dput samba_4.13.14+dfsg-0ubuntu0.20.04.2_source.changes
Trying to upload package to ubuntu
Checking signature on .changes
gpg: /home/sergio/work/samba/samba_4.13.14+dfsg-0ubuntu0.20.04.2_source.changes: Valid signature from 106DA1C8C3CBBF14
Checking signature on .dsc
gpg: /home/sergio/work/samba/samba_4.13.14+dfsg-0ubuntu0.20.04.2.dsc: Valid signature from 106DA1C8C3CBBF14
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading samba_4.13.14+dfsg-0ubuntu0.20.04.2.dsc: done.
  Uploading samba_4.13.14+dfsg-0ubuntu0.20.04.2.debian.tar.xz: done.
  Uploading samba_4.13.14+dfsg-0ubuntu0.20.04.2_source.buildinfo: done.
  Uploading samba_4.13.14+dfsg-0ubuntu0.20.04.2_source.changes: done.
Successfully uploaded packages.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 3637b2c..08be40e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
1samba (2:4.13.14+dfsg-0ubuntu0.20.04.2) focal; urgency=medium
2
3 * samba.postinst: do not populate sambashare from the Ubuntu admin group
4 (LP: #1942195)
5
6 -- Paride Legovini <paride@ubuntu.com> Fri, 12 Nov 2021 14:42:02 +0100
7
1samba (2:4.13.14+dfsg-0ubuntu0.20.04.1) focal-security; urgency=medium8samba (2:4.13.14+dfsg-0ubuntu0.20.04.1) focal-security; urgency=medium
29
3 * Update to 4.13.14 as a security update (LP: #1950363)10 * Update to 4.13.14 as a security update (LP: #1950363)
diff --git a/debian/samba.postinst b/debian/samba.postinst
index 79e688a..eb327a2 100644
--- a/debian/samba.postinst
+++ b/debian/samba.postinst
@@ -59,20 +59,6 @@ umask 022
59if ! getent group sambashare > /dev/null 2>&159if ! getent group sambashare > /dev/null 2>&1
60then60then
61 addgroup --system sambashare61 addgroup --system sambashare
62 # Only on Ubuntu, use the "admin" group as a template for the
63 # initial users for this group; Debian has no equivalent group,
64 # so leaving the sambashare group empty is the more secure default
65 if [ -x "`which lsb_release 2>/dev/null`" ] \
66 && [ "`lsb_release -s -i`" = "Ubuntu" ]
67 then
68 OLDIFS="$IFS"
69 IFS=","
70 for USER in `getent group admin | cut -f4 -d:`; do
71 adduser "$USER" sambashare \
72 || ! getent passwd "$USER" >/dev/null
73 done
74 IFS="$OLDIFS"
75 fi
76fi62fi
7763
78if [ ! -e /var/lib/samba/usershares ]64if [ ! -e /var/lib/samba/usershares ]

Subscribers

People subscribed via source and target branches