Compare commits

...

221 Commits
master ... f37

Author SHA1 Message Date
Andreas Schneider 42e489e3b5 Add missing Requires for python3-gpg to samba-tools 2023-03-10 13:02:23 +01:00
Günther Deschner 39f5652863 Update to version 4.17.6
Guenther
2023-03-09 19:37:30 +01:00
Andreas Schneider 438d84812e Add missing Requires for glibc-gconv-extra
resolves: #2173619
2023-02-28 14:25:10 +01:00
Pavel Filipenský 299323d641 SPDX migration 2023-02-28 14:24:19 +01:00
Andreas Schneider 09b9bd7d72 Update License to SPDX expressions
https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1
2023-02-28 14:23:18 +01:00
Andreas Schneider 3f44a1d65c Add missing Requires for samba-tool on samba-dc 2023-02-16 09:15:31 +01:00
Andreas Schneider 823f4aaeb6 Fix samba-tool dependencies 2023-02-16 09:15:30 +01:00
Pavel Filipenský 63931382e3 Create package samba-tools, move there samba-tool binary
resolves: rhbz#2166124
2023-02-14 10:51:22 +01:00
Pavel Filipenský 306ca4dd30 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:02:07 +01:00
Günther Deschner 0ea99a3fc7 Update to version 4.17.5
Guenther
2023-01-26 23:38:27 +01:00
Andreas Schneider 54b4a4bb2b Fix typo 2023-01-24 08:59:40 +01:00
Andreas Schneider 0bcbb3c8e5 Add missing python requirements for python3-samba 2023-01-24 08:33:56 +01:00
Andreas Schneider a7b63dff56 Remove duplicate code 2023-01-24 08:33:54 +01:00
Andreas Schneider 2f030add8d Use python3-dateutil instead of python3-iso8601
We don't have iso8601 in third_party/ anymore.
2023-01-24 08:33:52 +01:00
Andreas Schneider 60713c3d38 Use mold linker on Fedora >= 37
This makes compilation of Samba a lot faster.
2023-01-23 07:25:56 +01:00
Pavel Filipenský f57b4c25bd Create package dc-libs also for 'non-dc' build 2022-12-22 17:54:40 +01:00
Pavel Filipenský f7094aca2e Always add epoch to samba_depver to fix osci.brew-build.rpmdeplint.functional 2022-12-22 17:54:18 +01:00
Florian Weimer bad5261747 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-12-22 17:53:19 +01:00
Florian Weimer 5abeded564 Memoize python3_sitearch for faster RPM spec file processing
This greatly speeds up the creation of source RPMs, among other
things.
2022-12-22 17:53:19 +01:00
Pavel Filipenský 8fdf7b3aef Fix '--without dc' build: delete libauth4-samba4.so 2022-12-20 15:37:06 +01:00
Pavel Filipenský f56b60cdb6 Create a new 'samba-dcerpc' sub-package for DCERPC services 2022-12-19 15:57:09 +01:00
Pavel Filipenský f40435c960 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:57:02 +01:00
Günther Deschner a96084a42d 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:52:45 +01:00
Günther Deschner b153e7b803 Security fixes for CVE-2022-42898
resolves: #2140960, #2143117

Guenther
2022-11-16 11:15:35 +01:00
Günther Deschner c86f1a337e Update to version 4.17.3
resolves: #2142959

Guenther
2022-11-16 00:12:34 +01:00
Andreas Schneider 690c51a74b Add missing require for libcmdline from samba-common-libs 2022-10-26 11:32:22 +02:00
Andreas Schneider 50546ea326 Update to version 4.17.2 2022-10-25 17:09:58 +02:00
Andreas Schneider 11a3749088 Add missing dependency for wbinfo used by ctdb scripts 2022-10-24 16:59:05 +02:00
Pavel Filipenský f969f3cc48 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:58:15 +02:00
Andreas Schneider 17b8b1136f Move group creation logic to sysusers.d fragment 2022-10-05 13:19:41 +02:00
Troy Dawson cc6579cd6a 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-10-05 13:19:39 +02:00
Anoop C S 6972b697e0 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 13:36:16 +02:00
Andreas Schneider 2085a17eb1 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 22:58:55 +02:00
Andreas Schneider 9f5b114c77 Add samba-usershare package
resolves: rhbz#2096405
2022-09-13 22:58:53 +02:00
Andreas Schneider 6efa166ea2 Split out libnetapi(-devel) sub-packages
resolves: rhbz#2093656
2022-09-13 22:58:51 +02:00
Günther Deschner a65fc8509e Update to version 4.17.0rc5
resolves: #2118818

Guenther
2022-09-06 18:50:39 +02:00
Günther Deschner 3ef6786900 Update to version 4.17.0rc4
resolves: #2118818

Guenther
2022-08-31 14:10:57 +02:00
Adam Williamson b7e914c6ce Rebuild with no changes to fix F37 update grouping 2022-08-25 09:59:12 -07:00
Andreas Schneider e289fdb0c9 python3-samba package should not require the samba package 2022-08-25 09:40:37 +02:00
Andreas Schneider 7bc49ae772 Create a samba-gpupdate sub-package for GPO client support 2022-08-25 09:39:53 +02:00
Andreas Schneider a762660a51 Split out a samba-ldb-ldap-modules subpackage 2022-08-25 09:35:08 +02:00
Pavel Filipenský 1f9d145336 Update to version 4.17.0rc3
resolves: #2118818
2022-08-23 21:47:39 +02:00
Kalev Lember ffcfd9ef88 Avoid requiring systemd as per updated packaging guidelines
There is no need to require systemd for the systemd scriptlets as
systemd correctly handles reloading depending on the transaction
ordering (even if systemd is installed _after_ the package that installs
the unit file).
2022-08-18 17:11:07 +02:00
Günther Deschner 9f943749c7 Update to version 4.17.0rc2
resolves: #2118818

Guenther
2022-08-17 10:50:48 +02:00
Andreas Schneider 9c22397379 Make sure we detect if SO version numbers of public libraries change. 2022-08-11 16:10:41 +02:00
Andreas Schneider ce3b414c6d Regroup variables for version definitions 2022-08-10 13:14:01 +02:00
Günther Deschner 8380904ad8 Update to version 4.17.0rc1
resolves: #2116503

Guenther
2022-08-09 14:45:59 +02:00
František Zatloukal a74bd638b7 Rebuilt for ICU 71.1 2022-08-01 15:10:39 +02:00
Günther Deschner b41f002876 Update to version 4.16.4
resolves: #2111490
resolves: #2108196, #2111729 - Security fixes for CVE-2022-32742
resolves: #2108205, #2111731 - Security fixes for CVE-2022-32744
resolves: #2108211, #2111732 - Security fixes for CVE-2022-32745
resolves: #2108215, #2111734 - Security fixes for CVE-2022-32746

Guenther
2022-07-29 11:44:10 +02:00
Fedora Release Engineering 8939f84a48 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 07:57:26 +00:00
Andreas Schneider 9a15eb02f2 Update to version 4.16.3 2022-07-18 17:37:37 +02:00
Andreas Schneider 33e4d19298 Fix BR with includelibs 2022-06-24 07:30:58 +02:00
Python Maint 58b6aadb0f Rebuilt for Python 3.11 2022-06-15 18:06:15 +02:00
Günther Deschner 85e1d4b7c6 Update to Samba 4.16.2
resolves: #2096167

Guenther
2022-06-13 12:42:08 +02:00
Andreas Schneider dfb88d92d4 Remove weak dependency for logrotate for CentOS/RHEL
resolves: rhbz#2093833
2022-06-08 11:25:43 +02:00
Andreas Schneider ae63a4dca1 Drop zlib from bundled libraries as we don't have a copy anymore 2022-06-07 15:39:57 +02:00
Jitka Plesnikova 035f4717dd Perl 5.36 rebuild 2022-05-31 08:15:08 +02:00
Pavel Filipenský 8ccc18dc13 Fix rpminspect abidiff
pfilipen
2022-05-13 09:08:24 +02:00
Pavel Filipenský 1d4eb827d1 Fix samba.abignore 2022-05-06 17:05:02 +02:00
Pavel Filipenský 737293fe2b Rename from .abignore to samba.abignore 2022-05-06 14:31:59 +02:00
Pavel Filipenský 0b31575a45 Update requires for packages
pfilipen
2022-05-06 12:19:17 +02:00
Pavel Filipenský 1fa286fd00 rpminspect: ignore inet_ntoa() from /usr/lib*/samba/service/nbtd.so 2022-05-05 19:47:38 +02:00
Andreas Schneider 331fe971e6 Add .abignore file for abidiff
abidiff complains:

