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

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

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


Revision 1.10 - (show annotations) (download)
Sat Dec 15 19:32:11 2007 UTC (16 years, 10 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-samba-1_14_1-2_el5_sme
Changes since 1.9: +6 -1 lines
Updates

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

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