Compare commits

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

224 commits

Author SHA1 Message Date
Andreas Schneider
58df5ed52b rpminspect: Don't run annocheck on test binaries
[skip changelog]
2026-01-15 17:21:55 +01:00
Andreas Schneider
1f4ee5276f Remove duplicate libdsdb-module-private-samba.so 2026-01-14 16:36:45 +01:00
Andreas Schneider
dca7b1cb88 Move Obsoletes to ndr-package which more or less was common-libs
[skip changelog]
2026-01-14 16:36:45 +01:00
Andreas Schneider
6af45b81d3 Add /usr/bin/nmbd to rpminspect.yml
/usr/sbin/nmbd is a symlink to /usr/bin/nmbd on Fedora.

[skip changelog]
2026-01-14 16:36:45 +01:00
Andreas Schneider
da7dc3fa61 Add missing tmt files
[skip changelog]
2026-01-14 14:30:40 +01:00
Andreas Schneider
dab569ad71 Create a samba-ndr-libs package and drop samba-common-libs
This should help sssd to reduce some of its dependencies.
2026-01-14 13:36:05 +01:00
Andreas Schneider
baa9e6f8c0 Move libraries from samba-client-libs to samba-libs 2026-01-14 12:23:39 +01:00
Andreas Schneider
fcd8668e55 Add gating test to detect dependency changes in samba libraries
[skip changelog]
2026-01-14 11:43:34 +01:00
Andreas Schneider
b8395d93a7 Create a core-libs sub-package to split up library dependencies 2026-01-14 11:42:08 +01:00
Andreas Schneider
4a23ce5b7a Remove unneeded dependency to samba-common-libs 2026-01-14 08:01:17 +01:00
Andreas Schneider
a170fadc8d Do not redeclare cmocka functions
This might cause issues when compiling with newer cmocka versions.
2026-01-12 10:05:53 +01:00
Günther Deschner
8c46386794 Update to Samba 4.23.4
- resolves: #2421764

Guenther
2025-12-12 17:04:18 +01:00
Andreas Schneider
fb14cf225b Add hint that we bundle ngtcp2 if not provided by the system 2025-11-14 19:12:12 +01:00
Andreas Schneider
4af6273371 Update gitignore
[skip changelog]
2025-11-14 19:12:12 +01:00
Günther Deschner
80c8f32211 Update to Samba 4.23.3
- resolves: #2413362

Guenther
2025-11-07 17:15:53 +01:00
Andreas Schneider
efaa5fdc6d Fix --with testsuite
[skip changelog]
2025-10-22 13:42:11 +02:00
Günther Deschner
c05bf06122 Update to Samba 4.23.2
- resolves: rhbz#2404204
- resolves: rhbz#2391698 - Security fix for CVE-2025-9640
- resolves: rhbz#2394377 - Security fix for CVE-2025-10230

Guenther
2025-10-17 20:41:14 +02:00
Günther Deschner
4e3699d8b5 Update to Samba 4.23.1
- resolves: #2399755

Guenther
2025-09-29 14:16:25 +02:00
Alexander Bokovoy
07953f426e Fix DLZ crash on unconfigured Samba AD system and rebuild against Python 3.14.0rc3
- Resolves: rhbz#2396621
 - Resolves: rhbz#2397242

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
2025-09-23 11:42:46 +03:00
Andreas Schneider
b40a7310d3 Build with systemd-userdb support 2025-09-15 10:43:55 +02:00
Andreas Schneider
54c3bbd3f1 Fix building ctdb with PCP 7.0.0 2025-09-12 18:04:02 +02:00
Andreas Schneider
0bc0416ee8 Remove smb3 unix extensions = yes from smb.conf
This is enabled by default now.
2025-09-12 15:03:30 +02:00
Andreas Schneider
86832ccc39 Update to version 4.23.0
- resolves: rhbz#2394791
2025-09-12 14:55:35 +02:00
Günther Deschner
e0762b936f Update to Samba 4.23.0rc4
- resolves: #2393434

Guenther
2025-09-10 10:28:22 +02:00
Alexander Bokovoy
beb6a11089 Restore PCP support
- resolves: rhbz#2392879

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
2025-09-04 09:47:08 +03:00
Alexander Bokovoy
5a96c90427 Disable PCP 7.0.0 support
PCP 7.0.0 API has changed, needs more work in ctdb

https://bugzilla.samba.org/show_bug.cgi?id=15904

- resolves: rhbz#2392879

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
2025-09-03 16:28:38 +03:00
Alexander Bokovoy
a6119e2bb3 Fix FreeIPA trust to AD
- resolves: rhbz#2392626

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
2025-09-03 15:03:44 +03:00
Günther Deschner
83273a97b1 Update to Samba 4.23.0rc3
- resolves: #2387090

Guenther
2025-08-29 23:51:02 +02:00
Günther Deschner
e6a975e422 Update to Samba 4.23.0rc2
- resolves: #2387090

Guenther
2025-08-22 22:06:30 +02:00
Python Maint
c108db5e55 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-18 13:57:35 +02:00
Yaakov Selkowitz
c2bf86b8d2 Move trust_notify module to -dc subpackage
This module is not built in ELN, resulting in a file not found error when
packaging libldb.  Its build conditions are the same as the dns_notify
module already in -dc.
2025-08-17 23:07:18 -04:00
Günther Deschner
052edc4ab6 Update to Samba 4.23.0rc1
- resolves: #2387090

Guenther
2025-08-12 22:09:33 +02:00
František Zatloukal
ad5439e191 Rebuilt for icu 77.1 2025-08-06 09:57:46 +02:00
Fedora Release Engineering
5c93354123 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 17:53:14 +00:00
Günther Deschner
b40f280be5 Fix get_kdc_ip_string handling for secondary KDCs
- resolves: bzso#15881

Guenther
2025-07-10 21:49:52 +02:00
Günther Deschner
d5056e867a Update to Samba 4.22.3
- resolves: #2376873

Guenther
2025-07-08 00:50:43 +02:00
Andreas Schneider
060552411c smb.conf: Remove the '@' for NIX groups, we removed NIS support 2025-06-23 10:14:07 +02:00
Pavel Filipenský
ac5f4a1f4b Move libreplace-private-samba.so to samba-common-libs
Fix this rpmdeps report:

VERIFY Subpackage libldb on x86_64 carries
'Requires: libreplace-private-samba.so()(64bit)' which comes from
subpackage samba-client-libs but does not carry an explicit package
version requirement. Please add 'Requires: samba-client-libs =
%{version}-%{release}' to the spec file to avoid the need to test
interoperability between various combinations of old and new
subpackages.
2025-06-10 14:16:16 +02:00
Pavel Filipenský
64f8b2a484 Install /run/ctdb
Fix following report:

 rpm --verify ctdb-0:4.22.2-3.el9.x86_64

 .M.......  g /run/ctdb

 M Mode differs (includes permissions and file type)
2025-06-10 14:16:16 +02:00
Python Maint
e9a8536578 Rebuilt for Python 3.14 2025-06-06 09:34:20 +02:00
Günther Deschner
eb8dac413e Update to Samba 4.22.2
- resolves: rhbz#2370468
- resolves: rhbz#2370455 - Security fix for CVE-2025-0620

Guenther
2025-06-05 20:34:02 +02:00
Python Maint
b8a889b232 Rebuilt for Python 3.14 2025-06-05 00:08:08 +02:00
Günther Deschner
40bd3a26e8 Update to Samba 4.22.1
- resolves: rhbz#2360776

Guenther
2025-04-18 02:26:37 +02:00
Günther Deschner
b508f2ed7a Turn on SMB 3.1.1 Unix Extensions in vendor smb.conf as well...
Guenther
2025-04-10 09:51:37 +02:00
Günther Deschner
0cb9860a40 Turn on SMB 3.1.1 Unix Extensions in default smb.conf
Guenther
2025-03-07 11:06:39 +01:00
Günther Deschner
30ff8554df Update to Samba 4.22.0
- resolves: rhbz#2350342

