From cd29b7ae64533f6780075e1eb8b463d973467549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 6 Feb 2026 23:31:11 +0100 Subject: [PATCH 01/19] Update to Samba 4.24.0rc2 - resolves: #2437299 Guenther --- ...pilation-error-for-native-32-bit-tim.patch | 63 ------------------- samba.spec | 4 +- sources | 4 +- 3 files changed, 3 insertions(+), 68 deletions(-) delete mode 100644 0001-printing-Fix-compilation-error-for-native-32-bit-tim.patch diff --git a/0001-printing-Fix-compilation-error-for-native-32-bit-tim.patch b/0001-printing-Fix-compilation-error-for-native-32-bit-tim.patch deleted file mode 100644 index db79952..0000000 --- a/0001-printing-Fix-compilation-error-for-native-32-bit-tim.patch +++ /dev/null @@ -1,63 +0,0 @@ -From 56d8c64eef9f5bfa5d9fd683718c9d13acaaa25c Mon Sep 17 00:00:00 2001 -From: Michael Tokarev -Date: Wed, 21 Jan 2026 10:35:15 +0530 -Subject: [PATCH] printing: Fix compilation error for native 32-bit time_t - -commit#e9a7dce599eb12d broke samba compilation for 32-bit time_t. - -BUG: https://bugzilla.samba.org/show_bug.cgi?id=15976 -Used correct pointer type to fix the warning to fix compialtion. - -Pair-Programmed-With: Vinit Agnihotri -Signed-off-by: Michael Tokarev -Signed-off-by: Vinit Agnihotri ---- - source3/printing/printing.c | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/source3/printing/printing.c b/source3/printing/printing.c -index a9e8422efab..bcfd893456b 100644 ---- a/source3/printing/printing.c -+++ b/source3/printing/printing.c -@@ -59,6 +59,7 @@ static int fetch_share_cache_time(const char *key_name, - time_t *curr_time) - { - char *key = NULL; -+ int64_t curr_time64 = -1; - - key = talloc_asprintf(NULL, "%s/%s", key_name, sharename); - if (key == NULL) { -@@ -66,11 +67,12 @@ static int fetch_share_cache_time(const char *key_name, - return -1; - } - -- if (tdb_fetch_int64(tdb, key, curr_time) != 0) { -+ if (tdb_fetch_int64(tdb, key, &curr_time64) != 0) { - DBG_ERR("No timing record found for[%s]!\n", sharename); - TALLOC_FREE(key); - return -1; - } -+ *curr_time = curr_time64; - - TALLOC_FREE(key); - return 0; -@@ -82,6 +84,7 @@ static int update_share_cache_time(const char *key_name, - time_t curr_time) - { - char *key = NULL; -+ int64_t curr_time64 = curr_time; - - key = talloc_asprintf(NULL, "%s/%s", key_name, sharename); - if (key == NULL) { -@@ -89,7 +92,7 @@ static int update_share_cache_time(const char *key_name, - return -1; - } - -- if (tdb_store_int64(tdb, key, (int64_t)curr_time) != 0) { -+ if (tdb_store_int64(tdb, key, curr_time64) != 0) { - DBG_ERR("Unable to update print cache for %s\n", sharename); - TALLOC_FREE(key); - return -1; --- -2.52.0 - diff --git a/samba.spec b/samba.spec index 58f5888..11d328a 100644 --- a/samba.spec +++ b/samba.spec @@ -152,7 +152,7 @@ # default is 1). %global samba_release %autorelease -%global pre_release rc1 +%global pre_release rc2 %if "x%{?pre_release}" != "x" %global samba_release %autorelease -p -e %pre_release %endif @@ -239,8 +239,6 @@ Source18: samba-winbind-systemd-sysusers.conf Source201: README.downgrade Source202: samba.abignore -Patch0: 0001-printing-Fix-compilation-error-for-native-32-bit-tim.patch - Requires(pre): %{name}-common = %{samba_depver} Requires: %{name}-common = %{samba_depver} Requires: %{name}-ndr-libs = %{samba_depver} diff --git a/sources b/sources index 1ca5b5c..564c7eb 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (samba-4.24.0rc1.tar.xz) = 05109431874e70fc110626a8233df70f84cb2b61a594227d2327b516f25e1865dda6ecf5830fac2489fc43e8fbbf629f6cf7ec88763e73702b1edc257b78f086 -SHA512 (samba-4.24.0rc1.tar.asc) = edbaeb47dcceaedf6eac28c44fade6534d580f647fde15cb9ff2b6ffb3bede991803fb8c61d75d0c06f7051a150a5a18bbabd963cdfb7fe4fa91ad3c8ce501ab +SHA512 (samba-4.24.0rc2.tar.xz) = 895834df44e447437dc9dd1e148800437272b9b363615ffb8370961e1ef0f7b6187037c11405b3c6cc576b43fccd71903c04cd182104934c8c72f1304a671090 +SHA512 (samba-4.24.0rc2.tar.asc) = 1b6090700bcad66a8f693bfd0d25e26b2fc2e3bcc5900c416b58a7282cee378dfa72cbbcb5011a0a771df94c50a5a0ca8cc50bd72267de5c2e8e1fb671ea5767 From 5b5716872fc9c04b707e09e2e6cca18ef5ae6747 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 16 Feb 2026 09:47:37 +0100 Subject: [PATCH 02/19] Rebuild for krb5-1.22.2 [skip changelog] From 86a45e7c3c955a154c9bb9f766e518131ed87112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Mon, 23 Feb 2026 20:19:58 +0100 Subject: [PATCH 03/19] Update to Samba 4.24.0rc3 - related: #2437299 Guenther --- samba.spec | 2 +- sources | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samba.spec b/samba.spec index 11d328a..cafbadf 100644 --- a/samba.spec +++ b/samba.spec @@ -152,7 +152,7 @@ # default is 1). %global samba_release %autorelease -%global pre_release rc2 +%global pre_release rc3 %if "x%{?pre_release}" != "x" %global samba_release %autorelease -p -e %pre_release %endif diff --git a/sources b/sources index 564c7eb..40b9e63 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (samba-4.24.0rc2.tar.xz) = 895834df44e447437dc9dd1e148800437272b9b363615ffb8370961e1ef0f7b6187037c11405b3c6cc576b43fccd71903c04cd182104934c8c72f1304a671090 -SHA512 (samba-4.24.0rc2.tar.asc) = 1b6090700bcad66a8f693bfd0d25e26b2fc2e3bcc5900c416b58a7282cee378dfa72cbbcb5011a0a771df94c50a5a0ca8cc50bd72267de5c2e8e1fb671ea5767 +SHA512 (samba-4.24.0rc3.tar.xz) = 0500dfc1a6d0ba6fb3139c5a22e48c60721db09c183b5f843ea8be4a157aa3093c0d7309ae132ccafc85a44dbfee113554886c888d50a6018ede30877daeab9f +SHA512 (samba-4.24.0rc3.tar.asc) = f4e979f895f267328244fc38d8bfab235dc291e693c92d886c9fadc866f5987d9e883589fec4ebecf5624b317f21e17d083110f50bcc65dd537ad1ddf9ff1d66 From 483d53d2237bc0c1389ef3b97cfb8dc8d738fc11 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 24 Feb 2026 14:02:45 -0800 Subject: [PATCH 04/19] Rebuild on side tag Signed-off-by: Adam Williamson From aeb4e9241e938d1a527173e7fdc09681287165f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Wed, 18 Mar 2026 14:16:54 +0100 Subject: [PATCH 05/19] Update to Samba 4.24.0 - resolves: #2448612 Guenther --- samba.spec | 2 +- sources | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samba.spec b/samba.spec index cafbadf..7914190 100644 --- a/samba.spec +++ b/samba.spec @@ -152,7 +152,7 @@ # default is 1). %global samba_release %autorelease -%global pre_release rc3 +%global pre_release %nil %if "x%{?pre_release}" != "x" %global samba_release %autorelease -p -e %pre_release %endif diff --git a/sources b/sources index 40b9e63..a28720c 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (samba-4.24.0rc3.tar.xz) = 0500dfc1a6d0ba6fb3139c5a22e48c60721db09c183b5f843ea8be4a157aa3093c0d7309ae132ccafc85a44dbfee113554886c888d50a6018ede30877daeab9f -SHA512 (samba-4.24.0rc3.tar.asc) = f4e979f895f267328244fc38d8bfab235dc291e693c92d886c9fadc866f5987d9e883589fec4ebecf5624b317f21e17d083110f50bcc65dd537ad1ddf9ff1d66 +SHA512 (samba-4.24.0.tar.xz) = 8e9dd8de292ff5ca351cb892570c78b72845826dd24f536d2b7b7156bbcd05d0ac5402abbf702116878a09eb0ce859c669740e73f21afa72217bdce03d85264c +SHA512 (samba-4.24.0.tar.asc) = 0913745a1539f2b0cf76aae4f122d042515186201149ee6a8cd0ac42e97f59c0657b5dba8d269edcfa5f69763fd867ca4e351b755dc18f05670e667914e8872b From f4e3640ecc0f8db1e587545499df9aa8fa398883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 17 Apr 2026 12:18:46 +0200 Subject: [PATCH 06/19] Update to Samba 4.24.1 - resolves: #2459141 Guenther --- ...ault-value-in-case-of-non-exisiting-.patch | 77 +++++++++++++++++++ samba.spec | 4 +- sources | 4 +- 3 files changed, 82 insertions(+), 3 deletions(-) create mode 100644 0001-printing-Set-default-value-in-case-of-non-exisiting-.patch diff --git a/0001-printing-Set-default-value-in-case-of-non-exisiting-.patch b/0001-printing-Set-default-value-in-case-of-non-exisiting-.patch new file mode 100644 index 0000000..1493cb5 --- /dev/null +++ b/0001-printing-Set-default-value-in-case-of-non-exisiting-.patch @@ -0,0 +1,77 @@ +From f3b1ce2f372d6d118df9f7fdaaae7e8db7759af9 Mon Sep 17 00:00:00 2001 +From: Vinit Agnihotri +Date: Mon, 23 Mar 2026 21:01:37 +0530 +Subject: [PATCH] printing: Set default value in case of non-exisiting record + +This fixes regression caused by commit#e9a7dce599 +Newly added function treats non-existing record as error, instead of +setting just -1 i.e. default value for non-exisiting record for +printing subsystem. This results into print_cache_expired returning +incorrect status. + +Fix sets default value in case of non-exisiting record +which would ensure print_cache_expired to return correct status. + +BUG: https://bugzilla.samba.org/show_bug.cgi?id=16038 + +Signed-off-by: Vinit Agnihotri +Reviewed-by: Rabinarayan Panigrahi +Reviewed-by: Avan Thakkar +Reviewed-by: Xavi Hernandez +Reviewed-by: Anoop C S +Reviewed-by: Guenther Deschner +--- + source3/printing/printing.c | 21 +++++++++++++-------- + 1 file changed, 13 insertions(+), 8 deletions(-) + +diff --git a/source3/printing/printing.c b/source3/printing/printing.c +index d92ebd04a55..5161aa54c31 100644 +--- a/source3/printing/printing.c ++++ b/source3/printing/printing.c +@@ -61,22 +61,28 @@ static int fetch_share_cache_time(const char *key_name, + { + char *key = NULL; + int64_t curr_time64 = -1; ++ int ret = -1; + + key = talloc_asprintf(NULL, "%s/%s", key_name, sharename); + if (key == NULL) { + DBG_ERR("Failed to format key\n"); +- return -1; ++ goto out; + } + +- if (tdb_fetch_int64(tdb, key, &curr_time64) != 0) { +- DBG_ERR("No timing record found for[%s]!\n", sharename); +- TALLOC_FREE(key); +- return -1; ++ ret = tdb_fetch_int64(tdb, key, &curr_time64); ++ if (ret != 0) { ++ enum TDB_ERROR tdb_err = tdb_error(tdb); ++ if (tdb_err != TDB_ERR_NOEXIST) { ++ DBG_ERR("Error fetching timing data for [%s]. Err:%s\n", ++ sharename, tdb_errorstr(tdb)); ++ goto out; ++ } + } + *curr_time = curr_time64; +- ++ ret = 0; ++out: + TALLOC_FREE(key); +- return 0; ++ return ret; + } + + static int update_share_cache_time(const char *key_name, +@@ -1312,7 +1318,6 @@ static bool print_cache_expired(const char *sharename, bool check_pending) + + msg_pending_time = u; + if ( check_pending +- && u + && msg_pending_time > 0 + && msg_pending_time <= time_now + && (time_now - msg_pending_time) < 60 ) +-- +2.53.0 + diff --git a/samba.spec b/samba.spec index 7914190..a4bee1d 100644 --- a/samba.spec +++ b/samba.spec @@ -137,7 +137,7 @@ %bcond varlink 0 %endif -%global samba_version 4.24.0 +%global samba_version 4.24.1 # The release field is extended: # [.][.]%%{?dist}[.] @@ -239,6 +239,8 @@ Source18: samba-winbind-systemd-sysusers.conf Source201: README.downgrade Source202: samba.abignore +Patch: 0001-printing-Set-default-value-in-case-of-non-exisiting-.patch + Requires(pre): %{name}-common = %{samba_depver} Requires: %{name}-common = %{samba_depver} Requires: %{name}-ndr-libs = %{samba_depver} diff --git a/sources b/sources index a28720c..036985b 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (samba-4.24.0.tar.xz) = 8e9dd8de292ff5ca351cb892570c78b72845826dd24f536d2b7b7156bbcd05d0ac5402abbf702116878a09eb0ce859c669740e73f21afa72217bdce03d85264c -SHA512 (samba-4.24.0.tar.asc) = 0913745a1539f2b0cf76aae4f122d042515186201149ee6a8cd0ac42e97f59c0657b5dba8d269edcfa5f69763fd867ca4e351b755dc18f05670e667914e8872b +SHA512 (samba-4.24.1.tar.xz) = f3396d5464cc32bd627408bc7344e458d4a58ee2aa67acb50677ffb244e4fac638af8962b53e4692e657cb9806fd0c27010c2ccf7a1a0f6997a50155367be637 +SHA512 (samba-4.24.1.tar.asc) = 5a512bfd795270cc54e6b13eaa0dc91196a5aa0e4e048f64fcfd1ef77da413e1415b9ba6ed438c151d2130ae6ecc09d0348ea9e2c30b69b4866f6b692256affa From 6ced7ddb64592cb7fde832dbd882ed9dabf32d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Wed, 13 May 2026 11:29:10 +0200 Subject: [PATCH 07/19] Update to Samba 4.24.2 - resolves: #2476688 Guenther --- ...ault-value-in-case-of-non-exisiting-.patch | 77 ------------------- samba.spec | 4 +- sources | 4 +- 3 files changed, 3 insertions(+), 82 deletions(-) delete mode 100644 0001-printing-Set-default-value-in-case-of-non-exisiting-.patch diff --git a/0001-printing-Set-default-value-in-case-of-non-exisiting-.patch b/0001-printing-Set-default-value-in-case-of-non-exisiting-.patch deleted file mode 100644 index 1493cb5..0000000 --- a/0001-printing-Set-default-value-in-case-of-non-exisiting-.patch +++ /dev/null @@ -1,77 +0,0 @@ -From f3b1ce2f372d6d118df9f7fdaaae7e8db7759af9 Mon Sep 17 00:00:00 2001 -From: Vinit Agnihotri -Date: Mon, 23 Mar 2026 21:01:37 +0530 -Subject: [PATCH] printing: Set default value in case of non-exisiting record - -This fixes regression caused by commit#e9a7dce599 -Newly added function treats non-existing record as error, instead of -setting just -1 i.e. default value for non-exisiting record for -printing subsystem. This results into print_cache_expired returning -incorrect status. - -Fix sets default value in case of non-exisiting record -which would ensure print_cache_expired to return correct status. - -BUG: https://bugzilla.samba.org/show_bug.cgi?id=16038 - -Signed-off-by: Vinit Agnihotri -Reviewed-by: Rabinarayan Panigrahi -Reviewed-by: Avan Thakkar -Reviewed-by: Xavi Hernandez -Reviewed-by: Anoop C S -Reviewed-by: Guenther Deschner ---- - source3/printing/printing.c | 21 +++++++++++++-------- - 1 file changed, 13 insertions(+), 8 deletions(-) - -diff --git a/source3/printing/printing.c b/source3/printing/printing.c -index d92ebd04a55..5161aa54c31 100644 ---- a/source3/printing/printing.c -+++ b/source3/printing/printing.c -@@ -61,22 +61,28 @@ static int fetch_share_cache_time(const char *key_name, - { - char *key = NULL; - int64_t curr_time64 = -1; -+ int ret = -1; - - key = talloc_asprintf(NULL, "%s/%s", key_name, sharename); - if (key == NULL) { - DBG_ERR("Failed to format key\n"); -- return -1; -+ goto out; - } - -- if (tdb_fetch_int64(tdb, key, &curr_time64) != 0) { -- DBG_ERR("No timing record found for[%s]!\n", sharename); -- TALLOC_FREE(key); -- return -1; -+ ret = tdb_fetch_int64(tdb, key, &curr_time64); -+ if (ret != 0) { -+ enum TDB_ERROR tdb_err = tdb_error(tdb); -+ if (tdb_err != TDB_ERR_NOEXIST) { -+ DBG_ERR("Error fetching timing data for [%s]. Err:%s\n", -+ sharename, tdb_errorstr(tdb)); -+ goto out; -+ } - } - *curr_time = curr_time64; -- -+ ret = 0; -+out: - TALLOC_FREE(key); -- return 0; -+ return ret; - } - - static int update_share_cache_time(const char *key_name, -@@ -1312,7 +1318,6 @@ static bool print_cache_expired(const char *sharename, bool check_pending) - - msg_pending_time = u; - if ( check_pending -- && u - && msg_pending_time > 0 - && msg_pending_time <= time_now - && (time_now - msg_pending_time) < 60 ) --- -2.53.0 - diff --git a/samba.spec b/samba.spec index a4bee1d..9ace61f 100644 --- a/samba.spec +++ b/samba.spec @@ -137,7 +137,7 @@ %bcond varlink 0 %endif -%global samba_version 4.24.1 +%global samba_version 4.24.2 # The release field is extended: # [.][.]%%{?dist}[.] @@ -239,8 +239,6 @@ Source18: samba-winbind-systemd-sysusers.conf Source201: README.downgrade Source202: samba.abignore -Patch: 0001-printing-Set-default-value-in-case-of-non-exisiting-.patch - Requires(pre): %{name}-common = %{samba_depver} Requires: %{name}-common = %{samba_depver} Requires: %{name}-ndr-libs = %{samba_depver} diff --git a/sources b/sources index 036985b..ba72789 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (samba-4.24.1.tar.xz) = f3396d5464cc32bd627408bc7344e458d4a58ee2aa67acb50677ffb244e4fac638af8962b53e4692e657cb9806fd0c27010c2ccf7a1a0f6997a50155367be637 -SHA512 (samba-4.24.1.tar.asc) = 5a512bfd795270cc54e6b13eaa0dc91196a5aa0e4e048f64fcfd1ef77da413e1415b9ba6ed438c151d2130ae6ecc09d0348ea9e2c30b69b4866f6b692256affa +SHA512 (samba-4.24.2.tar.xz) = e585a79cc600cd1719d52428032cf0c469973b7c687426b743552c0e8a2ed5eb8ceeb9eee5a04203a0d8a2650c88c5dacd4f2d7f0132a59b8126ce1f460622e9 +SHA512 (samba-4.24.2.tar.asc) = d46bf9be263496f0561aaf4dd2da23ae32f971cba491a98b590592f3fcd00ca880e2676a43135aae3bff04daa121c6a4606ca40f22317f6b2b58b9b404e79b31 From 17851995618362d2f700e128a6ae17d2be46475d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Filipensk=C3=BD?= Date: Sat, 16 May 2026 22:07:19 +0200 Subject: [PATCH 08/19] Remove symlinks that are marked as %ghost --- samba.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/samba.spec b/samba.spec index 9ace61f..f614a74 100644 --- a/samba.spec +++ b/samba.spec @@ -1634,6 +1634,9 @@ rm -f %{buildroot}%{_mandir}/man3/PyLdb* # CTDB %if %{with clustering} touch %{buildroot}%{_libexecdir}/ctdb/statd_callout + +# Remove symlinks that are marked as %ghost (CTDB will create them at runtime) +rm -f %{buildroot}%{_sysconfdir}/ctdb/statd-callout #endif with clustering %endif From 6790d4ad4e7008c8ce6cd209bbf7b875d5288984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Filipensk=C3=BD?= Date: Sat, 16 May 2026 22:08:15 +0200 Subject: [PATCH 09/19] Add libcmocka-private-samba.so to test-libs --- samba.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/samba.spec b/samba.spec index f614a74..87e6515 100644 --- a/samba.spec +++ b/samba.spec @@ -3936,6 +3936,7 @@ fi %else %{_libdir}/samba/libdsdb-module-private-samba.so %endif +%{_libdir}/samba/libcmocka-private-samba.so ### USERSHARES %files usershares From bbe4a33dfabce0e7886bae9ad8c25ad581bf838f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Wed, 27 May 2026 12:11:03 +0200 Subject: [PATCH 10/19] Update to Samba 4.24.3 - resolves: rhbz#2481468 - resolves: rhbz#2481447 - Security fix for CVE-2026-4480 - resolves: rhbz#2481875 - Security fix for CVE-2026-2340 - resolves: rhbz#2481857 - Security fix for CVE-2026-3012 - resolves: rhbz#2481876 - Security fix for CVE-2026-1933 - Security fix for CVE-2026-4408 - Security fix for CVE-2026-3238 Guenther --- samba.spec | 3 +-- sources | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/samba.spec b/samba.spec index 87e6515..9af55d5 100644 --- a/samba.spec +++ b/samba.spec @@ -137,7 +137,7 @@ %bcond varlink 0 %endif -%global samba_version 4.24.2 +%global samba_version 4.24.3 # The release field is extended: # [.][.]%%{?dist}[.] @@ -3936,7 +3936,6 @@ fi %else %{_libdir}/samba/libdsdb-module-private-samba.so %endif -%{_libdir}/samba/libcmocka-private-samba.so ### USERSHARES %files usershares diff --git a/sources b/sources index ba72789..176bdc9 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (samba-4.24.2.tar.xz) = e585a79cc600cd1719d52428032cf0c469973b7c687426b743552c0e8a2ed5eb8ceeb9eee5a04203a0d8a2650c88c5dacd4f2d7f0132a59b8126ce1f460622e9 -SHA512 (samba-4.24.2.tar.asc) = d46bf9be263496f0561aaf4dd2da23ae32f971cba491a98b590592f3fcd00ca880e2676a43135aae3bff04daa121c6a4606ca40f22317f6b2b58b9b404e79b31 +SHA512 (samba-4.24.3.tar.xz) = 9764ecaa1c273875e903efe6f9d87d1197699ca2287a546addaf0c4dc4a748594b2b46634f5e5ef17fbd9a63ab01a4494ede128d0acc640790a2ec95deb6c047 +SHA512 (samba-4.24.3.tar.asc) = 07808260af048b8a46231a19b7fca7b8635381c484ae154394872c0033b3ab85ffa4f45a82e59083a3bc1eb91cb94f0b21d276b616790acc4f5e0cd86ba50285 From 18fa79b586a0a0081ab4e911fc7d5d01d017dfa1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 5 Jun 2026 00:29:07 +0200 Subject: [PATCH 11/19] Rebuilt for Python 3.15 From eabb3a2c8c50ebe7160d72bb19da71cd89cfa28a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= Date: Mon, 8 Jun 2026 15:15:28 +0200 Subject: [PATCH 12/19] Rebuilt for icu 78.3 From fc5bfb4a8145de32b378cab84cefd8d337959a9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Wed, 1 Jul 2026 12:14:57 +0200 Subject: [PATCH 13/19] Update to Samba 4.24.4 - resolves: rhbz#2495234 Guenther --- samba.spec | 2 +- sources | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samba.spec b/samba.spec index 9af55d5..b2f555c 100644 --- a/samba.spec +++ b/samba.spec @@ -137,7 +137,7 @@ %bcond varlink 0 %endif -%global samba_version 4.24.3 +%global samba_version 4.24.4 # The release field is extended: # [.][.]%%{?dist}[.] diff --git a/sources b/sources index 176bdc9..9dce38a 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (samba-4.24.3.tar.xz) = 9764ecaa1c273875e903efe6f9d87d1197699ca2287a546addaf0c4dc4a748594b2b46634f5e5ef17fbd9a63ab01a4494ede128d0acc640790a2ec95deb6c047 -SHA512 (samba-4.24.3.tar.asc) = 07808260af048b8a46231a19b7fca7b8635381c484ae154394872c0033b3ab85ffa4f45a82e59083a3bc1eb91cb94f0b21d276b616790acc4f5e0cd86ba50285 +SHA512 (samba-4.24.4.tar.xz) = 3c47c2c47551fd3976e34c3f80f22f37e9ba25c2475f6769237d729dbe25f66c6fef5c64bfdd867fcdc7a8da28358b841794c0f1c4d2c6abd0357df1cc024e35 +SHA512 (samba-4.24.4.tar.asc) = 8006744f24512fed6cbd4270b7b930343474fb5adb323e104dda5a3b7773bb531a7d8702b79c37e6377b14cddbba731a105728f0602384ffcaecfd5673a8b054 From b0864d2e914b3296cfefdf36a08bf2e7e8694c00 Mon Sep 17 00:00:00 2001 From: Sun Haiyong Date: Fri, 20 Mar 2026 01:45:03 +0000 Subject: [PATCH 14/19] Add support for loongarch64 Signed-off-by: Sun Haiyong --- samba.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/samba.spec b/samba.spec index b2f555c..7c73105 100644 --- a/samba.spec +++ b/samba.spec @@ -65,7 +65,7 @@ # Build vfs_ceph module and ctdb cepth mutex helper by default on 64bit Fedora %if 0%{?fedora} -%ifarch aarch64 ppc64le s390x x86_64 riscv64 +%ifarch aarch64 ppc64le s390x x86_64 riscv64 loongarch64 %bcond vfs_cephfs 1 %bcond ceph_mutex 1 %else @@ -82,7 +82,7 @@ %if 0%{?fedora} -%ifarch aarch64 ppc64le s390x x86_64 riscv64 +%ifarch aarch64 ppc64le s390x x86_64 riscv64 loongarch64 %bcond vfs_glusterfs 1 %else %bcond vfs_glusterfs 0 @@ -93,7 +93,7 @@ %endif # Build vfs_io_uring module by default on 64bit Fedora -%ifarch aarch64 ppc64le s390x x86_64 riscv64 +%ifarch aarch64 ppc64le s390x x86_64 riscv64 loongarch64 %bcond vfs_io_uring 1 %else %bcond vfs_io_uring 0 @@ -125,7 +125,7 @@ %bcond prometheus 0 %endif -%ifarch aarch64 ppc64le s390x x86_64 riscv64 +%ifarch aarch64 ppc64le s390x x86_64 riscv64 loongarch64 %bcond lmdb 1 %else %bcond lmdb 0 From ca35413977fa0440a8654dfc772d1198cd15ccc4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 06:08:40 +0000 Subject: [PATCH 15/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild From 5f47794e09fd6ebe1d3cf9c8b950168c33964d7f Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 22 Jul 2026 10:10:58 +0200 Subject: [PATCH 16/19] Rebuilt for Python 3.15.0b4 ABI change From b850e552d31d866ba84a58e642d250a798a19fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Filipensk=C3=BD?= Date: Tue, 28 Jul 2026 07:54:41 +0200 Subject: [PATCH 17/19] Remove obsolete NetworkManager < 1.20 conflict This conflict was added in 2019 when moving the dispatcher script from /etc to /usr/lib. NetworkManager 1.20+ is now the minimum in all supported Fedora releases. --- samba.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/samba.spec b/samba.spec index 7c73105..748701d 100644 --- a/samba.spec +++ b/samba.spec @@ -1079,9 +1079,6 @@ Requires: %{name}-dcerpc = %{samba_depver} Provides: samba4-winbind = %{samba_depver} Obsoletes: samba4-winbind < %{samba_depver} -# Old NetworkManager expects the dispatcher scripts in a different place -Conflicts: NetworkManager < 1.20 - Provides: bundled(libreplace) = %{samba_depver} %description winbind From 697eca79245b8d2829227aa4edf20ad4a12ebcf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Thu, 30 Jul 2026 10:30:17 +0200 Subject: [PATCH 18/19] Update to Samba 4.24.5 - resolves: rhbz#2509257 - Security fix for CVE-2026-6949 - resolves: rhbz#2509266 - Security fix for CVE-2026-58218 - resolves: rhbz#2509280 - Security fix for CVE-2026-58221 - resolves: rhbz#2509502 - Security fix for CVE-2026-58222 - resolves: Security fix for CVE-2026-58216 - resolves: Security fix for CVE-2026-58224 Guenther --- samba.spec | 2 +- sources | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samba.spec b/samba.spec index 748701d..eef86e6 100644 --- a/samba.spec +++ b/samba.spec @@ -137,7 +137,7 @@ %bcond varlink 0 %endif -%global samba_version 4.24.4 +%global samba_version 4.24.5 # The release field is extended: # [.][.]%%{?dist}[.] diff --git a/sources b/sources index 9dce38a..9485f46 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (samba-4.24.4.tar.xz) = 3c47c2c47551fd3976e34c3f80f22f37e9ba25c2475f6769237d729dbe25f66c6fef5c64bfdd867fcdc7a8da28358b841794c0f1c4d2c6abd0357df1cc024e35 -SHA512 (samba-4.24.4.tar.asc) = 8006744f24512fed6cbd4270b7b930343474fb5adb323e104dda5a3b7773bb531a7d8702b79c37e6377b14cddbba731a105728f0602384ffcaecfd5673a8b054 +SHA512 (samba-4.24.5.tar.xz) = d0bf4ee44205e37b9843139d9fb5c557d7efbca6a5d908b39a879291d57fa5ca0e6f3cf24de19bdd6266ea48ea50c5cb3a517a62e3c14da9f4edf4017a337508 +SHA512 (samba-4.24.5.tar.asc) = 46b8d341405261fea5cb3c651ea1a8d6693ae0142a4125c9d7329725a37482ffae806649f230e5d49e3ed4fa82f6eb6919ed4919ed783edb1433e6137a356600 From b188f1b9d24502eff0c99d3d2e67f3b26c571f70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Thu, 13 Aug 2026 15:26:26 +0200 Subject: [PATCH 19/19] Update to Samba 4.25.0rc1 - resolves: rhbz#2514222 Guenther --- samba.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++++----- sources | 4 ++-- 2 files changed, 52 insertions(+), 7 deletions(-) diff --git a/samba.spec b/samba.spec index eef86e6..501d079 100644 --- a/samba.spec +++ b/samba.spec @@ -67,15 +67,18 @@ %ifarch aarch64 ppc64le s390x x86_64 riscv64 loongarch64 %bcond vfs_cephfs 1 +%bcond vfs_ceph_rgw 1 %bcond ceph_mutex 1 %else %bcond vfs_cephfs 0 +%bcond vfs_ceph_rgw 0 %bcond ceph_mutex 0 #endifarch %endif %else %bcond vfs_cephfs 0 +%bcond vfs_ceph_rgw 0 %bcond ceph_mutex 0 #endif fedora %endif @@ -137,7 +140,7 @@ %bcond varlink 0 %endif -%global samba_version 4.24.5 +%global samba_version 4.25.0 # The release field is extended: # [.][.]%%{?dist}[.] @@ -152,7 +155,7 @@ # default is 1). %global samba_release %autorelease -%global pre_release %nil +%global pre_release rc1 %if "x%{?pre_release}" != "x" %global samba_release %autorelease -p -e %pre_release %endif @@ -182,9 +185,9 @@ %global libsmbclient_so_version 0 %global libwbclient_so_version 0 -%global talloc_version 2.4.4 +%global talloc_version 2.5.0 %global tdb_version 1.4.15 -%global tevent_version 0.17.1 +%global tevent_version 0.17.2 %global required_mit_krb5 1.20.1 @@ -365,6 +368,10 @@ BuildRequires: glusterfs-devel >= 3.4.0.16 BuildRequires: libcephfs-devel %endif +%if %{with vfs_ceph_rgw} +BuildRequires: librgw-devel +%endif + %if %{with vfs_io_uring} BuildRequires: liburing-devel >= 0.4 %endif @@ -746,6 +753,22 @@ Samba VFS module for Ceph distributed storage system integration. #endif with vfs_cephfs %endif +%if %{with vfs_ceph_rgw} +%package vfs-ceph-rgw +Summary: Samba VFS module for exporting Ceph-RGW buckets +Requires: %{name} = %{samba_depver} +Requires: %{name}-client-libs = %{samba_depver} +Requires: %{name}-libs = %{samba_depver} +Requires: libldb = %{samba_depver} +Requires: libwbclient = %{samba_depver} + +Provides: bundled(libreplace) = %{samba_depver} + +%description vfs-ceph-rgw +Samba VFS module for exporting Ceph-RGW buckets. +#endif with vfs_ceph_rgw +%endif + ### IOURING %if %{with vfs_io_uring} %package vfs-iouring @@ -1467,10 +1490,14 @@ export PYTHONARCHDIR=%{python3_sitearch} %endif %if %{with varlink} --with-systemd-userdb \ +%endif +%if %{with vfs_ceph_rgw} + --enable-cephrgw \ %endif --with-profiling-data \ --with-systemd \ --with-quotas \ + --with-ratelimitd \ --systemd-install-services \ --with-systemddir=/usr/lib/systemd/system \ --systemd-smb-extra=%{_systemd_extra} \ @@ -1596,6 +1623,10 @@ rm -f %{buildroot}%{_mandir}/man8/vfs_ceph.8* rm -f %{buildroot}%{_mandir}/man8/vfs_ceph_snapshots.8* %endif +%if %{without vfs_ceph_rgw} +rm -f %{buildroot}%{_mandir}/man8/vfs_ceph_rgw.8* +%endif + # This makes the right links, as rpmlint requires that # the ldconfig-created links be recorded in the RPM. /sbin/ldconfig -N -n %{buildroot}%{_libdir} @@ -2541,6 +2572,13 @@ fi %{_mandir}/man8/vfs_ceph_snapshots.8* %endif +### VFS-CEPH-RGW +%if %{with vfs_ceph_rgw} +%files vfs-ceph-rgw +%{_libdir}/samba/vfs/ceph_rgw.so +%{_mandir}/man8/vfs_ceph_rgw.8* +%endif + ### VFS-IOURING %if %{with vfs_io_uring} %files vfs-iouring @@ -2760,10 +2798,12 @@ fi %{python3_sitearch}/samba/dcerpc/drsuapi.*.so %{python3_sitearch}/samba/dcerpc/echo.*.so %{python3_sitearch}/samba/dcerpc/epmapper.*.so +%{python3_sitearch}/samba/dcerpc/file_id.*.so %{python3_sitearch}/samba/dcerpc/gkdi.*.so %{python3_sitearch}/samba/dcerpc/gmsa.*.so %{python3_sitearch}/samba/dcerpc/idmap.*.so %{python3_sitearch}/samba/dcerpc/initshutdown.*.so +%{python3_sitearch}/samba/dcerpc/ioctl.*.so %{python3_sitearch}/samba/dcerpc/irpc.*.so %{python3_sitearch}/samba/dcerpc/keycredlink.*.so %{python3_sitearch}/samba/dcerpc/krb5ccache.*.so @@ -3363,8 +3403,10 @@ fi %{python3_sitearch}/samba/tests/__pycache__/net_join_no_spnego.*.pyc %{python3_sitearch}/samba/tests/__pycache__/net_join.*.pyc %{python3_sitearch}/samba/tests/__pycache__/netlogonsvc.*.pyc -%{python3_sitearch}/samba/tests/__pycache__/ntacls.*.pyc +%{python3_sitearch}/samba/tests/__pycache__/nps_echo_test.*.pyc +%{python3_sitearch}/samba/tests/__pycache__/ntacl_resource_attr_ace.*.pyc %{python3_sitearch}/samba/tests/__pycache__/ntacls_backup.*.pyc +%{python3_sitearch}/samba/tests/__pycache__/ntacls.*.pyc %{python3_sitearch}/samba/tests/__pycache__/ntlmdisabled.*.pyc %{python3_sitearch}/samba/tests/__pycache__/ntlm_auth.*.pyc %{python3_sitearch}/samba/tests/__pycache__/ntlm_auth_base.*.pyc @@ -3726,12 +3768,14 @@ fi %{python3_sitearch}/samba/tests/net_join_no_spnego.py %{python3_sitearch}/samba/tests/net_join.py %{python3_sitearch}/samba/tests/netlogonsvc.py +%{python3_sitearch}/samba/tests/nps_echo_test.py %dir %{python3_sitearch}/samba/tests/nss %dir %{python3_sitearch}/samba/tests/nss/__pycache__ %{python3_sitearch}/samba/tests/nss/__pycache__/base.*.pyc %{python3_sitearch}/samba/tests/nss/__pycache__/group.*.pyc %{python3_sitearch}/samba/tests/nss/base.py %{python3_sitearch}/samba/tests/nss/group.py +%{python3_sitearch}/samba/tests/ntacl_resource_attr_ace.py %{python3_sitearch}/samba/tests/ntacls.py %{python3_sitearch}/samba/tests/ntacls_backup.py %{python3_sitearch}/samba/tests/ntlmdisabled.py @@ -4077,6 +4121,7 @@ fi %{_datadir}/ctdb/events/legacy/11.natgw.script %{_datadir}/ctdb/events/legacy/11.routing.script %{_datadir}/ctdb/events/legacy/13.per_ip_routing.script +%{_datadir}/ctdb/events/legacy/15.network.script %{_datadir}/ctdb/events/legacy/20.multipathd.script %{_datadir}/ctdb/events/legacy/31.clamd.script %{_datadir}/ctdb/events/legacy/40.vsftpd.script diff --git a/sources b/sources index 9485f46..d203721 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (samba-4.24.5.tar.xz) = d0bf4ee44205e37b9843139d9fb5c557d7efbca6a5d908b39a879291d57fa5ca0e6f3cf24de19bdd6266ea48ea50c5cb3a517a62e3c14da9f4edf4017a337508 -SHA512 (samba-4.24.5.tar.asc) = 46b8d341405261fea5cb3c651ea1a8d6693ae0142a4125c9d7329725a37482ffae806649f230e5d49e3ed4fa82f6eb6919ed4919ed783edb1433e6137a356600 +SHA512 (samba-4.25.0rc1.tar.xz) = 34b1a2ebf9b391fa9f03cfc6bb95cfb47237e1c0a677144b6e699420fe27fe22a113783e6bc17244948156091bf1d24debe3b996ff026724f0c2aaf06e2ed736 +SHA512 (samba-4.25.0rc1.tar.asc) = f8ed4617e56f9925c2591ffdf3c0aa010750a08ea216f05414e50c8e90817da49fc4bbf799e64459ea36b57341b566961e7f3434505ce656be39ee9b56ee4709