/[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.20 - (show annotations) (download)
Tue Oct 28 23:12:19 2008 UTC (15 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-2_2_0-3_el5_sme
Changes since 1.19: +5 -2 lines
Updates

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

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