1 |
# $Id: e-smith-samba.spec,v 1.54 2010/11/03 18:55:20 slords Exp $ |
# $Id: e-smith-samba.spec,v 1.90 2015/09/17 15:50:43 stephdl 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 36 |
%define release 66 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
37 |
Patch25: e-smith-samba-2.2.0-better-ldap.patch |
Patch25: e-smith-samba-2.2.0-better-ldap.patch |
38 |
Patch26: e-smith-samba-2.2.0-store_ldap_pw.patch |
Patch26: e-smith-samba-2.2.0-store_ldap_pw.patch |
39 |
Patch27: e-smith-samba-2.2.0-usergroup-mapping.patch |
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 |
|
Patch36: e-smith-samba-2.2.0-samba_audit.patch |
48 |
|
Patch37: e-smith-samba-2.2.0-samba_audit_log.patch |
49 |
|
Patch38: e-smith-samba-2.2.0-WaitForNetwork.patch |
50 |
|
Patch39: e-smith-samba-2.2.0-maxProtocol.patch |
51 |
|
Patch40: e-smith-samba-2.2.0-WideLinks.patch |
52 |
|
Patch41: e-smith-samba-2.2.0-win8Samba.patch |
53 |
|
Patch42: e-smith-samba-2.2.0-shadow_copy.patch |
54 |
|
Patch43: e-smith-samba-2.2.0-workgroup.patch |
55 |
|
Patch44: e-smith-samba-2.2.0-smbServerName.patch |
56 |
|
Patch45: e-smith-samba-2.2.0-audit_param.patch |
57 |
|
Patch46: e-smith-samba-2.2.0.bz9028.W10_registry.patch |
58 |
|
Patch47: e-smith-samba-2.2.0.bz9049.RoamingProfileForW8.patch |
59 |
Obsoletes: e-smith-netlogon |
Obsoletes: e-smith-netlogon |
60 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
61 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
72 |
Obsoletes: samba = 3.4.3-1.1.el5.sme |
Obsoletes: samba = 3.4.3-1.1.el5.sme |
73 |
Obsoletes: samba-client = 3.4.3-1.1.el5.sme |
Obsoletes: samba-client = 3.4.3-1.1.el5.sme |
74 |
Obsoletes: samba-common = 3.4.3-1.1.el5.sme |
Obsoletes: samba-common = 3.4.3-1.1.el5.sme |
75 |
Requires: /usr/bin/tdbbackup |
# Obsolete SerNet packages |
76 |
|
Obsoletes: libsmbclient0 |
77 |
|
Obsoletes: libwbclient0 |
78 |
|
Obsoletes: samba3 |
79 |
|
Obsoletes: samba3-cifsmount |
80 |
|
Obsoletes: samba3-client |
81 |
|
Obsoletes: samba3-doc |
82 |
|
Obsoletes: samba3-utils |
83 |
|
Obsoletes: samba3-winbind |
84 |
|
Requires: /usr/bin/tdbbackup12 |
85 |
AutoReqProv: no |
AutoReqProv: no |
86 |
|
|
87 |
%changelog |
%changelog |
88 |
* Fri Nov 5 2010 Shad L. Lords <slords@lordsfam.net 2.2.0-36.sme |
* Wed Sep 16 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.2.0-66.sme |
89 |
|
- The samba performance registry is now added in the win10samba.reg [SME: 9028] |
90 |
|
|
91 |
|
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.2.0-64.sme |
92 |
|
- Corrected typo in patch of bad character '“', relative to roaming profile |
93 |
|
- e-smith-samba-2.2.0.bz9028.W10_registry.patch [SME: 9028] |
94 |
|
- e-smith-samba-2.2.0.bz9049.RoamingProfileForW8.patch [SME: 9049] |
95 |
|
|
96 |
|
* Wed Sep 9 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.2.0-63.sme |
97 |
|
- Added e-smith-samba-2.2.0.bz9049.RoamingProfileForW8.patch |
98 |
|
- Modified the registry file for roaming profile with W8 [SME: 9049] |
99 |
|
- Roaming profiles follow Windows version (.V2,.V3,.V4,.V5) [SME: 9028] |
100 |
|
|
101 |
|
* Fri Sep 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.2.0-62.sme |
102 |
|
- added W10 support to SME Domain [SME: 9028] |
103 |
|
- e-smith-samba-2.2.0.bz9028.W10_registry.patch |
104 |
|
|
105 |
|
* Thu Sep 3 2015 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-61.sme |
106 |
|
- Fix samba audit parameters [SME: 9026] |
107 |
|
Patch from Jorge Gonzalez |
108 |
|
|
109 |
|
* Mon Jan 13 2014 Ian Wells <esmith@wellsi.com> 2.2.0-60.sme |
110 |
|
- Update default ServerName in 30smbServerName, |
111 |
|
and change default Workgroup and Domain to sme-server [SME: 8131] |
112 |
|
|
113 |
|
* Thu Oct 10 2013 Greg Zartman <gzartman@koozali.org> 2.2.0-59.sme |
114 |
|
- Replace vfs_shadow_copy with vfs_shadow_copy2 for shadow snapshots [SME: 7739] |
115 |
|
|
116 |
|
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 2.2.0-58.sme |
117 |
|
- Add support for Windows 8 domain joining & user login [SME: 7172] |
118 |
|
|
119 |
|
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 2.2.0-57.sme |
120 |
|
- Add template for wide links [SME: 6858] |
121 |
|
|
122 |
|
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 2.2.0-56.sme |
123 |
|
- Add windows network performance enhancements registry file. [SME: 7332] |
124 |
|
Patch from Greg Zartman. |
125 |
|
|
126 |
|
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 2.2.0-55.sme |
127 |
|
- Add templates for max protocol [SME: 7341] |
128 |
|
|
129 |
|
* Fri Apr 26 2013 chris burnat <devlist@burnat.com> 2.2.0-54.sme |
130 |
|
- Add ability to configure waiting for network Win7 registry option, patch from Greg. [SME: 7332] |
131 |
|
|
132 |
|
* Wed Mar 19 2013 Ian Wells <esmith@wellsi.com> 2.2.0-53.sme |
133 |
|
- Revert previous change. [SME: 7332] |
134 |
|
|
135 |
|
* Tue Feb 12 2013 Ian Wells <esmith@wellsi.com> 2.2.0-52.sme |
136 |
|
- Add ability to configure waiting for network Win7 registry option [SME: 7332] |
137 |
|
|
138 |
|
* Tue Feb 12 2013 Ian Wells <esmith@wellsi.com> 2.2.0-51.sme |
139 |
|
- Remove samba_audit specific loglotate configuration [SME: 7335] |
140 |
|
|
141 |
|
* Mon Jan 21 2013 Ian Wells <esmith@wellsi.com> 2.2.0-50.sme |
142 |
|
- Enable smb auditing per ibay [SME: 6176] |
143 |
|
|
144 |
|
* Thu Jan 17 2013 Shad L. Lords <slords@mail.com> 2.2.0-49.sme |
145 |
|
- Update dependency to /usr/bin/tdbbackup12 [SME: 7210] |
146 |
|
|
147 |
|
* Sun Jan 29 2012 Ian Wells <esmith@wellsi.com> 2.2.0-48.sme |
148 |
|
- Obsolete only SerNet samba packages [SME: 6772] |
149 |
|
|
150 |
|
* Sat Jan 21 2012 Ian Wells <esmith@wellsi.com> 2.2.0-47.sme |
151 |
|
- Obsolete SerNet samba packages, again [SME: 6772] |
152 |
|
|
153 |
|
* Fri Dec 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-46.sme |
154 |
|
- Obsolete SerNet samba packages [SME: 6772] |
155 |
|
|
156 |
|
* Thu Mar 17 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-45.sme |
157 |
|
- Revert directory requirement from 2.2.0-43 [SME: 6571] |
158 |
|
|
159 |
|
* Thu Mar 17 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-44.sme |
160 |
|
- Revert changes made in 2.2.0-42 [SME: 6432] |
161 |
|
|
162 |
|
* Tue Mar 15 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-43.sme |
163 |
|
- Fix separator in general smb.conf section for recycle:exclude* [SME: 6571] |
164 |
|
|
165 |
|
* Tue Mar 15 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-42.sme |
166 |
|
- recycle:exclude_dir should contain directories [SME: 6432] |
167 |
|
|
168 |
|
* Sat Mar 12 2011 Gavin Weight <gweight@gmail.com> 2.2.0-41.sme |
169 |
|
- Fix Recycle Bin VFS Excludes syntax. [SME: 6432] |
170 |
|
|
171 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-40.sme |
172 |
|
- Create samba account during event for machine [SME: 6418] |
173 |
|
|
174 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-39.sme |
175 |
|
- Migrate existing machine uid in the DB (patch from Shad Lords) [SME: 6415] |
176 |
|
|
177 |
|
* Tue Nov 30 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-38.sme |
178 |
|
- Force uid/gid on machine accounts creation [SME: 6415] |
179 |
|
|
180 |
|
* Wed Nov 10 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-37.sme |
181 |
|
- Fix create-machine-accounts script [SME: 6358] |
182 |
|
|
183 |
|
* Fri Nov 5 2010 Shad L. Lords <slords@lordsfam.net> 2.2.0-36.sme |
184 |
- Call samba-group-mapping after user events too [SME: 6339] |
- Call samba-group-mapping after user events too [SME: 6339] |
185 |
|
|
186 |
* Wed Nov 3 2010 Shad L. Lords <slords@lordsfam.net 2.2.0-35.sme |
* Wed Nov 3 2010 Shad L. Lords <slords@lordsfam.net> 2.2.0-35.sme |
187 |
- Fix cpu critical patch missing ' [SME: 6330] |
- Fix cpu critical patch missing ' [SME: 6330] |
188 |
|
|
189 |
* Wed Nov 3 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-34.sme |
* Wed Nov 3 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-34.sme |
192 |
* Wed Nov 3 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-33.sme |
* Wed Nov 3 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-33.sme |
193 |
- Store the ldap admin pw early in the bootstrap-ldap-save event [SME: 6332] |
- Store the ldap admin pw early in the bootstrap-ldap-save event [SME: 6332] |
194 |
|
|
195 |
* Wed Nov 3 2010 Shad L. Lords <slords@lordsfam.net 2.2.0-32.sme |
* Wed Nov 3 2010 Shad L. Lords <slords@lordsfam.net> 2.2.0-32.sme |
196 |
- Make cpu calls critical only with ldap{Auth} is enabled [SME: 6330] |
- Make cpu calls critical only with ldap{Auth} is enabled [SME: 6330] |
197 |
|
|
198 |
* Tue Nov 2 2010 Shad L. Lords <slords@lordsfam.net 2.2.0-31.sme |
* Tue Nov 2 2010 Shad L. Lords <slords@lordsfam.net> 2.2.0-31.sme |
199 |
- Always use cpu, do unix if ldap{Auth} is disabled [SME: 6321] |
- Always use cpu, do unix if ldap{Auth} is disabled [SME: 6321] |
200 |
|
|
201 |
* Tue Nov 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-30.sme |
* Tue Nov 2 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-30.sme |
1278 |
%patch25 -p1 |
%patch25 -p1 |
1279 |
%patch26 -p1 |
%patch26 -p1 |
1280 |
%patch27 -p1 |
%patch27 -p1 |
1281 |
|
%patch28 -p1 |
1282 |
|
%patch29 -p1 |
1283 |
|
%patch30 -p1 |
1284 |
|
%patch31 -p1 |
1285 |
|
%patch32 -p1 |
1286 |
|
%patch34 -p1 |
1287 |
|
%patch35 -p1 |
1288 |
|
%patch36 -p1 |
1289 |
|
%patch37 -p1 |
1290 |
|
%patch38 -p1 |
1291 |
|
%patch39 -p1 |
1292 |
|
%patch40 -p1 |
1293 |
|
%patch41 -p1 |
1294 |
|
%patch42 -p1 |
1295 |
|
%patch43 -p1 |
1296 |
|
%patch44 -p1 |
1297 |
|
%patch45 -p1 |
1298 |
|
%patch46 -p1 |
1299 |
|
%patch47 -p1 |
1300 |
|
|
1301 |
%build |
%build |
1302 |
mkdir -p root/etc/e-smith/tests |
mkdir -p root/etc/e-smith/tests |
1359 |
rmdir /home/netlogon || echo "Couldn't rmdir /home/netlogon" |
rmdir /home/netlogon || echo "Couldn't rmdir /home/netlogon" |
1360 |
fi |
fi |
1361 |
|
|
1362 |
|
# Remove logrotate configuration for samba_audit |
1363 |
|
rm -f /etc/logrotate.d/samba_audit |
1364 |
|
|
1365 |
# Revert to canonical place for smb.conf |
# Revert to canonical place for smb.conf |
1366 |
if [ -f /etc/smb.conf ] |
if [ -f /etc/smb.conf ] |
1367 |
then |
then |