/[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.1 - (hide annotations) (download)
Tue Jun 12 16:12:59 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-1_14_0-29_el4_sme
Import on branch sme7 of package e-smith-samba-1.14.0-29.el4.sme.src.rpm

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

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