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

Contents 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.4 - (show annotations) (download)
Tue Apr 22 21:07:22 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: e-smith-samba+ldap-1_15_1-4_el4_sme
Changes since 1.3: +7 -1 lines
* Tue Apr 22 2008 Daniel B. <daniel@firewall-services.com> 1.15.1-4
- allow creation of machine accounts in ldap
- sync samba passwords with ldap userPassword (replace unix password sync)

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

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