Compare commits

...
Sign in to create a new pull request.

19 commits

Author SHA1 Message Date
Günther Deschner
b188f1b9d2 Update to Samba 4.25.0rc1
- resolves: rhbz#2514222

Guenther
2026-08-14 13:08:50 +02:00
Günther Deschner
697eca7924 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
2026-08-03 13:11:38 +02:00
Pavel Filipenský
b850e552d3 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.
2026-07-28 07:54:41 +02:00
Python Maint
5f47794e09 Rebuilt for Python 3.15.0b4 ABI change 2026-07-22 10:10:58 +02:00
Fedora Release Engineering
ca35413977 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 06:08:40 +00:00
Sun Haiyong
b0864d2e91 Add support for loongarch64
Signed-off-by: Sun Haiyong <sunhaiyong@zdbr.net>
2026-07-02 11:15:59 +08:00
Günther Deschner
fc5bfb4a81 Update to Samba 4.24.4
- resolves: rhbz#2495234

Guenther
2026-07-01 12:14:57 +02:00
František Zatloukal
eabb3a2c8c Rebuilt for icu 78.3 2026-06-08 15:15:28 +02:00
Python Maint
18fa79b586 Rebuilt for Python 3.15 2026-06-05 00:29:07 +02:00
Günther Deschner
bbe4a33dfa 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
2026-05-28 23:26:17 +02:00
Pavel Filipenský
6790d4ad4e Add libcmocka-private-samba.so to test-libs 2026-05-16 22:08:15 +02:00
Pavel Filipenský
1785199561 Remove symlinks that are marked as %ghost 2026-05-16 22:07:19 +02:00
Günther Deschner
6ced7ddb64 Update to Samba 4.24.2
- resolves: #2476688

Guenther
2026-05-13 11:29:10 +02:00
Günther Deschner
f4e3640ecc Update to Samba 4.24.1
- resolves: #2459141

Guenther
2026-04-17 13:52:52 +02:00
Günther Deschner
aeb4e9241e Update to Samba 4.24.0
- resolves: #2448612

Guenther
2026-03-18 14:16:54 +01:00
Adam Williamson
483d53d223 Rebuild on side tag
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-02-24 14:02:45 -08:00
Günther Deschner
86a45e7c3c Update to Samba 4.24.0rc3
- related: #2437299

Guenther
2026-02-23 20:19:58 +01:00
Andreas Schneider
5b5716872f Rebuild for krb5-1.22.2
[skip changelog]
2026-02-16 09:47:37 +01:00
Günther Deschner
cd29b7ae64 Update to Samba 4.24.0rc2
- resolves: #2437299

Guenther
2026-02-06 23:31:11 +01:00
3 changed files with 58 additions and 78 deletions

View file

@ -1,63 +0,0 @@
From 56d8c64eef9f5bfa5d9fd683718c9d13acaaa25c Mon Sep 17 00:00:00 2001
From: Michael Tokarev <mjt@tls.msk.ru>
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 <vagnihot@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Vinit Agnihotri <vagnihot@redhat.com>
---
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

View file

@ -65,24 +65,27 @@
# 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 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
%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 +96,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 +128,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
@ -137,7 +140,7 @@
%bcond varlink 0
%endif
%global samba_version 4.24.0
%global samba_version 4.25.0
# The release field is extended:
# <pkgrel>[.<extraver>][.<snapinfo>]%%{?dist}[.<minorbump>]
@ -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
@ -239,8 +242,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}
@ -367,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
@ -748,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
@ -1081,9 +1102,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
@ -1472,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} \
@ -1601,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}
@ -1636,6 +1662,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
@ -2543,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
@ -2762,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
@ -3365,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
@ -3728,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
@ -4079,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

View file

@ -1,2 +1,2 @@
SHA512 (samba-4.24.0rc1.tar.xz) = 05109431874e70fc110626a8233df70f84cb2b61a594227d2327b516f25e1865dda6ecf5830fac2489fc43e8fbbf629f6cf7ec88763e73702b1edc257b78f086
SHA512 (samba-4.24.0rc1.tar.asc) = edbaeb47dcceaedf6eac28c44fade6534d580f647fde15cb9ff2b6ffb3bede991803fb8c61d75d0c06f7051a150a5a18bbabd963cdfb7fe4fa91ad3c8ce501ab
SHA512 (samba-4.25.0rc1.tar.xz) = 34b1a2ebf9b391fa9f03cfc6bb95cfb47237e1c0a677144b6e699420fe27fe22a113783e6bc17244948156091bf1d24debe3b996ff026724f0c2aaf06e2ed736
SHA512 (samba-4.25.0rc1.tar.asc) = f8ed4617e56f9925c2591ffdf3c0aa010750a08ea216f05414e50c8e90817da49fc4bbf799e64459ea36b57341b566961e7f3434505ce656be39ee9b56ee4709