7a4a294b93bc6c0af5dc6db4c8f7c02ff2300b3f
[metze/test/web/.git] / whatsnew / samba-2.0.5a.html
1 <!--#include virtual="/samba/header.html" -->
2
3    <H2>The Samba Team is pleased to announce Samba&nbsp;2.0.5a</H2>
4
5 <p>
6 <pre>
7 The Samba Team is pleased to announce Samba 2.0.5a.
8
9 This is the latest stable release of Samba. This is the
10 version that all production Samba servers should be running
11 for all current bug-fixes.
12
13 Please read the "IMPORTANT NOTE" section of the release
14 notes as this explains three security bugfixes which have
15 been added in this release. It is vital that Samba admins
16 understand these issues.
17
18 It may be fetched via ftp from :
19
20 <a href="/samba/ftp/samba-2.0.5a.tar.gz">/samba/ftp/samba-2.0.5a.tar.gz </a>
21
22 Binary packages will be available shortly for many popular platforms.
23 Please check the main Web site or email announcements for details.
24
25 If you think you have found a bug please email a report to :
26
27         <a href="mailto:samba-bugs@samba.org">samba-bugs@samba.org</a>
28
29 The WHATSNEW.txt file follows.
30
31 As always, any bugs are our responsibility,
32
33 Regards,
34
35         The Samba Team.
36
37 -----------------------------------------------------------
38               WHATS NEW IN Samba 2.0.5a
39               =========================
40
41 This is the latest stable release of Samba. This is the
42 version that all production Samba servers should be running
43 for all current bug-fixes.
44
45 IMPORTANT NOTE !
46 ----------------
47
48 This version of Samba contains three security bugfixes for
49 problems in previous versions of Samba found by Olaf Kirch of
50 Caldera Systems (www.caldera.com). The Samba Team would like
51 to publicly thank Olaf for his help in doing a security review
52 of our code and finding these bugs.
53
54 The three bugs are one potentially exploitable buffer overrun
55 bug (although no current exploits are known) in smbd and two
56 denial of service bugs in nmbd. By default the smbd bug was not
57 exploitable as shipped (the problem parameter was disabled by
58 default) but instructions on protecting any version of Samba
59 prior to 2.0.5 are included below.
60
61 All these bugs have been fixed in Samba 2.0.5 and 2.0.5a.
62
63 If using any version of Samba prior to 2.0.5 the administrator
64 *MUST NOT* enable the "message command" parameter in smb.conf,
65 and *MUST* remove any "message command" that is listed in any
66 existing smb.conf file. No known instances of this attack being
67 exploited have been reported.
68
69 All Samba versions of nmbd prior to 2.0.5 are vulnerable to a
70 denial of service attack causing nmbd to either crash or to go
71 into an infinite loop. No known instances of this attack being
72 exploited have been reported.
73
74 New/Changed parameters in 2.0.5 and 2.0.5a.
75 -------------------------------------------
76
77 There are 5 new parameters in the smb.conf file.
78
79 security mask
80 force security mode
81 directory security mask
82 force directory mode
83 level2 oplocks
84
85 The first 4 parameters are used to control the UNIX permissions bits
86 that an NT client is allowed to modify. These parameters are now
87 used instead of the older "create" parameters that were used in
88 2.0.4 to allow an administrator to separate the two functions.
89
90 Use of these new parameters is described in the smb.conf man page,
91 and also in the documents :
92
93 docs/textdocs/NT_Security.txt
94 docs/htmldocs/NT_Security.html
95
96 The fifth new parameter is described in the following section.
97
98 Level II oplocks
99 ----------------
100
101 Samba 2.0.5 now implements level2 oplocks. As this is new
102 code this parameter is set to "off" by default. The benefit
103 of level2 oplocks is to allow read-only file caching from
104 multiple clients. This is of great speed benefit to shares
105 that are serving application executable programs (.EXE's)
106 that are usually not written to. To learn more about using
107 level 2 oplocks read the parameter description in the smb.conf
108 documentation or read the file :
109
110 docs/textdocs/Speed.txt.
111
112 Changes in 2.0.5a
113 -----------------
114
115 1). Fix for smbd crash bug in string_sub(). smbd was miscalculating
116 memmove lengths on multiple '%' substitutions.
117 2). Fix for wildcard matching bug for old DOS programs running on Win9x.
118 3). Fix for Windows NT client changing passwords against a Samba server,
119 intermittently failing.
120 4). Fix for PPP link being detected as primary interface if using the
121 same IP address as the primary.
122 5). Ensure smbmount is built with RPM build.
123
124 Changes in 2.0.5
125 -----------------
126
127 1). smbmount for Linux systems has been re-written to use
128 the libsmb code and clientutil.c is no longer used with it.
129 2). A bug preventing directory opens using the NT SMB calls
130 has been fixed.
131 3). A related bug causing a file structure leak when directory
132 opens were denied has been fixed.
133 4). Fix for glibc2.1 bug on 32-bit systems being reported as 64
134 bit.
135 5). Prevent timestamps of 0 or -1 corrupting file timestamps.
136 6). Fix for unusual delays when browsing shares using Windows
137 2000 - fix added by Matt.
138 7). Fix for smbpassword reading problems on Sparc Linux was fixed.
139 8). Fix for compiling with SSL library.
140 9). smbclient fix for crash when doing CR/LF conversion.
141 10). smbclient now reports short read errors.
142 11). smbclient now uses remote server workgroup to list servers by default.
143 12). smbclient now has -b option to change transmit/send buffer size.
144 13). smbclient fix for corrupting files when issuing multiple outstanding
145 read requests.
146 14). Printing bug where Linux was using SYSV printing by default fixed.
147 Linux now set to be BSD printing by default.
148 15). Change for Linux to use SYSV shared memory by default.
149 16). Fix for using IP_TOS options on some systems.
150 17). Fix for some systems that complained about static struct passwd
151 buffers being modified.
152 18). Range checking applied to all string substitutions. Theoretically
153 not a bug, but much more rebust now.
154 19). Level II oplocks implemented.
155 20). Fix for Win2K client printing added.
156 21). Always allow loopback (127.0.0.1) connects unless specifically denied.
157 22). Patch for FreeBSD interface detection code from Archie Cobbs
158 (archie@whistle.com).
159 23). Return correct status from smbrun.
160 24). snprintf fixes for floating point numbers.
161 25). Force directories to always have zero size.
162 26). Fix for "force group" and "force user" options. "force user" now
163 always uses primary group of user as well. Force group now enhanced with '+'
164 semantics (see smb.conf man page for details).
165 27). Wildcard matching fix to get closer to WinNT semantics for Win9x clients.
166 28). Potential crash bug fixed in wildcard matching code. This bug could also
167 cause smbd to sometimes not see exact file matches.
168 29). Read/write for sockets changed to use revc/send to allow optimisations
169 later.
170 30). Oplocks added to client library.
171 31). Several purify fixes in IPC code.
172 32). nmbd crash bug in processing strange NetBIOS names fixed.
173 33). nmbd loop bug in processing strange NetBIOS names fixed.
174 34). Paranoia fixes to processing of incoming WinPopup messages in smbd.
175 35). Share mode code now auto initialised.
176 36). Detect dead processes in IPC lock code.
177 37). Explicit -V version switch added to command line processing.
178 38). WORKGROUP(1b) name processing with no WINS server fixed.
179 39). Win2k client detection code added by Matt.
180 40). Fix to allow really short changenotify times to be honoured.
181 41). Fix for NT delete finding the wrong file from Tine Smukavec
182 (valentin.smukavec@hermes.si)
183 42). SWAT fix to prevent stderr messages from breaking the Web client.
184 43). testparm fixes to check more parameter conflicts.
185 44). Relative paths not fetched via SWAT in CGI scripts.
186 45). SWAT remote password change - remote host name not treated as a
187 password field any more.
188
189 Changes in 2.0.4b
190 -----------------
191
192 A bug with MS-Word 97 saving files with zero UNIX permissions
193 was fixed. Even though a workaround is available (set force
194 create mode = 644 on the share) Word is such an important
195 application that a point fix was neccessary.
196
197 Changes in 2.0.4a
198 -----------------
199
200 The text and html versions of NT_Security were missing from
201 the shipping tarball. Also a compile bug for platforms that
202 don't have usleep was fixed.
203
204 Changes in 2.0.4
205 ----------------
206
207 There are 5 new parameters and one modified parameter in
208 the smb.conf file.
209
210 allow trusted domains
211 restrict anonymous
212 mangle locks
213 oplock break wait time
214 oplock contention limit
215
216 The modified parameter is :
217
218 nt acl support
219
220 Bugfixes added since 2.0.3
221 --------------------------
222
223 1). Fix for 8 character password problem when using HPUX and
224 plaintext passwords.
225 2). --with-pam option added to ./configure.
226 3). Client fixes for memory leak and display of 64 bit values.
227 4). Fixes for -E and -s option with smbclient.
228 5). smbclient now allows -L //server or -L \\server
229 6). smbtar fix for display of 64 bit values.
230 7). Endian independence added to DCE/RPC code.
231 8). DCE/RPC marshalling/unmarshalling code re-written to provide
232 overflow reporting and sign and seal support.
233 9). Bind NAK reply packet added to DCE/RPC code, used to correctly
234 refuse bind requests (prevents NT system event log messages).
235 10). Mapping of UNIX permissions into NT ACL's for get and set
236 added.
237 11). DCE/RPC enumeration of numbers of shares made dynamic. 
238 Samba now has no limit on the number of exported shares seen.
239 12). Fix to speed up random number seed generation on /dev/urandom
240 being unavailable.
241 13). Several memory fixes added by running Purify on the code.
242 14). Read from client error messages improved.
243 15). Fixed endianness used in UNICODE strings.
244 16). Cope with ERRORmoredata in an RPC pipe client call.
245 17). Check for malformed responses in nmbd register name.
246 18). NT Encrypted password changing from the NT password dialog box
247 now fully implmented.
248 19). Mangle 64-bit lock ranges into 32-bits (NT bug!) on a 32-bit
249 Samba platform.
250 20). Allow file to be pseudo-openend in order to read security only.
251 21). Improve filename mangling to reduce chance of collisions.
252 22). Added code to prevent granting of oplocks when a file is under
253 contention.
254 23). Added tunable wait time before sending an oplock break request
255 to a client if the client caused the break request. Helps with clients
256 not responding to oplock breaks.
257 24). Always respond negatively to queued local oplock break messages
258 before shutdown. This can prevent "freezes" on an oplock error.
259 25). Allow admin to restrict logons to correct domain when in domain
260 level security.
261 26). Added "restrict anonymous" patch from Andy (thwartedefforts@wonky.org)
262 to prevent parameter substitution problems with anonymous connections.
263 27). Fix SMBseek where seeking to a negative number sets the offset
264 to zero.
265 28). Fixed problem with mode getting corrupted in trans2 request
266 (setting to zero means please ignore it).
267 29). Correctly become the authenticated user on an authenticated
268 DCE/RPC pipe request.
269 30). Correctly reset debug level in nmbd if someone set it on the
270 command line.
271 31). Added more checking into testparm
272 32). NetBench simulator added to smbtorture by Andrew.
273 33). Fixed NIS+ option compile (was broken in 2.0.3).
274 34). Recursive smbclient directory listing fix. Patch from E. Jay Berkenbilt
275 (ejb@ql.org)
276
277 Bugfixes added since 2.0.2
278 --------------------------
279
280 1). --with-ssl configure now include ssl include directory. Fix
281 from Richard Sharpe.
282 2). Patch for configure for glibc2.1 support (large files etc.).
283 3). Several bugfixes for smbclient tar mode from Bob Boehmer
284 (boehmer@worldnet.att.net) to fix smbclient aborting problems
285 when restoring tar files.
286 4). Some automount fixes for smbmount.
287 5). Attempt to fix the AIX 4.1.x/3.x problems where smbd runs as
288 root. As no-one has given us root access to such a server this
289 cannot be tested fully, but should work.
290 6). Crash bug fix in debug code where *real* uid rather than 
291 *effective* uid was being checked before attempting to rotate
292 log files. This fix should help a *lot* of people who were
293 reporting smbd aborting in the middle of a copy operation.
294 7). SIGALRM bugfix to ensure infinate file locks time out.
295 8). New code to implement NT ACL reporting for cacls.exe program.
296 9). UDP loopback socket rebind fix for Solaris.
297 10). Ensure all UNICODE strings are correctly in little-endian
298 format.
299 11). smbpasswd file locking fix.
300 12). Fixes for strncpy problems with glibc2.1.
301 13). Ensure smbd correctly reports major and minor version number
302 and server type when queried via NT rpc calls.
303 14). Bugfix for short mangled names not being pulled off the
304 mangled stack correctly.
305 15). Fix for mapping of rwx bits being incorrectly overwritten
306 when doing ATTRIB.EXE
307 16). Fix for returning multiple PDU packets in NT rpc code. Should
308 allow multiple shares to be returned correctly).
309 17). Improved mapping of NT open access requests into UNIX open
310 modes.
311 18). Fix for copying files from an NTFS volume that contain
312 multiple data forks. Added 'magic' error code NT needs.
313 19). Fixed crash bug when primary NT authentication server
314 is down, rolls over to secondaries correctly now.
315 20). Fixed timeout processing to be timer based. Now will
316 always occur even if smbd is under load.
317 21). Fixed signed/unsigned problem in quotas code.
318 22). Fixed bug where setting the password of a completely fresh
319 user would end up setting the account disabled flag.
320 23). Improved user logon messages to help admins having
321 trouble with user authentication.
322
323 Bugfixes added since 2.0.1
324 --------------------------
325
326 Note that due to a critical signal handling bug in 2.0.1,
327 this release has been removed and replaced immediately with 
328 2.0.2. The Samba Team would like to apologise for any problem
329 this may have caused.
330
331 1). Fixed smbd looping on SIGCLD problem. This was
332     caused by a missing break statement in a critical
333     piece of code.
334
335 Bugfixes added since 2.0.0
336 --------------------------
337
338 1). Autoconf changes for gcc2.7.x and Solaris 2.5/2.6
339 2). Autoconf changes to help HPUX configure correctly.
340 3). Autoconf changes to allow lock directory to be set.
341 4). Client fix to allow port to be set.
342 5). clitar fix to send debug messages to stderr.
343 6). smbmount race condition fix.
344 7). Fix for bug where trying to browse large numbers of shares
345     generated an error from an NT client.
346 8). Wrapper for setgroups for SunOS 4.x
347 9). Fix for directory deleting failing from multiuser NT.
348 10). Fix for crash bug if bitmap was full.
349 11). Fix for Linux genrand where /dev/random could cause 
350      clients to timeout on connect if the entropy pool was
351      empty.
352 12). The default PASSWD_CHAT may now be overridden in local.h
353 13). HPUX printing fixes for default programs.
354 14). Reverted (erroneous) code in MACHINE.SID generation that
355      was setting the sid to 0x21 - should be *decimal* 21.
356 15). Fix for printing to remote machine under SVR4.
357 16). Fix for chgpasswd wait being interrupted with EINTR.
358 17). Fix for disk free routine. NT and Win98 now correctly
359      show greater than 2GB disks.
360 18). Fix for crash bug in stat cache statistics printing.
361 19). Fix for filenames ending in .~xx.
362 20). Fix for access check code wait being interrupted with EINTR.
363 21). Fix for password changes from "invalid password" to a valid
364      one setting the account disabled bit.
365 22). Fix for smbd crash bug in SMBreadraw cache prime code.
366 23). Fix for overly zealous lock range overflow reporting.
367 24). Fix for large disk disk free reporting (NT SMB code).
368 25). Fix for NT failing to truncate files correctly.
369 26). Fix for smbd crash bug with SMBcancel calls.
370 27). Additional -T flag to nmblookup to do reverse DNS on addresses.
371 28). SWAT fix to start/stop smbd/nmbd correctly.
372
373 Major changes in Samba 2.0
374 --------------------------
375
376 This is a MAJOR new release of Samba, the UNIX based SMB/CIFS file 
377 and print server for Windows systems.
378
379 There have been many changes in Samba since the last major release,
380 1.9.18.  These have mainly been in the areas of performance and
381 SMB protocol correctness.  In addition, a Web based GUI interface
382 for configuring Samba has been added.
383
384 In addition, Samba has been re-written to help portability to
385 other POSIX-based systems, based on the GNU autoconf tool.
386
387 There are many major changes in Samba for version 2.0.  Here are 
388 some of them:
389
390 =====================================================================
391
392 1). Speed
393 ---------
394
395 Samba has been benchmarked on high-end UNIX hardware as out-performing
396 all other SMB/CIFS servers using the Ziff-Davis NetBench benchmark.
397 Many changes to the code to optimise high-end performance have been made.
398
399 2). Correctness
400 ---------------
401
402 Samba now supports the Windows NT specific SMB requests.  This
403 means that on platforms that are capable Samba now presents a
404 64 bit view of the filesystem to Windows NT clients and is
405 capable of handling very large files.
406
407 3). Portability
408 ---------------
409
410 Samba is now self-configuring using GNU autoconf, removing
411 the need for people installing Samba to have to hand configure
412 Makefiles, as was needed in previous versions.
413
414 You now configure Samba by running "./configure" then "make".  See
415 docs/textdocs/UNIX_INSTALL.txt for details.
416
417 4). Web based GUI configuration
418 -------------------------------
419
420 Samba now comes with SWAT, a web based GUI config system.  See
421 the swat man page for details on how to set it up.
422
423 5). Cross protocol data integrity
424 ---------------------------------
425
426 An open function interface has been defined to allow 
427 "opportunistic locks" (oplocks for short) granted by Samba
428 to be seen by other UNIX processes.  This allows complete
429 cross protocol (NFS and SMB) data integrety using Samba
430 with platforms that support this feature.
431
432 6). Domain client capability
433 ----------------------------
434
435 Samba is now capable of using a Windows NT PDC for user
436 authentication in exactly the same way that a Windows NT
437 workstation does, i.e. it can be a member of a Domain.  See
438 docs/textdocs/DOMAIN_MEMBER.txt for details.
439
440 7). Documentation Updates
441 -------------------------
442
443 All the reference parts of the Samba documentation (the
444 manual pages) have been updated and converted to a document
445 format that allows automatic generation of HTML, SGML, and
446 text formats.  These documents now ship as standard in HTML
447 and manpage format.
448
449 =====================================================================
450
451 NOTE - Some important option defaults changed
452 ---------------------------------------------
453
454 Several parameters have changed their default values.  The most
455 important of these is that the default security mode is now user
456 level security rather than share level security.
457
458 This (incompatible) change was made to ease new Samba installs
459 as user level security is easier to use for Windows 95/98 and
460 Windows NT clients.
461
462 ********IMPORTANT NOTE****************
463
464 If you have no "security=" line in the [global] section of 
465 your current smb.conf and you update to Samba 2.0 you will
466 need to add the line :
467
468 security=share
469
470 to get exactly the same behaviour with Samba 2.0 as you
471 did with previous versions of Samba.
472
473 ********END IMPORTANT NOTE*************
474
475 In addition, Samba now defaults to case sensitivity options that
476 match a Windows NT server precisely, that is, case insensitive 
477 but case preserving.
478
479 The default format of the smbpasswd file has also been
480 changed for this release, although the new tools will read
481 and write the old format, for backwards compatibility.
482
483 =====================================================================
484
485 NOTE - Primary Domain Controller Functionality
486 ----------------------------------------------
487
488 This version of Samba contains code that correctly implements
489 the undocumented Primary Domain Controller authentication
490 protocols.  However, there is much more to being a Primary
491 Domain Controller than serving Windows NT logon requests.
492
493 A useful version of a Primary Domain Controller contains
494 many remote procedure calls to do things like enumerate users, 
495 groups, and security information, only some of which Samba currently
496 implements. In addition, there are outstanding (known) bugs with
497 using Samba as a PDC in this release that the Samba Team are actively
498 working on. For this reason we have chosen not to advertise and 
499 actively support Primary Domain Controller functionality with this
500 release.
501
502 This work is being done in the CVS (developer) versions of Samba,
503 development of which continues at a fast pace.  If you are
504 interested in participating in or helping with this development
505 please join the Samba-NTDOM mailing list.  Details on joining
506 are available at :
507
508 <a href="http://samba.org/listproc/">http://samba.org/listproc/</a>
509
510 Details on obtaining CVS (developer) versions of Samba
511 are available at:
512
513 <a href="http://samba.org/cvs.html">http://samba.org/cvs.html</a>
514
515 =====================================================================
516
517 If you think you have found a bug please email a report to :
518
519         <a href="mailto:samba-bugs@samba.org">samba-bugs@samba.org</a>
520
521 As always, all bugs are our responsibility.
522
523 Regards,
524
525         The Samba Team.  
526
527 ----------------------------------------------------------------------
528 </pre>
529 <!--#include virtual="/samba/footer.html" -->