~ahasenack/ubuntu/+source/samba:jammy-samba-dep8-fix-1955851

Last commit made on 2022-01-25
Get this branch:
git clone -b jammy-samba-dep8-fix-1955851 https://git.launchpad.net/~ahasenack/ubuntu/+source/samba
Only Andreas Hasenack can upload to this branch. If you are Andreas Hasenack please log in for upload directions.

Branch merges

Branch information

Name:
jammy-samba-dep8-fix-1955851
Repository:
lp:~ahasenack/ubuntu/+source/samba

Recent commits

9f98526... by Andreas Hasenack

changelog

2a61627... by Andreas Hasenack

  * d/t/util: fix setting the password of the smb test user
    (LP: #1955851)

13d8108... by Graham Inggs

2:4.13.14+dfsg-0ubuntu3 (patches unapplied)

Imported using git-ubuntu import.

dc04ad1... by Marc Deslauriers

2:4.13.14+dfsg-0ubuntu2 (patches unapplied)

Imported using git-ubuntu import.

8b946b3... by Marc Deslauriers

2:4.13.14+dfsg-0ubuntu1 (patches unapplied)

Imported using git-ubuntu import.

3e311a5... by Paride Legovini

2:4.13.5+dfsg-2ubuntu4 (patches unapplied)

Imported using git-ubuntu import.

2dbb786... by Paride Legovini

Updated d/changelog for 4.13.5+dfsg-2ubuntu3

2a2ddca... by Paride Legovini

samba.postinst: do not populate sambashare from the Ubuntu admin group

This reverts commit fe5cef5014db5b5d6cf55e036583f8f84962e9b2.

The admin group has been phased out in Ubuntu 12.04 [1]:

  Up until Ubuntu 11.10, administrator access using the sudo tool was
  granted via the "admin" Unix group. In Ubuntu 12.04, administrator
  access will be granted via the "sudo" group.

We could add users in the sudo group to sambashare, however I don't
think that's really a good idea:

1. The sudo group isn't likely to go away like admin did, but it's still
   an arbitrary group, and sudo does have alternatives (polkit, doas), so
   it's not really *guaranteed* to stay forever.
2. There's nothing that removes users from sambashare when they're
   removed from the admin/sudo group.
3. Users in the sudo group can add themselves to the sambashare group.
4. This has been broken for almost 10 years, with the problem being noticed
   only when the mechanism did something unexpected.

[1] https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes/UbuntuDesktop#PrecisePangolin.2FReleaseNotes.2FCommonInfrastructure.Common_Infrastructure

LP: #1942195

e517cf6... by Sergio Durigan Junior

2:4.13.5+dfsg-2ubuntu2 (patches unapplied)

Imported using git-ubuntu import.

7670f12... by Athos Ribeiro

update-maintainer