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

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