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

Annotation of /rpms/e-smith-samba/sme7/e-smith-samba.spec

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


Revision 1.2 - (hide annotations) (download)
Thu Jun 14 20:33:09 2007 UTC (16 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-1_14_0-30_el4_sme
Changes since 1.1: +5 -2 lines
Updates

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

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