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

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

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


Revision 1.20 - (show annotations) (download)
Mon Nov 24 02:32:18 2008 UTC (15 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-2_0_0-4_el4_sme
Changes since 1.19: +7 -2 lines
Updates

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

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