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

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