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