Bug 55907 - Update Samba to 4.18.3
Update Samba to 4.18.3
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-4
Assigned To: Arvid Requate
Julia Bremer
:
Depends on:
Blocks: ucs504meta ucs504highlight 56187
  Show dependency treegraph
 
Reported: 2023-03-23 11:30 CET by Arvid Requate
Modified: 2023-06-21 17:55 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2023-03-23 11:30:53 CET
We should increase our samba version to 4.18.x

https://www.samba.org/samba/history/samba-4.18.0.html


The changes since 4.16 need to be checked and possibly mentioned in the release notes:
* https://wiki.samba.org/index.php/Samba_4.17_Features_added/changed
* https://wiki.samba.org/index.php/Samba_4.18_Features_added/changed
Comment 1 Arvid Requate univentionstaff 2023-03-23 11:37:05 CET
We should check/pick up the new Debian source packaging too

* https://packages.debian.org/bookworm/samba (currently 2:4.17.5+dfsg-2)
* ( https://packages.debian.org/experimental/samba currently 2:4.18.0+dfsg-1~exp1 )
Comment 2 Florian Best univentionstaff 2023-03-23 11:46:04 CET
1. For the patch adjustments some things are already done in UCS 5.2, see:

diff -r patches/samba/5.0-0-0-ucs/2\:4.16.8-1-errata5.0-3/ patches/samba/5.2-0-0-ucs/2:4.17.5+dfsg-2

2. The latest samba package provide the binary packages of "ldb". How should this be handled? Remove the source package "ldb" from 5.0-4 then?
Comment 3 Arvid Requate univentionstaff 2023-03-23 12:09:22 CET
> Remove the source package "ldb" from 5.0-4 then?

Yeah, I guess, or simply not import it there (currently it isn't).
Not having that separate would have simplified some samba security updates.
Comment 4 Arvid Requate univentionstaff 2023-04-17 12:06:10 CEST
Packages cherrypicked from ucs_5.0-0-samba-dev and re-built in ucs_5.0-0-ucs5.0-4:
* talloc, tevent, tdb, samba (which now contains ldb), univention-ldb-modules

TODO after git/ucs branch preview/5.0-4 has been merged into 5.0-4:

* doc/changelog/index.rst
* doc/release-notes/index.rst
Comment 5 Arvid Requate univentionstaff 2023-06-13 18:34:05 CEST
The UCS Samba Debian package has been updated to 4.18.3 (simply using uupdate).

Patches have been adjusted (mainly adding 04_symbols.patch):
* https://git.knut.univention.de/univention/ucs-patches/-/tree/main/samba/ucs_5.0-0-ucs5.0-4
* https://git.knut.univention.de/univention/ucs-patches/-/tree/main/samba/ucs_5.1-0
* https://git.knut.univention.de/univention/ucs-patches/-/tree/main/samba/ucs_5.2-0

The package has been built for:
* ucs_5.0-0-ucs5.0-4
* ucs_5.1-0
* ucs_5.2-0

univention-ldb-modules has been version-bumped in ucs5.0-4 (to make my test VMs updateable)
and rebuilt in those scopes too.

I added a line to changelog and release notes.

An ucsschool test required adjustment:
b7e9c434a |  Adjust test regexp to new Samba output
Comment 6 Julia Bremer univentionstaff 2023-06-17 11:49:01 CEST
OK: Patches
OK: Package upgrade to 5.0-4
OK: Producttests
OK: Jenkins tests
OK: Changelog
OK: univention-ldb-module
Verified
Comment 7 Philipp Hahn univentionstaff 2023-06-21 09:24:42 CEST
UCS 5.0-4 has been released:
 https://docs.software-univention.de/release-notes/5.0-4/en/

If this error occurs again, please use the 'Clone This Bug' option.