/[smeserver]/rpms/e-smith-samba/sme7/e-smith-samba.spec
ViewVC logotype

Contents of /rpms/e-smith-samba/sme7/e-smith-samba.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations) (download)
Fri Nov 30 18:13:51 2007 UTC (16 years, 6 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-samba-1_14_0-34_el4_sme
Changes since 1.5: +6 -1 lines
Updates

1 Summary: e-smith specific Samba configuration files and templates
2 %define name e-smith-samba
3 Name: %{name}
4 %define version 1.14.0
5 %define release 34
6 Version: %{version}
7 Release: %{release}%{?dist}
8 License: GPL
9 Group: Networking/Daemons
10 Source: %{name}-%{version}.tar.gz
11 Patch0: e-smith-samba-1.14.0-PrinterAddDelete.patch
12 Patch1: e-smith-samba-1.14.0-migrate.patch
13 Patch2: e-smith-samba-1.14.0-smbdSFlag.patch
14 Patch3: e-smith-samba-1.14.0-samba-check-password.patch
15 Patch4: e-smith-samba-1.14.0-samba-check-password.patch2
16 Patch5: e-smith-samba-1.14.0-getlocalsid.patch
17 Patch6: e-smith-samba-1.14.0-SMBPorts.patch
18 Patch7: e-smith-samba-1.14.0-smb.conf.patch
19 Patch8: e-smith-samba-1.14.0-user_group_map.patch
20 Patch9: e-smith-samba-1.14.0-getlocalsid.patch2
21 Patch10: e-smith-samba-1.14.0-samba-check-password.patch3
22 Patch11: e-smith-samba-1.14.0-logondrive.patch
23 Patch12: e-smith-samba-1.14.0-tdbbackup.patch
24 Patch13: e-smith-samba-1.14.0-vfs_rework.patch
25 Patch14: e-smith-samba-1.14.0-workgroupnum.patch
26 Patch15: e-smith-samba-1.14.0-success.patch
27 Patch16: e-smith-samba-1.14.0-shadowcopy.patch
28 Patch17: e-smith-samba-1.14.0-shadowcopy.patch2
29 Patch18: e-smith-samba-1.14.0-cscpolicy.patch
30 Patch19: e-smith-samba-1.14.0-ibayoplocks.patch
31 Patch20: e-smith-samba-1.14.0-setname.patch
32 Patch21: e-smith-samba-1.14.0-net_full_path.patch
33 Patch22: e-smith-samba-1.14.0-runit17.patch
34 Patch23: e-smith-samba-1.14.0-printerdrivershare.patch
35 Patch24: e-smith-samba-1.14.0-minlength.patch
36 Patch25: e-smith-samba-1.14.0-printer_tdb_delete.patch
37 Patch26: e-smith-samba-1.14.0-delete_smbpasswd.patch
38 Patch27: e-smith-samba-1.14.0-adminusers.patch
39 Patch28: e-smith-samba-1.14.0-RemovePrinterAdminTemplate.patch
40 Obsoletes: e-smith-netlogon
41 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
42 BuildArchitectures: noarch
43 BuildRequires: e-smith-devtools >= 1.13.1-03
44 Obsoletes: e-smith-regedit
45 Requires: e-smith-lib >= 1.16.0-10
46 Requires: samba
47 Requires: samba-client
48 Requires: samba-common
49 AutoReqProv: no
50
51 %changelog
52 * Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.14.0-34
53 - Removed printer admin template. [SME: 3605]
54
55 * Fri Oct 26 2007 Shad L. Lords <slords@mail.com> 1.14.0-33
56 - Add "Domain Admins" to admin users [SME: 3495]
57
58 * Thu Oct 11 2007 Charlie Brady <charlie_brady@mitel.com> 1.14.0-32
59 - Delete smbpasswd file prior to restore. [SME: 2313]
60
61 * Wed Oct 10 2007 Charlie Brady <charlie_brady@mitel.com> 1.14.0-31
62 - Delete printer tdb file on printer delete. [SME: 3336]
63
64 * Thu Jun 2 2007 Shad L. Lords <slords@mail.com> 1.14.0-30
65 - revert last change. Breaks sme8 and is caught by pass check lib.
66
67 * Sat Jun 2 2007 Shad L. Lords <slords@mail.com> 1.14.0-29
68 - pam_unix requires passwords >= 6 [SME: 3039]
69
70 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
71 - Clean up spec so package can be built by koji/plague
72
73 * Mon Apr 9 2007 Stephen Noble <support@dungog.net> 1.14.0-28
74 - remove use client driver in smb.conf [SME: 1583]
75
76 * Fri Feb 16 2007 Shad L. Lords <slords@mail.com> 1.14.0-27
77 - Change runsvctrl to sv to support runit v1.7.x [SME: 1179]
78
79 * Tue Jan 30 2007 Charlie Brady <charlie_brady@mitel.com> 1.14.0-26
80 - Use full path to 'net' command consistently in update-domain-group-maps.
81 [SME: 2400]
82
83 * Fri Jan 26 2007 Shad L. Lords <slords@mail.com> 1.14.0-25
84 - Set ServerName to SystemName after inital configuration [SME: 543]
85
86 * Thu Jan 25 2007 Shad L. Lords <slords@mail.com> 1.14.0-24
87 - Allow oplocks to be disabled per ibay [SME: 543]
88 - Allow veto oplock files per ibay [SME: 1784]
89
90 * Thu Jan 25 2007 Shad L. Lords <slords@mail.com> 1.14.0-23
91 - Disable csc policy for roaming profiles and make optional for
92 ibays [SME: 1507]
93
94 * Thu Jan 11 2007 Shad L. Lords <slords@mail.com> 1.14.0-22
95 - Include admin in user groups. [SME: 1950]
96
97 * Wed Jan 10 2007 Shad L. Lords <slords@mail.com> 1.14.0-21
98 - Make smb fragment have same logic as copy script.
99
100 * Wed Jan 10 2007 Shad L. Lords <slords@mail.com> 1.14.0-20
101 - Initial attempt at shadow copy script. [SME: 1549]
102
103 * Wed Jan 10 2007 Shad L. Lords <slords@mail.com> 1.14.0-19
104 - Add success tick to workgroup panel. [SME: 1565]
105
106 * Wed Jan 10 2007 Shad L. Lords <slords@mail.com> 1.14.0-18
107 - Allow workgroup name be begin with numbers. [SME: 1607]
108
109 * Sat Jan 06 2007 Shad L. Lords <slords@mail.com> 1.14.0-17
110 - Rework vfs modules to allow more then just recycle bin to work. [SME: 1549]
111
112 * Thu Jan 04 2007 Shad L. Lords <slords@mail.com> 1.14.0-16
113 - Backup important tdb files. [SME: 2201]
114
115 * Wed Jan 03 2007 Shad L. Lords <slords@mail.com> 1.14.0-15
116 - Add template to specify logon drive. [SME: 1155]
117
118 * Thu Dec 14 2006 Shad L. Lords <slords@mail.com> 1.14.0-14
119 - Fix patch to map users to groups
120
121 * Tue Dec 12 2006 Federico Simoncelli <federico.simoncelli@gmail.com> 1.14.0-13
122 - Modified the samba_check_password script to use the new validatePassword
123 function in esmith::util. [SME: 2100]
124
125 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
126 - Update to new release naming. No functional changes.
127 - Make Packager generic
128
129 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com> 1.14.0-12
130 - Don't delete samba database. Instead rename them.
131
132 * Fri Dec 01 2006 Shad L. Lords <slords@mail.com> 1.14.0-11
133 - Map user groups so roaming profiles work [SME: 1950]
134
135 * Tue Aug 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.14.0-09
136 * Tue Nov 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.14.0-10
137 - Add Requires: samba{,-client,-common} to complete dependency tree [SME: 2062]
138
139 * Tue Aug 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.14.0-09
140 - Added templates.metadata/etc/smb.conf so that
141 expand-template /etc/smb.conf generates the file in /etc/samba/ [SME: 87]
142
143 * Tue Jul 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.14.0-08
144 - Default smb ports to 139 only to reduce log noise [SME: 1562]
145
146 * Thu Jun 29 2006 Shad L. Lords <slords@mail.com> 1.14.0-07
147 - Remove samba caches if getlocalsid fails [SME: 1487]
148
149 * Fri Jun 09 2006 Charlie Brady <charlie_brady@mitel.com> 1.14.0-06
150 - Fix case conversion in last change. [SME: 1523]
151
152 * Fri Jun 09 2006 Charlie Brady <charlie_brady@mitel.com> 1.14.0-05
153 - Add password strength checking to password change via samba (thanks
154 Federico Simoncelli and Filippo Carletti. [SME: 1523]
155
156 * Wed May 31 2006 Gordon Rowell <gordonr@gormand.com.au> 1.14.0-04
157 - Remove -S flag from smbd so we get useful logs from Samba [SME: 1521]
158
159 * Tue Apr 18 2006 Charlie Brady <charlie_brady@mitel.com> 1.14.0-03
160 - Clean up log noise from migrate fragment. [SME: 1257]
161 - Clean up prep section of spec file (and renumber patches).
162
163 * Mon Apr 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.14.0-02
164 - Ensure that Samba notices printer add/delete [SME: 1167]
165
166 * Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.14.0-01
167 - Roll stable stream version. [SME: 1016]
168
169 * Wed Mar 1 2006 Gordon Rowell <gordonr@gormand.com.au> 1.13.2-16
170 - Revert veto appletalk files change. The patch is still in the SPEC
171 file so we can apply it later. [SME: 668]
172
173 * Thu Feb 23 2006 Charlie Brady <charlie_brady@mitel.com> 1.13.2-15
174 - Fix problem with creating user profile dir. [SME: 761,874]
175
176 * Tue Feb 21 2006 Gordon Rowell <gordonr@gormand.com.au> 1.13.2-14
177 - Relocate netlogon.bat from old location in post, not pre [SME: 768]
178 - Remove empty /home/netlogon directory, if we can [SME: 768]
179
180 * Fri Feb 17 2006 Gavin Weight <gweight@gmail.com> 1.13.2-13
181 - Fix Roaming profiles strange permissions problem. [SME: 761]
182
183 * Thu Feb 16 2006 Gavin Weight <gweight@gmail.com> 1.13.2-12
184 - Added veto files line. [SME: 668]
185
186 * Sat Feb 4 2006 Gordon Rowell <gordonr@gormand.com.au> 1.13.2-11
187 - Adjusted passwd chat [SME: 652]
188
189 * Wed Jan 25 2006 Gordon Rowell <gordonr@gormand.com.au> 1.13.2-10
190 - Add passwd and passwd chat definition so that password sync works [SME: 565]
191
192 * Wed Jan 25 2006 Gordon Rowell <gordonr@gormand.com.au> 1.13.2-09
193 - Fix logic in last change w.r.t. KeepVersions [SME: 429]
194 - Add default smb{KeepVersions} == disabled [SME: 429]
195
196 * Tue Jan 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.13.2-08
197 - Add fragment to add recycle bin if smb{RecycleBin} == enabled [SME: 429]
198 - Default smb{RecycleBin} == disabled [SME: 429]
199
200 * Wed Dec 14 2005 Gordon Rowell <gordonr@gormand.com.au> 1.13.2-07
201 - Default smb{OpLocks} == enabled. Setting it to disabled will
202 disable oplocks [SME: 318]
203
204 * Mon Dec 05 2005 Filippo Carletti <carletti@mobilia.it> 1.13.2-06
205 - Better smb.conf readability [SME067]
206
207 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.13.2-05
208 - Bump release number only
209
210 * Sun Nov 20 2005 Gordon Rowell <gordonr@e-smith.com>
211 - [1.13.2-04]
212 - Correct typo and escape the $ in [print$] in last fix [SF: 1357840]
213
214 * Tue Nov 15 2005 Gordon Rowell <gordonr@e-smith.com>
215 - [1.13.2-03]
216 - Create and use default for smb{UseClientDriver} [SF: 1357840]
217
218 * Tue Nov 15 2005 Gordon Rowell <gordonr@e-smith.com>
219 - [1.13.2-02]
220 - Change browsable -> browseable for consistency [SF: 1357840]
221
222 * Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com>
223 - [1.13.2-01]
224 - Remove L10Ns from base packages [SF: 1309520]
225
226 * Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com>
227 - [1.13.1-01]
228 - New dev stream before relocating L10Ns
229
230 * Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com>
231 - [1.13.0-28]
232 - Added Italian L10N - Thanks Filippo Carletti [SF: 1309266]
233
234 * Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com>
235 - [1.13.0-27]
236 - Added German L10N - Thanks Dietmar Berteld [SF: 1293325]
237
238 * Mon Sep 19 2005 Charlie Brady <charlieb@e-smith.com>
239 - [1.13.0-26]
240 - Fix hosts allow specification. [SF: 1295752]
241
242 * Tue Aug 9 2005 Charlie Brady <charlieb@e-smith.com>
243 - [1.13.0-25]
244 - Roll in content from e-smith-regedit, and obsolete it.
245
246 * Tue Aug 2 2005 Charlie Brady <charlieb@e-smith.com>
247 - [1.13.0-24]
248 - Remove redundent and deprecated use of esmith::config and esmith::db
249 from action scripts.
250
251 * Tue Aug 2 2005 Shad Lords <slords@email.com>
252 - [1.13.0-23]
253 - Add TCPPorts/UDPPorts and access to smbd/nmbd [SF: 1246986]
254
255 * Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com>
256 - [1.13.0-22]
257 - Fix missing comma [SF: 1216546]
258
259 * Mon Jul 18 2005 Charlie Brady <charlieb@e-smith.com>
260 - [1.13.0-21]
261 - Avoid use of deprecated tie interface to accounts db. Use "config"
262 rather than "db" to fetch status in run script. [SF: 1216546]
263
264 * Mon Jul 18 2005 Charlie Brady <charlieb@e-smith.com>
265 - [1.13.0-20]
266 - Charset changes from Gordon: on new installs, default to UTF8.
267 - Default smb{UnixCharSet} == UTF8
268 - If smb record exists (i.e. upgrade), but UnixCharSet is not defined,
269 set it to ISO8859-1 to maintain filenames on upgrade [SF: 1204695]
270
271 * Wed Jun 15 2005 Charlie Brady <charlieb@e-smith.com>
272 - [1.13.0-19]
273 - Restart nmbd during workgroup-update event. [SF: 1220928]
274
275 * Tue Apr 19 2005 Charlie Brady <charlieb@e-smith.com>
276 - [1.13.0-18]
277 - Need to open accounts db r/w in create-machine-account script.
278
279 * Thu Mar 31 2005 Charlie Brady <charlieb@e-smith.com>
280 - [1.13.0-17]
281 - Fix missing "use" in create-machine-account script.
282
283 * Thu Mar 17 2005 Charlie Brady <charlieb@e-smith.com>
284 - [1.13.0-16]
285 - Last fix was wrong. Real problem was typo in default property setup.
286 - Remove redundent restart-samba action.
287
288 * Wed Mar 16 2005 Charlie Brady <charlieb@e-smith.com>
289 - [1.13.0-15]
290 - Fix typo in workgroup property lookup in workgroup panel.
291
292 * Sun Mar 13 2005 Charlie Brady <charlieb@e-smith.com>
293 - [1.13.0-14]
294 - Group mapping fix from Shad. [MN00070553]
295
296 * Fri Mar 11 2005 Charlie Brady <charlieb@e-smith.com>
297 - [1.13.0-13]
298 - Add service entries for smbd and nmbd, which slave their own
299 status from the smb entry. This allows the generic service
300 restart stuff to work. [MN00065576]
301 - Fix dangling restart-dhcpd symlink. [MN00064130]
302
303 * Wed Feb 23 2005 Charlie Brady <charlieb@e-smith.com>
304 - [1.13.0-12]
305 - Unify the three group mapping scripts into one. [MN00070553]
306
307 * Tue Feb 22 2005 Charlie Brady <charlieb@e-smith.com>
308 - [1.13.0-11]
309 - Fix template expansion location of smb.conf [MN00063515]
310
311 * Tue Feb 22 2005 Charlie Brady <charlieb@e-smith.com>
312 - [1.13.0-10]
313 - Fix typo in post scriptlet. [MN00063515]
314
315 * Tue Feb 22 2005 Charlie Brady <charlieb@e-smith.com>
316 - [1.13.0-09]
317 - Add domain group mapping, contributed by Shad/Greg. [MN00070553]
318 - Remove anachronisms in create-machine-account script.
319
320 * Fri Feb 18 2005 Charlie Brady <charlieb@e-smith.com>
321 - [1.13.0-08]
322 - Fix small template breakages if $LocalIP is not defined.
323 - Fix warnings from post install script. [MN00070549]
324 - Remove obsolete "domain admin group" entry from /etc/smb.conf template.
325 [MN00063515]
326 - Revert to standard /etc/samba/smb.conf location for config file.
327 [MN00063515]
328
329 * Fri Feb 18 2005 Charlie Brady <charlieb@e-smith.com>
330 - [1.13.0-07]
331 - Fix various smb.conf template expansion probs. [MN00063515]
332
333 * Fri Feb 18 2005 Charlie Brady <charlieb@e-smith.com>
334 - [1.13.0-06]
335 - Fix typo in template fragment. Commit new files omitted from previous
336 checkin in error. [MN00063515]
337
338 * Thu Feb 17 2005 Charlie Brady <charlieb@e-smith.com>
339 - [1.13.0-05]
340 - Update samba configuration to use samba 3 features. Update to
341 current APIs. [MN00063515]
342 - Start nmbd before smbd. [MN00070113]
343
344 * Thu Feb 17 2005 Charlie Brady <charlieb@e-smith.com>
345 - [1.13.0-04]
346 - Use defaults mechanism to initialise database entries, and migrate
347 fragment to convert from deprecated db entries to current style
348 Obsolete conf-netlogon script. [MN00062545]
349 - Use generic_template_expand action where possible, in place
350 of specific actions. Update e-smith-lib dependency. [MN00064130]
351 - Use generic service adjust action for reload/restart. [MN00065576]
352
353 * Mon Feb 7 2005 Charlie Brady <charlieb@e-smith.com>
354 - [1.13.0-03]
355 - Run smbd and nmbd's multilogs as smelog user. [MN00063836]
356
357 * Thu Feb 5 2004 Michael Soulier <msoulier@e-smith.com>
358 - [1.13.0-02]
359 - Updated build dependencies. [msoulier 10992]
360
361 * Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com>
362 - [1.13.0-01]
363 - rolling to dev - 1.13.0
364
365 * Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com>
366 - [1.12.0-01]
367 - rolling to stable - 1.12.0
368
369 * Wed Feb 4 2004 Mark Knox <markk@e-smith.com>
370 - [1.11.0-16]
371 - Include rc1.d/K35smb symlink for proper shutdown in single user mode
372 [markk 10958]
373
374 * Tue Nov 25 2003 Michael Soulier <msoulier@e-smith.com>
375 - [1.11.0-15]
376 - Removing client driver option, to move to [printers] section.
377 [msoulier 10623]
378
379 * Mon Nov 17 2003 Michael Soulier <msoulier@e-smith.com>
380 - [1.11.0-14]
381 - Rolling again to pick up genfilelist change. [msoulier 10648]
382
383 * Mon Nov 17 2003 Michael Soulier <msoulier@e-smith.com>
384 - [1.11.0-13]
385 - Moved the e-smith-smb script to supervise/smb, to plan ahead.
386 [msoulier 6442]
387
388 * Mon Nov 17 2003 Michael Soulier <msoulier@e-smith.com>
389 - [1.11.0-12]
390 - Stopped sourcing /etc/sysconfig/samba, and fixed a syntax error in the
391 initscript. [msoulier 6442]
392
393 * Mon Nov 17 2003 Michael Soulier <msoulier@e-smith.com>
394 - [1.11.0-11]
395 - Rollback on serviceControl-using scripts. They were not broken.
396 [msoulier 6442]
397
398 * Mon Nov 17 2003 Michael Soulier <msoulier@e-smith.com>
399 - [1.11.0-10]
400 - Changed the action script code for the new initscript. [msoulier 6442]
401
402 * Mon Nov 17 2003 Michael Soulier <msoulier@e-smith.com>
403 - [1.11.0-09]
404 - Tweaked the smbd run script, and e-smith-smb. [msoulier 6442]
405
406 * Mon Nov 17 2003 Michael Soulier <msoulier@e-smith.com>
407 - [1.11.0-08]
408 - Added e-smith-smb wrapper to manage both services. [msoulier 6442]
409
410 * Sun Nov 16 2003 Michael Soulier <msoulier@e-smith.com>
411 - [1.11.0-07]
412 - Added run files for multilog. [msoulier 6442]
413
414 * Sun Nov 16 2003 Michael Soulier <msoulier@e-smith.com>
415 - [1.11.0-06]
416 - Fixing broken specfile resulting in near-empty filelist. [msoulier 6442]
417
418 * Fri Nov 14 2003 Michael Soulier <msoulier@e-smith.com>
419 - [1.11.0-05]
420 - Added supervision of smbd and nmbd. First attempt. [msoulier 6442]
421 - Updated createlinks script for new build library.
422
423 * Fri Nov 14 2003 Michael Soulier <msoulier@e-smith.com>
424 - [1.11.0-04]
425 - Added "use client driver" to printer conf. [msoulier 10623]
426
427 * Fri Nov 7 2003 Michael Soulier <msoulier@e-smith.com>
428 - [1.11.0-03]
429 - *sigh* Really added this time. TGIF. [msoulier 10486]
430
431 * Fri Nov 7 2003 Michael Soulier <msoulier@e-smith.com>
432 - [1.11.0-02]
433 - Added a "deadtime" option to kill connections, by default, after one week if
434 they are no longer active. [msoulier 10486]
435
436 * Fri Nov 7 2003 Michael Soulier <msoulier@e-smith.com>
437 - [1.11.0-01]
438 - rolling to dev stream - 1.11.0
439
440 * Thu Sep 11 2003 Gordon Rowell <gordonr@e-smith.com>
441 - [1.10.0-04]
442 - Relocated /etc/secrets.tdb to /etc/samba [gordonr 9759]
443
444 * Wed Sep 10 2003 Gordon Rowell <gordonr@e-smith.com>
445 - [1.10.0-03]
446 - Always return "logon path" line, so that we return
447 "logon path =" if roaming profiles are off [gordonr 9913]
448
449 * Wed Jul 2 2003 Gordon Rowell <gordonr@e-smith.com>
450 - [1.10.0-02]
451 - Use samba defaults for preferred master and local master [gordonr 9208]
452 - Turn on wins support if we are the domain master [gordonr 9208]
453
454 * Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com>
455 - [1.10.0-01]
456 - Changing version to stable stream number - 1.10.0
457
458 * Wed Jun 18 2003 Gordon Rowell <gordonr@e-smith.com>
459 - [1.9.0-32]
460 - Fix confusion in smb{DomainMaster} w.r.t. netlogons [gordonr 9064]
461
462 * Thu Jun 12 2003 Gordon Rowell <gordonr@e-smith.com>
463 - [1.9.0-31]
464 - Added missing 02setupDomainMaster [gordonr 5053]
465 - Corrected 11winsServer to deal with WINSServer == me [gordonr 5053]
466
467 * Fri May 30 2003 Michael Soulier <msoulier@e-smith.com>
468 - [1.9.0-30]
469 - Removed dangling symlink to conf-samba-startup. [msoulier 8808]
470
471 * Wed May 28 2003 Gordon Rowell <gordonr@e-smith.com>
472 - [1.9.0-29]
473 - Move smbpasswd file to /etc/samba/smbpasswd [gordonr 8747]
474
475 * Mon May 26 2003 Charlie Brady <charlieb@e-smith.com>
476 - [1.9.0-28]
477 - Added 'type' default fragment for the smb service. [charlieb 8785]
478
479 * Wed May 21 2003 Lijie Deng <lijied@e-smith.com>
480 - [1.9.0-27]
481 - fix en-us, fr and es roaming profile text [lijied 5311]
482
483 * Tue May 20 2003 Gordon Rowell <gordonr@e-smith.com>
484 - [1.9.0-26]
485 - Don't worry if the use doesn't have a profile directory [gordonr 6414]
486
487 * Tue May 20 2003 Michael Soulier <msoulier@e-smith.com>
488 - [1.9.0-25]
489 - Added a defaults fragment. [msoulier 8785]
490 - Removed conf-samba-startup. [msoulier 8785]
491
492 * Thu May 15 2003 Gordon Rowell <gordonr@e-smith.com>
493 - [1.9.0-24]
494 - Made use of esmith::ConfigDB::wins_server [gordonr 5053]
495
496 * Tue May 13 2003 Gordon Rowell <gordonr@e-smith.com>
497 - [1.9.0-23]
498 - Rationalised smb{WINSServer} and smb{DomainMaster} handling [gordonr 5053]
499
500 * Tue May 6 2003 Lijie Deng <lijied@e-smith.com>
501 - [1.9.0-22]
502 - Add Spanish lexicon for workgroup [lijied 3793]
503
504 * Mon Apr 14 2003 Gordon Rowell <gordonr@e-smith.com>
505 - [1.9.0-21]
506 - preferred master should not be set if WINSServer is set [gordonr 6849]
507
508 * Mon Apr 14 2003 Lijie Deng <lijied@e-smith.com>
509 - [1.9.0-20]
510 - Limited the workgroup name to 15 characters [lijied 4971]
511
512 * Fri Apr 11 2003 Lijie Deng <lijied@e-smith.com>
513 - [1.9.0-19]
514 - Changed workgroup and servername to lower case again [lijied 7371]
515
516 * Wed Apr 9 2003 Michael Soulier <msoulier@e-smith.com>
517 - [1.9.0-18]
518 - Fixed french lexicon for workgroup question. [msoulier 5311]
519
520 * Wed Apr 9 2003 Lijie Deng <lijied@e-smith.com>
521 - [1.9.0-17]
522 - Changed workgroup and servername to lower case before validation
523 and storage [lijied 7371]
524
525 * Mon Apr 7 2003 Gordon Rowell <gordonr@e-smith.com>
526 - [1.9.0-16]
527 - Create new netlogon directory before trying to relocate netlogon.bat
528 [gordonr 8060]
529
530 * Thu Apr 3 2003 Lijie Deng <lijied@e-smith.com>
531 - [1.9.0-15]
532 - Removed Mitel Networks branding [lijied 8016]
533
534 * Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com>
535 - [1.9.0-14]
536 - Fix c&p error in %pre [gordonr 5241]
537
538 * Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com>
539 - [1.9.0-13]
540 - Do the relocation in the SPEC file so we don't have a stray
541 directory [gordonr 5241]
542
543 * Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com>
544 - [1.9.0-12]
545 - Relocate netlogon.bat -> /home/e-smith/files/samba/netlogon/netlogon.bat
546 [gordonr 5241]
547
548 * Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com>
549 - [1.9.0-11]
550 - Removed conf-dhcpd symlinks - now done in run script [gordonr 7771]
551
552 * Fri Mar 28 2003 Michael Soulier <msoulier@e-smith.com>
553 - [1.9.0-10]
554 - Re-worded the text in the workgroup panel. [msoulier 5311]
555 - Added french translation of that re-wording. [msoulier 5311]
556
557 * Fri Mar 28 2003 Lijie Deng <lijied@e-smith.com>
558 - [1.9.0-09]
559 - Modified French lexicon to use lang="fr", rename the lexicon
560 directory to fr [lijied 6787]
561
562 * Tue Mar 11 2003 Mike Dickson <miked@e-smith.com>
563 - [1.9.0-08]
564 - restricted length of workgroup entry to 15 characters [miked 4388]
565
566 * Thu Mar 6 2003 Lijie Deng <lijied@e-smith.com>
567 - [1.9.0-07]
568 - Modified workgroup panel order [lijied 7356]
569
570 * Wed Mar 5 2003 Lijie Deng <lijied@e-smith.com>
571 - [1.9.0-06]
572 - Split en-us lexicon from workgroup panel [lijied 4030]
573
574 * Fri Feb 28 2003 Lijie Deng <lijied@e-smith.com>
575 - [1.9.0-05]
576 - Added French lexicon for workgroup. [lijied 5003]
577
578 * Wed Jan 29 2003 Charlie Brady <charlieb@e-smith.com>
579 - [1.9.0-04]
580 - Delete obsolete special case "primary" fragment in smb.conf.
581 [charlieb 5652]
582
583 * Thu Jan 2 2003 Gordon Rowell <gordonr@e-smith.com>
584 - [1.9.0-03]
585 - Split conf-samba-startup from e-smith-base/conf-startup
586 - Relocated reload-samba from e-smith-base [gordonr 5509]
587
588 * Mon Dec 9 2002 Mike Dickson <miked@e-smith.com>
589 - [1.9.0-02]
590 - updates for new UI [miked 5494]
591
592 * Wed Nov 20 2002 Mike Dickson <miked@e-smith.com>
593 - [1.9.0-01]
594 - Changing to development stream; version upped to 1.9.0
595
596 * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
597 - [1.8.0-01]
598 - Roll to maintained version number to 1.8.0
599
600 * Tue Oct 8 2002 Mark Knox <markk@e-smith.com>
601 - [1.7.2-08]
602 - Removed stray DESCRIPTION tag from panel [markk 5135]
603
604 * Thu Sep 19 2002 Charlie Brady <charlieb@e-smith.com>
605 - [1.7.2-07]
606 - Fix i-bay section of smb.conf template [charlieb 4949]
607
608 * Fri Sep 13 2002 Gordon Rowell <gordonr@e-smith.com>
609 - [1.7.2-06]
610 - Allow smb|WINSServerOverride property which is automagically pushed into
611 the smb|WINSServer property before expanding Samba templates [gordonr 4590]
612
613 * Fri Sep 13 2002 Gordon Rowell <gordonr@e-smith.com>
614 - [1.7.2-05]
615 - Allow domain master setting if smb|WINSServer set to this box [gordonr 4840]
616
617 * Tue Sep 10 2002 Mark Knox <markk@e-smith.com>
618 - [1.7.2-04]
619 - Minor refactoring of the last change [markk 3786]
620
621 * Tue Sep 10 2002 Mark Knox <markk@e-smith.com>
622 - [1.7.2-03]
623 - Remove deprecated split on pipe [markk 3786]
624
625 * Fri Aug 23 2002 Charlie Brady <charlieb@e-smith.com>
626 - [1.7.2-02]
627 - Add -M flag to useradd, to prevent creation of /noexistingpath [charlieb 4660]
628
629 * Wed Aug 7 2002 Charlie Brady <charlieb@e-smith.com>
630 - [1.7.2-01]
631 - Change default for oplocks from false to true, and add enable of kernel
632 oplocks (although it's the default anyway. [charlieb 4520]
633
634 * Wed Jul 31 2002 Charlie Brady <charlieb@e-smith.com>
635 - [1.7.1-01]
636 - Use PAM password change rather than external passwd program and chat
637 script. [charlieb 4433]
638
639 * Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com>
640 - [1.7.0-01]
641 - Changing version to maintained stream number to 1.7.0
642
643 * Mon Jun 3 2002 Charlie Brady <charlieb@e-smith.com>
644 - [1.6.2-01]
645 - Add "pid directory" template fragment to smb.conf, to make samba 2.2.4
646 happy (it otherwise wants to use the non-existent /var/run/samba).
647 [charlie 3685]
648
649 * Mon Jun 3 2002 Charlie Brady <charlieb@e-smith.com>
650 - [1.6.1-01]
651 - Revert the posix locking change to the Profile share. We have rebuilt
652 samba 2.2.4 under the 2.2.19 kernel as a better fix to the locking problem.
653 [charlie 3685]
654
655 * Mon Jun 3 2002 Charlie Brady <charlieb@e-smith.com>
656 - [1.6.0-01]
657 - Changing version to maintained stream number to 1.6.0
658
659 * Thu May 30 2002 Charlie Brady <charlieb@e-smith.com>
660 - [1.5.11-01]
661 - Disable posix locking for the Profile share, as a workaround for
662 some locking wierdness with Win2K when saving roaming profiles.
663 [charlie 3685]
664
665 * Tue May 28 2002 Kirrily Robert <skud@e-smith.com>
666 - [1.5.10-01]
667 - Fixed servername validation so dots are not allowed [skud 3695]
668
669 * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
670 - [1.5.8-01]
671 - RPM rebuild forced by cvsroot2rpm
672
673 * Thu May 23 2002 Charlie Brady <charlieb@e-smith.com>
674 - [1.5.7-01]
675 - Update workgroup panel test code to no longer refer to legacy Samba*
676 config entries. [charlieb 3160]
677
678 * Wed May 22 2002 Charlie Brady <charlieb@e-smith.com>
679 - [1.5.6-01]
680 - Migrate obsolete Samba{DomainMaster,Workgroup,ServerName} settings
681 in conf-samba then delete any of these if found. [charlieb 3160]
682
683 * Tue May 7 2002 Gordon Rowell <gordonr@e-smith.com>
684 - [1.5.5-01]
685 - Further rework of the 11logon{Home,Path} fragments to allow setting
686 of smb|LogonPath and smb|LogonHome without having to choose
687 smb|RoamingProfiles [gordonr 3072]
688
689 * Mon May 6 2002 Gordon Rowell <gordonr@e-smith.com>
690 - [1.5.4-01]
691 - Localise SAVE button [gordonr 3220]
692 - Added nav bar entries [gordonr 3155]
693
694 * Fri May 3 2002 Charlie Brady <charlieb@e-smith.com>
695 - [1.5.3-01]
696 - Woops, create empty /etc/e-smith/tests in %build. [charlieb 3343]
697
698 * Fri May 3 2002 Charlie Brady <charlieb@e-smith.com>
699 - [1.5.2-01]
700 - Remove /etc/e-smith/tests/.dummy, and instead create empty
701 /etc/e-smith/tests in %build. [charlieb 3343]
702
703 * Wed May 1 2002 Gordon Rowell <gordonr@e-smith.com>
704 - [1.5.1-01]
705 - restart-nmbd should exit 0 nicely if smb service is disabled [gordonr 3325]
706
707 * Mon Apr 29 2002 Gordon Rowell <gordonr@e-smith.com>
708 - [1.5.0-01]
709 - Rolling to development stream
710 - Always set up logon home and logon path. The Samba defaults are not
711 particularly useful, and we want them to be defined to empty if
712 not defined in the config db and we are not domain master [gordonr 3072]
713
714 * Wed Apr 17 2002 Adrian Chung <adrianc@e-smith.com>
715 - [1.4.2-01]
716 - Stop workgroup panel from getting and setting old legacy Samba* values.
717 - Panel now gets/sets 'smb' properties.
718
719 * Mon Apr 15 2002 Gordon Rowell <gordonr@e-smith.com>
720 - [1.4.1-01]
721 - Language en->en-us
722
723 * Wed Apr 10 2002 Adrian Chung <adrianc@e-smith.com>
724 - [1.4.0-01]
725 - Remerging text change for domain controller setting into i18n'd panel.
726 [mac #3020]
727
728 * Wed Apr 10 2002 Kirrily Robert <skud@e-smith.com>
729 - [1.3.9-01]
730 - Added i18n'd workgroup panel [skud #3032]
731
732 * Tue Apr 9 2002 Adrian Chung <mac@e-smith.com>
733 - [1.3.8-01]
734 - Change quoting of %u to use single quotes in addUserScript template for
735 smb.conf. [adrianc #3023]
736
737 * Wed Apr 3 2002 Adrian Chung <adrianc@e-smith.com>
738 - [1.3.7-01]
739 - Quote %u in add user script directive in smb.conf and remove unnecessary
740 first line. [adrianc #3023]
741
742 * Tue Apr 02 2002 Gordon Rowell <gordonr@e-smith.com>
743 - [1.3.6-01]
744 - D'Oh sama -> samba
745
746 * Tue Apr 02 2002 Gordon Rowell <gordonr@e-smith.com>
747 - [1.3.5-01]
748 - Create missing profiles and printer driver directories
749
750 * Tue Apr 02 2002 Gordon Rowell <gordonr@e-smith.com>
751 - [1.3.4-01]
752 - fix restart-nmbd to still start if it can't be stopped [tonyc #2764]
753
754 * Tue Mar 26 2002 Adrian Chung <adrianc@e-smith.com>
755 - [1.3.3-01]
756 - Modify text in web panel to say "leave set to default, or no if another
757 server is already performing this function" with respect to domain master
758 setting. [mac - #3020]
759
760 * Tue Mar 12 2002 Adrian Chung <adrianc@e-smith.com>
761 - [1.3.2-01]
762 - Make WINSServer property override value for DomainMaster, PreferredMaster,
763 and LocalMaster.
764
765 * Tue Mar 12 2002 Adrian Chung <mac@e-smith.com>
766 - [1.3.1-01]
767 - rollRPM: Rolled version number to 1.3.1-01. Includes patches up to 1.3.0-02.
768
769 * Fri Feb 15 2002 Charlie Brady <charlieb@e-smith.com>
770 - [1.3.0-02]
771 - Migrate Samba* configuration items to properties of the smb service.
772
773 * Thu Feb 14 2002 Charlie Brady <charlieb@e-smith.com>
774 - [1.3.0-01]
775 - rollRPM: Rolled version number to 1.3.0-01. Includes patches up to 1.2.0-02.
776
777 * Thu Jan 03 2002 Charlie Brady <charlieb@e-smith.com>
778 - [1.2.0-02]
779 - Reconfigure and restart dhcpd in workgroup update event, in case a
780 WINS server has been added. See #2364.
781 - Purge prep section of lots of stuff which is no longer required
782 since the rollRPM.
783
784 * Tue Dec 11 2001 Jason Miller <jay@e-smith.com>
785 - [1.2.0-01]
786 - rollRPM: Rolled version number to 1.2.0-01. Includes patches up to 1.1.0-34.
787
788 * Tue Dec 4 2001 Adrian Chung <adrianc@e-smith.com>
789 - [1.1.0-34]
790 - Adding workgroup panel, removed from e-smith-base.
791 - Minor text change, s/a Windows server/another server
792
793 * Mon Dec 03 2001 Charlie Brady <charlieb@e-smith.com>
794 - [1.1.0-33]
795 - Add conf-samba back into post-install event. Required for initial
796 password set.
797
798 * Fri Nov 30 2001 Gordon Rowell <gordonr@e-smith.com>
799 - [1.1.0-32]
800 - Check for user-deleted type in user-delete-profiledir
801
802 * Fri Nov 30 2001 Gordon Rowell <gordonr@e-smith.com>
803 - [1.1.0-31]
804 - Extra slosh required in 11logonPath
805
806 * Fri Nov 30 2001 Gordon Rowell <gordonr@e-smith.com>
807 - [1.1.0-30]
808 - Changed group of profiles parent directory to shared to make it searchable
809 - Replaced %N (NIS server) with %L (Netbios name) in 11logon{Home,Path}
810 - Reinstated [profiles] share and change logon path to use it
811 - Added action to user-{create,delete} to add/remove the profile subdirectory
812 - Added action to post-upgrade to create profiles for existing users
813 - New smb property RoamingProfiles - defaulting to "no" in conf-samba,
814 which disables logon {home,path} and [profiles] share
815
816 * Wed Nov 28 2001 Gordon Rowell <gordonr@e-smith.com>
817 - [1.1.0-29]
818 - Reduced "printer admin" and "domain admin group" to the "admin" user
819
820 * Tue Nov 27 2001 Charlie Brady <charlieb@e-smith.com>
821 - [1.1.0-28]
822 - Undo the "Adminstrator" => "admin" mapping
823 - Remove smb.conf fragment which adds reference to smbusers
824 - Replace smbusers fragment so that the file now says "# this
825 file is not used".
826
827 * Mon Nov 26 2001 Gordon Rowell <gordonr@e-smith.com>
828 - [1.1.0-27]
829 - Remove /etc/smbusers - created empty in init-passwords, but never used
830 until now
831
832 * Mon Nov 26 2001 Gordon Rowell <gordonr@e-smith.com>
833 - [1.1.0-26]
834 - Templated /etc/samba/smbusers
835 - Map "Administrator" for domain logons -> admin
836 - Note: a local (non-domain) logon still gets treated/ignored as guest
837 - The property smb|AdminstratorAccount (default Administrator) can be
838 used to specify an alternate Administrator account when that account is
839 renamed on the Win* clients
840
841 * Tue Nov 20 2001 Gordon Rowell <gordonr@e-smith.com>
842 - [1.1.0-25]
843 - Make printer$ share writable in the normal way, restricted by Unix
844 permissions (admin:admin)
845
846 * Tue Nov 20 2001 Gordon Rowell <gordonr@e-smith.com>
847 - [1.1.0-24]
848 - Make /etc/smbpasswd 0600,admin,root - allows "admin" to join domains
849 - create-machine-account: SUID/SGID root - the script is called as
850 "admin" by Samba, but needs to be "root" to add Unix accounts
851 - create-machine-account: setRealToEffective really become root or locking
852 the Unix account fails with "Only root can do that"
853 - create-machine-account: Auto-create machine account in accounts database.
854 This should be fixed by allowing admin to write to the db fragments
855
856 * Mon Nov 19 2001 Gordon Rowell <gordonr@e-smith.com>
857 - [1.1.0-23]
858 - Added extra slosh to strings in 11logon{Home,Path} and fixed c&p typo
859
860 * Mon Nov 19 2001 Gordon Rowell <gordonr@e-smith.com>
861 - [1.1.0-22]
862 - Check for smb|...|LogonHome and smb|...|LogonPath in those fragments
863 Default to ~/._winprofile as before, but allow overrides, for example
864 set to empty for local profiles. 4.1.2+e-smith-netlogon and 5.0 both
865 defaulted to roaming profiles
866 - Explicitly return an empty string from some fragments if
867 $SambaDomainMaster=no, just to be tidy
868 - Used new e-smith-devtools to set /home/e-smith/files/samba to
869 02755,admin,admin and removed explicit chmod from prep
870
871 * Thu Nov 15 2001 Gordon Rowell <gordonr@e-smith.com>
872 - [1.1.0-21]
873 - Commented out code in create-machine-account which called smbpasswd.
874 - Samba does this by itself, but we may want to enable it later if this
875 script is ever called outside Samba.
876
877 * Wed Nov 14 2001 Gordon Rowell <gordonr@e-smith.com>
878 - [1.1.0-20]
879 - Moved profiles to ~user/._winprofile - somewhat better that .profile :-)
880 - Commented out [Profiles] share, since we are no longer using it
881
882 * Wed Nov 14 2001 Gordon Rowell <gordonr@e-smith.com>
883 - [1.1.0-19]
884 - Made printer driver directories 0755, per "Samba Unleashed"
885
886 * Wed Nov 14 2001 Gordon Rowell <gordonr@e-smith.com>
887 - [1.1.0-18]
888 - Removed conf-samba from post-install - done in bootstrap-console-save
889 - Moved all profiles (Win9x and WinNT/2K) under ~user/.profile
890 - Rewrote machine-account-create as an event
891 - Note: Unfortunately Samba currently requires the user "root" to
892 create machine accounts (i.e. enter "root" as the user on the client machine)
893 A SUID script allows 'admin' to do all of the tasks, but the client gets:
894 "Unable to add or change accounts on the domain. The account information
895 entered does not grant sufficient privilege to create or change accounts".
896 - Made printer driver directories world-writable
897
898 * Mon Nov 12 2001 Gordon Rowell <gordonr@e-smith.com>
899 - [1.1.0-17]
900 - %L (logon server) -> %N (this server) in 11logonPath (as for 11logonHome)
901
902 * Mon Nov 12 2001 Gordon Rowell <gordonr@e-smith.com>
903 - [1.1.0-16]
904 - Swapped 11logon{Home,Path}, added extra backslashes - thanks Greg Zartman
905 and others
906
907 * Fri Nov 9 2001 Gordon Rowell <gordonr@e-smith.com>
908 - [1.1.0-15]
909 - Left-justified output
910 - Removed some redundant use esmith::db lines and implied "return" statements
911
912 * Fri Nov 2 2001 Gordon Rowell <gordonr@e-smith.com>
913 - [1.1.0-14]
914 - Suppressed more comments from output file
915 - Renamed all [global] fragments to 11*
916
917 * Fri Nov 2 2001 Gordon Rowell <gordonr@e-smith.com>
918 - [1.1.0-13]
919 - Hid all commented-out parameters from output file (remove fragments later)
920 - Removed more comments from output file
921 - Unified indentation
922
923 * Thu Nov 1 2001 Gordon Rowell <gordonr@e-smith.com>
924 - [1.1.0-12]
925 - Added 11level2Oplocks fragment to disable level2 oplocks
926 - Removed "share modes" options from [netlogon] share and cleaned up template
927
928 * Thu Nov 1 2001 Gordon Rowell <gordonr@e-smith.com>
929 - [1.1.0-11]
930 - Added 61Profilesshare fragment
931
932 * Thu Nov 1 2001 Gordon Rowell <gordonr@e-smith.com>
933 - [1.1.0-10]
934 - Removed netlogon comments from output file
935
936 * Thu Nov 1 2001 Gordon Rowell <gordonr@e-smith.com>
937 - [1.1.0-09]
938 - Protect logon {home,path} with hard quotes and indent to match others
939
940 * Thu Nov 1 2001 Gordon Rowell <gordonr@e-smith.com>
941 - [1.1.0-08]
942 - Added printers and profiles directories
943 - Need to verify permissions on these directories, Darrell had 777 for all
944
945 * Thu Nov 1 2001 Gordon Rowell <gordonr@e-smith.com>
946 - [1.1.0-07]
947 - Merged in changes from dmc-mitel-samba-2.2.2-0 - Thanks Darrell May
948 - Moved machine-account-create from e-smith-base
949
950 * Thu Nov 1 2001 Gordon Rowell <gordonr@e-smith.com>
951 - [1.1.0-06]
952 - Merged (and Obsoleted) e-smith-netlogon
953
954 * Thu Nov 1 2001 Gordon Rowell <gordonr@e-smith.com>
955 - [1.1.0-05]
956 - guest ok = no, map to guest = never
957
958 * Mon Oct 22 2001 Charlie Brady <charlieb@e-smith.com>
959 - [1.1.0-04]
960 - Add action scripts and workgroup web panel plus associated symlinks
961
962 * Thu Oct 4 2001 Gordon Rowell <gordonr@e-smith.com>
963 - [1.1.0-03]
964 - Removed comments from output file
965
966 * Thu Oct 4 2001 Gordon Rowell <gordonr@e-smith.com>
967 - [1.1.0-02]
968 - Removed template-{begin,end}
969
970 * Thu Oct 4 2001 Gordon Rowell <gordonr@e-smith.com>
971 - [1.1.0-01]
972 - Split from e-smith-base
973 - This version only contains the smb.conf template fragments
974
975 %description
976 Configuration files and templates for the Samba daemon.
977
978 %prep
979 %setup
980 %patch0 -p1
981 %patch1 -p1
982 %patch2 -p1
983 %patch3 -p1
984 %patch4 -p1
985 %patch5 -p1
986 %patch6 -p1
987 %patch7 -p1
988 %patch8 -p1
989 %patch9 -p1
990 %patch10 -p1
991 %patch11 -p1
992 %patch12 -p1
993 %patch13 -p1
994 %patch14 -p1
995 %patch15 -p1
996 %patch16 -p1
997 %patch17 -p1
998 %patch18 -p1
999 %patch19 -p1
1000 %patch20 -p1
1001 %patch21 -p1
1002 %patch22 -p1
1003 %patch23 -p1
1004 #%patch24 -p1
1005 %patch25 -p1
1006 %patch26 -p1
1007 %patch27 -p1
1008 %patch28 -p1
1009
1010 %build
1011 mkdir -p root/etc/e-smith/tests
1012 perl createlinks
1013
1014 # Manage supervise and multilog for smbd.
1015 mkdir -p root/service
1016 ln -s ../var/service/smbd root/service/smbd
1017 mkdir -p root/var/service/smbd/supervise
1018 touch root/var/service/smbd/down
1019 mkdir -p root/var/service/smbd/log/supervise
1020 mkdir -p root/var/log/smbd
1021
1022 # Manage supervise and multilog for nmbd.
1023 mkdir -p root/service
1024 ln -s ../var/service/nmbd root/service/nmbd
1025 mkdir -p root/var/service/nmbd/supervise
1026 touch root/var/service/nmbd/down
1027 mkdir -p root/var/service/nmbd/log/supervise
1028 mkdir -p root/var/log/nmbd
1029
1030 # Make storage point for shadowcopies
1031 mkdir -p root/home/e-smith/files/.shadow
1032
1033 touch root/etc/e-smith/templates/etc/smb.conf/ibays/template-begin
1034
1035 %install
1036 rm -rf $RPM_BUILD_ROOT
1037 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
1038 /sbin/e-smith/genfilelist \
1039 --dir '/var/service/smbd' 'attr(1755,root,root)' \
1040 --file '/var/service/smbd/down' 'attr(0644,root,root)' \
1041 --file '/var/service/smbd/run' 'attr(0755,root,root)' \
1042 --dir '/var/service/smbd/supervise' 'attr(0700,root,root)' \
1043 --dir '/var/service/smbd/log' 'attr(1755,root,root)' \
1044 --file '/var/service/smbd/log/run' 'attr(0755,root,root)' \
1045 --dir '/var/log/smbd' 'attr(2750,smelog,smelog)' \
1046 --dir '/var/service/nmbd' 'attr(1755,root,root)' \
1047 --file '/var/service/nmbd/down' 'attr(0644,root,root)' \
1048 --file '/var/service/nmbd/run' 'attr(0755,root,root)' \
1049 --dir '/var/service/nmbd/supervise' 'attr(0700,root,root)' \
1050 --dir '/var/service/nmbd/log' 'attr(1755,root,root)' \
1051 --file '/var/service/nmbd/log/run' 'attr(0755,root,root)' \
1052 --dir '/var/log/nmbd' 'attr(2750,smelog,smelog)' \
1053 --file '/sbin/e-smith/samba_check_password' 'attr(0555,root,root)' \
1054 $RPM_BUILD_ROOT \
1055 > %{name}-%{version}-filelist
1056 echo "%doc COPYING" >> %{name}-%{version}-filelist
1057
1058 %clean
1059 rm -rf $RPM_BUILD_ROOT
1060
1061 %post
1062 if [ -f /home/netlogon/netlogon.bat ]
1063 then
1064 mkdir -p /home/e-smith/files/samba/netlogon
1065 mv /home/netlogon/netlogon.bat \
1066 /home/e-smith/files/samba/netlogon/netlogon.bat
1067
1068 rmdir /home/netlogon || echo "Couldn't rmdir /home/netlogon"
1069 fi
1070
1071 # Revert to canonical place for smb.conf
1072 if [ -f /etc/smb.conf ]
1073 then
1074 rm /etc/smb.conf
1075 ln -s /etc/samba/smb.conf /etc/smb.conf
1076 fi
1077 if [ -L /etc/samba/smb.conf ]
1078 then
1079 rm /etc/samba/smb.conf
1080 fi
1081 if [ -f /etc/smbusers ]
1082 then
1083 rm /etc/smbusers
1084 fi
1085 if [ -f /etc/samba/smbpasswd ]
1086 then
1087 /bin/chown admin.root /etc/samba/smbpasswd
1088 fi
1089 chown -R smelog.smelog /var/log/{smbd,nmbd}
1090
1091 %files -f %{name}-%{version}-filelist
1092 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed