/[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.21 - (show annotations) (download)
Tue Jun 2 13:58:27 2009 UTC (15 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-2_0_0-5_el4_sme
Changes since 1.20: +7 -2 lines
Fix warnings in template expansion

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

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