--- rpms/e-smith-samba/sme8/e-smith-samba.spec 2010/06/14 15:15:07 1.36 +++ rpms/e-smith-samba/sme8/e-smith-samba.spec 2010/10/14 20:45:34 1.45 @@ -1,10 +1,10 @@ -# $Id: e-smith-samba.spec,v 1.35 2010/03/30 11:29:43 filippocarletti Exp $ +# $Id: e-smith-samba.spec,v 1.44 2010/10/08 14:41:56 slords Exp $ Summary: e-smith specific Samba configuration files and templates %define name e-smith-samba Name: %{name} %define version 2.2.0 -%define release 16 +%define release 25 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -23,6 +23,13 @@ Patch10: e-smith-samba-2.2.0-fail-silent Patch11: e-smith-samba-2.2.0-tdb_backup.patch Patch12: e-smith-samba-2.2.0-private_dir.patch Patch13: e-smith-samba-2.2.0-backup-all-tdb-files.patch +Patch14: e-smith-samba-2.2.0-strongkey.patch +Patch15: e-smith-samba-2.2.0-slapd_support.patch +Patch16: e-smith-samba-2.2.0-lanman_password_as_an_option.patch +Patch17: e-smith-samba-2.2.0-anonymous_acls.patch +Patch18: e-smith-samba-2.2.0-add_sambasid_to_sensible_attrs.patch +Patch19: e-smith-samba-2.2.0-samba_attr_no_output.patch +Patch20: e-smith-samba-2.2.0-fix_limited_anon_access.patch Obsoletes: e-smith-netlogon BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch @@ -30,13 +37,46 @@ 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.4.3 -Requires: samba-client >= 3.4.3 -Requires: samba-common >= 3.4.3 +Requires: samba3x >= 3.3.8 +Requires: samba3x-client >= 3.3.8 +Requires: samba3x-common >= 3.3.8 +Obsoletes: samba <= 3.1.0 +Obsoletes: samba-client <= 3.1.0 +Obsoletes: samba-common <= 3.1.0 +Obsoletes: samba = 3.4.3-1.1.el5.sme +Obsoletes: samba-client = 3.4.3-1.1.el5.sme +Obsoletes: samba-common = 3.4.3-1.1.el5.sme Requires: /usr/bin/tdbbackup AutoReqProv: no %changelog +* Thu Oct 14 2010 Daniel Berteaud 2.2.0-25.sme +- Fix anonymous access [SME: 6254] + +* Fri Oct 8 2010 Shad L. Lords 2.2.0-24.sme +- Fix moving secrets.tdb file [SME: 6057] + +* Sat Oct 2 2010 Daniel Berteaud 2.2.0-23.sme +- Empty output when listing sensible attribtues [SME: 6254] + +* Sat Oct 2 2010 Daniel Berteaud 2.2.0-22.sme +- Add sambaSID to the list of sensible attributes [SME: 6254] + +* Sat Oct 2 2010 Daniel Berteaud 2.2.0-21.sme +- Deny access to some attributes for anonymous users [SME: 6254] + +* Thu Sep 23 2010 Daniel Berteaud 2.2.0-20.sme +- povide an option to enable lanman passwords [SME: 6229] + +* Thu Sep 23 2010 Daniel Berteaud 2.2.0-19.sme +- Add slapd support [SME: 6228] + +* Wed Jul 08 2010 Shad L. Lords 2.2.0-18.sme +- Remove require strong key part of regedit file [SME: 6119] + +* Wed Jun 23 2010 Shad L. Lords 2.2.0-17.sme +- Use samba3x package for windows 7 compatibility [SME: 5964] + * Mon Jun 14 2010 Federico Simoncelli 2.2.0-16.sme - Backup all the tdb files (thanks Daniel) [SME: 5856] - Post scriptlet fix [SME: 6057] @@ -1061,6 +1101,13 @@ Configuration files and templates for th %patch11 -p1 %patch12 -p1 %patch13 -p1 +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 +%patch17 -p1 +%patch18 -p1 +%patch19 -p1 +%patch20 -p1 %build mkdir -p root/etc/e-smith/tests @@ -1143,7 +1190,10 @@ then fi chown -R smelog.smelog /var/log/{smbd,nmbd} # Move back secrets.tdb to private dir -[ -f /var/lib/samba/private/secrets.tdb ] && mv -f /var/lib/samba/private/secrets.tdb /etc/samba || : +if [ -f /var/lib/samba/private/secrets.tdb ] +then + mv -f /var/lib/samba/private/secrets.tdb /etc/samba +fi %files -f %{name}-%{version}-filelist %defattr(-,root,root)