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

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

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


Revision 1.14 - (hide annotations) (download)
Fri Mar 21 17:43:50 2008 UTC (16 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba-1_14_1-6_el5_sme
Changes since 1.13: +6 -1 lines
* Fri Mar 21 2008 Shad L. Lords <slords@mail.com> 1.14.1-6
- Hide normally hidden profile files [SME: 4082]

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

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