abidiff: failed to read input file /usr/lib/libdcerpc-samr.so.0.0.1
abidiff: could not find the debug info

This is a grouping library which doesn't have any source code, so just
ignore it with a suppression file (.abignore).

Example for .abignore:
https://sourceware.org/git/?p=libabigail.git;a=blob;f=default.abignore
2022-05-05 19:45:16 +02:00
Tomas Popela bec19658c4 Don't require full systemd for tmp file handling in samba-common
Otherwise the full systemd is being pulled into Fedora Flatpak runtime,
but this change benefits other uses as well.
2022-05-05 14:41:46 +02:00
Pavel Filipenský 93ea8c0806 Delete no longer needed comments
pfilipen
2022-05-03 13:10:27 +02:00
Pavel Filipenský 766f1be02d Update to Samba 4.16.1
resolves: #2080915

pfilipen
2022-05-02 13:16:49 +02:00
Andreas Schneider 5533ff7a7c Make sure we do not build Heimdal or crypto code
As we need to rely on GnuTLS for FIPS, remove heimdal and other unused
crypto code to ensure we do not build it!
2022-04-04 11:39:14 +02:00
Sandro Mani 92f6ae3986 Rebuild with mingw-gcc-12 2022-03-25 14:58:37 +01:00
Günther Deschner d6e74e716f Update to Samba 4.16.0
resolves: #2066290

Guenther
2022-03-22 10:27:37 +01:00
Günther Deschner da81e5cf5b Update to Samba 4.16.0rc5
resolves: #2042518

Guenther
2022-03-09 15:23:04 +01:00
Pavel Filipenský 48556cdf37 Update to Samba 4.16.0rc4
resolves: #2042518

pfilipen
2022-03-01 12:37:53 +01:00
Andreas Schneider 0d2a366cce Fix samba-tool on builds with samba-dc
resolves: rhbz#2036443
2022-02-23 11:49:53 +01:00
Pavel Filipenský 08f90048f5 Update to Samba 4.16.0rc3
resolves: #2042518

pfilipen
2022-02-15 11:52:16 +01:00
Günther Deschner 626bbcbaac There is no such thing like .el9rhgs
Guenther
2022-02-02 14:41:00 +01:00
Pavel Filipenský 4ee87cc214 Fix missing mdssvc/elasticsearch_mappings.json
pfilipen
2022-02-01 11:13:21 +01:00
Pavel Filipenský fae36af2f3 Update to Samba 4.16.0rc2
resolves: #2046120, #2048566 - Security fixes for CVE-2021-44141
resolves: #2046146, #2048570 - Security fixes for CVE-2021-44142
resolves: #2046134, #2048568 - Security fixes for CVE-2022-0336
resolves: #2042518

pfilipen
2022-02-01 08:23:36 +01:00
Pavel Filipenský b935fbcb7d vfs_cephfs on ppc64le is excluded till ceph is fixed on ppc64le 2022-01-26 10:35:36 +01:00
Pavel Filipenský c8ac21e6f1 Update to Samba 4.16.0rc1 2022-01-25 16:41:03 +01:00
Pavel Filipenský c1f9bec1db Switch off ld.gold 2022-01-21 11:46:51 +01:00
Pavel Filipenský 6da37eb4ca Update to Samba 4.15.4
resolves: #2009673, #2039034 - Security fixes for CVE-2021-20316
resolves: #2042518

pfilipen
2022-01-20 14:30:55 +01:00
Andreas Schneider 13dfbb0767 Require python3-pyasn1 >= 0.4.8 2022-01-10 15:08:40 +01:00
Pavel Filipenský 8a81633e9a Fix resolv_wrapper with glibc 2.34
resolves: #2019669

pfilipen
2021-12-15 12:33:50 +01:00
Andreas Schneider 3314e8e15a Add missing Requires 2021-12-09 19:11:22 +01:00
Pavel Filipenský 6bc60bb396 Update to Samba 4.15.3
resolves: #2030382

pfilipen
2021-12-08 18:55:07 +01:00
Andreas Schneider a4093f41f0 Remove unneeded lmdb dependency for samba-tool if we don't have a DC 2021-12-03 13:55:09 +01:00
Andreas Schneider 73757dc8a3 Define _make_verbose in if it doesn't exits
This is needed to build for RHEL8.
2021-11-25 14:58:29 +01:00
Andreas Schneider 6f2c200320 Always build with quota support
We want that the build fails, if we don't have quota support.
2021-11-15 11:14:50 +01:00
Günther Deschner 2ee30bad8f Fix IPA DC schannel support
Guenther
2021-11-13 00:15:32 +01:00
Günther Deschner 2eedc4de19 Fix smbclient -N failures in container setups
Guenther
2021-11-11 18:53:23 +01:00
Günther Deschner af2d47413b Fix logfile handling
Guenther
2021-11-11 16:02:57 +01:00
Günther Deschner f0333fc6d6 Fix winbind trusted domain regression
related: #2021716

Guenther
2021-11-11 14:46:42 +01:00
Günther Deschner 56ca6af06a Update to Samba 4.15.2
resolves: #2019660, #2021711 - Security fixes for CVE-2016-2124
resolves: #2019672, #2021716 - Security fixes for CVE-2020-25717
resolves: #2019726, #2021718 - Security fixes for CVE-2020-25718
resolves: #2019732, #2021719 - Security fixes for CVE-2020-25719
resolves: #2021728, #2021729 - Security fixes for CVE-2020-25721
resolves: #2019764, #2021721 - Security fixes for CVE-2020-25722
resolves: #2021726, #2021727 - Security fixes for CVE-2021-3738
resolves: #2019666, #2021715 - Security fixes for CVE-2021-23192
resolves: #2021625

Guenther
2021-11-10 14:12:54 +01:00
Günther Deschner 3c2c163325 Fix winexe core dump
resolves: #2020376

Guenther
2021-11-05 15:01:26 +01:00
Günther Deschner 331ea7c567 Update to Samba 4.15.1
resolves: #2017847

Guenther
2021-10-27 16:33:51 +02:00
Günther Deschner bc51ea8a5e Update to Samba 4.15.0
resolves: #2005817

Guenther
2021-09-20 12:05:43 +02:00
Günther Deschner 2efb445c94 Update to Samba 4.15.0rc7
resolves: #2003740

Guenther
2021-09-13 17:31:33 +02:00
Günther Deschner c6ac21963a Update to Samba 4.15.0rc6
resolves: #2002546

Guenther
2021-09-09 11:48:05 +02:00
Günther Deschner 29bd82541a Update to Samba 4.15.0rc5
resolves: #2001827

Guenther
2021-09-07 12:21:08 +02:00
Andreas Schneider eae8b04784 The testsuite requires lmdb-devel 2021-09-03 09:07:37 +02:00
Andreas Schneider a7a77b0af0 We need python3-cryptography for krb5 tests 2021-09-03 09:07:20 +02:00
Günther Deschner 0a04de2534 Update to Samba 4.15.0rc4
resolves: #2000079

Guenther
2021-09-01 13:47:44 +02:00
Günther Deschner a184099345 Update to Samba 4.15.0rc3
resolves: #1998024

Guenther
2021-08-26 13:26:14 +02:00
Günther Deschner fe6291ff86 Add ceph and etcd mutex helpers for CTDB
Guenther
2021-08-25 17:29:12 +02:00
Anoop C S 6410d154eb Revert "Exclude PyDSDB library files"
This reverts commit cc8c80c04b.
2021-08-16 13:21:01 +05:30
Anoop C S cffce0ef3e Remove duplicate listing for libdnsserver-common-samba4.so
libdnsserver-common-samba4.so is already getting packaged in samba-libs
sub-package(see 68140d413f) and
samba-dc-libs pulls in samba-libs. Therefore removing it from samba-dc-libs.
2021-08-16 13:16:10 +05:30
Adam Williamson 376ef2f0e0 Fix samba-common-tools dependency
It was literally "python3-%{samba}", which obviously didn't
work.
2021-08-13 09:12:01 -07:00
Andreas Schneider 713db3d972 Add missing Requires in samba-common-tools for samba-tool 2021-08-12 15:02:04 +02:00
Anoop C S 68140d413f Fix inclusion of PyDSDB library files
Commit cc8c80c04b removed the following
PyDSDB library files from buildroot:

* /usr/lib64/python3.9/site-packages/samba/dsdb.cpython-39-x86_64-linux-gnu.so
* /usr/lib64/python3.9/site-packages/samba/dsdb_dns.cpython-39-x86_64-linux-gnu.so

