Compare commits

...

14 Commits
master ... f28

Author SHA1 Message Date
Günther Deschner e71ae77cc4 Update to Samba 4.8.5
Guenther
2018-08-24 16:43:00 +02:00
Günther Deschner d5f6590d81 Add missing python test to filelist
Guenther
2018-08-17 14:28:35 +02:00
Günther Deschner 04dfc8e97d Fix changelog.
Guenther
2018-08-17 13:19:08 +02:00
Günther Deschner 3ea775fe80 Update to Samba 4.8.4
resolves: #1589651, #1617916 - Security fixes for CVE-2018-1139
resolves: #1580230, #1618613 - Security fixes for CVE-2018-1140
resolves: #1612805, #1618697 - Security fixes for CVE-2018-10858
resolves: #1610640, #1617910 - Security fixes for CVE-2018-10918
resolves: #1610645, #1617911 - Security fixes for CVE-2018-10919

Guenther
2018-08-17 13:12:09 +02:00
Alexander Bokovoy 165b628817 Rebuild against libldb 1.4.0-2.fc28.1.3.4
libldb 1.4 is not compatible with samba before 4.9.

libldb in F28 is downgraded to 1.3.4 but kept 1.4.0 version to avoid
forcing use of epoch. A construct as 1.4.0-2{%dist}.1.3.4 is provided to
make sure we are using the right version.

Rebuild against this version.
2018-07-24 10:43:19 +03:00
Andreas Schneider bf597c8a00 Update to Samba 4.8.3 2018-06-27 15:42:38 +02:00
Günther Deschner 0c5b788d64 Update to Samba 4.8.2
Guenther
2018-05-16 16:46:30 +02:00
Andreas Schneider c63571f244 Bump release 2018-05-09 15:52:53 +02:00
Andreas Schneider 64887da789 Fix smbspool command line argument handling
resolves: #1574177
2018-05-09 15:52:51 +02:00
Günther Deschner 9a9194010f Update to Samba 4.8.1
Guenther
2018-04-26 11:34:14 +02:00
Andreas Schneider 69c2d8df41 Fix escaping in comments 2018-04-12 11:32:27 +02:00
Andreas Schneider e632892fc9 Fix building without AD DC support 2018-04-12 11:26:20 +02:00
Günther Deschner a05c1334e0 Security fixes for CVE-2018-1050 CVE-2018-1057, update to Samba 4.8.0
resolves: #1555112
resolves: #1554754, #1554756

Guenther
2018-03-14 11:22:09 +01:00
Andreas Schneider 97369ebce8 Fix usage of nc in ctdb tests and only recommned it
resolves: #1552652
2018-03-13 10:33:40 +01:00
3 changed files with 79 additions and 25 deletions

12
.gitignore vendored
View File

@ -119,3 +119,15 @@ samba-3.6.0pre1.tar.gz
/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.8.4.tar.xz
/samba-4.8.4.tar.asc
/samba-4.8.5.tar.xz
/samba-4.8.5.tar.asc

View File

