--- rpms/e-smith-samba/sme9/e-smith-samba.spec 2015/11/30 19:20:37 1.24 +++ rpms/e-smith-samba/sme9/e-smith-samba.spec 2018/06/20 02:50:46 1.29 @@ -1,10 +1,10 @@ -# $Id: e-smith-samba.spec,v 1.23 2015/09/17 15:47:54 stephdl Exp $ +# $Id: e-smith-samba.spec,v 1.28 2018/05/02 17:13:27 jpp Exp $ Summary: e-smith specific Samba configuration files and templates %define name e-smith-samba Name: %{name} %define version 2.4.0 -%define release 22 +%define release 27 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -25,6 +25,10 @@ Patch12: e-smith-samba-2.4.0-audit_param Patch13: e-smith-samba-2.4.0.bz9038.W10_registry.patch Patch14: e-smith-samba-2.4.0-smbaudit_rsyslog.patch Patch15: e-smith-samba-2.4.0.bz9048.RoamingProfileForW8.patch +Patch16: e-smith-samba-2.4.0-create_v6_profile_dir.patch +Patch17: e-smith-samba-2.4.0.bz10106.outlook2016domainmember.patch +Patch18: e-smith-samba-2.4.0.bz10575.FixMaxProtocol.patch + Obsoletes: e-smith-netlogon BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch @@ -32,9 +36,27 @@ BuildRequires: e-smith-devtools >= 1.13. Obsoletes: e-smith-regedit Requires: e-smith-lib >= 2.2.0-2 Requires: e-smith-formmagick >= 1.4.0-9 -Requires: samba >= 3.5.10 -Requires: samba-client >= 3.5.10 -Requires: samba-common >= 3.5.10 +Requires: samba4 +Requires: samba4-client +Requires: samba4-common +Requires: samba4-winbind +Requires: samba4-winbind-clients +Requires: samba4-libs +# the previous provides what gives libsmbclient. +# need to create symlink +# /usr/lib64/libwbclient.so.0 to /usr/lib64/samba/libwbclient.so.0 +# /usr/lib64/ +# /usr/lib64/libsmbclient.so.0 to /usr/lib64/samba/libsmbclient.so.0 +# ?? /usr/lib64/libsmbsharemodes.so.0 +# Obsoletes: libsmbclient +Obsoletes: samba < 4 +Obsoletes: samba-client < 4 +Obsoletes: samba-common < 4 +Obsoletes: samba-winbind < 4 +Obsoletes: samba-winbind-clients < 4 +#Requires: samba >= 3.5.10 +#Requires: samba-client >= 3.5.10 +#Requires: samba-common >= 3.5.10 Obsoletes: samba3x Obsoletes: samba3x-client Obsoletes: samba3x-common @@ -53,6 +75,24 @@ Requires: /usr/bin/tdbbackup AutoReqProv: no %changelog +* Tue May 08 2018 Jean-Philipe Pialasse 2.4.0-27.sme +- build for samba4 support [SME: 10580] + +* Wed May 02 2018 Jean-Philipe Pialasse 2.4.0-26.sme +- fix wrong syntax for max protocol for current samba version [SME: 10575] +- removed client max protocol option as not available for current samba version +- added min protocol option + +* Fri Feb 09 2018 Jean-Philipe Pialasse 2.4.0-25.sme +- fix Missing letter in /server-resources/regedit/win10samba.reg [SME: 10492] + +* Fri Mar 24 2017 Jean-Philipe Pialasse 2.4.0-24.sme +- fix outlook error code 0x8004011c [SME: 10106] +- when setting up and email account on a win10 computer joined to a domain (with roaming profiles) + +* Wed Sep 21 2016 Daniel Berteaud 2.4.0-23.sme +- Create V6 profile dir (for Win10 roaming profiles) [SME: 9772] + * Wed Sep 16 2015 stephane de Labrusse 2.4.0-22.sme - The samba performance registry is now added in the win10samba.reg [SME: 9038] @@ -1249,8 +1289,16 @@ Configuration files and templates for th %patch13 -p1 %patch14 -p1 %patch15 -p1 +%patch16 -p1 +%patch17 -p1 +%patch18 -p1 + %build +# /usr/lib64/libwbclient.so.0 to /usr/lib64/samba/libwbclient.so.0 +# /usr/lib64/libsmbclient.so.0 to /usr/lib64/samba/libsmbclient.so.0 +echo 'safe_symlink("/usr/lib64/samba/libwbclient.so.0", "root/usr/lib64/libwbclient.so.0");' >> createlinks +echo 'safe_symlink("/usr/lib64/samba/libsmbclient.so.0", "root/usr/lib64/libsmbclient.so.0");' >> createlinks perl createlinks %install