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