/[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.13 - (hide annotations) (download)
Thu Mar 13 19:41:50 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-1_14_1-5_el4_sme
Changes since 1.12: +6 -2 lines
* Thu Mar 13 2008 Shad L. Lords <slords@mail.com> 1.14.1-5
- Fix shadowcopy with < 2 ibays/users [SME: 3862]

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

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