1 |
# $Id: e-smith-samba.spec,v 1.42 2010/10/02 10:55:33 vip-ire Exp $ |
# $Id: e-smith-samba.spec,v 1.45 2010/10/14 20:45:34 vip-ire Exp $ |
2 |
|
|
3 |
Summary: e-smith specific Samba configuration files and templates |
Summary: e-smith specific Samba configuration files and templates |
4 |
%define name e-smith-samba |
%define name e-smith-samba |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.2.0 |
%define version 2.2.0 |
7 |
%define release 23 |
%define release 26 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
29 |
Patch17: e-smith-samba-2.2.0-anonymous_acls.patch |
Patch17: e-smith-samba-2.2.0-anonymous_acls.patch |
30 |
Patch18: e-smith-samba-2.2.0-add_sambasid_to_sensible_attrs.patch |
Patch18: e-smith-samba-2.2.0-add_sambasid_to_sensible_attrs.patch |
31 |
Patch19: e-smith-samba-2.2.0-samba_attr_no_output.patch |
Patch19: e-smith-samba-2.2.0-samba_attr_no_output.patch |
32 |
|
Patch20: e-smith-samba-2.2.0-fix_limited_anon_access.patch |
33 |
|
Patch21: e-smith-samba-2.2.0-fix_modify.patch |
34 |
Obsoletes: e-smith-netlogon |
Obsoletes: e-smith-netlogon |
35 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
36 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
51 |
AutoReqProv: no |
AutoReqProv: no |
52 |
|
|
53 |
%changelog |
%changelog |
54 |
|
* Wed Oct 27 2010 Shad L. Lords <slords@mail.com> 2.2.0-26.sme |
55 |
|
- Change the way groups are modified on samba3x [SME: 6314] |
56 |
|
|
57 |
|
* Thu Oct 14 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-25.sme |
58 |
|
- Fix anonymous access [SME: 6254] |
59 |
|
|
60 |
|
* Fri Oct 8 2010 Shad L. Lords <slords@mail.com> 2.2.0-24.sme |
61 |
|
- Fix moving secrets.tdb file [SME: 6057] |
62 |
|
|
63 |
* Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-23.sme |
* Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-23.sme |
64 |
- Empty output when listing sensible attribtues SME: 6254] |
- Empty output when listing sensible attribtues [SME: 6254] |
65 |
|
|
66 |
* Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-22.sme |
* Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-22.sme |
67 |
- Add sambaSID to the list of sensible attributes [SME: 6254] |
- Add sambaSID to the list of sensible attributes [SME: 6254] |
1111 |
%patch17 -p1 |
%patch17 -p1 |
1112 |
%patch18 -p1 |
%patch18 -p1 |
1113 |
%patch19 -p1 |
%patch19 -p1 |
1114 |
|
%patch20 -p1 |
1115 |
|
%patch21 -p1 |
1116 |
|
|
1117 |
%build |
%build |
1118 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
1195 |
fi |
fi |
1196 |
chown -R smelog.smelog /var/log/{smbd,nmbd} |
chown -R smelog.smelog /var/log/{smbd,nmbd} |
1197 |
# Move back secrets.tdb to private dir |
# Move back secrets.tdb to private dir |
1198 |
[ -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 ] |
1199 |
|
then |
1200 |
|
mv -f /var/lib/samba/private/secrets.tdb /etc/samba |
1201 |
|
fi |
1202 |
|
|
1203 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
1204 |
%defattr(-,root,root) |
%defattr(-,root,root) |