/[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.9 - (show annotations) (download)
Sat Dec 15 16:03:54 2007 UTC (16 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-1_14_1-1_el5_sme
Changes since 1.8: +5 -66 lines
Import on branch sme8 of package e-smith-samba-1.14.1-1.el5.sme.src.rpm

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

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