From ed5352ccabf32192a2213db07d1a4fa429bdc4401c2cc552c93b04ac3e5970f2 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Thu, 19 Mar 2020 10:55:17 +0000 Subject: [PATCH] Accepting request 786416 from home:scabrero:branches:home:npower:update_factory_4.12.0 - ndrdump tests: Make the tests less fragile - python/samba/gp_parse: Fix test errors with python3.8 - Starting ctdb node that was powered off hard before results in recovery loop; (bso#14295); (bsc#1162680). - Update to samba 4.12.0 + For details on all items see WHATSNEW.txt in samba-doc package. + Samba 4.12 raises this minimum version to Python 3.5. + Samba now requires GnuTLS 3.4.7 to be installed. + New Spotlight backend for Elasticsearch. + Retiring DES encryption types in Kerberos. With this release, support for DES encryption types has been removed from Samba, and setting DES_ONLY flag for an account will cause Kerberos authentication to fail for that account (see RFC-6649). + Samba-DC: DES keys no longer saved in DB. + The netatalk VFS module has been removed. + The BIND9_FLATFILE DNS backend is deprecated in this release and will be removed in the future. + CTDB changes + The ctdb_mutex_fcntl_helper periodically re-checks the lock file. + Bugs + Retire DES encryption types in Kerberos; (bso#14202); bsc#(1165574). + dsdb: Correctly handle memory in objectclass_attrs; (bso#14258). OBS-URL: https://build.opensuse.org/request/show/786416 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=627 --- _service | 2 +- baselibs.conf | 2 +- samba-4.11.6+git.120.e474a78db08.tar.bz2 | 3 -- samba-4.12.0+git.132.199dc21ab22.tar.bz2 | 3 ++ samba.changes | 66 ++++++++++++++++++++++++ samba.spec | 44 ++++++++-------- 6 files changed, 93 insertions(+), 27 deletions(-) delete mode 100644 samba-4.11.6+git.120.e474a78db08.tar.bz2 create mode 100644 samba-4.12.0+git.132.199dc21ab22.tar.bz2 diff --git a/_service b/_service index dc15d8c..57492f4 100644 --- a/_service +++ b/_service @@ -2,7 +2,7 @@ https://gitlab.suse.de/samba/suse-samba.git/ git - factory-4-11-stable + factory-4-12-stable @PARENT_TAG@+git.@TAG_OFFSET@.%h samba(.*) \1 diff --git a/baselibs.conf b/baselibs.conf index 92b6e07..5bf1438 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,7 +1,7 @@ libdcerpc0 libdcerpc-binding0 libdcerpc-samr0 -libndr0 +libndr1 libndr-krb5pac0 libndr-nbt0 libndr-standard0 diff --git a/samba-4.11.6+git.120.e474a78db08.tar.bz2 b/samba-4.11.6+git.120.e474a78db08.tar.bz2 deleted file mode 100644 index e91ab01..0000000 --- a/samba-4.11.6+git.120.e474a78db08.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c932092d2353c3155f355a0b5627b99231c918c383f729db54af9fb072e9af75 -size 25044238 diff --git a/samba-4.12.0+git.132.199dc21ab22.tar.bz2 b/samba-4.12.0+git.132.199dc21ab22.tar.bz2 new file mode 100644 index 0000000..a9f31cc --- /dev/null +++ b/samba-4.12.0+git.132.199dc21ab22.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bc70cfd44db89b46fe7fba56890f6c6990b98208ca1abf4bb3e59e584069e2a2 +size 24667368 diff --git a/samba.changes b/samba.changes index 95bfa55..34de06c 100644 --- a/samba.changes +++ b/samba.changes @@ -1,3 +1,69 @@ +------------------------------------------------------------------- +Mon Mar 16 10:40:16 UTC 2020 - Noel Power + +- ndrdump tests: Make the tests less fragile +- python/samba/gp_parse: Fix test errors with python3.8 + +------------------------------------------------------------------- +Fri Mar 13 14:19:30 UTC 2020 - Noel Power + +- Starting ctdb node that was powered off hard before results + in recovery loop; (bso#14295); (bsc#1162680). + +------------------------------------------------------------------- +Fri Mar 6 15:38:01 UTC 2020 - Noel Power + +- Update to samba 4.12.0 + + For details on all items see WHATSNEW.txt in samba-doc + package. + + Samba 4.12 raises this minimum version to Python + 3.5. + + Samba now requires GnuTLS 3.4.7 to be installed. + + New Spotlight backend for Elasticsearch. + + Retiring DES encryption types in Kerberos. With this release, + support for DES encryption types has been removed from + Samba, and setting DES_ONLY flag for an account will cause + Kerberos authentication to fail for that account (see + RFC-6649). + + Samba-DC: DES keys no longer saved in DB. + + The netatalk VFS module has been removed. + + The BIND9_FLATFILE DNS backend is deprecated in this release + and will be removed in the future. + + CTDB changes + + The ctdb_mutex_fcntl_helper periodically re-checks the + lock file. ++ Bugs + + Retire DES encryption types in Kerberos; (bso#14202); + bsc#(1165574). + + dsdb: Correctly handle memory in objectclass_attrs; + (bso#14258). + + s3: DFS: Don't allow link deletion on a read-only share; + (bso#14269). + + pidl/wscript: configure should insist on Parse::Yapp::Driver; + (bso#14284). + + smbd fails to handle EINTR from open(2) properly; + (bso#14285). + + ldb: version 2.1.1; (bso#14270)). + + vfs: Set getting and setting of MS-DFS redirects on the + filesystem to go through two new VFS functions + SMB_VFS_CREATE_DFS_PATHAT() and + SMB_VFS_READ_DFS_PATHAT(); (bso#14282). + + bootstrap: Remove un-used dependency python3-crypto; + (bso#14255) + + Fix CID 1458418 and 1458420; (bso#14247). + + lib: Fix a shutdown crash with "clustering = yes"; + (bso#14281). + + Winbind member (source3) fails local SAM auth with empty + domain name; (bso#14247). + + winbindd: Handle missing idmap in getgrgid(); (bso#14265). + + Don't use forward declaration for GnuTLS typedefs; (bso#14271). + + Add io_uring vfs module; (bso#14280). + + libcli:smb: Improve check for + gnutls_aead_cipher_(en|de)cryptv2; (bso#14250). + + s3: lib: nmblib. Clean up and harden nmb packet processing; + (bso#14239); + + lib:util: Log mkdir error on correct debug levels; (bso#14253). + ------------------------------------------------------------------- Sun Feb 2 20:42:05 UTC 2020 - Thorsten Kukuk diff --git a/samba.spec b/samba.spec index baab22c..39e9cc6 100644 --- a/samba.spec +++ b/samba.spec @@ -50,10 +50,10 @@ %endif %endif -%define talloc_version 2.2.0 -%define tevent_version 0.10.0 -%define tdb_version 1.4.2 -%define ldb_version 2.0.7 +%define talloc_version 2.3.1 +%define tevent_version 0.10.2 +%define tdb_version 1.4.3 +%define ldb_version 2.1.1 %global with_mitkrb5 1 %global with_dc 0 @@ -71,6 +71,7 @@ BuildRequires: e2fsprogs-devel BuildRequires: gcc BuildRequires: make BuildRequires: patch +BuildRequires: perl-Parse-Yapp %if 0%{?suse_version} > 1300 BuildRequires: libarchive-devel %endif @@ -163,7 +164,7 @@ BuildRequires: libtasn1-devel >= 3.8 %else %define build_make_smp_mflags %{?jobs:-j%jobs} %endif -Version: 4.11.6+git.120.e474a78db08 +Version: 4.12.0+git.132.199dc21ab22 Release: 0 Url: https://www.samba.org/ Obsoletes: samba-32bit < %{version} @@ -549,12 +550,14 @@ applications that want to make use of libndr-standard. -%package -n libndr0 +%package -n libndr1 Summary: Network Data Representation library License: GPL-3.0-or-later Group: System/Libraries +Provides: libndr0 +Obsoletes: libndr0 -%description -n libndr0 +%description -n libndr1 Network Data Representation (NDR) is an implementation of the presentation layer in the OSI model. @@ -564,7 +567,7 @@ presentation layer in the OSI model. Summary: Development files for the Network Data Representation library License: GPL-3.0-or-later Group: Development/Libraries/C and C++ -Requires: libndr0 = %{version} +Requires: libndr1 = %{version} Requires: samba-core-devel = %{version} %description -n libndr-devel @@ -1461,8 +1464,8 @@ fi %postun -n libndr-nbt0 -p /sbin/ldconfig %post -n libndr-standard0 -p /sbin/ldconfig %postun -n libndr-standard0 -p /sbin/ldconfig -%post -n libndr0 -p /sbin/ldconfig -%postun -n libndr0 -p /sbin/ldconfig +%post -n libndr1 -p /sbin/ldconfig +%postun -n libndr1 -p /sbin/ldconfig %post -n %{libnetapi_name} -p /sbin/ldconfig %postun -n %{libnetapi_name} -p /sbin/ldconfig %post -n libsamba-credentials0 -p /sbin/ldconfig @@ -1783,6 +1786,7 @@ exit 0 %_includedir/samba-4.0/charset.h %if %{with_dc} %_includedir/samba-4.0/dcerpc_server.h +%_includedir/samba-4.0/dcesrv_core.h %endif %dir %_includedir/samba-4.0/core/ %_includedir/samba-4.0/core/doserr.h @@ -1918,6 +1922,7 @@ exit 0 %{_libdir}/samba/libsocket-blocking-samba4.so %{_libdir}/samba/libsys-rw-samba4.so %{_libdir}/samba/libtalloc-report-samba4.so +%{_libdir}/samba/libtalloc-report-printf-samba4.so %{_libdir}/samba/libtdb-wrap-samba4.so %{_libdir}/samba/libtime-basic-samba4.so %{_libdir}/samba/libtorture-samba4.so @@ -1961,11 +1966,13 @@ exit 0 %{_mandir}/man7/traffic_learner.7.* %{_mandir}/man7/traffic_replay.7.* %{_bindir}/vfstest +%{_bindir}/mdfind %{_mandir}/man1/gentest.1.* %{_mandir}/man1/locktest.1.* %{_mandir}/man1/masktest.1.* %{_mandir}/man1/ndrdump.1.* %{_mandir}/man1/vfstest.1.* +%{_mandir}/man1/mdfind.1.* %files winbind -f filelist-samba-winbind %defattr(-,root,root) @@ -2177,6 +2184,7 @@ exit 0 %_libdir/pkgconfig/dcerpc.pc %if %{with_dc} %_libdir/libdcerpc-server.so +%_libdir/libdcerpc-server-core.so %_libdir/pkgconfig/dcerpc_server.pc %endif @@ -2228,9 +2236,9 @@ exit 0 %_libdir/libndr-standard.so %_libdir/pkgconfig/ndr_standard.pc -%files -n libndr0 +%files -n libndr1 %defattr(-,root,root) -%_libdir/libndr.so.0* +%_libdir/libndr.so.1* %files -n libndr-devel %defattr(-,root,root) @@ -2422,6 +2430,8 @@ exit 0 %{_libdir}/krb5/plugins/kdb/samba.so %{_libdir}/libdcerpc-server.so.0 %{_libdir}/libdcerpc-server.so.0.0.1 +%{_libdir}/libdcerpc-server-core.so.0 +%{_libdir}/libdcerpc-server-core.so.0.0.1 %{_libdir}/samba/bind9 %{_libdir}/samba/bind9/dlz_bind9.so %{_libdir}/samba/bind9/dlz_bind9_10.so @@ -2466,17 +2476,11 @@ exit 0 %{_datadir}/samba/setup/display-specifiers/DisplaySpecifiers-Win2k8.txt %{_datadir}/samba/setup/display-specifiers/DisplaySpecifiers-Win2k8R2.txt %{_datadir}/samba/setup/dns_update_list -%{_datadir}/samba/setup/fedora-ds-init.ldif -%{_datadir}/samba/setup/fedorads-dna.ldif %{_datadir}/samba/setup/fedorads-index.ldif %{_datadir}/samba/setup/fedorads-linked-attributes.ldif %{_datadir}/samba/setup/fedorads-pam.ldif -%{_datadir}/samba/setup/fedorads-partitions.ldif -%{_datadir}/samba/setup/fedorads-refint-add.ldif -%{_datadir}/samba/setup/fedorads-refint-delete.ldif %{_datadir}/samba/setup/fedorads-samba.ldif %{_datadir}/samba/setup/fedorads-sasl.ldif -%{_datadir}/samba/setup/fedorads.inf %{_datadir}/samba/setup/idmap_init.ldif %{_datadir}/samba/setup/krb5.conf %{_datadir}/samba/setup/memberof.conf @@ -2537,7 +2541,6 @@ exit 0 %{_datadir}/samba/setup/secrets_sasl_ldap.ldif %{_datadir}/samba/setup/secrets_simple_ldap.ldif %{_datadir}/samba/setup/share.ldif -%{_datadir}/samba/setup/slapd.conf %{_datadir}/samba/setup/spn_update_list %{_datadir}/samba/setup/ypServ30.ldif %{_mandir}/man8/samba.8.* @@ -2562,7 +2565,6 @@ exit 0 %{_libdir}/samba/ldb/lazy_commit.so %{_libdir}/samba/ldb/ldbsamba_extensions.so %{_libdir}/samba/ldb/linked_attributes.so -%{_libdir}/samba/ldb/local_password.so %{_libdir}/samba/ldb/new_partition.so %{_libdir}/samba/ldb/objectclass.so %{_libdir}/samba/ldb/objectclass_attrs.so @@ -2583,8 +2585,6 @@ exit 0 %{_libdir}/samba/ldb/schema_load.so %{_libdir}/samba/ldb/secrets_tdb_sync.so %{_libdir}/samba/ldb/show_deleted.so -%{_libdir}/samba/ldb/simple_dn.so -%{_libdir}/samba/ldb/simple_ldap_map.so %{_libdir}/samba/ldb/subtree_delete.so %{_libdir}/samba/ldb/subtree_rename.so %{_libdir}/samba/ldb/tombstone_reanimate.so