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

Contents 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.16 - (show annotations) (download)
Sun Aug 3 09:31:34 2008 UTC (16 years, 3 months ago) by snetram
Branch: MAIN
CVS Tags: e-smith-samba-1_14_1-8_el5_sme
Changes since 1.15: +6 -1 lines
* Sun Aug  3 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.14.1-8
- Fix oslevel template expansion. [SME: 4470]

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

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