From a7db85abb13d501dfd854951f730ae0c337afb6c12206607a8eb5be7b9bba7e5 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Wed, 3 Jun 2020 15:12:28 +0000 Subject: [PATCH] Accepting request 810756 from home:scabrero:branches:network:samba:STABLE - add libnetapi-devel to baselibs conf, for wine usage (bsc#1172307) - Add system-user-nobody to samba package requirements - Update to samba 4.12.3 + Fix smbd panic on force-close share during async io; (bso#14301); + s3: vfs_full_audit: Add missing fcntl entry in vfs_op_names[] array; (bso#14343); + vfs_io_uring: Fix data corruption with Windows clients; (bso#14361); + Fix smbd crashes when MacOS Catalina connects if iconv initialization fails; (bso#14372); + Exporting from macOS Adobe Illustrator creates multiple copies; (bso#14150); + smbd does a chdir() twice per request; (bso#14256); + smbd mistakenly updates a file's write-time on close; (bso#14320); + vfs_shadow_copy2: implement case canonicalisation in shadow_copy2_get_real_filename(); (bso#14350); + Fix Windows 7 clients problem after upgrading samba file server; (bso#14375); + s3: Pass DCE RPC handle type to create_policy_hnd; (bso#14359); + Fix uxsuccess test with new MIT krb5 library 1.18; (bso#14155); + mit-kdc: Explicitly reject S4U requests; (bso#14342); + dbwrap_watch: Set rec->value_valid while returning nested share_mode_do_locked(); (bso#14352); + lib:util: Fix smbclient -l basename dir; (bso#14345); + s3:libads: Fix ads_get_upn(); (bso#14336); + ctdb: Fix a memleak; (bso#14348); + Malicous SMB1 server can crash libsmbclient; (bso#14366); + ldb: Bump version to 2.1.3, LMDB databases can grow without bounds; (bso#14330); OBS-URL: https://build.opensuse.org/request/show/810756 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=632 --- baselibs.conf | 2 + samba-4.12.2+git.152.c5bf9f6da52.tar.bz2 | 3 -- samba-4.12.3+git.161.208cf9730ee.tar.bz2 | 3 ++ samba.changes | 50 ++++++++++++++++++++++++ samba.spec | 41 ++++++++++--------- 5 files changed, 77 insertions(+), 22 deletions(-) delete mode 100644 samba-4.12.2+git.152.c5bf9f6da52.tar.bz2 create mode 100644 samba-4.12.3+git.161.208cf9730ee.tar.bz2 diff --git a/baselibs.conf b/baselibs.conf index 5bf1438..69505ac 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -6,6 +6,8 @@ libndr-krb5pac0 libndr-nbt0 libndr-standard0 libnetapi0 +libnetapi-devel + requires "libnetapi0- = %version" libsamba-credentials0 libsamba-errors0 libsamba-hostconfig0 diff --git a/samba-4.12.2+git.152.c5bf9f6da52.tar.bz2 b/samba-4.12.2+git.152.c5bf9f6da52.tar.bz2 deleted file mode 100644 index f3568f1..0000000 --- a/samba-4.12.2+git.152.c5bf9f6da52.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:383ef462deacc1dfa2bc2c34b9994c8812d907c56ca25d53dfbdf586c019a008 -size 24689123 diff --git a/samba-4.12.3+git.161.208cf9730ee.tar.bz2 b/samba-4.12.3+git.161.208cf9730ee.tar.bz2 new file mode 100644 index 0000000..3c4d271 --- /dev/null +++ b/samba-4.12.3+git.161.208cf9730ee.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2363da816b576ed322769e1e90455a7d49deaac23bceb8336e9b0314759fde7 +size 24739936 diff --git a/samba.changes b/samba.changes index d4792a2..f310008 100644 --- a/samba.changes +++ b/samba.changes @@ -1,3 +1,53 @@ +------------------------------------------------------------------- +Sat May 30 15:42:34 UTC 2020 - Marcus Meissner + +- add libnetapi-devel to baselibs conf, for wine usage (bsc#1172307) + +------------------------------------------------------------------- +Thu May 28 10:56:26 UTC 2020 - Samuel Cabrero + +- Add system-user-nobody to samba package requirements + +------------------------------------------------------------------- +Wed May 20 15:56:03 UTC 2020 - Samuel Cabrero + +- Update to samba 4.12.3 + + Fix smbd panic on force-close share during async io; (bso#14301); + + s3: vfs_full_audit: Add missing fcntl entry in vfs_op_names[] array; + (bso#14343); + + vfs_io_uring: Fix data corruption with Windows clients; (bso#14361); + + Fix smbd crashes when MacOS Catalina connects if iconv initialization + fails; (bso#14372); + + Exporting from macOS Adobe Illustrator creates multiple copies; + (bso#14150); + + smbd does a chdir() twice per request; (bso#14256); + + smbd mistakenly updates a file's write-time on close; (bso#14320); + + vfs_shadow_copy2: implement case canonicalisation in + shadow_copy2_get_real_filename(); (bso#14350); + + Fix Windows 7 clients problem after upgrading samba file server; + (bso#14375); + + s3: Pass DCE RPC handle type to create_policy_hnd; (bso#14359); + + Fix uxsuccess test with new MIT krb5 library 1.18; (bso#14155); + + mit-kdc: Explicitly reject S4U requests; (bso#14342); + + dbwrap_watch: Set rec->value_valid while returning nested + share_mode_do_locked(); (bso#14352); + + lib:util: Fix smbclient -l basename dir; (bso#14345); + + s3:libads: Fix ads_get_upn(); (bso#14336); + + ctdb: Fix a memleak; (bso#14348); + + Malicous SMB1 server can crash libsmbclient; (bso#14366); + + ldb: Bump version to 2.1.3, LMDB databases can grow without bounds; + (bso#14330); + + vfs_io_uring: Fix data corruption with Windows clients; (bso#14361); + + s3/librpc/crypto: Fix double free with unresolved credential cache; + (bso#14344); + + docs-xml: Fix usernames in pam_winbind manpages; (bso#14358); + +------------------------------------------------------------------- +Mon May 11 14:53:16 UTC 2020 - David Mulder + +- Installing: samba - samba-ad-dc.service does not exist and unit + not found; (bsc#1171437); + ------------------------------------------------------------------- Mon May 4 10:33:43 UTC 2020 - Samuel Cabrero diff --git a/samba.spec b/samba.spec index 313b952..603dc07 100644 --- a/samba.spec +++ b/samba.spec @@ -53,7 +53,7 @@ %define talloc_version 2.3.1 %define tevent_version 0.10.2 %define tdb_version 1.4.3 -%define ldb_version 2.1.2 +%define ldb_version 2.1.3 %global with_mitkrb5 1 %global with_dc 0 @@ -164,7 +164,7 @@ BuildRequires: libtasn1-devel >= 3.8 %else %define build_make_smp_mflags %{?jobs:-j%jobs} %endif -Version: 4.12.2+git.152.c5bf9f6da52 +Version: 4.12.3+git.161.208cf9730ee Release: 0 Url: https://www.samba.org/ Obsoletes: samba-32bit < %{version} @@ -179,6 +179,7 @@ Source4: baselibs.conf Source100: samba-client-rpmlintrc Requires(pre): /usr/bin/getent Requires(pre): /usr/sbin/groupadd +Requires: system-user-nobody Requires: coreutils Requires: grep %if 0%{?suse_version} > 1220 @@ -1334,24 +1335,26 @@ popd %pre getent group ntadmin >/dev/null || groupadd -g 71 -o -r ntadmin %if 0%{?suse_version} > 1220 -%if %{with_dc} -%service_add_pre nmb.service smb.service samba-ad-dc.service -%else %service_add_pre nmb.service smb.service %endif + +%if %{with_dc} +%pre ad-dc +%service_add_pre samba-ad-dc.service %endif %preun %if 0%{?suse_version} > 1220 -%if %{with_dc} -%service_del_preun nmb.service smb.service samba-ad-dc.service -%else %service_del_preun nmb.service smb.service -%endif %else %{?stop_on_removal:%{stop_on_removal smb nmb}} %endif +%if %{with_dc} +%preun ad-dc +%service_del_preun samba-ad-dc.service +%endif + %post %if 0%{?suse_version} > 1220 @@ -1367,22 +1370,14 @@ then sed -i 's/-F *//g' %{_sysconfdir}/sysconfig/samba fi -%if %{with_dc} -%service_add_post nmb.service smb.service samba-ad-dc.service -%else %service_add_post nmb.service smb.service -%endif %{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/samba.conf %fillup_only %endif %postun %if 0%{?suse_version} > 1220 -%if %{with_dc} -%service_del_postun nmb.service smb.service samba-ad-dc.service -%else %service_del_postun nmb.service smb.service -%endif %else %{?restart_on_update:%{restart_on_update nmb smb}} %{?insserv_cleanup:%{insserv_cleanup}} @@ -1494,8 +1489,16 @@ fi %postun libs -p /sbin/ldconfig %post test -p /sbin/ldconfig %postun test -p /sbin/ldconfig -%post ad-dc -p /sbin/ldconfig -%postun ad-dc -p /sbin/ldconfig + +%if %{with_dc} +%post ad-dc +/sbin/ldconfig +%service_add_post samba-ad-dc.service + +%postun ad-dc +/sbin/ldconfig +%service_del_postun samba-ad-dc.service +%endif %post dsdb-modules ln -sf %{_libdir}/samba/ldb %{_libdir}/ldb/samba