1 |
# $Id: e-smith-samba.spec,v 1.37 2010/06/23 14:51:19 slords Exp $ |
# $Id: e-smith-samba.spec,v 1.70 2012/01/29 15:58:17 wellsi 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 18 |
%define release 49 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
24 |
Patch12: e-smith-samba-2.2.0-private_dir.patch |
Patch12: e-smith-samba-2.2.0-private_dir.patch |
25 |
Patch13: e-smith-samba-2.2.0-backup-all-tdb-files.patch |
Patch13: e-smith-samba-2.2.0-backup-all-tdb-files.patch |
26 |
Patch14: e-smith-samba-2.2.0-strongkey.patch |
Patch14: e-smith-samba-2.2.0-strongkey.patch |
27 |
|
Patch15: e-smith-samba-2.2.0-slapd_support.patch |
28 |
|
Patch16: e-smith-samba-2.2.0-lanman_password_as_an_option.patch |
29 |
|
Patch17: e-smith-samba-2.2.0-anonymous_acls.patch |
30 |
|
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 |
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 |
|
Patch22: e-smith-samba-2.2.0-enable-cpu.patch |
35 |
|
Patch23: e-smith-samba-2.2.0-ldap-auth.patch |
36 |
|
Patch24: e-smith-samba-2.2.0-remove-domains.patch |
37 |
|
Patch25: e-smith-samba-2.2.0-better-ldap.patch |
38 |
|
Patch26: e-smith-samba-2.2.0-store_ldap_pw.patch |
39 |
|
Patch27: e-smith-samba-2.2.0-usergroup-mapping.patch |
40 |
|
Patch28: e-smith-samba-2.2.0-fixe_create_machine_accounts.patch |
41 |
|
Patch29: e-smith-samba-2.2.0-force_uid_gid.patch |
42 |
|
Patch30: e-smith-samba-2.2.0-migrate_machine_uid.patch |
43 |
|
Patch31: e-smith-samba-2.2.0-create_samba_data_in_event.patch |
44 |
|
Patch32: e-smith-samba-2.2.0-FixVFS_ExcludeSyntax.patch |
45 |
|
Patch34: e-smith-samba-2.2.0-fix-separator.patch |
46 |
|
Patch35: e-smith-samba-2.2.0-tdbbackup12.patch |
47 |
Obsoletes: e-smith-netlogon |
Obsoletes: e-smith-netlogon |
48 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
49 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
60 |
Obsoletes: samba = 3.4.3-1.1.el5.sme |
Obsoletes: samba = 3.4.3-1.1.el5.sme |
61 |
Obsoletes: samba-client = 3.4.3-1.1.el5.sme |
Obsoletes: samba-client = 3.4.3-1.1.el5.sme |
62 |
Obsoletes: samba-common = 3.4.3-1.1.el5.sme |
Obsoletes: samba-common = 3.4.3-1.1.el5.sme |
63 |
Requires: /usr/bin/tdbbackup |
# Obsolete SerNet packages |
64 |
|
Obsoletes: libsmbclient0 |
65 |
|
Obsoletes: libwbclient0 |
66 |
|
Obsoletes: samba3 |
67 |
|
Obsoletes: samba3-cifsmount |
68 |
|
Obsoletes: samba3-client |
69 |
|
Obsoletes: samba3-doc |
70 |
|
Obsoletes: samba3-utils |
71 |
|
Obsoletes: samba3-winbind |
72 |
|
Requires: /usr/bin/tdbbackup12 |
73 |
AutoReqProv: no |
AutoReqProv: no |
74 |
|
|
75 |
%changelog |
%changelog |
76 |
|
* Thu Jan 17 2013 Shad L. Lords <slords@mail.com> 2.2.0-49.sme |
77 |
|
- Update dependency to /usr/bin/tdbbackup12 [SME: 7210] |
78 |
|
|
79 |
|
* Sun Jan 29 2012 Ian Wells <esmith@wellsi.com> 2.2.0-48.sme |
80 |
|
- Obsolete only SerNet samba packages [SME: 6772] |
81 |
|
|
82 |
|
* Sat Jan 21 2012 Ian Wells <esmith@wellsi.com> 2.2.0-47.sme |
83 |
|
- Obsolete SerNet samba packages, again [SME: 6772] |
84 |
|
|
85 |
|
* Fri Dec 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-46.sme |
86 |
|
- Obsolete SerNet samba packages [SME: 6772] |
87 |
|
|
88 |
|
* Thu Mar 17 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-45.sme |
89 |
|
- Revert directory requirement from 2.2.0-43 [SME: 6571] |
90 |
|
|
91 |
|
* Thu Mar 17 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-44.sme |
92 |
|
- Revert changes made in 2.2.0-42 [SME: 6432] |
93 |
|
|
94 |
|
* Tue Mar 15 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-43.sme |
95 |
|
- Fix separator in general smb.conf section for recycle:exclude* [SME: 6571] |
96 |
|
|
97 |
|
* Tue Mar 15 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-42.sme |
98 |
|
- recycle:exclude_dir should contain directories [SME: 6432] |
99 |
|
|
100 |
|
* Sat Mar 12 2011 Gavin Weight <gweight@gmail.com> 2.2.0-41.sme |
101 |
|
- Fix Recycle Bin VFS Excludes syntax. [SME: 6432] |
102 |
|
|
103 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-40.sme |
104 |
|
- Create samba account during event for machine [SME: 6418] |
105 |
|
|
106 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-39.sme |
107 |
|
- Migrate existing machine uid in the DB (patch from Shad Lords) [SME: 6415] |
108 |
|
|
109 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-38.sme |
110 |
|
- Force uid/gid on machine accounts creation [SME: 6415] |
111 |
|
|
112 |
|
* Wed Nov 10 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-37.sme |
113 |
|
- Fix create-machine-accounts script [SME: 6358] |
114 |
|
|
115 |
|
* Fri Nov 5 2010 Shad L. Lords <slords@lordsfam.net> 2.2.0-36.sme |
116 |
|
- Call samba-group-mapping after user events too [SME: 6339] |
117 |
|
|
118 |
|
* Wed Nov 3 2010 Shad L. Lords <slords@lordsfam.net> 2.2.0-35.sme |
119 |
|
- Fix cpu critical patch missing ' [SME: 6330] |
120 |
|
|
121 |
|
* Wed Nov 3 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-34.sme |
122 |
|
- rename store-ldap-passwd and link it in other events [SME: 6332] |
123 |
|
|
124 |
|
* Wed Nov 3 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-33.sme |
125 |
|
- Store the ldap admin pw early in the bootstrap-ldap-save event [SME: 6332] |
126 |
|
|
127 |
|
* Wed Nov 3 2010 Shad L. Lords <slords@lordsfam.net> 2.2.0-32.sme |
128 |
|
- Make cpu calls critical only with ldap{Auth} is enabled [SME: 6330] |
129 |
|
|
130 |
|
* Tue Nov 2 2010 Shad L. Lords <slords@lordsfam.net> 2.2.0-31.sme |
131 |
|
- Always use cpu, do unix if ldap{Auth} is disabled [SME: 6321] |
132 |
|
|
133 |
|
* Tue Nov 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-30.sme |
134 |
|
- Fix a typo in create-machine-account [SME: 6321] |
135 |
|
|
136 |
|
* Tue Nov 2 2010 Shad L. Lords <slords@mail.com> 2.2.0-29.sme |
137 |
|
- Clean up old domain entries when using ldap [SME: 6322] |
138 |
|
|
139 |
|
* Mon Nov 1 2010 Shad L. Lords <slords@mail.com> 2.2.0-28.sme |
140 |
|
- Auth against ldap if it is master [SME: 6321] |
141 |
|
|
142 |
|
* Mon Nov 1 2010 Shad L. Lords <slords@mail.com> 2.2.0-27.sme |
143 |
|
- Change the way groups are modified on samba3x [SME: 6314] |
144 |
|
|
145 |
|
* Wed Oct 27 2010 Shad L. Lords <slords@mail.com> 2.2.0-26.sme |
146 |
|
- Change the way groups are modified on samba3x [SME: 6314] |
147 |
|
|
148 |
|
* Thu Oct 14 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-25.sme |
149 |
|
- Fix anonymous access [SME: 6254] |
150 |
|
|
151 |
|
* Fri Oct 8 2010 Shad L. Lords <slords@mail.com> 2.2.0-24.sme |
152 |
|
- Fix moving secrets.tdb file [SME: 6057] |
153 |
|
|
154 |
|
* Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-23.sme |
155 |
|
- Empty output when listing sensible attribtues [SME: 6254] |
156 |
|
|
157 |
|
* Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-22.sme |
158 |
|
- Add sambaSID to the list of sensible attributes [SME: 6254] |
159 |
|
|
160 |
|
* Sat Oct 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-21.sme |
161 |
|
- Deny access to some attributes for anonymous users [SME: 6254] |
162 |
|
|
163 |
|
* Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-20.sme |
164 |
|
- povide an option to enable lanman passwords [SME: 6229] |
165 |
|
|
166 |
|
* Thu Sep 23 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-19.sme |
167 |
|
- Add slapd support [SME: 6228] |
168 |
|
|
169 |
* Wed Jul 08 2010 Shad L. Lords <slords@mail.com> 2.2.0-18.sme |
* Wed Jul 08 2010 Shad L. Lords <slords@mail.com> 2.2.0-18.sme |
170 |
- Remove require strong key part of regedit file [SME: 6119] |
- Remove require strong key part of regedit file [SME: 6119] |
171 |
|
|
1197 |
%patch12 -p1 |
%patch12 -p1 |
1198 |
%patch13 -p1 |
%patch13 -p1 |
1199 |
%patch14 -p1 |
%patch14 -p1 |
1200 |
|
%patch15 -p1 |
1201 |
|
%patch16 -p1 |
1202 |
|
%patch17 -p1 |
1203 |
|
%patch18 -p1 |
1204 |
|
%patch19 -p1 |
1205 |
|
%patch20 -p1 |
1206 |
|
%patch21 -p1 |
1207 |
|
%patch22 -p1 |
1208 |
|
%patch23 -p1 |
1209 |
|
%patch24 -p1 |
1210 |
|
%patch25 -p1 |
1211 |
|
%patch26 -p1 |
1212 |
|
%patch27 -p1 |
1213 |
|
%patch28 -p1 |
1214 |
|
%patch29 -p1 |
1215 |
|
%patch30 -p1 |
1216 |
|
%patch31 -p1 |
1217 |
|
%patch32 -p1 |
1218 |
|
%patch34 -p1 |
1219 |
|
%patch35 -p1 |
1220 |
|
|
1221 |
%build |
%build |
1222 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
1299 |
fi |
fi |
1300 |
chown -R smelog.smelog /var/log/{smbd,nmbd} |
chown -R smelog.smelog /var/log/{smbd,nmbd} |
1301 |
# Move back secrets.tdb to private dir |
# Move back secrets.tdb to private dir |
1302 |
[ -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 ] |
1303 |
|
then |
1304 |
|
mv -f /var/lib/samba/private/secrets.tdb /etc/samba |
1305 |
|
fi |
1306 |
|
|
1307 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
1308 |
%defattr(-,root,root) |
%defattr(-,root,root) |