@ -6,15 +6,15 @@
# ctdb is enabled by default, you can disable it with: --without clustering
%bcond_without clustering
%define main_release 5
%define main_release 0
%define samba_version 4.8.0
%define samba_version 4.8.5
%define talloc_version 2.1.11
%define tdb_version 1.3.15
%define tevent_version 0.9.36
%define ldb_version 1.3.2
%define ldb_version 1.4.0-2%{?dist}.1.3.4
# This should be rc1 or nil
%define pre_release rc4
%define pre_release %nil
%if "x%{?pre_release}" != "x"
%define samba_release 0.%{main_release}.%{pre_release}%{?dist}
@ -107,20 +107,20 @@ Summary: Server and Client software to interoperate with Windows machines
License: GPLv3+ and LGPLv3+
URL: http://www.samba.org/
# This is a xz recompressed file of https://ftp.samba.org/pub/samba/samba-%{version}%{pre_release}.tar.gz
# This is a xz recompressed file of https://ftp.samba.org/pub/samba/samba-%%{version}%%{pre_release}.tar.gz
Source0: samba-%{version}%{pre_release}.tar.xz
Source1: https://ftp.samba.org/pub/samba/samba-%{version}%{pre_release}.tar.asc
Source2: gpgkey-52FBC0B86D954B0843324CDC6F33915B6568B7EA.gpg
# Red Hat specific replacement-files
Source10: samba.log
Source11: smb.conf.vendor
Source12: smb.conf.example
Source13: pam_winbind.conf
Source14: samba.pamd
Source10: samba.log
Source11: smb.conf.vendor
Source12: smb.conf.example
Source13: pam_winbind.conf
Source14: samba.pamd
Source200: README.dc
Source201: README.downgrade
Source200: README.dc
Source201: README.downgrade
Requires(pre): /usr/sbin/groupadd
Requires(post): systemd
@ -188,12 +188,10 @@ BuildRequires: python2-dns
# Add python2-iso8601 to avoid that the
# version in Samba is being packaged
BuildRequires: python2-iso8601
BuildRequires: python2-subunit
BuildRequires: python3-devel
# Add python3-iso8601 to avoid that the
# version in Samba is being packaged
BuildRequires: python3-iso8601
BuildRequires: python3-subunit
BuildRequires: quota-devel
BuildRequires: readline-devel
BuildRequires: rpcgen
@ -769,7 +767,7 @@ Summary: CTDB clustered database test suite
Requires: samba-client-libs = %{samba_depver}
Requires: ctdb = %{samba_depver}
Requires: nc
Recommends: nc
Provides: ctdb-devel = %{samba_depver}
Obsoletes: ctdb-devel < %{samba_depver}
@ -926,7 +924,6 @@ filenames=$(echo "
remove_dc.py
sites.py
subnets.py
tests/auth_log.py
tests/auth_log_base.py
tests/auth_log_pass_change.py
tests/blackbox/ndrdump.py
@ -940,6 +937,7 @@ filenames=$(echo "
tests/dns_base.py
tests/dns_forwarder.py
tests/dns_forwarder_helpers/server.py
tests/dns_invalid.py
tests/docs.py
tests/netcmd.py
tests/posixacl.py
@ -1049,7 +1047,7 @@ install -d -m 0755 %{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/
install -m 0755 packaging/NetworkManager/30-winbind-systemd \
%{buildroot}%{_sysconfdir}/NetworkManager/dispatcher.d/30-winbind
# winbind krb5 locator
# winbind krb5 plugins
install -d -m 0755 %{buildroot}%{_libdir}/krb5/plugins/libkrb5
touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
@ -1063,6 +1061,7 @@ for i in \
%{_mandir}/man8/samba_gpoupdate.8 \
%{_libdir}/samba/ldb/ildap.so \
%{_libdir}/samba/ldb/ldbsamba_extensions.so \
%{_unitdir}/samba.service \
%{python_sitearch}/samba/dcerpc/dnsserver.so \
%{python_sitearch}/samba/dnsserver.py* \
%{python_sitearch}/samba/domain_update.py* \
@ -1267,18 +1266,18 @@ fi
%postun winbind-krb5-locator
if [ "$1" -ge "1" ]; then
if [ "`readlink %{_sysconfdir}/alternatives/winbind_krb5_locator.so`" == "%{_libdir}/winbind_krb5_locator.so" ]; then
%{_sbindir}/update-alternatives --set winbind_krb5_locator.so %{_libdir}/winbind_krb5_locator.so
if [ "`readlink %{_sysconfdir}/alternatives/winbind_krb5_locator.so`" == "%{_libdir}/samba/krb5/winbind_krb5_locator.so" ]; then
%{_sbindir}/update-alternatives --set winbind_krb5_locator.so %{_libdir}/samba/krb5/winbind_krb5_locator.so
fi
fi
%post winbind-krb5-locator
%{_sbindir}/update-alternatives --install %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so \
winbind_krb5_locator.so %{_libdir}/winbind_krb5_locator.so 10
winbind_krb5_locator.so %{_libdir}/samba/krb5/winbind_krb5_locator.so 10
%preun winbind-krb5-locator
if [ $1 -eq 0 ]; then
%{_sbindir}/update-alternatives --remove winbind_krb5_locator.so %{_libdir}/winbind_krb5_locator.so
%{_sbindir}/update-alternatives --remove winbind_krb5_locator.so %{_libdir}/samba/krb5/winbind_krb5_locator.so
fi
%post winbind-modules -p /sbin/ldconfig
@ -2204,6 +2203,7 @@ fi
%{python_sitearch}/samba/tests/dns_forwarder.py*
%dir %{python_sitearch}/samba/tests/dns_forwarder_helpers
%{python_sitearch}/samba/tests/dns_forwarder_helpers/server.py*
%{python_sitearch}/samba/tests/dns_invalid.py*
%{python_sitearch}/samba/tests/dns_tkey.py*
%{python_sitearch}/samba/tests/dns_wildcard.py*
%{python_sitearch}/samba/tests/docs.py*
@ -2450,6 +2450,7 @@ fi
%dir %{python3_sitearch}/samba/tests/__pycache__
%{python3_sitearch}/samba/tests/__pycache__/__init__.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/auth.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/auth_log.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/auth_log_ncalrpc.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/auth_log_netlogon.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/auth_log_netlogon_bad_creds.*.pyc
@ -2502,6 +2503,7 @@ fi
%{python3_sitearch}/samba/tests/__pycache__/upgradeprovisionneeddc.*.pyc
%{python3_sitearch}/samba/tests/__pycache__/xattr.*.pyc
%{python3_sitearch}/samba/tests/auth.py
%{python3_sitearch}/samba/tests/auth_log.py
%{python3_sitearch}/samba/tests/auth_log_ncalrpc.py
%{python3_sitearch}/samba/tests/auth_log_netlogon.py
%{python3_sitearch}/samba/tests/auth_log_netlogon_bad_creds.py
@ -2706,15 +2708,17 @@ fi
%defattr(-,root,root)
%{_bindir}/ntlm_auth
%{_bindir}/wbinfo
%{_libdir}/samba/krb5/winbind_krb5_localauth.so
%{_mandir}/man1/ntlm_auth.1.gz
%{_mandir}/man1/wbinfo.1*
%{_mandir}/man8/winbind_krb5_localauth.8*
### WINBIND-KRB5-LOCATOR
%files winbind-krb5-locator
%defattr(-,root,root)
%ghost %{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
%{_libdir}/winbind_krb5_locator.so
%{_mandir}/man7/winbind_krb5_locator.7*
%{_libdir}/samba/krb5/winbind_krb5_locator.so
%{_mandir}/man8/winbind_krb5_locator.8*
### WINBIND-MODULES
%files winbind-modules
@ -3322,6 +3326,7 @@ fi
%{_datadir}/ctdb/tests/simple/76_ctdb_pdb_recovery.sh
%{_datadir}/ctdb/tests/simple/77_ctdb_db_recovery.sh
%{_datadir}/ctdb/tests/simple/78_ctdb_large_db_recovery.sh
%{_datadir}/ctdb/tests/simple/79_volatile_db_traverse.sh
%{_datadir}/ctdb/tests/simple/80_ctdb_traverse.sh
%{_datadir}/ctdb/tests/simple/81_tunnel_ring.sh
%{_datadir}/ctdb/tests/simple/99_daemons_shutdown.sh
@ -3550,6 +3555,43 @@ fi
%endif # with_clustering_support
%changelog
* Fri Aug 24 2018 Guenther Deschner <gdeschner@redhat.com> - 4.8.5-0
- Update to Samba 4.8.5
* Wed Aug 15 2018 Guenther Deschner <gdeschner@redhat.com> - 4.8.4-0
- Update to Samba 4.8.4
- resolves: #1589651, #1617916 - Security fixes for CVE-2018-1139
- resolves: #1580230, #1618613 - Security fixes for CVE-2018-1140
- resolves: #1612805, #1618697 - Security fixes for CVE-2018-10858
- resolves: #1610640, #1617910 - Security fixes for CVE-2018-10918
- resolves: #1610645, #1617911 - Security fixes for CVE-2018-10919
* Tue Jul 24 2018 Alexander Bokovoy <abokovoy@redhat.com> - 4.8.3-2
- Rebuild samba against a downgraded libldb version
- Fixes: #1601944
- Samba 4.8 is not compatible with libldb 1.4
- Rely on a special downgrade version 1.4.0-2fc28.1.3.4
* Tue Jun 26 2018 Andreas Schneider <asn@redhat.com> - 4.8.3-1
- Update to Samba 4.8.3
- Remove python(2|3)-subunit dependency
* Wed May 16 2018 Guenther Deschner <gdeschner@redhat.com> - 4.8.2-0
- Update to Samba 4.8.2
* Wed May 09 2018 Andreas Schneider <asn@redhat.com> - 4.8.1-1
- resolves: #1574177 - Fix smbspool command line argument handling
* Thu Apr 26 2018 Guenther Deschner <gdeschner@redhat.com> - 4.8.1-0
- Update to Samba 4.8.1
* Wed Mar 14 2018 Guenther Deschner <gdeschner@redhat.com> - 4.8.0-7
- resolves: #1554754, #1554756 - Security fixes for CVE-2018-1050 CVE-2018-1057
- resolves: #1555112 - Update to Samba 4.8.0
* Tue Mar 13 2018 Andreas Schneider <asn@redhat.com> - 4.8.0rc4-6
- resolves: #1552652 - Fix usage of nc in ctdb tests and only recommned it
* Fri Mar 02 2018 Guenther Deschner <gdeschner@redhat.com> - 4.8.0rc4-5
- Update to Samba 4.8.0rc4

View File

@ -1,2 +1,2 @@
SHA512 (samba-4.8.0rc4.tar.xz) = c4116a3997b874f94b31faae75f543f36d2ae44a9638acb5e8e3b757160ec8cacecc4c1db67c5aa8fc61da2989b05ca1ddfb335d4886ce22cf82d90c1bb4c58a
SHA512 (samba-4.8.0rc4.tar.asc) = 74bcb2c37330be53ad5ad83017b3f548afdebc7ecefbc38944b117776b11968d816a339b7840ba2b54d13fc3ef832faf3dd435f76e6293cc7a83204ba497f5d1
SHA512 (samba-4.8.5.tar.xz) = 13f6d60b850af826101d37745395e04d0b054e858711764b85f7c7f16b556e3d42d10b0da1700d820724f56f425619c1c174068f7ab51e009f4b8086dc68d5e2
SHA512 (samba-4.8.5.tar.asc) = ded827adf1b5709a20bbb3aa5db618fbc2e2b7b2245cbe3c484d910ab86f587e635eb9deb059633c8a526cc0064f8988b6e190fb5e73918afda81bcda3a35c68