This was done under the impression that their dependency on
libdnsserver-common-samba4.so was not built in a non AD DC
environment. But in reality it was also conditionally removed
from the buildroot.

Apart from including PyDSDB back into python3-samba, we avoid removing
libdnsserver-common-samba4.so from buildroot and subsequently include it
in samba-libs to satisfy all dependencies. Additionally we remove PyDSDB
listing from %files section of python3-samba-dc sub-package.
2021-08-12 17:15:15 +05:30
Andreas Schneider 47c27ed2c1 Document how to build with fedpkg 2021-08-11 10:32:09 +02:00
Andreas Schneider b904ff11a5 Use more CPUs for re-linking during the install step if possible 2021-08-11 10:32:09 +02:00
Andreas Schneider 58450895a0 Require libs packages to be updated before restarting winbindd 2021-08-11 10:32:09 +02:00
Anoop C S db523c32da Move `samba-tool` from samba-dc to samba-common-tools sub-package
samba-tool is now built in a non AD DC environment and has been improved
to prevent crashes due to import errors. See the following commits in
upstream:

* https://git.samba.org/?p=samba.git;a=commit;h=779d0f02718b3812024bafcd5477ec3039c7a0cf
* https://git.samba.org/?p=samba.git;a=commit;h=fb5fe30e824d2d511188053ce04cf797b769727a
* https://git.samba.org/?p=samba.git;a=commit;h=f241fe5d46e8dd2b3265be7eddbd6686a6f920db
* https://git.samba.org/?p=samba.git;a=commit;h=a45ea91cd7e8335319c96ea5bda02014f584df63

related: #1991353
2021-08-11 12:53:03 +05:30
Anoop C S cc8c80c04b Exclude PyDSDB library files
Following library files are built without AD DC but has dependency on
other components which are only available with DC:

/usr/lib64/python3.9/site-packages/samba/dsdb.cpython-39-x86_64-linux-gnu.so
/usr/lib64/python3.9/site-packages/samba/dsdb_dns.cpython-39-x86_64-linux-gnu.so

Therefore we remove those from buildroot.

resolves: #1991353
2021-08-11 12:18:41 +05:30
Günther Deschner 03a37fd80f Update to Samba 4.15.0rc2
resolves: #1991634

Guenther
2021-08-09 16:51:22 +02:00
Fedora Release Engineering 0f02de3867 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 16:59:34 +00:00
Günther Deschner ab92045b9b Fix inclusion and building of ldb mdb module
Guenther
2021-07-21 15:32:03 +02:00
Günther Deschner c7152a7598 Fix ctdb-pcp-pmda install
resolves: #1983369

Guenther
2021-07-19 11:59:32 +02:00
Günther Deschner 30df8220b4 Do not include mdb.so for now
Guenther
2021-07-15 23:25:20 +02:00
Günther Deschner 8e500051bc Fix BuildRequires: lmdb-devel
Guenther
2021-07-15 22:25:56 +02:00
Günther Deschner dc0913c8f2 Update to Samba 4.15.0rc1
resolves: #1982623

Guenther
2021-07-15 16:59:08 +02:00
Günther Deschner 15c3d6dc9d Build with pcp-pmda support by default on Fedora
resolves: #1552276

Guenther
2021-07-14 17:09:06 +02:00
Günther Deschner 869e9c50a6 Update to Samba 4.14.6
resolves: #1981764

Guenther
2021-07-13 13:28:32 +02:00
Günther Deschner daabe96f8e Fix typos
Guenther
2021-06-29 14:33:14 +02:00
Andreas Schneider 5e4f3ca118 Fix typo in comment 2021-06-24 13:19:58 +02:00
Andreas Schneider b0ce351e1d Fix typos 2021-06-24 11:24:59 +02:00
Andreas Schneider 7be6ccad7b Bump release 2021-06-24 10:32:29 +02:00
Andreas Schneider e17d2fbe11 Add subpackage for vfs-iouring 2021-06-24 10:30:14 +02:00
Andreas Schneider e37c5c8b5b Remove trailing whitespace 2021-06-17 15:29:00 +02:00
Python Maint 4e6773440b Rebuilt for Python 3.10 2021-06-04 21:14:34 +02:00
Günther Deschner a42aaa69c3 Update to Samba 4.14.5
resolves: #1966456

Guenther
2021-06-01 12:47:01 +02:00
Andreas Schneider 2f7e875944 Move Obsoletes to samba-common-libs package
The samba-common package is a noarch package. This could cause issues.
2021-05-31 08:41:13 +02:00
Jitka Plesnikova d08addb413 Perl 5.34 rebuild 2021-05-21 22:04:47 +02:00
Pete Walter eb93f258dc Use baserelease rather than main_release macro
baserelease is what we have standardized across Fedora and what
rpmdev-bumpspec knows how to handle.
2021-05-20 10:17:02 +01:00
Pete Walter 249389209b Fix release number 2021-05-20 10:16:32 +01:00
Pete Walter aa94f9dec1 Rebuild for ICU 69 2021-05-19 21:18:29 +01:00
Andreas Schneider 4e19062fc1 Fix building with gcc 11.x
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2021-05-18 13:14:04 +02:00
Andreas Schneider 06f8e7b2d9 Fix typo and add ctdb-tests-debuginfo 2021-05-18 11:29:27 +02:00
Andreas Schneider f08374c6d4 Fix updating if vfs_glusterfs or ctdb-tests pacakges are installed 2021-05-12 14:49:04 +02:00
Andreas Schneider b69385bc2d Fix comment to match if-clause 2021-05-12 14:42:03 +02:00
Andreas Schneider 554a3330e3 rpminspect: Update to the version from CentOS Stream 2021-05-12 11:32:42 +02:00
Andreas Schneider 3356311a17 Build vfs_io_uring also on RHEL >= 8 2021-05-12 11:31:21 +02:00
Andreas Schneider d3d2a031b7 Do not drop tirpc which is uses for quota 2021-05-11 15:16:15 +02:00
Andreas Schneider 8fae59d7cc rpminspect: Allow also to path on non 64bit platforms 2021-05-04 09:09:55 +02:00
Andreas Schneider 7f443ad2e8 Fix rpminspec.yaml name 2021-05-04 09:07:45 +02:00
Andreas Schneider 0f1369ca59 rpminspect: Allow also non-64bit lib dirs 2021-05-03 14:07:05 +02:00
Andreas Schneider 9d2d741749 Add rpminspect.yml
This ignore false positives.
2021-05-03 14:01:27 +02:00
Andreas Schneider f6040f38cd Move %{?dist} to Release tag
This is expected by rpminspect and it doesn't resolve variables in spec
files.
2021-04-30 16:02:59 +02:00
Andreas Schneider d47396691c Remove obsolete world writeable /var/spool/samba
The default smb.conf we install already uses /var/tmp
2021-04-30 15:58:43 +02:00
Günther Deschner 7f81bed73e Update to Samba 4.14.4
resolves: #1949442, #1955027 - Security fixes for CVE-2021-20254
resolves: #1955011

Guenther
2021-04-29 11:54:16 +02:00
Anoop C S 1520f9620f Fix wrong conditional build check for AD DC
resolves: #1954263
2021-04-28 10:46:31 +05:30
Andreas Schneider b88dfc7eaa Add Provides: bundled(libreplace)
This might be useful if it will ever have security issues.
2021-04-26 14:37:02 +02:00
Andreas Schneider 4249254548 Drop NIS support
resolves: #1942378
2021-04-20 17:31:05 +02:00
Günther Deschner fba068844e Update to Samba 4.14.3
resolves: #1951531

Guenther
2021-04-20 13:30:35 +02:00
Andreas Schneider 3627144822 Added python3-ldb to BR 2021-04-19 11:06:07 +02:00
Andreas Schneider 2ae69028bf Remove findsmb script
resolves: #1949295
2021-04-19 09:27:14 +02:00
Andreas Schneider 4651019383 Remove unused filter-requires-samba.sh 2021-04-19 09:26:37 +02:00
Richard W.M. Jones e68a8ba5b9 Rebuild for updated liburing. 2021-04-14 10:23:01 +01:00
Alexander Bokovoy d08e5bf692 Fix RPC server memory leaks
Resolves: rhbz#1946950

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
2021-04-07 18:07:23 +03:00
Günther Deschner b05e4ed148 Update to Samba 4.14.2
related: #1941400, #1942496 - Security fixes for CVE-2020-27840
related: #1941402, #1942497 - Security fixes for CVE-2021-20277

