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

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

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


Revision 1.1 - (hide annotations) (download)
Mon Mar 31 17:42:04 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba+ldap-1_15_1-2_el4_sme
Import on branch sme7 of package e-smith-samba+ldap-1.15.1-2.el4.sme.src.rpm

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

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