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

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