Guenther
2021-03-25 00:20:05 +01:00
Günther Deschner e5dda56658 Update to Samba 4.14.1
resolves: #1941400, #1942496 - Security fixes for CVE-2020-27840
resolves: #1941402, #1942497 - Security fixes for CVE-2021-20277

Guenther
2021-03-24 18:53:58 +01:00
Günther Deschner f931b17773 Update to Samba 4.14.0
Guenther
2021-03-09 17:08:03 +01:00
Zbigniew Jędrzejewski-Szmek 18faec13bc Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:12:49 +01:00
Günther Deschner 45765aba68 Update to Samba 4.14.0rc4
Guenther
2021-03-01 12:15:45 +01:00
Günther Deschner 83436d8564 Update to Samba 4.14.0rc3
Guenther
2021-02-18 13:18:28 +01:00
Andreas Schneider 6cddc6448b Protect 'Require' of libwbclient 2021-02-04 17:08:28 +01:00
Andreas Schneider 8f1e592d6a Add python3-pyasn1 for krb5 tests 2021-02-04 16:59:27 +01:00
Günther Deschner e267c837dc Update to Samba 4.14.0rc2
Guenther
2021-02-04 13:26:29 +01:00
Andreas Schneider 5e5dc1ede5 Add missing post requirement for libwbclient 2021-02-03 11:28:40 +01:00
Günther Deschner 95450ee5f8 Update to Samba 4.14.0rc1
Guenther
2021-01-27 17:26:09 +01:00
Günther Deschner 12217d454e Update to Samba 4.13.4
Guenther
2021-01-26 17:32:33 +01:00
Alexander Bokovoy 254400b459 Rebuild against krb5 1.19
Resolves: rhbz#1915928
2021-01-13 20:52:30 +02:00
Tom Stellard 8fff4f7c11 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-08 21:05:04 +00:00
Günther Deschner ee8f8c2cd1 Update to Samba 4.13.3
Guenther
2020-12-15 12:06:05 +01:00
Alexander Bokovoy 0526d5b25f More missing Python modules 2020-11-25 17:06:03 +02:00
Alexander Bokovoy bcc551eafa Add new unpackaged Python modules 2020-11-25 13:53:24 +02:00
Alexander Bokovoy 1d03aa069e Merge RHEL 8.4 patches
These patches are part of the https://gitlab.com/samba-redhat/samba/-/tree/v4-13-redhat

 [PATCH 001/105] libcli:smb2: Do not leak ptext on error
 [PATCH 002/105] libcli:smb2: Use talloc NULL context if we don't have
 [PATCH 003/105] auth:creds: Introduce CRED_SMB_CONF
 [PATCH 004/105] param: Add 'server smb encrypt' parameter
 [PATCH 005/105] param: Create and use enum_smb_encryption_vals
 [PATCH 006/105] s3:smbd: Use 'enum smb_encryption_setting' values
 [PATCH 007/105] docs-xml: Add 'client smb encrypt'
 [PATCH 008/105] lib:param: Add lpcfg_parse_enum_vals()
 [PATCH 009/105] libcli:smb: Add smb_signing_setting_translate()
 [PATCH 010/105] libcli:smb: Add smb_encryption_setting_translate()
 [PATCH 011/105] s3:lib: Use smb_signing_setting_translate for cmdline
 [PATCH 012/105] auth:creds: Remove unused credentials autoproto
 [PATCH 013/105] auth:creds: Add
 [PATCH 014/105] auth:creds: Add python bindings for
 [PATCH 015/105] auth:creds: Add
 [PATCH 016/105] auth:creds: Add python bindings for
 [PATCH 017/105] auth:creds: Add
 [PATCH 018/105] auth:creds: Add python bindings for
 [PATCH 019/105] auth:creds: Add python bindings for
 [PATCH 020/105] auth:creds: Bump library version
 [PATCH 021/105] s3:lib: Use cli_credential_(get|set)_smb_signing()
 [PATCH 022/105] s3:lib: Set smb encryption also via cli creds API
 [PATCH 023/105] python: Remove unused sign argument from
 [PATCH 024/105] python: Set smb signing via the creds API
 [PATCH 025/105] s3:libsmb: Introduce CLI_FULL_CONNECTION_IPC
 [PATCH 026/105] s3:pylibsmb: Add ipc=True support for
 [PATCH 027/105] python:tests: Mark libsmb connection as an IPC
 [PATCH 028/105] python:tests: Set smb ipc signing via the creds API
 [PATCH 029/105] s3:libsmb: Use 'enum smb_signing_setting' in
 [PATCH 030/105] s3:client: Turn off smb signing for message op
 [PATCH 031/105] s3:libsmb: Remove signing_state from
 [PATCH 032/105] s3:libsmb: Remove signing_state from
 [PATCH 033/105] s3:libsmb: Add encryption support to
 [PATCH 034/105] python: Add a test for SMB encryption
 [PATCH 035/105] s3:net: Use cli_credentials_set_smb_encryption()
 [PATCH 036/105] s3:libsmb: Use cli_credentials_set_smb_encryption()
 [PATCH 037/105] s3:client: Remove unused smb encryption code
 [PATCH 038/105] s3:utils: Remove obsolete force encryption from
 [PATCH 039/105] s3:utils: Remove obsolete force encryption from
 [PATCH 040/105] s3:utils: Remove obsolete force encryption from
 [PATCH 041/105] s3:rpcclient: Remove obsolete force encryption from
 [PATCH 042/105] examples: Remove obsolete force encryption from
 [PATCH 043/105] s3:libsmb: Make cli_cm_force_encryption_creds()
 [PATCH 044/105] s4:libcli: Return NTSTATUS errors for
 [PATCH 045/105] s4:libcli: Return if encryption is requested for SMB1
 [PATCH 046/105] s3:libcli: Split out smb2_connect_tcon_start()
 [PATCH 047/105] s4:libcli: Add smb2_connect_enc_start()
 [PATCH 048/105] s4:libcli: Require signing for SMB encryption
 [PATCH 049/105] python:tests: Add test for SMB encrypted DCERPC
 [PATCH 050/105] auth:gensec: Add gensec_security_sasl_names()
 [PATCH 051/105] s4:ldap_server: Use samba_server_gensec_start() in
 [PATCH 052/105] auth:gensec: Make gensec_use_kerberos_mechs() a
 [PATCH 053/105] auth:gensec: Pass use_kerberos and keep_schannel to
 [PATCH 054/105] auth:gensec: If Kerberos is required, keep schannel
 [PATCH 055/105] auth:creds: Add cli_credentials_init_server()
 [PATCH 056/105] s4:rpc_server: Use cli_credentials_init_server()
 [PATCH 057/105] s4:smb_server: Use cli_credentials_init_server() for
 [PATCH 058/105] selftest: Rename 'smb encrypt' to 'server smb
 [PATCH 059/105] selftest: Move enc_desired to provision to have it in
 [PATCH 060/105] s3:tests: Add smbclient tests for 'client smb
 [PATCH 061/105] s3:client: Remove global smb_encrypt
 [PATCH 062/105] s3:libsmb: Remove force_encrypt from cli_cm_open()
 [PATCH 063/105] s3:libsmb: Remove force_encrypt from cli_cm_connect()
 [PATCH 064/105] s3:libsmb: Remove force_encrypt from clidfs
 [PATCH 065/105] s3:libsmb: Remove force_encrypt from
 [PATCH 066/105] s3:libsmb: Pass cli_credentials to clidfs
 [PATCH 067/105] s3:libsmb: Pass cli_credentials to cli_cm_connect()
 [PATCH 068/105] s3:libsmb: Pass cli_credentials to cli_cm_open()
 [PATCH 069/105] s3:libsmb: Pass cli_credentials to
 [PATCH 070/105] s3:client: Remove global max_protocol
 [PATCH 071/105] s3:libsmb: Remove max_protocol from cli_cm_open()
 [PATCH 072/105] s3:libcmb: Remove max_protocol from cli_cm_connect()
 [PATCH 073/105] s3:libsmb: Remove max_protocol from clidfs
 [PATCH 074/105] s3:include: Move loadparm prototypes to own header
 [PATCH 075/105] s3:lib: Move interface prototypes to own header file
 [PATCH 076/105] idl: Add SID_SAMBA_SMB3
 [PATCH 077/105] s3:smbd: Add SMB3 connection information to session
 [PATCH 078/105] librpc: Add dcerpc helper
 [PATCH 079/105] s3:smbd: Use defines to set 'srv_smb_encrypt'
 [PATCH 080/105] s3:rpc_server: Allow to use RC4 for setting passwords
 [PATCH 081/105] s4:rpc_server: Allow to use RC4 for setting passwords
 [PATCH 082/105] lib:crypto: Add py binding for set_relax/strict fips
 [PATCH 083/105] s4:param: Add 'weak crypto' getter to pyparam
 [PATCH 084/105] python:tests: Add SAMR password change tests for fips
 [PATCH 085/105] python:tests: Add SAMR password change tests for fips
 [PATCH 086/105] auth:creds: Rename CRED_USE_KERBEROS values
 [PATCH 087/105] auth:creds:tests: Migrate test to a cmocka unit test
 [PATCH 088/105] s3-vfs_glusterfs: always disable write-behind
 [PATCH 089/105] Add smb2cli_session_get_encryption_cipher()
 [PATCH 090/105] Add dcerpc_transport_encrypted()
 [PATCH 091/105] Add py binding for dcerpc_transport_encrypted
 [PATCH 092/105] selftest: add a test for py dce transport_encrypted
 [PATCH 093/105] Add CreateTrustedDomainRelax wrapper for fips mode
 [PATCH 094/105] Use the new CreateTrustedDomainRelax()
 [PATCH 095/105] selftest: add a test for the CreateTrustedDomainRelax
 [PATCH 096/105] Remove source4/scripting/devel/createtrust script
 [PATCH 097/105] s3:rpc_server: Use gnutls_cipher_decrypt() in
 [PATCH 098/105] s4:rpc_server: Use gnutls_cipher_decrypt() in
 [PATCH 099/105] s3:rpc_server: Allow to use RC4 for creating trusts
 [PATCH 100/105] s4:rpc_server: Allow to use RC4 for creating trusts
 [PATCH 101/105] sefltest: Enable the dcerpc.createtrustrelax test
 [PATCH 102/105] s3: spoolss: Make parameters in call to
 [PATCH 103/105] s3:smbd: Fix possible null pointer dereference in
 [PATCH 104/105] lookup_name: allow lookup names prefixed with DNS
 [PATCH 105/105] auth_sam: use pdb_get_domain_info to look up DNS