Guenther
2025-03-06 16:15:59 +01:00
Andreas Schneider
21e22997d4 Revert "Set samba-tools to noarch"
This reverts commit f00c21e2a8.

We can't set it to noarch as koji complains that "Requires: lmdb" is
present on some arches and not on others.
2025-03-04 14:01:29 +01:00
Andreas Schneider
417731acd0 Use spaces instead of tabs for krb5-printing scripts
Removes rpmlint warnings
2025-03-04 11:06:07 +01:00
Andreas Schneider
8ee5558015 Set ctdb-etcd-mutex to noarch
This only includes python scripts.
2025-03-04 11:03:58 +01:00
Andreas Schneider
e4ac2d5dcb Set samba-gpupdate to noarch
This only includes python scripts.
2025-03-04 11:02:47 +01:00
Andreas Schneider
f00c21e2a8 Set samba-tools to noarch
This only include a python scripts.
2025-03-04 11:01:51 +01:00
Andreas Schneider
e1991f29ec Set samba-usershare to noarch
It only includes configuration files.
2025-03-04 11:00:54 +01:00
Andreas Schneider
1b2e68adff Add missing /run/ctdb dir to files list 2025-03-04 11:00:46 +01:00
Andreas Schneider
7ebad9bdd1 Set version for bundled libreplace 2025-03-04 11:00:46 +01:00
Andrea Bolognani
947b0b72d5 Re-enable mold on riscv64
mold didn't build successfully on riscv64 back when riscv64
support was added to samba, but that has changed since and
today there is no longer any reason not to use it.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-03-03 14:04:08 +01:00
David Abdurachmanov
6744eb181d Enable lmdb on riscv64
Solves configuration error:

[..]
Checking for a 64-bit host to support lmdb          : ok
Checking for lmdb >= 0.9.16                         : not found
Checking for header lmdb.h                          : no
Checking for lmdb >= 0.9.16 via header check        : not found
Samba AD DC and --enable-selftest requires lmdb 0.9.16 or later
[..]

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2025-03-03 14:04:08 +01:00
Günther Deschner
c295775181 Update to Samba 4.22.0rc4
- resolves: rhbz#2348758

Guenther
2025-02-27 20:00:34 +01:00
Günther Deschner
c4883ac1e7 Update to Samba 4.22.0rc3
- resolves: rhbz#2346803

Guenther
2025-02-20 18:39:08 +01:00
Andreas Schneider
4e6ca9ecfb Fix libldb built with '--with includelibs' 2025-02-18 14:45:05 +01:00
Andreas Schneider
036c40ef5e Fix the '--with includelibs' build 2025-02-14 19:05:42 +01:00
Andreas Schneider
314544c636 Add LICENSE file of libldb 2025-02-14 14:30:24 +01:00
Andreas Schneider
cb85d85e0f Make %bcond switches easier to understand
This also removes support for building on rhel8.
2025-02-14 12:02:02 +01:00
Günther Deschner
67e7277c75 Update to Samba 4.22.0rc2
- resolves: rhbz#2345547

Guenther
2025-02-13 23:54:53 +01:00
Günther Deschner
f24bbdaf78 Update to version 4.22.0rc1
- resolves: rhbz#2344189

Guenther
2025-02-09 00:59:35 +01:00
Björn Esser
e52328b755
Add explicit BR: libxcrypt-devel
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2025-02-01 19:57:20 +01:00
Andreas Schneider
7bc49d20ad Fix building with gcc 15 2025-01-22 09:03:43 +01:00
Andreas Schneider
c6899c34b0 Fix stack use after return in new crypt module 2025-01-22 09:00:27 +01:00
Fedora Release Engineering
09d4509590 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 09:54:56 +00:00
Pavel Filipenský
99bcb0cab8 Remove 'Requires: python3-crypt-r' also from samba-tools 2025-01-07 14:28:18 +01:00
Pavel Filipenský
a7c8b51b0f Use upstream Patch instead of python3-crypt-r 2025-01-07 13:52:23 +01:00
Pavel Filipenský
d70953a5ed Update to version 4.21.3
- resolves: rhbz#2335911
2025-01-07 10:42:42 +01:00
Pete Walter
6b05011701 Rebuild for ICU 76 2024-12-08 22:44:21 +00:00
Andreas Schneider
b0f6e67bbc Add missing SAMBA_DCERPCD_DONT_LOG_STDOUT=1 for the testsuite
[skip changelog]
2024-11-29 09:05:13 +01:00
Andreas Schneider
a5688d299c Rework 'with testsuite'
In case we run the testsuite, the %install part will be skipped. Without
the testsuite, the %check section will be skipped.

[skip changelog]
2024-11-29 09:05:10 +01:00
Andreas Schneider
1af6d0aa01 Add missing BuildRequires for running the testsuite
[skip changelog]
2024-11-29 09:05:08 +01:00
Andreas Schneider
e2b080c313 Add python3-crypt-r as requirement for samba-tool 2024-11-26 14:52:12 +01:00
Günther Deschner
438b8a6e95 Update to version 4.21.2
- resolves: rhbz#2328717
2024-11-25 20:16:18 +01:00
Anoop C S
f654bad3bb Remove unused macro samba_requires_eq
This was previously used to force the installation of a matching
libldb version from build time. With libldb now versioned along
with Samba as a public library its usage got removed in d0472882
but the definition remained as a left over.

Signed-off-by: Anoop C S <anoopcs@samba.org>
2024-11-13 11:40:56 +05:30
Pavel Filipenský
667e752f95 Add always to samba-devel: Requires: samba-dc-libs 2024-10-25 19:42:52 +02:00
Richard W.M. Jones
4ae2996e49 Rebuild for Jansson 2.14 (https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/3PYINSQGKQ4BB25NQUI2A2UCGGLAG5ND/) 2024-10-22 13:42:50 +01:00
Pavel Filipenský
a98899c6d2 Fix samba 4.20 -> 4.21 upgrade for the removed python3-samba-devel 2024-10-22 11:02:58 +02:00
Pavel Filipenský
1caea566a4 Revert "Re-enable linking with mold on i686"
This reverts commit ac58d580e8.

This is to address debuginfo issue reported by rpminspect for i686:
https://bugzilla.redhat.com/show_bug.cgi?id=2318727
2024-10-17 11:39:31 +02:00
Pavel Filipenský
6d5708b5e4 Fix even more rpminspect warnings 2024-10-16 11:32:58 +02:00
Pavel Filipenský
682be9e398 Fix some more rpminspect warnings 2024-10-15 13:20:10 +02:00
Andreas Schneider
a55c2e0445 Fix several rpminspect warnings 2024-10-15 11:58:12 +02:00
Andreas Schneider
16e2ea30c4 rpminspect: Disable inspection of disttag
rpminspect just reads the file an doesn't expand it so it doesn't
understand:

Release: %{samba_release}

[skip changelog]
2024-10-15 11:58:07 +02:00
Pavel Filipenský
2535a64d34 Update to version 4.21.1
- resolves: rhbz#2318518
2024-10-14 15:38:28 +02:00
Andreas Schneider
92d190c9b6 Don't use RTLD_DEEPBIND by default in libldb
- resolves: rhbz#2278016
2024-10-01 14:11:48 +02:00
Pavel Filipenský
8f40e555ff Build with ceph again for ppc64le
This is fixed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104172
in gcc >= 11.3. It is ok to enable for rhel-9, rhel-10 and f41:

gcc-11.5.0-2.el9
gcc-14.2.1-2.el10
gcc-14.2.1-3.fc41
2024-09-27 13:59:42 +02:00
Yaakov Selkowitz
a4001d23ea Always include libsamba-policy and libsamba-net-private-samba
As of 4.21, these were converted to regular C libraries to which their
respective Python modules depend:

