/[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.18 - (show annotations) (download)
Mon Oct 13 21:48:33 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-2_0_0-2_el4_sme
Changes since 1.17: +8 -3 lines
Add samba roles patch

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

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