2020-11-25 13:00:08 +02:00
Alexander Bokovoy 13eed773b0 Fix smbclient mget crashes
- Upstream bug #14517
- rhbz#1892745, rhbz#1900232
2020-11-25 12:59:43 +02:00
Andreas Schneider 061477b3e7 Only build vfs_glusterfs on RHGS 2020-11-20 15:21:44 +01:00
Andreas Schneider 772e0d9aa6 Fix dependencies of samba-client-libs 2020-11-20 15:15:56 +01:00
Andreas Schneider 0867e962ba Add back --with-profiling-data
Should be enabled by default.
2020-11-20 15:15:40 +01:00
Andreas Schneider f88d234f14 Add missing require to samba-winexe 2020-11-20 15:15:20 +01:00
Andreas Schneider 8316f0ac99 Fix winexe and glusterfs on rhel 2020-11-13 17:05:12 +01:00
Andreas Schneider 0d567d3ab9 Fix --with includelibs 2020-11-03 20:19:56 +01:00
Andreas Schneider a324d7bf6f Split out a python3-samba-devel package
This fixes a dependency of python3-samba on libtalloc-devel
2020-11-03 20:19:54 +01:00
Andreas Schneider f3b2e2942f Use %{__make} 2020-11-03 17:26:02 +01:00
Günther Deschner c6b149506e Add missing dlz_bind.so files
Guenther
2020-11-03 14:47:34 +01:00
Günther Deschner 19efd0180f Remove obsolete patches
Guenther
2020-11-03 13:49:44 +01:00
Günther Deschner 5f0457d042 Update to Samba 4.13.2
Guenther
2020-11-03 13:38:56 +01:00
Günther Deschner b44802fb9c Update to Samba 4.13.1
resolves: #1892631, #1892634 - Security fixes for CVE-2020-14318
resolves: #1891685, #1892628 - Security fixes for CVE-2020-14323
resolves: #1892636, #1892640 - Security fixes for CVE-2020-14383

Guenther
2020-10-29 12:19:04 +01:00
Andreas Schneider efa876d95a Fix running --with testsuite 2020-10-26 10:10:23 +01:00
Andreas Schneider 04e828d22a Update internal resolv_wrapper to 1.1.7
This fixes some Samba tests which redirect stderr to stdout and then get
more messages than expected.
2020-10-26 10:09:24 +01:00
Andreas Schneider 586addaaf8 Fixed dbcheck running in a release tarball 2020-10-26 10:09:03 +01:00
Andreas Schneider 5856c50271 Do not use %make_build
Samba is using waf as the build system, make is just a wrapper and sync
make output doesn't work!
2020-10-26 09:48:29 +01:00
Andreas Schneider 36b4604ec1 Use %global instead of %define for variables 2020-10-26 09:48:24 +01:00
Andreas Schneider f6c5528ad0 Update comment for the testsuite 2020-10-26 09:47:37 +01:00
Andreas Schneider b1b788374b Use %bcond_without for vfs_io_uring 2020-10-26 09:47:36 +01:00
Andreas Schneider 7feea33409 Move %bcond_without winexe further up 2020-10-26 09:47:36 +01:00
Andreas Schneider a72748f232 Remove unneeded with_clustering_support define 2020-10-26 09:47:36 +01:00
Andreas Schneider f172c59a67 Use %bcond_without for AD DC 2020-10-26 09:47:36 +01:00
Andreas Schneider a04dd9958d Use %bcond_without for vfs_glusterfs 2020-10-26 09:47:36 +01:00
Andreas Schneider cab0cecf58 Use %bcond_without for vfs_cephfs 2020-10-26 09:47:36 +01:00
Andreas Schneider 89d751d1bf Use %bcond_without for libwbclient 2020-10-26 09:47:36 +01:00
Andreas Schneider 0ac733db9b Use %bcond_without for libsmbclient 2020-10-26 09:47:36 +01:00
Andreas Schneider a31119d9e4 Always build with profiling support 2020-10-26 09:47:36 +01:00
Alexander Bokovoy 92693f66e9 Fix Samba AD DC operations on F33 or later
- Report 'samba' daemon status back to systemd
- Support dnspython 2.0.0 or later in samba_dnsupdate
2020-10-25 09:55:39 +02:00
Alexander Bokovoy 1e29c417eb Fix lookup_unix_user_name to support realm-qualified lookups
Fixes lookups from Windows clients when using Global Catalog searches.
Required for upcoming FreeIPA Global Catalog support.
2020-10-22 10:12:06 +03:00
Isaac Boukris a172510646 Add preliminary S4U support
resolves: #1836630 - Samba DC: Remote Desktop cannot access files
2020-10-22 10:08:23 +03:00
Günther Deschner b62fe79160 Update to Samba 4.13.0
Guenther
2020-09-22 17:56:01 +02:00
Günther Deschner c0da1c5303 Update to Samba 4.13.0rc6
resolves: #1879822, #1880703 - Security fixes for CVE-2020-1472

Guenther
2020-09-19 08:27:05 +02:00
Günther Deschner 0a5021c37e Update to Samba 4.13.0rc5
Guenther
2020-09-16 14:33:18 +02:00
Günther Deschner 2804f931d0 Increase build version
Guenther
2020-09-08 09:58:33 +02:00
Günther Deschner a2f88f217f Update to Samba 4.13.0rc4
Guenther
2020-09-07 23:07:21 +02:00
Neal Gompa 41ab0cd76d Enable winexe by default everywhere 2020-08-28 11:57:42 -04:00
Günther Deschner 692491a456 Fix changelog
Guenther
2020-08-28 14:58:18 +02:00
Günther Deschner a31354402a Update to Samba 4.13.0rc3
Guenther
2020-08-28 12:38:05 +02:00
Anoop C S 57015c72af Add a note for disabled SMB1 in default smb.conf
resolves: #1773149
2020-08-27 18:07:09 +05:30
Günther Deschner 3f3c9ecde9 Update to Samba 4.13.0rc2
Guenther
2020-08-16 19:56:34 +02:00
Andreas Schneider 67ed8f8f78 Fix requires and missing dirs 2020-08-12 10:16:17 +02:00
Fedora Release Engineering 0e393ad6d6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 10:11:53 +00:00
Andreas Schneider a000c31c78 Fix release number 2020-07-21 09:11:08 +02:00
Tom Stellard 2659a5f9b5 Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-14 13:45:51 +00:00
14 changed files with 2179 additions and 375 deletions

110
.gitignore vendored
View File