d11b281aef
829b52f99d
2024-09-25 18:11:56 -04:00
Yaakov Selkowitz
6ad6694791 Fix ELN build
libsamba-policy is only built with the AD DC, but the LDB LMDB components
should be built regardless:

https://gitlab.com/samba-team/samba/-/merge_requests/3807
2024-09-24 10:34:22 -04:00
Andreas Schneider
b16ff1f961 Add cert directories to samba-common
Those are created by gpupdate and we need to have them packaged that
selinux can label them correctly.
2024-09-23 12:58:24 +02:00
Alexander Bokovoy
19fdf21ce6 Fix Samba integration with FreeIPA
- resolves: rhbz#2309199

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
2024-09-13 16:29:53 +03:00
Günther Deschner
63dc1a2f19 Update required tdb version
- related: rhbz#2309153
2024-09-03 00:19:59 +02:00
Günther Deschner
b363a4cfec Update to version 4.21.0
- resolves: rhbz#2309153
2024-09-02 15:25:28 +02:00
Günther Deschner
11eed52070 Update to version 4.21.0rc4
- resolves: rhbz#2300469
2024-08-28 13:55:38 +02:00
Andreas Schneider
4c2a193110 Fix ldb requires and provides
- related: rhbz#230046
2024-08-21 14:55:13 +02:00
Andreas Schneider
bcb3974e31 Fix manpages for libldb
related: rhbz#230046
2024-08-21 09:29:46 +02:00
Andreas Schneider
49d714c029 Update to version 4.21.0rc3
- related: rhbz#230046
2024-08-21 08:02:37 +02:00
Andreas Schneider
22760e8157 Remove also python-ldb-devel-common
- related: rhbz#230046

This was only used internally.
2024-08-21 07:51:00 +02:00
Günther Deschner
d04728829d Update to Samba 4.21.0rc2
- Package libldb a public library
- resolves: #2300469

Pair-Programmed-With: Andreas Schneider <asn@redhat.com>
2024-08-20 18:33:39 +02:00
Peter Robinson
3dd6bed73b Update to version 4.20.4 2024-08-17 16:16:53 +01:00
Christoph Erhardt
ac58d580e8 Re-enable linking with mold on i686 2024-08-05 08:21:41 +02:00
Fedora Release Engineering
44bb1d4438 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 04:44:46 +00:00
Andreas Schneider
41e97d4a9d Move README.md and WHATSNEW.txt to samba-common 2024-07-01 11:41:48 +02:00
Günther Deschner
4b62d26842 resolves: #2293108 - Move LICENSE file to samba-common
Guenther
2024-06-25 14:30:12 +02:00
Günther Deschner
2588fdd81f resolves: #2293100 - Update to version 4.20.2
Guenther
2024-06-19 19:28:07 +02:00
Python Maint
e5c614494c Rebuilt for Python 3.13 2024-06-10 11:52:50 +02:00
Andreas Schneider
5ae3a0ccb0 Improve setting the version number for pre-releases
[skip changelog]
2024-05-22 09:54:05 +02:00
Andreas Schneider
857301aa5c Convert to %autorelease and %autochangelog
[skip changelog]
2024-05-21 14:17:59 +02:00
Günther Deschner
058c9e46a8 Update to version 4.20.1
resolves: #2279780

Guenther
2024-05-10 22:46:40 +02:00
Pavel Filipenský
a194b836ce rpminspect.yaml: update badfuncs with new library names 2024-04-30 15:56:01 +02:00
Günther Deschner
129e39f982 Update to version 4.20.0
resolves: #2271916

Guenther
2024-03-27 19:02:19 +01:00
Richard W.M. Jones
a5c93245d3 Bump and rebuild package (for riscv64) 2024-03-12 20:39:26 +00:00
David Abdurachmanov
eccf82df8a Add support for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-03-12 20:37:00 +00:00
Günther Deschner
05916b6f9c Update to version 4.20.0rc4
resolves: #2269037

Guenther
2024-03-11 19:02:28 +01:00
Andreas Schneider
8fa9d9ff95 Silence warnings when upgrading libwbclient 2024-03-05 13:55:01 +01:00
Günther Deschner
81028e3aa9 Update to version 4.20.0rc3
resolves: #2266039

Guenther
2024-02-26 13:55:19 +01:00
Günther Deschner
9a35124520 Update to version 4.20.0rc2
resolves: #2263874

Guenther
2024-02-12 16:05:52 +01:00
Andreas Schneider
3a7dad4a24 Require cepces-certmonger
This is the package providing cepces-submit required by samba-gpupdate.
It will install all the other required packages.
2024-02-09 16:32:58 +01:00
Andreas Schneider
86c73e995b The AES crypto code has been removed
We use GnuTLS for everything now.
2024-02-09 09:29:46 +01:00
Andreas Schneider
691752e56b Require cepces >= 0.3.8 2024-02-09 09:27:06 +01:00
Pete Walter
885a433df0 Rebuild for ICU 74 2024-02-01 11:15:57 +00:00
Günther Deschner
cd3cf3831b Fix typo
Guenther
2024-02-01 07:59:36 +01:00
Günther Deschner
fc5ba48178 Update to version 4.20.0rc1
resolves: #2260895

Guenther
2024-01-30 10:41:47 +01:00
Fedora Release Engineering
a0149239aa Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 02:03:30 +00:00
Andreas Schneider
cbf258a115 Fix samba-gpupdate on Fedora/RHEL 2024-01-16 12:22:50 +01:00
Andreas Schneider
2c97dc253a Remove unused globals libwbc_alternatives_* 2024-01-10 13:16:55 +01:00
Andreas Schneider
368799d573 Bump release number 2024-01-09 13:07:37 +01:00
Andreas Schneider
f245ed7ba2 Create winbind groups using systemd
Also drop creating groups with groupadd entirely.

resolves: rhbz#2256326
2024-01-09 10:52:00 +01:00
Günther Deschner
95272cbe76 Update to version 4.19.4
resolves: #2257287

Guenther
2024-01-08 17:43:06 +01:00
Andreas Schneider
6a716d5e7e Add missing dependencies for samba-gpupdate 2024-01-08 17:30:42 +01:00
Andreas Schneider
448b9a1661 Add missing BuildRequires for cepces
We should install for building what we require during runtime.
2023-12-13 10:01:58 +01:00
Günther Deschner
93059a0a6a Disable ctdb-pcp build for i686 for Fedora
performance-co-pilot is no longer supported on i686 in Fedora Rawhide/40

Guenther
2023-11-28 13:37:54 +01:00
Günther Deschner
9e2c1829db Update to Samba 4.19.3
resolves: #2251766

Guenther
2023-11-27 15:36:02 +01:00
Pavel Filipenský
601c5e7cbb Fix the 'without gpupdate' uninstalled file removal 2023-11-19 12:47:18 +01:00
Andreas Schneider
c92b2eb22b Do not use mold on i686, support for it has been dropped 2023-11-15 14:38:09 +01:00
Andreas Schneider
4f9b479032 Package samba-gpupdate also for RHEL9 2023-11-15 10:37:35 +01:00
Günther Deschner
9996023e42 Update to version 4.19.2
resolves: #2244496

Guenther
2023-10-16 18:00:00 +02:00
Günther Deschner
00b32c4172 When built with testsuite rpcd_echo is built as well
Guenther
2023-10-16 17:34:43 +02:00
Günther Deschner
a1a3c76fb5 Update to version 4.19.1
resolves: #2243073
resolves: #2241881, #2243228: Security fix for CVE-2023-3961
resolves: #2241882, #2243231: Security fix for CVE-2023-4091
resolves: #2241883, #2243230: Security fix for CVE-2023-4154
resolves: #2241884, #2243229: Security fix for CVE-2023-42669
resolves: #2241885, #2243232: Security fix for CVE-2023-42670

Guenther
2023-10-11 13:00:49 +02:00
Günther Deschner
43d90c9175 Update to version 4.19.0
resolves: #2237259

