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
This commit is contained in:
Noel Power 2020-06-03 15:12:28 +00:00 committed by Git OBS Bridge
parent 7dbf28ebb4
commit a7db85abb1
5 changed files with 77 additions and 22 deletions

View File

@ -6,6 +6,8 @@ libndr-krb5pac0
libndr-nbt0 libndr-nbt0
libndr-standard0 libndr-standard0
libnetapi0 libnetapi0
libnetapi-devel
requires "libnetapi0-<targettype> = %version"
libsamba-credentials0 libsamba-credentials0
libsamba-errors0 libsamba-errors0
libsamba-hostconfig0 libsamba-hostconfig0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:383ef462deacc1dfa2bc2c34b9994c8812d907c56ca25d53dfbdf586c019a008
size 24689123

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2363da816b576ed322769e1e90455a7d49deaac23bceb8336e9b0314759fde7
size 24739936

View File

@ -1,3 +1,53 @@
-------------------------------------------------------------------
Sat May 30 15:42:34 UTC 2020 - Marcus Meissner <meissner@suse.com>
- add libnetapi-devel to baselibs conf, for wine usage (bsc#1172307)
-------------------------------------------------------------------
Thu May 28 10:56:26 UTC 2020 - Samuel Cabrero <scabrero@suse.de>
- Add system-user-nobody to samba package requirements
-------------------------------------------------------------------
Wed May 20 15:56:03 UTC 2020 - Samuel Cabrero <scabrero@suse.de>
- 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 <dmulder@dmulder.com>
- 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 <scabrero@suse.de> Mon May 4 10:33:43 UTC 2020 - Samuel Cabrero <scabrero@suse.de>

View File

@ -53,7 +53,7 @@
%define talloc_version 2.3.1 %define talloc_version 2.3.1
%define tevent_version 0.10.2 %define tevent_version 0.10.2
%define tdb_version 1.4.3 %define tdb_version 1.4.3
%define ldb_version 2.1.2 %define ldb_version 2.1.3
%global with_mitkrb5 1 %global with_mitkrb5 1
%global with_dc 0 %global with_dc 0
@ -164,7 +164,7 @@ BuildRequires: libtasn1-devel >= 3.8
%else %else
%define build_make_smp_mflags %{?jobs:-j%jobs} %define build_make_smp_mflags %{?jobs:-j%jobs}
%endif %endif
Version: 4.12.2+git.152.c5bf9f6da52 Version: 4.12.3+git.161.208cf9730ee
Release: 0 Release: 0
Url: https://www.samba.org/ Url: https://www.samba.org/
Obsoletes: samba-32bit < %{version} Obsoletes: samba-32bit < %{version}
@ -179,6 +179,7 @@ Source4: baselibs.conf
Source100: samba-client-rpmlintrc Source100: samba-client-rpmlintrc
Requires(pre): /usr/bin/getent Requires(pre): /usr/bin/getent
Requires(pre): /usr/sbin/groupadd Requires(pre): /usr/sbin/groupadd
Requires: system-user-nobody
Requires: coreutils Requires: coreutils
Requires: grep Requires: grep
%if 0%{?suse_version} > 1220 %if 0%{?suse_version} > 1220
@ -1334,24 +1335,26 @@ popd
%pre %pre
getent group ntadmin >/dev/null || groupadd -g 71 -o -r ntadmin getent group ntadmin >/dev/null || groupadd -g 71 -o -r ntadmin
%if 0%{?suse_version} > 1220 %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 %service_add_pre nmb.service smb.service
%endif %endif
%if %{with_dc}
%pre ad-dc
%service_add_pre samba-ad-dc.service
%endif %endif
%preun %preun
%if 0%{?suse_version} > 1220 %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 %service_del_preun nmb.service smb.service
%endif
%else %else
%{?stop_on_removal:%{stop_on_removal smb nmb}} %{?stop_on_removal:%{stop_on_removal smb nmb}}
%endif %endif
%if %{with_dc}
%preun ad-dc
%service_del_preun samba-ad-dc.service
%endif
%post %post
%if 0%{?suse_version} > 1220 %if 0%{?suse_version} > 1220
@ -1367,22 +1370,14 @@ then
sed -i 's/-F *//g' %{_sysconfdir}/sysconfig/samba sed -i 's/-F *//g' %{_sysconfdir}/sysconfig/samba
fi fi
%if %{with_dc}
%service_add_post nmb.service smb.service samba-ad-dc.service
%else
%service_add_post nmb.service smb.service %service_add_post nmb.service smb.service
%endif
%{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/samba.conf %{_bindir}/systemd-tmpfiles --create %{_tmpfilesdir}/samba.conf
%fillup_only %fillup_only
%endif %endif
%postun %postun
%if 0%{?suse_version} > 1220 %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 %service_del_postun nmb.service smb.service
%endif
%else %else
%{?restart_on_update:%{restart_on_update nmb smb}} %{?restart_on_update:%{restart_on_update nmb smb}}
%{?insserv_cleanup:%{insserv_cleanup}} %{?insserv_cleanup:%{insserv_cleanup}}
@ -1494,8 +1489,16 @@ fi
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
%post test -p /sbin/ldconfig %post test -p /sbin/ldconfig
%postun 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 %post dsdb-modules
ln -sf %{_libdir}/samba/ldb %{_libdir}/ldb/samba ln -sf %{_libdir}/samba/ldb %{_libdir}/ldb/samba