--- rpms/e-smith-samba/sme9/e-smith-samba.spec 2014/02/02 22:57:23 1.15 +++ 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.14 2013/10/12 05:12:26 burnat 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 14 +%define release 27 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -21,6 +21,14 @@ Patch8: e-smith-samba-2.4.0-maxProtocol. Patch9: e-smith-samba-2.4.0-WideLinks.patch Patch10: e-smith-samba-2.4.0-shadow_copy.patch Patch11: e-smith-samba-2.4.0-20smb.patch +Patch12: e-smith-samba-2.4.0-audit_param.patch +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 @@ -28,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 @@ -49,6 +75,49 @@ 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] + +* Sat Sep 12 2015 stephane de Labrusse 2.4.0-20.sme +- Corrected typo in patch of bad character '“', relative to roaming profile +- e-smith-samba-2.4.0.bz9038.W10_registry.patch [SME: 9038] +- e-smith-samba-2.4.0.bz9048.RoamingProfileForW8.patch [SME: 9048] + +* Wed Sep 9 2015 stephane de Labrusse 2.4.0-18.sme +- Added e-smith-samba-2.4.0.bz9048.RoamingProfileForW8.patch +- Modified the registry file for roaming profile with W8 [SME: 9048] +- Roaming profiles follow Windows version (.V2,.V3,.V4,.V5) [SME: 9038] + +* Fri Sep 4 2015 Daniel Berteaud 2.4.0-17.sme +- Replace syslog template to rsyslog so samba audits are logged in the correct + file [SME: 9037] + +* Fri Sep 4 2015 stephane de Labrusse 2.4.0-16.sme +- added W10 support to SME Domain [SME: 9038] +- e-smith-samba-2.4.0.bz9038.W10_registry.patch + +* Thu Sep 3 2015 Daniel Berteaud 2.4.0-15.sme +- Fix samba audit parameters [SME: 9037] + Patch from Jorge Gonzalez + * Sun Feb 2 2014 Ian Wells 2.4.0-14.sme - Remove 20smb as migrating from pre-SME7 is not supported [SME: 7486] @@ -1216,8 +1285,20 @@ Configuration files and templates for th %patch9 -p1 %patch10 -p1 %patch11 -p1 +%patch12 -p1 +%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