/[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.17 - (show annotations) (download)
Tue Oct 7 19:19:52 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-2_2_0-1_el5_sme
Changes since 1.16: +7 -16 lines
New streams

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

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