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

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

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


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

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