Guenther
2023-09-04 15:55:11 +02:00
Günther Deschner
38db681558 Update to version 4.19.0rc4
resolves: #2232744

Guenther
2023-08-28 18:49:34 +02:00
Günther Deschner
7837b083f2 Update to version 4.19.0rc3
resolves: #2232744

Guenther
2023-08-18 15:27:59 +02:00
Yaakov Selkowitz
070d655da4 Move ad-claims and authn-policy-util to dc-libs
These libraries depend on libdsdb-module and are only built if DC is
enabled (and therefore not for RHEL).
2023-08-16 01:48:58 -04:00
Adam Williamson
dc22ad5bd2 python3-samba-dc requires python3-markdown now 2023-08-15 13:08:22 -07:00
Günther Deschner
9602a07a36 Update to version 4.19.0rc2
resolves: #2227246

Guenther
2023-08-08 12:05:31 +02:00
Günther Deschner
ef6e3a1cfe Update to version 4.19.0rc1
resolves: #2227246

Guenther
2023-08-07 14:00:21 +02:00
Günther Deschner
9ae16cc49b Update to version 4.18.5
resolves: #2224040

Security fix for CVE-2022-2127
resolves: #2222791, #2224254

Security fix for CVE-2023-3347
resolves: #2222792, #2224255

Security fix for CVE-2023-34966
resolves: #2222793, #2224253

Security fix for CVE-2023-34967
resolves: #2222794, #2224252

Security fix for CVE-2023-34968
resolves: #2222795, #2224250

Guenther
2023-07-20 12:19:04 +02:00
Günther Deschner
64ef2ec2d2 Fix netlogon LogonGetCapabilities level 2 error handling
resolves: #2223091

Guenther
2023-07-17 17:22:50 +02:00
František Zatloukal
a38fba0562 Rebuilt for ICU 73.2 2023-07-11 22:21:49 +02:00
Python Maint
3948e24a26 Rebuilt for Python 3.12 2023-07-05 18:27:08 +02:00
Günther Deschner
ac8caa023e Update to version 4.18.4
resolves: #2219799

Guenther
2023-07-05 14:44:37 +02:00
Python Maint
f3b66c42ca Rebuilt for Python 3.12 2023-06-26 12:27:58 +02:00
Adam Williamson
c3a5a6aede Only run libwbclient %pre on upgrade, not fresh install
This seems to be breaking live image build tests because the
script is running before `rm` is installed. I do not know why
it didn't fail the tests run *on the update itself*, but it's
now causing tests of subsequent updates to fail, which is a
problem. Probably an ordering issue.

AFAIK, this script is meant to clean up stuff from earlier
versions of the package, so it's not relevant on fresh installs,
and we can just skip it and avoid any problems in the fresh
install case.
2023-06-26 01:02:08 +02:00
Andreas Schneider
7f3a842050 Fix libwbclient package upgrades
resolves: rhbz#2211577
2023-06-23 10:47:21 +02:00
FeRD (Frank Dana)
efe3dd0ab1 Remove ® symbol from winexe's description 2023-06-17 11:18:44 -04:00
Python Maint
15cfaa7346 Rebuilt for Python 3.12 2023-06-15 13:18:39 +02:00
Andreas Schneider
f5d2701706 Bump baserelease
Forgotten in previous commit.
2023-06-15 12:32:01 +02:00
Andreas Schneider
8210a6cc4c logrotate: Also cover mit_kdc.log
resolves: rhbz#2203539
2023-06-15 10:22:45 +02:00
Günther Deschner
41c4c70006 Update to version 4.18.3
resolves: #2211453

Guenther
2023-06-01 10:45:55 +02:00
Andreas Schneider
a79fd33b58 Fix ccache support 2023-05-05 13:53:47 +02:00
Andreas Schneider
dc949bd3c8 Let samba-winbind just suggest samba-tool 2023-04-20 14:38:04 +02:00
Andreas Schneider
5caa412c6b Add support for mock ccache plugin 2023-04-20 08:12:28 +02:00
Günther Deschner
a6fcf14600 Update to version 4.18.2
resolves: #2187991

Guenther
2023-04-19 14:34:42 +02:00
Günther Deschner
6126e39c51 Update to version 4.18.1
resolves: #2182787 - Update to version 4.18.1
resolves: #2182772, #2182773 - Security fixes for CVE-2023-0225
resolves: #2182774, #2182775 - Security fixes for CVE-2023-0922
resolves: #2182776, #2182777 - Security fixes for CVE-2023-0614

Guenther
2023-03-29 23:42:40 +02:00
Andreas Schneider
8d52163b67 Add missing Requires for bind-utils
samba_dnsupdate uses nsupdate from bind-utils
2023-03-28 09:02:23 +02:00
Andreas Schneider
e5cb35effe Fix ctdb file lists when built with test suite enabled 2023-03-21 15:20:25 +01:00
Andreas Schneider
d336264f64 Fix file list 2023-03-21 11:01:43 +01:00
Kalev Lember
7ffc94f1ba Move libstable-sort-samba4.so to samba-client-libs subpackage
libndr-samba-samba4.so that's already in -client-libs subpackage links
with libstable-sort-samba4.so, which means that we need to put both in
-client-libs to avoid -client-libs suddenly starting to depend on -libs.
2023-03-17 21:08:32 +01:00
Andreas Schneider
32b29ac6e9 Add missing Requires for python3-gpg to samba-tools 2023-03-10 13:01:28 +01:00
Günther Deschner
daa7809342 Update to version 4.18.0
resolves: #2176469

Guenther
2023-03-08 14:22:45 +01:00
Günther Deschner
c7734163fa Update to version 4.18.0rc4
resolves: #2174415

Guenther
2023-03-01 15:38:16 +01:00
Andreas Schneider
b42ebb0a84 Bump baserelease 2023-02-28 07:59:18 +01:00
Andreas Schneider
435e4d9b7b Add missing Requires for glibc-gconv-extra
resolves: #2173619
2023-02-28 07:55:19 +01:00
Pavel Filipenský
1348920d6f SPDX migration 2023-02-23 15:30:48 +01:00
Andreas Schneider
73705701f1 Update License to SPDX expressions
https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1
2023-02-23 15:15:37 +01:00
Andreas Schneider
101d3c387f Remove obsolete patch 2023-02-21 14:26:16 +01:00
Günther Deschner
90edcb757a Update to version 4.18.0rc3
resolves: #2166416

Guenther
2023-02-16 15:06:55 +01:00
Andreas Schneider
479c5d099f Add missing Requires for samba-tool on samba-dc 2023-02-16 09:14:12 +01:00
Andreas Schneider
b4642ddce5 Fix samba-tool dependencies 2023-02-16 09:14:09 +01:00
Pavel Filipenský
4b6c2a6e52 Add changelog entry 2023-02-13 16:57:39 +01:00
Pavel Filipenský
0a8a75e9d8 Create samba-tools package for samba-tool.
Avoids installation of many python3 pkgs on a simple file server.
2023-02-13 15:25:44 +01:00
Pavel Filipenský
5704b04d69 Fix samba-tool dependencies on non-dc builds
It has two steps:
- Build python3-samba-dc also for non-dc builds
- Require python3-samba-dc from common-tools also for non-dc builds
2023-02-11 13:24:21 +01:00
Günther Deschner
36c4a399ca Update to version 4.18.0rc2
resolves: #2166416

Guenther
2023-02-02 14:47:10 +01:00
Pavel Filipenský
574391dda6 rpminspect: Avoid "Missing: .debug_info"
libdcerpc-samr is a grouping library without .debug_info.
See source4/librpc/wscript_build.
There is an empty source list for bld.SAMBA_LIBRARY('dcerpc-samr'
2023-01-31 22:07:27 +01:00
Andreas Schneider
3937d0fbab Fix typo 2023-01-24 08:59:29 +01:00
Andreas Schneider
6320734465 Add missing python requirements for python3-samba 2023-01-24 08:33:01 +01:00
Andreas Schneider
d5a1366d2a Remove duplicate code 2023-01-24 08:32:19 +01:00
Andreas Schneider
3134f7f1d6 Use python3-dateutil instead of python3-iso8601
We don't have iso8601 in third_party/ anymore.
2023-01-24 08:31:23 +01:00
Andreas Schneider
08e07cb855 Use mold linker on Fedora >= 37
This makes compilation of Samba a lot faster.
2023-01-23 07:25:22 +01:00
Fedora Release Engineering
fe7442c100 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 02:35:44 +00:00
Günther Deschner
d5d42cde4f Update to version 4.18.0rc1
resolves: #2162097

Guenther
2023-01-19 22:50:04 +01:00
Jitka Plesnikova
127f68766f Remove perl(MODULE_COMPAT), it will be replaced by generators 2023-01-13 21:13:35 +01:00
Pete Walter
c22466881a Rebuild for ICU 72 2022-12-31 03:19:18 +00:00
Pavel Filipenský
c3203becc0 Create package dc-libs also for 'non-dc' build 2022-12-22 17:26:36 +01:00
Pavel Filipenský
5471a3e692 Fix '--without dc' build: delete libauth4-samba4.so 2022-12-20 11:10:25 +01:00
Pavel Filipenský
0f08e77cfc Create a new 'samba-dcerpc' sub-package for DCERPC services 2022-12-19 15:09:46 +01:00
Pavel Filipenský
874e260cc9 Move libpac and libauth4 to dc-libs
This allows us to not install the samba and samba-dc packages. They
are not needed for domain member which just want to have samba-winbind
related packages installed.
2022-12-19 15:06:27 +01:00
Günther Deschner
92dd9596a2 Update to version 4.17.4
resolves: #2153906
resolves: #2154362, #2154363 - Security fixes for CVE-2022-38023
resolves: #2154303, #2154304 - Security fixes for CVE-2022-37966
resolves: #2154320, #2154322 - Security fixes for CVE-2022-37967

Guenther
2022-12-16 18:50:17 +01:00
Alexander Bokovoy
8b52c1b033 Rebuild against krb5 1.20.1
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
2022-12-01 18:39:07 +02:00
Florian Weimer
22ec3a0a0d Remove C89-specific language constructs from configure checks
Fix feature detection for major/minor macros.

Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2022-11-23 15:20:50 +01:00
Florian Weimer
c7d395b20c Avoid recursive python3_sitearch expansion even if undefined
Fixes an error during SRPM construction if not enough dependencies
are installed (e.g., during the first build stage in mock):

error: /builddir/build/SPECS/samba.spec: line 2478: Too many levels
  of recursion in macro expansion. It is likely caused by recursive
  macro declaration.
2022-11-21 15:45:49 +01:00
Florian Weimer
14cc94aae1 Memoize python3_sitearch for faster RPM spec file processing
This greatly speeds up the creation of source RPMs, among other
things.
2022-11-21 15:29:40 +01:00
Günther Deschner
441bd49ffc Security fixes for CVE-2022-42898
resolves: #2140960, #2143117

Guenther
2022-11-16 11:09:19 +01:00
Günther Deschner
3fcbe364b2 Update to version 4.17.3
resolves: #2142959

Guenther
2022-11-15 18:39:46 +01:00
Pavel Filipenský
cc1c088518 Always add epoch to samba_depver to fix osci.brew-build.rpmdeplint.functional 2022-11-02 15:56:16 +01:00
Andreas Schneider
eaa90f4719 Add missing require for libcmdline from samba-common-libs 2022-10-26 11:31:30 +02:00
Andreas Schneider
9f35dd7b52 Update to version 4.17.2 2022-10-25 14:22:08 +02:00
Andreas Schneider
5175b77178 Add missing dependency for wbinfo used by ctdb scripts 2022-10-24 16:58:29 +02:00
Pavel Filipenský
593cdb5963 Update to version 4.17.1
resolves: rhbz#2127301 - Permission denied calling SMBC_getatr when file not exists
resolves: rhbz#2133818 - rpcclient 4.17.0 unable to resolve server hostname
2022-10-19 16:09:48 +02:00
Andreas Schneider
93ae555a84 Move group creation logic to sysusers.d fragment 2022-10-05 11:40:18 +02:00
Troy Dawson
d54cbd1fbf add BuildRequires: systemd-rpm-macros
Although the spec requires systemd-rpm-macros for macros such as %{_unitdir} it was only getting pulled in as a dependency of other packages.
Dependencies have changed, and systemd-rpm-macros is no longer getting pulled in. Add the BuildRequires so we always get it.

Signed-off-by: Troy Dawson tdawson@redhat.com
2022-09-27 18:18:24 +00:00
Anoop C S
ea9a21adf0 Do not remove ldb-ldap-modules files from buildroot
New sub-package samba-ldb-ldap-modules requires corresponding files
to be present in buildroot irrespective of whether DC components are
enabled or not in the build process. Therefore refrain from removing
those from the buildroot.
2022-09-14 16:12:48 +05:30
Andreas Schneider
473cc2b5a4 Update to version 4.17.0
resolves: rhbz#2118818 - Update to version 4.17.0
resolves: rhbz#2121138 - Fix CVE-2022-32743
resolves: rhbz#2122650 - Fix CVE-2022-1615
2022-09-13 20:46:47 +02:00
Andreas Schneider
ca4228ea9f Add samba-usershare package
resolves: rhbz#2096405
2022-09-13 14:46:17 +02:00
Andreas Schneider
d041102422 Split out libnetapi(-devel) sub-packages
resolves: rhbz#2093656
2022-09-13 14:45:56 +02:00
Günther Deschner
8fd6f2abb9 Update to version 4.17.0rc5
resolves: #2118818

Guenther
2022-09-08 15:34:48 +02:00
Günther Deschner
9497295508 Update to version 4.17.0rc4
resolves: #2118818

Guenther
2022-08-31 10:51:49 +02:00
Adam Williamson
c6f208e111 Rebuild with no changes to fix F37 update grouping 2022-08-25 09:58:00 -07:00
Andreas Schneider
57b6ce7d3c python3-samba package should not require the samba package 2022-08-25 08:17:04 +02:00
Pavel Filipenský
040a14f039 Update to version 4.17.0rc3
resolves: #2118818
2022-08-23 21:10:48 +02:00
Andreas Schneider
b6eef47cea Create a samba-gpupdate sub-package for GPO client support 2022-08-19 12:51:14 +02:00
Andreas Schneider
63377a1809 Split out a samba-ldb-ldap-modules subpackage 2022-08-19 11:28:50 +02:00
18 changed files with 4684 additions and 4511 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

307
.gitignore vendored
View file

@ -1,303 +1,4 @@
samba-3.5.4.tar.gz
samba-3.6.0pre1.tar.gz
/samba-3.6.0pre2.tar.gz
/samba-3.6.0pre3.tar.gz
/samba-3.6.0rc1.tar.gz
/samba-3.6.0rc2.tar.gz
/samba-3.6.0rc3.tar.gz
/samba-3.6.0.tar.gz
/samba-3.6.1.tar.gz
/samba-3.6.3.tar.gz
/samba-3.6.4.tar.gz
/samba-3.6.5.tar.gz
/samba-3.6.6.tar.gz
/samba-3.6.7.tar.gz
/samba-4.0.0rc1.tar.bz2
/samba-4.0.0rc2.tar.bz2
/samba-4.0.0rc3.tar.bz2
/samba-4.0.0rc4.tar.bz2
/samba-4.0.0rc5.tar.bz2
/samba-4.0.0rc6.tar.bz2
/samba-4.0.0.tar.bz2
/samba-4.0.1.tar.bz2
/samba-4.0.2.tar.bz2
/samba-4.0.3.tar.bz2
/samba-4.0.4.tar.bz2
/samba-4.0.5.tar.bz2
/samba-4.0.6.tar.bz2
/samba-4.0.7.tar.xz
/samba-4.1.0rc1.tar.xz
/samba-4.1.0rc2.tar.xz
/samba-4.1.0rc3.tar.xz
/samba-4.1.0rc4.tar.xz
/samba-4.1.0.tar.xz
/samba-4.1.1.tar.xz
/samba-4.1.2.tar.xz
/samba-4.1.3.tar.xz
/samba-4.1.4.tar.xz
/samba-4.1.5.tar.xz
/samba-4.1.6.tar.xz
/samba-4.1.8.tar.xz
/samba-4.1.9.tar.xz
/samba-4.1.11.tar.gz
/samba-4.1.11.tar.xz
/samba-4.1.12.tar.xz
/samba-4.2.0rc2.tar.xz
/samba-4.2.0rc3.tar.xz
/samba-4.2.0rc4.tar.xz
/samba-4.2.0rc5.tar.xz
/samba-4.2.0.tar.xz
/samba-4.2.1.tar.xz
/samba-4.2.2.tar.xz
/samba-4.2.3.tar.xz
/samba-4.3.0rc3.tar.xz
/samba-4.3.0rc4.tar.xz
/samba-4.3.0.tar.xz
/samba-4.3.1.tar.xz
/samba-4.3.2.tar.xz
/samba-4.3.3.tar.xz
/samba-4.3.4.tar.xz
/samba-4.4.0rc1.tar.xz
/samba-4.4.0rc2.tar.xz
/samba-4.4.0rc3.tar.xz
/samba-4.4.0rc4.tar.xz
/samba-4.4.0rc5.tar.xz
/samba-4.4.0.tar.xz
/samba-4.4.2.tar.xz
/samba-4.4.3.tar.xz
/samba-4.4.4.tar.xz
/samba-4.4.5.tar.xz
/samba-4.5.0rc1.tar.xz
/samba-4.5.0rc2.tar.xz
/samba-4.5.0rc3.tar.xz
/samba-4.5.0.tar.xz
/samba-4.5.1.tar.xz
/samba-4.5.2.tar.xz
/samba-4.5.3.tar.xz
/samba-4.6.0rc1.tar.xz
/samba-4.6.0rc2.tar.xz
/samba-4.6.0rc2.tar.asc
/samba-4.6.0rc3.tar.asc
/samba-4.6.0rc3.tar.xz
/samba-4.6.0rc4.tar.xz
/samba-4.6.0rc4.tar.asc
/samba-4.6.0.tar.asc
/samba-4.6.0.tar.xz
/samba-4.6.1.tar.xz
/samba-4.6.1.tar.asc
/samba-4.6.2.tar.xz
/samba-4.6.2.tar.asc
/samba-4.6.3.tar.xz
/samba-4.6.3.tar.asc
/samba-4.6.4.tar.xz
/samba-4.6.4.tar.asc
/samba-4.6.5.tar.xz
/samba-4.6.5.tar.asc
/samba-4.7.0rc1.tar.xz
/samba-4.7.0rc1.tar.asc
/samba-4.7.0rc3.tar.xz
/samba-4.7.0rc3.tar.asc
/samba-4.7.0rc5.tar.xz
/samba-4.7.0rc5.tar.asc
/samba-4.7.0rc6.tar.xz
/samba-4.7.0rc6.tar.asc
/samba-4.7.0.tar.xz
/samba-4.7.0.tar.asc
/samba-4.7.1.tar.xz
/samba-4.7.1.tar.asc
/samba-4.7.2.tar.xz
/samba-4.7.2.tar.asc
/samba-4.7.3.tar.xz
/samba-4.7.3.tar.asc
/samba-4.7.4.tar.xz
/samba-4.7.4.tar.asc
/samba-4.8.0rc1.tar.xz
/samba-4.8.0rc1.tar.asc
/samba-4.8.0rc2.tar.xz
/samba-4.8.0rc2.tar.asc
/samba-4.8.0rc3.tar.xz
/samba-4.8.0rc3.tar.asc
/samba-4.8.0rc4.tar.xz
/samba-4.8.0rc4.tar.asc
/samba-4.8.0.tar.xz
/samba-4.8.0.tar.asc
/samba-4.8.1.tar.xz
/samba-4.8.1.tar.asc
/samba-4.8.2.tar.xz
/samba-4.8.2.tar.asc
/samba-4.8.3.tar.asc
/samba-4.8.3.tar.xz
/samba-4.9.0rc1.tar.xz
/samba-4.9.0rc1.tar.asc
/samba-4.9.0rc2.tar.xz
/samba-4.9.0rc2.tar.asc
/samba-4.9.0rc3.tar.xz
/samba-4.9.0rc3.tar.asc
/samba-4.9.0rc4.tar.xz
/samba-4.9.0rc4.tar.asc
/samba-4.9.0rc5.tar.asc
/samba-4.9.0rc5.tar.xz
/samba-4.9.0.tar.xz
/samba-4.9.0.tar.asc
/samba-4.9.1.tar.asc
/samba-4.9.1.tar.xz
/samba-4.9.2.tar.xz
/samba-4.9.2.tar.asc
/samba-4.9.3.tar.xz
/samba-4.9.3.tar.asc
/samba-4.9.4.tar.xz
/samba-4.9.4.tar.asc
/samba-4.10.0rc1.tar.xz
/samba-4.10.0rc1.tar.asc
/samba-4.10.0rc2.tar.xz
/samba-4.10.0rc2.tar.asc
/samba-4.10.0rc3.tar.xz
/samba-4.10.0rc3.tar.asc
/samba-4.10.0rc4.tar.xz
/samba-4.10.0rc4.tar.asc
/samba-4.10.0.tar.xz
/samba-4.10.0.tar.asc
/samba-4.10.1.tar.xz
/samba-4.10.1.tar.asc
/samba-4.10.2.tar.xz
/samba-4.10.2.tar.asc
/samba-4.10.3.tar.xz
/samba-4.10.3.tar.asc
/samba-4.10.4.tar.xz
/samba-4.10.4.tar.asc
/samba-4.10.5.tar.xz
/samba-4.10.5.tar.asc
/samba-4.10.6.tar.xz
/samba-4.10.6.tar.asc
/samba-4.11.0rc1.tar.xz
/samba-4.11.0rc1.tar.asc
/samba-4.11.0rc2.tar.xz
/samba-4.11.0rc2.tar.asc
/samba-4.11.0rc3.tar.xz
/samba-4.11.0rc3.tar.asc
/samba-4.11.0rc4.tar.xz
/samba-4.11.0rc4.tar.asc
/samba-4.11.0.tar.xz
/samba-4.11.0.tar.asc
/samba-4.11.1.tar.xz
/samba-4.11.1.tar.asc
/samba-4.11.2.tar.xz
/samba-4.11.2.tar.asc
/samba-4.11.3.tar.xz
/samba-4.11.3.tar.asc
/samba-4.11.4.tar.xz
/samba-4.11.4.tar.asc
/samba-4.11.5.tar.xz
/samba-4.11.5.tar.asc
/samba-4.12.0rc1.tar.xz
/samba-4.12.0rc1.tar.asc
/samba-4.12.0rc2.tar.xz
/samba-4.12.0rc2.tar.asc
/samba-4.12.0rc3.tar.xz
/samba-4.12.0rc3.tar.asc
/samba-4.12.0rc4.tar.xz
/samba-4.12.0rc4.tar.asc
/samba-4.12.0.tar.xz
/samba-4.12.0.tar.asc
/samba-4.12.1.tar.xz
/samba-4.12.1.tar.asc
/samba-4.12.2.tar.xz
/samba-4.12.2.tar.asc
/samba-4.12.3.tar.xz
/samba-4.12.3.tar.asc
/samba-4.12.4.tar.xz
/samba-4.12.4.tar.asc
/samba-4.12.5.tar.xz
/samba-4.12.5.tar.asc
/samba-4.13.0rc1.tar.xz
/samba-4.13.0rc1.tar.asc
/samba-4.13.0rc2.tar.xz
/samba-4.13.0rc2.tar.asc
/samba-4.13.0rc3.tar.xz
/samba-4.13.0rc3.tar.asc
/samba-4.13.0rc4.tar.xz
/samba-4.13.0rc4.tar.asc
/samba-4.13.0rc5.tar.xz
/samba-4.13.0rc5.tar.asc
/samba-4.13.0rc6.tar.xz
/samba-4.13.0rc6.tar.asc
/samba-4.13.0.tar.xz
/samba-4.13.0.tar.asc
/samba-4.13.1.tar.xz
/samba-4.13.1.tar.asc
/samba-4.13.2.tar.xz
/samba-4.13.2.tar.asc
/samba-4.13.3.tar.xz
/samba-4.13.3.tar.asc
/samba-4.13.4.tar.xz
/samba-4.13.4.tar.asc
/samba-4.14.0rc1.tar.xz
/samba-4.14.0rc1.tar.asc
/samba-4.14.0rc2.tar.xz
/samba-4.14.0rc2.tar.asc
/samba-4.14.0rc3.tar.xz
/samba-4.14.0rc3.tar.asc
/samba-4.14.0rc4.tar.xz
/samba-4.14.0rc4.tar.asc
/samba-4.14.0.tar.xz
/samba-4.14.0.tar.asc
/samba-4.14.1.tar.xz
/samba-4.14.1.tar.asc
/samba-4.14.2.tar.xz
/samba-4.14.2.tar.asc
/samba-4.14.3.tar.xz
/samba-4.14.3.tar.asc
/samba-4.14.4.tar.xz
/samba-4.14.4.tar.asc
/samba-4.14.5.tar.xz
/samba-4.14.5.tar.asc
/samba-4.14.6.tar.xz
/samba-4.14.6.tar.asc
/samba-4.15.0rc1.tar.xz
/samba-4.15.0rc1.tar.asc
/samba-4.15.0rc2.tar.xz
/samba-4.15.0rc2.tar.asc
/samba-4.15.0rc3.tar.xz
/samba-4.15.0rc3.tar.asc
/samba-4.15.0rc4.tar.xz
/samba-4.15.0rc4.tar.asc
/samba-4.15.0rc5.tar.xz
/samba-4.15.0rc5.tar.asc
/samba-4.15.0rc6.tar.xz
/samba-4.15.0rc6.tar.asc
/samba-4.15.0rc7.tar.xz
/samba-4.15.0rc7.tar.asc
/samba-4.15.0.tar.xz
/samba-4.15.0.tar.asc
/samba-4.15.1.tar.xz
/samba-4.15.1.tar.asc
/samba-4.15.2.tar.xz
/samba-4.15.2.tar.asc
/samba-4.15.3.tar.xz
/samba-4.15.3.tar.asc
/samba-4.15.4.tar.xz
/samba-4.15.4.tar.asc
/samba-4.16.0rc1.tar.xz
/samba-4.16.0rc1.tar.asc
/samba-4.16.0rc2.tar.xz
/samba-4.16.0rc2.tar.asc
/samba-4.16.0rc3.tar.xz
/samba-4.16.0rc3.tar.asc
/samba-4.16.0rc4.tar.xz
/samba-4.16.0rc4.tar.asc
/samba-4.16.0rc5.tar.xz
/samba-4.16.0rc5.tar.asc
/samba-4.16.0.tar.xz
/samba-4.16.0.tar.asc
/samba-4.16.1.tar.xz
/samba-4.16.1.tar.asc
/samba-4.16.2.tar.xz
/samba-4.16.2.tar.asc
/samba-4.16.3.tar.xz
/samba-4.16.3.tar.asc
/samba-4.16.4.tar.xz
/samba-4.16.4.tar.asc
/samba-4.17.0rc1.tar.xz
/samba-4.17.0rc1.tar.asc
/samba-4.17.0rc2.tar.xz
/samba-4.17.0rc2.tar.asc
/samba-*.tar.xz
/samba-*.tar.asc
/*.rpm
/results_samba

3039
changelog Normal file

File diff suppressed because it is too large Load diff

6
gating.yaml Normal file
View file

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

4
plans.fmf Normal file
View file

@ -0,0 +1,4 @@
discover:
how: fmf
execute:
how: tmt

View file

@ -1,12 +1,16 @@
---
inspections:
disttag: off
badfuncs:
ignore:
- /usr/bin/nmbd
- /usr/bin/nmblookup
- /usr/bin/smbtorture
- /usr/lib*/libndr.so.*
- /usr/lib*/libsmbconf.so.*
- /usr/lib*/samba/libgse-samba4.so
- /usr/lib*/samba/libsamba-sockets-samba4.so
- /usr/lib*/samba/libgse-private-samba.so
- /usr/lib*/samba/libsamba-sockets-private-samba.so
- /usr/lib*/samba/service/nbtd.so
- /usr/libexec/ctdb/smnotify
- /usr/sbin/nmbd
@ -18,3 +22,14 @@ runpath:
abidiff:
suppression_file: samba.abignore
debuginfo:
ignore:
- /usr/lib*/libdcerpc-samr.so.*
annocheck:
ignore:
- /usr/bin/gentest
- /usr/bin/locktest
- /usr/bin/masktest
- /usr/bin/smbtorture

View file

@ -0,0 +1,38 @@
From b1ec803f420b2c6d3c5c83d70c6875a7f36b15fc Mon Sep 17 00:00:00 2001
From: Andreas Schneider <asn@samba.org>
Date: Fri, 21 Nov 2025 15:33:32 +0100
Subject: [PATCH] s4:dsdb: Do not declare cm_print_error()
This is part of the cmocka.h header file.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Nov 24 11:28:08 UTC 2025 on atb-devel-224
(cherry picked from commit 5a981663e4f677042ba80191770100aecff2120a)
---
source4/dsdb/samdb/ldb_modules/tests/test_group_audit.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/source4/dsdb/samdb/ldb_modules/tests/test_group_audit.c b/source4/dsdb/samdb/ldb_modules/tests/test_group_audit.c
index f7075f3485e..12c464b49c7 100644
--- a/source4/dsdb/samdb/ldb_modules/tests/test_group_audit.c
+++ b/source4/dsdb/samdb/ldb_modules/tests/test_group_audit.c
@@ -103,11 +103,6 @@ void audit_message_send(
#define check_group_change_message(m, u, a, e) \
_check_group_change_message(m, u, a, e, __FILE__, __LINE__);
-/*
- * declare the internal cmocka cm_print_error so that we can output messages
- * in sub unit format
- */
-void cm_print_error(const char * const format, ...);
/*
* Validate a group change JSON audit message
--
2.52.0

View file

@ -0,0 +1,2 @@
#Type Name ID
g printadmin -

View file

@ -0,0 +1,2 @@
#Type Name ID
g usershares -

View file

@ -0,0 +1,2 @@
#Type Name ID
g wbpriv 88

View file

@ -1,4 +1,4 @@
/var/log/samba/log.* {
/var/log/samba/*log* {
compress
dateext
maxage 365

5562
samba.spec

File diff suppressed because it is too large Load diff

View file

@ -269,6 +269,13 @@
; map system = no
; store dos attributes = yes
# Turn on SMB 3.1.1 Unix Extensions by default
#
# Note: The Linux Kernel SMB3 client will negotiate unix extensions by default,
# find more info in man mount.smb3(8). Linux 6.13 will finally support special
# filetypes and symlink handling.
smb3 unix extensions = yes
#============================ Share Definitions ==============================

View file

@ -18,6 +18,9 @@
load printers = yes
cups options = raw
# Install samba-usershares package for support
include = /etc/samba/usershares.conf
[homes]
comment = Home Directories
valid users = %S, %D%w%S
@ -35,7 +38,8 @@
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @printadmin root
force group = @printadmin
# printadmin is a local group
write list = printadmin root
force group = printadmin
create mask = 0664
directory mask = 0775

View file

@ -1,2 +1,2 @@
SHA512 (samba-4.17.0rc2.tar.xz) = cacdfff9f04eb584769045262e3bfc51c32f11f1fde8c25d30fb65ab19af98d7e4742b9eb519241954d252d2f921d784b70411e1bcaa04c31482e4f6bcee4a8c
SHA512 (samba-4.17.0rc2.tar.asc) = 3ad03e22726b3e7313be273ed1523c679237824f97788ab307cdf1b2219d5fabb021530c42cdbb10ed92cdfa7753d83a00ab9533047eeaec674b7043c70279d4
SHA512 (samba-4.23.4.tar.xz) = 58979aa8a83e8210918f4f1adbcadff329e57a9cd25d7aba98d18f54a2e790a7ef3cc6b9fb3303d492d33d67f4a135849a419c95644d14e53a39654736d486ac
SHA512 (samba-4.23.4.tar.asc) = 0981ce6a43202953cdc7ceae77fa0e3b4ab853991430dde4df6daa163984de6c7ca3f3a3037376659d3bdaedcc108cdd7a77ce0ac24d0a1add56c7103fca7dce

22
tests/deps-check.fmf Normal file
View file

@ -0,0 +1,22 @@
summary: Check samba package dependency structure
description: |
Verify that samba library packages maintain correct dependency hierarchy:
- samba-core-libs has no samba-*-libs dependencies
- samba-ndr-libs depends on samba-core-libs (not samba-client-libs or samba-libs)
- samba-client-libs depends on core-libs + ndr-libs (not samba-libs)
- samba-client depends on samba-client-libs (not samba-libs)
- samba-libs does not depend on samba-dc-libs
- libsmbclient depends on samba-client-libs (not samba-libs)
- libwbclient has no samba-*-libs dependencies
- libldb has no samba-*-libs dependencies
test: ./deps-check.sh
framework: shell
require:
- samba-core-libs
- samba-ndr-libs
- samba-client-libs
- samba-libs
- samba-client
- libwbclient
- libsmbclient
- libldb

167
tests/deps-check.sh Executable file
View file

@ -0,0 +1,167 @@
#!/bin/bash
#
# Samba package dependency structure verification
#
# This test ensures that the samba library package dependencies don't regress.
# The expected hierarchy is:
#
# samba-core-libs (no samba-*-libs dependencies)
# ^
# |
# samba-ndr-libs (depends on samba-core-libs only)
# ^
# |
# samba-client-libs (depends on samba-core-libs + samba-ndr-libs)
#
# libwbclient (no samba-*-libs dependencies - only links to libc)
#
# samba-client (depends on samba-client-libs, NOT samba-libs)
# libsmbclient (depends on samba-client-libs, NOT samba-libs)
#
# NOTE: This test checks RESOLVED dependencies, not just explicit Requires.
# A library requirement like 'libfoo.so' is resolved to the package that
# provides it, ensuring we catch indirect dependencies.
#
set -e
ERRORS=0
# Get all packages that a package depends on (resolved)
# This resolves library deps like 'libfoo.so' to actual package names
get_resolved_deps() {
local pkg="$1"
rpm --query --requires "$pkg" 2>/dev/null | while read -r req; do
# Skip rpmlib and config requirements
[[ "$req" =~ ^rpmlib ]] && continue
[[ "$req" =~ ^config ]] && continue
[[ "$req" =~ ^/ ]] && continue
# Get the package that provides this requirement
provider=$(rpm --query --whatprovides "$req" 2>/dev/null | head -1)
if [ -n "$provider" ] && [ "$provider" != "no package provides $req" ]; then
# Extract just the package name (remove version-release.arch)
echo "${provider%%-[0-9]*}"
fi
done | sort -u
}
# Check that a package does NOT depend on packages matching a pattern
# This checks RESOLVED dependencies (what packages actually get pulled in)
check_no_resolved_dep() {
local pkg="$1"
local pattern="$2"
local description="$3"
if ! rpm --query "$pkg" &>/dev/null; then
echo "SKIP: $pkg not installed"
return 0
fi
local bad_deps
# Exclude the package itself from the check
bad_deps=$(get_resolved_deps "$pkg" | grep -v "^${pkg}$" | grep -E "$pattern" || true)
if [ -n "$bad_deps" ]; then
echo "FAIL: $pkg depends on $description"
echo " Found: $bad_deps"
ERRORS=$((ERRORS + 1))
return 1
fi
echo "PASS: $pkg does not depend on $description"
return 0
}
# Check that a package DOES depend on a specific package
check_has_resolved_dep() {
local pkg="$1"
local expected="$2"
if ! rpm --query "$pkg" &>/dev/null; then
echo "SKIP: $pkg not installed"
return 0
fi
if get_resolved_deps "$pkg" | grep -qF "$expected"; then
echo "PASS: $pkg depends on $expected"
return 0
fi
echo "FAIL: $pkg does not depend on $expected"
ERRORS=$((ERRORS + 1))
return 1
}
echo "=== Samba Package Dependency Checks ==="
echo ""
echo "Checking resolved dependencies (library deps resolved to packages)"
echo ""
# 1. samba-core-libs must NOT depend on any samba-*-libs packages
echo "--- samba-core-libs ---"
check_no_resolved_dep samba-core-libs "^samba-.*-libs$" "any samba*-libs package"
echo ""
# 2. samba-ndr-libs must depend on samba-core-libs
# but NOT samba-client-libs or samba-libs
echo "--- samba-ndr-libs ---"
check_has_resolved_dep samba-ndr-libs "samba-core-libs"
check_no_resolved_dep samba-ndr-libs "^samba-client-libs$" "samba-client-libs"
check_no_resolved_dep samba-ndr-libs "^samba-libs$" "samba-libs"
echo ""
# 3. samba-client-libs must depend on samba-core-libs and samba-ndr-libs
# but NOT samba-libs
echo "--- samba-client-libs ---"
check_has_resolved_dep samba-client-libs "samba-core-libs"
check_has_resolved_dep samba-client-libs "samba-ndr-libs"
check_no_resolved_dep samba-client-libs "^samba-libs$" "samba-libs"
echo ""
# 4. libwbclient must NOT depend on any samba-*-libs packages
echo "--- libwbclient ---"
check_no_resolved_dep libwbclient "^samba-.*-libs$" "any samba*-libs package"
echo ""
# 5. samba-client must depend on samba-client-libs but NOT samba-libs
# (client tools should not pull in server libraries)
echo "--- samba-client ---"
check_has_resolved_dep samba-client "samba-client-libs"
check_no_resolved_dep samba-client "^samba-libs$" "samba-libs"
echo ""
# 6. libsmbclient must depend on samba-client-libs but NOT samba-libs
# (SMB client library should not pull in server libraries)
echo "--- libsmbclient ---"
check_has_resolved_dep libsmbclient "samba-client-libs"
check_no_resolved_dep libsmbclient "^samba-libs$" "samba-libs"
echo ""
# 7. libldb must NOT depend on any samba-*-libs packages
# (libldb is a standalone database library)
echo "--- libldb ---"
check_no_resolved_dep libldb "^samba-.*-libs$" "any samba*-libs package"
echo ""
# 8. samba-libs must NOT depend on samba-dc-libs
# (server libraries should not pull in DC-specific libraries)
echo "--- samba-libs ---"
check_no_resolved_dep samba-libs "^samba-dc-libs$" "samba-dc-libs"
echo ""
echo "=== Summary ==="
if [ $ERRORS -gt 0 ]; then
echo "FAILED: $ERRORS dependency check(s) failed"
exit 1
fi
echo "All dependency checks passed"
exit 0

3
usershares.conf.vendor Normal file
View file

@ -0,0 +1,3 @@
[global]
usershare max shares = 100
usershare allow guests = yes