@ -211,3 +211,113 @@ samba-3.6.0pre1.tar.gz
/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-4.17.0rc3.tar.asc
/samba-4.17.0rc3.tar.xz
/samba-4.17.0rc4.tar.xz
/samba-4.17.0rc4.tar.asc
/samba-4.17.0rc5.tar.xz
/samba-4.17.0rc5.tar.asc
/samba-4.17.0.tar.xz
/samba-4.17.0.tar.asc
/samba-4.17.1.tar.xz
/samba-4.17.1.tar.asc
/samba-4.17.2.tar.xz
/samba-4.17.2.tar.asc
/samba-4.17.3.tar.xz
/samba-4.17.3.tar.asc
/samba-4.17.4.tar.xz
/samba-4.17.4.tar.asc
/samba-4.17.5.tar.xz
/samba-4.17.5.tar.asc
/samba-4.17.6.tar.xz
/samba-4.17.6.tar.asc

View File

@ -1,3 +0,0 @@
#!/bin/sh
/usr/lib/rpm/perl.req $* | grep -E -v '(Net::LDAP|Crypt::SmbHash|CGI|Unicode::MapUTF8|smbldap_tools|Carp|Convert::ASN1|Getopt::Long|Getopt::Std|IO::Socket|POSIX|Time::Local|strict)'

24
rpminspect.yaml Normal file
View File

@ -0,0 +1,24 @@
---
badfuncs:
ignore:
- /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/service/nbtd.so
- /usr/libexec/ctdb/smnotify
- /usr/sbin/nmbd
runpath:
allowed_paths:
- /usr/lib/samba
- /usr/lib64/samba
abidiff:
suppression_file: samba.abignore
debuginfo:
ignore:
- /usr/lib*/libdcerpc-samr.so.*

View File

