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

Contents of /rpms/e-smith-samba+ldap/sme8/e-smith-samba+ldap.spec

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


Revision 1.3 - (show annotations) (download)
Sat Apr 19 23:07:50 2008 UTC (16 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba+ldap-1_15_1-3_el5_sme
Changes since 1.2: +1 -1 lines
Fix spec

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

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