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

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