@ -0,0 +1,540 @@
From a3e3d05f35d6082ea48450060b39084e3d0e4056 Mon Sep 17 00:00:00 2001
From: Andreas Schneider <asn@samba.org>
Date: Mon, 10 Oct 2022 15:15:20 +0200
Subject: [PATCH 1/5] s3:librpc: Improve GSE error message
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15206
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
---
source3/librpc/crypto/gse.c | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c
index c50a8a036df..c2cac7abf82 100644
--- a/source3/librpc/crypto/gse.c
+++ b/source3/librpc/crypto/gse.c
@@ -546,11 +546,28 @@ init_sec_context_done:
goto done;
case GSS_S_FAILURE:
switch (gss_min) {
- case (OM_uint32)KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN:
- DBG_NOTICE("Server principal not found\n");
+ case (OM_uint32)KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN: {
+ gss_buffer_desc name_token = {
+ .length = 0,
+ };
+
+ gss_maj = gss_display_name(&gss_min,
+ gse_ctx->server_name,
+ &name_token,
+ NULL);
+ if (gss_maj == GSS_S_COMPLETE) {
+ DBG_NOTICE("Server principal %.*s not found\n",
+ (int)name_token.length,
+ (char *)name_token.value);
+ gss_release_buffer(&gss_maj, &name_token);
+ } else {
+ DBG_NOTICE("Server principal not found\n");
+ }
+
/* Make SPNEGO ignore us, we can't go any further here */
status = NT_STATUS_INVALID_PARAMETER;
goto done;
+ }
case (OM_uint32)KRB5KRB_AP_ERR_TKT_EXPIRED:
DBG_NOTICE("Ticket expired\n");
/* Make SPNEGO ignore us, we can't go any further here */
--
2.37.3
From d2e2e9acd717e45806f1b19378e09f39c8fe3da8 Mon Sep 17 00:00:00 2001
From: Andreas Schneider <asn@samba.org>
Date: Fri, 7 Oct 2022 14:35:15 +0200
Subject: [PATCH 2/5] s3:rpcclient: Pass salt down to
init_samr_CryptPasswordAES()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15206
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
---
source3/rpc_client/init_samr.c | 15 ++++-----------
source3/rpc_client/init_samr.h | 1 +
source3/rpcclient/cmd_samr.c | 8 ++++++++
source4/libnet/libnet_passwd.c | 13 +++++++------
source4/torture/rpc/samr.c | 27 +++++++++++++++++++++++++++
5 files changed, 47 insertions(+), 17 deletions(-)
diff --git a/source3/rpc_client/init_samr.c b/source3/rpc_client/init_samr.c
index 68f42b602b3..52fa2f90d6e 100644
--- a/source3/rpc_client/init_samr.c
+++ b/source3/rpc_client/init_samr.c
@@ -79,6 +79,7 @@ NTSTATUS init_samr_CryptPassword(const char *pwd,
NTSTATUS init_samr_CryptPasswordAES(TALLOC_CTX *mem_ctx,
const char *password,
+ DATA_BLOB *salt,
DATA_BLOB *session_key,
struct samr_EncryptedPasswordAES *ppwd_buf)
{
@@ -87,12 +88,6 @@ NTSTATUS init_samr_CryptPasswordAES(TALLOC_CTX *mem_ctx,
.data = pw_data,
.length = sizeof(pw_data),
};
- size_t iv_size = gnutls_cipher_get_iv_size(GNUTLS_CIPHER_AES_256_CBC);
- uint8_t iv_data[iv_size];
- DATA_BLOB iv = {
- .data = iv_data,
- .length = iv_size,
- };
DATA_BLOB ciphertext = data_blob_null;
NTSTATUS status = NT_STATUS_UNSUCCESSFUL;
bool ok;
@@ -101,8 +96,6 @@ NTSTATUS init_samr_CryptPasswordAES(TALLOC_CTX *mem_ctx,
return NT_STATUS_INVALID_PARAMETER;
}
- generate_nonce_buffer(iv.data, iv.length);
-
ok = encode_pwd_buffer514_from_str(pw_data, password, STR_UNICODE);
if (!ok) {
return NT_STATUS_INTERNAL_ERROR;
@@ -114,7 +107,7 @@ NTSTATUS init_samr_CryptPasswordAES(TALLOC_CTX *mem_ctx,
session_key,
&samr_aes256_enc_key_salt,
&samr_aes256_mac_key_salt,
- &iv,
+ salt,
&ciphertext,
ppwd_buf->auth_data);
BURN_DATA(pw_data);
@@ -126,8 +119,8 @@ NTSTATUS init_samr_CryptPasswordAES(TALLOC_CTX *mem_ctx,
ppwd_buf->cipher = ciphertext.data;
ppwd_buf->PBKDF2Iterations = 0;
- SMB_ASSERT(iv.length == sizeof(ppwd_buf->salt));
- memcpy(ppwd_buf->salt, iv.data, iv.length);
+ SMB_ASSERT(salt->length == sizeof(ppwd_buf->salt));
+ memcpy(ppwd_buf->salt, salt->data, salt->length);
return NT_STATUS_OK;
}
diff --git a/source3/rpc_client/init_samr.h b/source3/rpc_client/init_samr.h
index 940534e7168..71b4c0e573d 100644
--- a/source3/rpc_client/init_samr.h
+++ b/source3/rpc_client/init_samr.h
@@ -47,6 +47,7 @@ NTSTATUS init_samr_CryptPassword(const char *pwd,
*/
NTSTATUS init_samr_CryptPasswordAES(TALLOC_CTX *mem_ctx,
const char *password,
+ DATA_BLOB *salt,
DATA_BLOB *session_key,
struct samr_EncryptedPasswordAES *ppwd_buf);
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index 9ccd2f78a8d..8106ca90cf2 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -3172,6 +3172,11 @@ static NTSTATUS cmd_samr_setuserinfo_int(struct rpc_pipe_client *cli,
uint8_t nt_hash[16];
uint8_t lm_hash[16];
DATA_BLOB session_key;
+ uint8_t salt_data[16];
+ DATA_BLOB salt = {
+ .data = salt_data,
+ .length = sizeof(salt_data),
+ };
uint8_t password_expired = 0;
struct dcerpc_binding_handle *b = cli->binding_handle;
TALLOC_CTX *frame = NULL;
@@ -3198,6 +3203,8 @@ static NTSTATUS cmd_samr_setuserinfo_int(struct rpc_pipe_client *cli,
goto done;
}
+ generate_nonce_buffer(salt.data, salt.length);
+
switch(level) {
case 18:
case 21:
@@ -3220,6 +3227,7 @@ static NTSTATUS cmd_samr_setuserinfo_int(struct rpc_pipe_client *cli,
case 31:
status = init_samr_CryptPasswordAES(frame,
param,
+ &salt,
&session_key,
&pwd_buf_aes);
if (!NT_STATUS_IS_OK(status)) {
diff --git a/source4/libnet/libnet_passwd.c b/source4/libnet/libnet_passwd.c
index 4f662110e55..a1672104824 100644
--- a/source4/libnet/libnet_passwd.c
+++ b/source4/libnet/libnet_passwd.c
@@ -57,13 +57,13 @@ static NTSTATUS libnet_ChangePassword_samr_aes(TALLOC_CTX *mem_ctx,
struct samr_EncryptedPasswordAES pwd_buf = {
.cipher_len = 0
};
- DATA_BLOB iv = {
+ DATA_BLOB salt = {
.data = pwd_buf.salt,
.length = sizeof(pwd_buf.salt),
};
- gnutls_datum_t iv_datum = {
- .data = iv.data,
- .size = iv.length,
+ gnutls_datum_t salt_datum = {
+ .data = pwd_buf.salt,
+ .size = sizeof(pwd_buf.salt),
};
uint64_t pbkdf2_iterations = generate_random_u64_range(5000, 1000000);
NTSTATUS status;
@@ -71,11 +71,11 @@ static NTSTATUS libnet_ChangePassword_samr_aes(TALLOC_CTX *mem_ctx,
E_md4hash(old_password, old_nt_key_data);
- generate_nonce_buffer(iv.data, iv.length);
+ generate_nonce_buffer(salt.data, salt.length);
rc = gnutls_pbkdf2(GNUTLS_MAC_SHA512,
&old_nt_key,
- &iv_datum,
+ &salt_datum,
pbkdf2_iterations,
cek.data,
cek.length);
@@ -86,6 +86,7 @@ static NTSTATUS libnet_ChangePassword_samr_aes(TALLOC_CTX *mem_ctx,
status = init_samr_CryptPasswordAES(mem_ctx,
new_password,
+ &salt,
&cek,
&pwd_buf);
data_blob_clear(&cek);
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index de354659067..0b1880efa18 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -783,6 +783,11 @@ static bool test_SetUserPass_32(struct dcerpc_pipe *p, struct torture_context *t
struct samr_SetUserInfo s;
union samr_UserInfo u;
DATA_BLOB session_key;
+ uint8_t salt_data[16];
+ DATA_BLOB salt = {
+ .data = salt_data,
+ .length = sizeof(salt_data),
+ };
char *newpass = NULL;
struct dcerpc_binding_handle *b = p->binding_handle;
struct samr_GetUserPwInfo pwp;
@@ -818,8 +823,11 @@ static bool test_SetUserPass_32(struct dcerpc_pipe *p, struct torture_context *t
return false;
}
+ generate_nonce_buffer(salt.data, salt.length);
+
status = init_samr_CryptPasswordAES(tctx,
newpass,
+ &salt,
&session_key,
&u.info32.password);
torture_assert_ntstatus_ok(tctx,
@@ -852,6 +860,7 @@ static bool test_SetUserPass_32(struct dcerpc_pipe *p, struct torture_context *t
status = init_samr_CryptPasswordAES(tctx,
newpass,
+ &salt,
&session_key,
&u.info32.password);
torture_assert_ntstatus_ok(tctx,
@@ -896,6 +905,11 @@ static bool test_SetUserPass_31(struct dcerpc_pipe *p, struct torture_context *t
union samr_UserInfo u;
bool ret = true;
DATA_BLOB session_key;
+ uint8_t salt_data[16];
+ DATA_BLOB salt = {
+ .data = salt_data,
+ .length = sizeof(salt_data),
+ };
char *newpass;
struct dcerpc_binding_handle *b = p->binding_handle;
struct samr_GetUserPwInfo pwp;
@@ -931,8 +945,11 @@ static bool test_SetUserPass_31(struct dcerpc_pipe *p, struct torture_context *t
return false;
}
+ generate_nonce_buffer(salt.data, salt.length);
+
status = init_samr_CryptPasswordAES(tctx,
newpass,
+ &salt,
&session_key,
&u.info31.password);
torture_assert_ntstatus_ok(tctx,
@@ -959,6 +976,7 @@ static bool test_SetUserPass_31(struct dcerpc_pipe *p, struct torture_context *t
status = init_samr_CryptPasswordAES(tctx,
newpass,
+ &salt,
&session_key,
&u.info31.password);
torture_assert_ntstatus_ok(tctx,
@@ -1381,6 +1399,11 @@ static bool test_SetUserPass_level_ex(struct dcerpc_pipe *p,
union samr_UserInfo u;
bool ret = true;
DATA_BLOB session_key;
+ uint8_t salt_data[16];
+ DATA_BLOB salt = {
+ .data = salt_data,
+ .length = sizeof(salt_data),
+ };
char *newpass;
struct dcerpc_binding_handle *b = p->binding_handle;
struct samr_GetUserPwInfo pwp;
@@ -1490,6 +1513,8 @@ static bool test_SetUserPass_level_ex(struct dcerpc_pipe *p,
return false;
}
+ generate_nonce_buffer(salt.data, salt.length);
+
switch (level) {
case 18:
{
@@ -1561,6 +1586,7 @@ static bool test_SetUserPass_level_ex(struct dcerpc_pipe *p,
case 31:
status = init_samr_CryptPasswordAES(tctx,
newpass,
+ &salt,
&session_key,
&u.info31.password);
@@ -1568,6 +1594,7 @@ static bool test_SetUserPass_level_ex(struct dcerpc_pipe *p,
case 32:
status = init_samr_CryptPasswordAES(tctx,
newpass,
+ &salt,
&session_key,
&u.info32.password);
--
2.37.3
From 1d630363c9b2497266e418aad89c55d5b51a63ad Mon Sep 17 00:00:00 2001
From: Andreas Schneider <asn@samba.org>
Date: Mon, 17 Oct 2022 09:02:28 +0200
Subject: [PATCH 3/5] s4:libnet: If we successfully changed the password we are
done
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15206
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
---
source4/libnet/libnet_passwd.c | 32 ++++++++++++++++++--------------
1 file changed, 18 insertions(+), 14 deletions(-)
diff --git a/source4/libnet/libnet_passwd.c b/source4/libnet/libnet_passwd.c
index a1672104824..b17614bcd97 100644
--- a/source4/libnet/libnet_passwd.c
+++ b/source4/libnet/libnet_passwd.c
@@ -101,7 +101,7 @@ static NTSTATUS libnet_ChangePassword_samr_aes(TALLOC_CTX *mem_ctx,
r.in.password = &pwd_buf;
status = dcerpc_samr_ChangePasswordUser4_r(h, mem_ctx, &r);
- if (NT_STATUS_IS_OK(status)) {
+ if (!NT_STATUS_IS_OK(status)) {
goto done;
}
if (!NT_STATUS_IS_OK(r.out.result)) {
@@ -112,6 +112,7 @@ static NTSTATUS libnet_ChangePassword_samr_aes(TALLOC_CTX *mem_ctx,
account->string,
nt_errstr(status));
status = r.out.result;
+ goto done;
}
done:
@@ -424,20 +425,23 @@ static NTSTATUS libnet_ChangePassword_samr(struct libnet_context *ctx, TALLOC_CT
r->samr.in.oldpassword,
r->samr.in.newpassword,
&(r->samr.out.error_string));
- if (!NT_STATUS_IS_OK(status)) {
- if (NT_STATUS_EQUAL(status,
- NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE) ||
- NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED) ||
- NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {
- /*
- * Don't fallback to RC4 based SAMR if weak crypto is not
- * allowed.
- */
- if (lpcfg_weak_crypto(ctx->lp_ctx) ==
- SAMBA_WEAK_CRYPTO_DISALLOWED) {
- goto disconnect;
- }
+ if (NT_STATUS_IS_OK(status)) {
+ goto disconnect;
+ } else if (NT_STATUS_EQUAL(status,
+ NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE) ||
+ NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED) ||
+ NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {
+ /*
+ * Don't fallback to RC4 based SAMR if weak crypto is not
+ * allowed.
+ */
+ if (lpcfg_weak_crypto(ctx->lp_ctx) ==
+ SAMBA_WEAK_CRYPTO_DISALLOWED) {
+ goto disconnect;
}
+ } else {
+ /* libnet_ChangePassword_samr_aes is implemented and failed */
+ goto disconnect;
}
status = libnet_ChangePassword_samr_rc4(
--
2.37.3
From 9a4a169ab34641afb87e7f81708c9a72b321879e Mon Sep 17 00:00:00 2001
From: Noel Power <noel.power@suse.com>
Date: Fri, 21 Oct 2022 17:40:36 +0100
Subject: [PATCH 4/5] s4/rpc_server/sambr: don't mutate the return of
samdb_set_password_aes
prior to this commit return of samdb_set_password_aes was set to
NT_STATUS_WRONG_PASSWORD on failure. Useful status that should be
returned such as NT_STATUS_PASSWORD_RESTRICTION are swallowed here
otherwise (and in this case can be partially responsible for failures
in test samba.tests.auth_log_pass_change (with later gnutls)
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
---
source4/rpc_server/samr/samr_password.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/source4/rpc_server/samr/samr_password.c b/source4/rpc_server/samr/samr_password.c
index 4691f9a47a9..b581be6361c 100644
--- a/source4/rpc_server/samr/samr_password.c
+++ b/source4/rpc_server/samr/samr_password.c
@@ -250,7 +250,6 @@ NTSTATUS dcesrv_samr_ChangePasswordUser4(struct dcesrv_call_state *dce_call,
if (!NT_STATUS_IS_OK(status)) {
ldb_transaction_cancel(sam_ctx);
- status = NT_STATUS_WRONG_PASSWORD;
goto done;
}
--
2.37.3
From b8b36ecba0f22dbc203c12627ebd629c2437c635 Mon Sep 17 00:00:00 2001
From: Noel Power <noel.power@suse.com>
Date: Fri, 21 Oct 2022 17:14:44 +0100
Subject: [PATCH 5/5] python/samba/tests: fix samba.tests.auth_log_pass_change
for later gnutls
later gnutls that support GNUTLS_PBKDF2 currently fail,
we need to conditionally switch test data to reflect use of
'samr_ChangePasswordUser3' or 'samr_ChangePasswordUser4'
depending on whether GNUTLS_PBKDF2 is supported or not
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
---
python/samba/tests/auth_log_pass_change.py | 20 ++++++++++++++++----
source4/selftest/tests.py | 9 ++++++---
2 files changed, 22 insertions(+), 7 deletions(-)
diff --git a/python/samba/tests/auth_log_pass_change.py b/python/samba/tests/auth_log_pass_change.py
index 972af2158dd..1ca46c586b3 100644
--- a/python/samba/tests/auth_log_pass_change.py
+++ b/python/samba/tests/auth_log_pass_change.py
@@ -72,6 +72,18 @@ class AuthLogPassChangeTests(samba.tests.auth_log_base.AuthLogTestBase):
# discard any auth log messages for the password setup
self.discardMessages()
+ gnutls_pbkdf2_support = samba.tests.env_get_var_value(
+ 'GNUTLS_PBKDF2_SUPPORT',
+ allow_missing=True)
+ if gnutls_pbkdf2_support is None:
+ gnutls_pbkdf2_support = '0'
+ self.gnutls_pbkdf2_support = bool(int(gnutls_pbkdf2_support))
+
+ def _authDescription(self):
+ if self.gnutls_pbkdf2_support:
+ return "samr_ChangePasswordUser4"
+ else:
+ return "samr_ChangePasswordUser3"
def tearDown(self):
super(AuthLogPassChangeTests, self).tearDown()
@@ -83,7 +95,7 @@ class AuthLogPassChangeTests(samba.tests.auth_log_base.AuthLogTestBase):
(msg["Authentication"]["serviceDescription"] ==
"SAMR Password Change") and
(msg["Authentication"]["authDescription"] ==
- "samr_ChangePasswordUser3") and
+ self._authDescription()) and
(msg["Authentication"]["eventId"] ==
EVT_ID_SUCCESSFUL_LOGON) and
(msg["Authentication"]["logonType"] ==
@@ -109,7 +121,7 @@ class AuthLogPassChangeTests(samba.tests.auth_log_base.AuthLogTestBase):
(msg["Authentication"]["serviceDescription"] ==
"SAMR Password Change") and
(msg["Authentication"]["authDescription"] ==
- "samr_ChangePasswordUser3") and
+ self._authDescription()) and
(msg["Authentication"]["eventId"] ==
EVT_ID_UNSUCCESSFUL_LOGON) and
(msg["Authentication"]["logonType"] ==
@@ -141,7 +153,7 @@ class AuthLogPassChangeTests(samba.tests.auth_log_base.AuthLogTestBase):
(msg["Authentication"]["serviceDescription"] ==
"SAMR Password Change") and
(msg["Authentication"]["authDescription"] ==
- "samr_ChangePasswordUser3") and
+ self._authDescription()) and
(msg["Authentication"]["eventId"] ==
EVT_ID_UNSUCCESSFUL_LOGON) and
(msg["Authentication"]["logonType"] ==
@@ -174,7 +186,7 @@ class AuthLogPassChangeTests(samba.tests.auth_log_base.AuthLogTestBase):
(msg["Authentication"]["serviceDescription"] ==
"SAMR Password Change") and
(msg["Authentication"]["authDescription"] ==
- "samr_ChangePasswordUser3") and
+ self._authDescription()) and
(msg["Authentication"]["eventId"] ==
EVT_ID_UNSUCCESSFUL_LOGON) and
(msg["Authentication"]["logonType"] ==
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index a803d4704ea..c92105586a7 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -1094,9 +1094,11 @@ if have_heimdal_support:
environ={'CLIENT_IP': '10.53.57.11',
'SOCKET_WRAPPER_DEFAULT_IFACE': 11})
planoldpythontestsuite("ad_dc_smb1", "samba.tests.auth_log_pass_change",
- extra_args=['-U"$USERNAME%$PASSWORD"'])
+ extra_args=['-U"$USERNAME%$PASSWORD"'],
+ environ={'GNUTLS_PBKDF2_SUPPORT': gnutls_pbkdf2_support})
planoldpythontestsuite("ad_dc_ntvfs", "samba.tests.auth_log_pass_change",
- extra_args=['-U"$USERNAME%$PASSWORD"'])
+ extra_args=['-U"$USERNAME%$PASSWORD"'],
+ environ={'GNUTLS_PBKDF2_SUPPORT': gnutls_pbkdf2_support})
# these tests use a NCA local RPC connection, so always run on the
# :local testenv, and so don't need to fake a client connection
@@ -1113,7 +1115,8 @@ if have_heimdal_support:
"samba.tests.auth_log_winbind",
extra_args=['-U"$DC_USERNAME%$DC_PASSWORD"'])
planoldpythontestsuite("ad_dc", "samba.tests.audit_log_pass_change",
- extra_args=['-U"$USERNAME%$PASSWORD"'])
+ extra_args=['-U"$USERNAME%$PASSWORD"'],
+ environ={'GNUTLS_PBKDF2_SUPPORT': gnutls_pbkdf2_support})
planoldpythontestsuite("ad_dc", "samba.tests.audit_log_dsdb",
extra_args=['-U"$USERNAME%$PASSWORD"'])
planoldpythontestsuite("ad_dc", "samba.tests.group_audit",
--
2.37.3

Binary file not shown.

View File

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

View File

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

5
samba.abignore Normal file
View File

@ -0,0 +1,5 @@
#################################################
# This is a grouping library without any code
#################################################
[suppress_file]
file_name_regexp=.*libdcerpc-samr\\.so.*

1852
samba.spec

File diff suppressed because it is too large Load Diff

View File

@ -281,7 +281,7 @@
[printers]
comment = All Printers
path = /var/spool/samba
path = /var/tmp
browseable = no
guest ok = no
writable = no

View File

@ -2,6 +2,10 @@
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
#
# Note:
# SMB1 is disabled by default. This means clients without support for SMB2 or
# SMB3 are no longer able to connect to smbd (by default).
[global]
workgroup = SAMBA
@ -14,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

View File

@ -1,2 +1,2 @@
SHA512 (samba-4.13.0rc1.tar.xz) = 3e6d431998907ad8c81f488ddf78dcef5fd6a4cdf8ca684e5ad0ce9bf7217d82fcca7501155446c83d804f939bea7012f1d37c1f738d8ec7bc769a9148a6592a
SHA512 (samba-4.13.0rc1.tar.asc) = 6dfe9467fd7fd28db91ae15fa3314a7707cfeb88c8ecd2af532d57614bec311119546a2fd4ced71063df9b7d6879a62f9ba512ae05d494323e0362a5492d33fa
SHA512 (samba-4.17.6.tar.xz) = 5c9341fc27ed9912de8da190f6b3464a46e4ad95b1edc8e1a4556d5da5fd17005873b22a26da9890b1537bf61d70c5e2de0d8243c361c71518959d99bb0790aa
SHA512 (samba-4.17.6.tar.asc) = f666ebef32865e4d347ea78c2274742c07222f6539a2a8ec5db5c509b115490c2456243beab27c9c9054ad21a2375f15969787f01c2c269db19da3f5316ac166

3
usershares.conf.vendor Normal file
View File

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