This commit was manufactured by cvs2svn to create tag
[Samba/gbeck.git] / WHATSNEW.txt
blobd3b9043e04693363ac8633978c1225df169b1c92
1               WHATS NEW IN Samba 2.0.9
2               ========================
4 Samba 2.0.9 is a security bugfix release. Previous versions of Samba
5 had a bug with the handling of temporary files that allows local users
6 to destroy data on local devices. This bug was discovered during a
7 routine security audit by Caldera. While no exploitation of this bug
8 is known to have occurred it is fairly easy to exploit so sites with
9 untrusted local users should take the threat seriously.
11 The only changes in 2.0.9 are the security updates. This is to
12 maximise stability for those sites that cannot afford to risk any
13 other sort of update. For most sites the Samba Team recommends that
14 the new 2.2.x version of Samba be used instead, as that provides not
15 only the security fixes but much greater functionality and many more
16 bug fixes.
19 Samba Team
20 May 2001
22 NOTE: The Samba 2.0.8 release was supposed to fix this security hole,
23 but didn't.
27 Previous release notes from 2.0.7
28 ---------------------------------
30 This is the latest stable release of Samba. This is the
31 version that all production Samba servers should be running
32 for all current bug-fixes.
34 New Documentation in 2.0.7
35 --------------------------
37 O'Reilly and Associates have donated their book "Using Samba"
38 to the Samba community to be updated in a collaberative way
39 along with the Samba software. Starting with this release the
40 html of "Using Samba" will be distributed with the Samba software
41 as the online documentation for Samba. Bug fixes for the book
42 are encouraged as is new material. Please help us make this
43 documentation the best it can be for Samba !
45 SWAT (Samba Web Administration Tool) has been updated to
46 add a link to the full text of "Using Samba" from the start
47 screen.
49 Note that this does not mean that the other documentation
50 (man pages especially) are being abandoned. The Samba Team
51 is still committed to updating and improving *all* the 
52 documentation shipped with Samba.
54 Also, as the source code for the book is moved into a more
55 manageable format (not raw HTML) we are committed to making
56 it available for editing by all interested parties. The
57 current situation of only shipping HTML with the Samba software
58 is a first attempt at getting this documentation integrated
59 with the Samba software and should not be regarded as the only
60 way in which this material will be made available (it was just
61 the quickest way to get the book integrated into 2.0.7 :-).
63 Windows 2000 Issues
64 -------------------
66 This version of Samba has been tested with Windows 2000 and
67 the five known incompatibilities with Windows 2000 have been
68 fixed. See the "Changes in 2.0.7" list below for details.
70 New/Changed parameters in 2.0.7
71 -------------------------------
73 There is a new option to the autoconf "./configure" script.
74 This is the "--with-utmp" (and attendant "--without-utmp")
75 option. Running configure with this option will cause smbd
76 to attempt to use utmp accounting for users who log on and
77 log off to the Samba server.
79 There are 5 new parameters in the smb.conf file.
81 utmp
82 utmp dir
83 utmp hostname
84 utmp consolidate
85 wtmp directory
87 These parameters are only available if the "--with-utmp"
88 option was selected at configure time. The yes/no option "utmp"
89 specifies whether utmp records should be recorded on user
90 logon/logoff. It defaults to "no". The "utmp dir" and "wtmp dir"
91 are string parameters specifying pathnames to the directories containing
92 the utmp/wtmp file databases. See the smb.conf man page for more details.
94 inherit permissions
96 This boolean parameter causes newly created files and directories
97 to inherit their initial permissions from their parent directory.
98 This can be very useful in propagating such things as the set-group
99 bit in directory heirarchies. See the smb.conf man page for more
100 details.
102 write cache size
104 This integer parameter specifies (in bytes) the size of a user level
105 per-file write cache that smbd will create for an oplocked file. This
106 can improve performance significantly for writing files by causing
107 writes to be done in large chunk sizes. If this parameter is set (it
108 defaults to zero which means no write cache) to the stripe size of
109 a raid volume then it will cause writes to be much more efficient.
110 Up to 10 write caches can be active simultaneously per smbd (allocated
111 for the first 10 oplocked file opens). All normal warnings about the
112 dangers of user level caching of data apply. See the smb.conf man page
113 for more details.
115 source environment 
117 This pathname parameter causes Samba to read a list of environment
118 variables from a named file on startup. This can be useful in setting
119 up Samba in a clustered environment. See the smb.conf man page for more
120 details.
122 Ability to delete users added
123 -----------------------------
125 SWAT and smbpasswd can now delete users from the Samba smbpasswd file.
126 See the man page for smbpasswd for details.
128 Roving profile behavior finalized
129 ---------------------------------
131 The change in behavior with roving profiles (using the "logon home"
132 parameter instead of the "logon path" parameter) introduced in 2.0.6
133 has been discovered to be consistant with the way Windows NT behaves,
134 and has been left as the default action. Please see the additional
135 notes in the "logon home" parameter description in the smb.conf man
136 page for more details.
138 Changes in 2.0.7
139 -----------------
141 1). Fix for the semaphore promblems when compiling Samba with gcc on
142 SGI IRIX 6.5.x.
143 2). Quota support for Veritas filesystem added by David Lee.
144 3). Incoming RPC code re-written to support multiple PDU input from
145 the client. This should make the RPC subsystem more robust.
146 4). Fix from Ying Chen @ IBM to inline many frequently called functions. This
147 decreased CPU usage by 10%.
148 5). Fix from Ying Chen @ IBM to use a hash table to lookup entries in the file
149 cache. This is a significant improvement over the old linked-list
150 lookup code.
151 6). smbclient issues with native language support fixed. smbclient
152 now uses UNIX filename character sets exclusively when communicating
153 with libsmb library.
154 7). smbclient fix to not print error messages when "putting" an
155 empty file.
156 8). smbclient fix to cope with spaces in filenames when recursing.
157 9). Improved error reporting in smbclient when getting browse lists.
158 10). NetBIOS "scope" now supported in all Samba code/tools.
159 11). New mapping from code page 850 to UNIX "roman8" character set.
160 12). Fix for crash bug if debug file handle couldn't be opened.
161 13). Fix to allow mkdir to correctly set the high order permissions 
162 bits for UNIX's that don't allow this by default.
163 14). Fix to dynamically allocate group array for setgroups. Don't
164 depend on NGROUPS_MAX being correctly defined in header files.
165 15). Fix for crash bug in floating point in snprintf.
166 16). "Safe" version of popen() included to allow use in code such
167 as "source environment" patch.
168 17). Fix for SWAT for trailing '\n' in asctime().
169 18). Wildcard match fix from weidel@multichart.de for NT wildcard
170 processing.
171 19). unix_mask_match fixes for "veto files" parameter.
172 20). Fix for system call bug when configuring on Linux kernel 2.0.x
173 with glibc2.1.x.
174 21). SO_REUSEPORT socket option added for HPUX.
175 22). All recv() calls changed back to read() to fix Solaris 2.5.x bug.
176 23). Some UNICODE conversion fixes. Not complete yet.
177 24). NetShareEnum fix for Windows 2000. Don't ask for 64K as Win2k
178 can't cope with this (returns "Out of memory" error).
179 25). Fixes for cli_error() crashes.
180 26). Fix for crash when connecting to password server by DNS name
181 not NetBIOS name.
182 27). Fix bug in demangling of compacted NetBIOS names.
183 28). Fixes for slow locking code for VMS.
184 29). Reply to short NetLogon packet in nmbd with short reply.
185 30). Correctly allign userdata to prevent crashes in nmbd.
186 31). Use talloc() in string buffer rotation code to prevent overwrites.
187 32). Added multi-byte awareness to parameter loading code.
188 33). Re-wrote password file modification code. We can now delete users
189 atomically. Original patch from Bruce Tenison.
190 34). Fixed bug in parsing smbpasswd type entries.
191 35). Fixes from HP to the windows registry RPC emulation.
192 36). Added ability to return RPC fault PDU to unknown calls. Needed to
193 allow Windows 2000 to return UNIX permissions as NT ACLs.
194 37). utmp code patch from T.D.Lee@durham.ac.uk. Not available on all
195 platforms - test with ./configure.
196 38). Inherit permissions fix from David Lee.
197 39). Added write caching code for oplocked files.
198 40). Workaround for new bug in Windows 2000 where NT file create using
199 NTtransact call sends UNICODE without bothering to set the UNICODE flag
200 bit.
201 41). Workaround for new bug in Windows 2000 where it attempts to re-write
202 existing ACLs to make them inherit only.
203 42). Removed unused mmap code.
204 43). Added correct implementation of share mode deny table. We now match
205 Windows NT.
206 44). Fix recursion bug with group enumeration.
207 45). Fix from Bjart Kvarme to take into account changed machine passwords
208 that haven't yet propagated from PDC to BDC.
209 46). Correctly skip two byte length field when accepting RPC "start of
210 message" packets in SMBwriteX on pipes.
211 47). Added auto-detection of Windows 2000 clients.
212 48). Fix bug with rollback of POSIX locks if a lock in a range fails to
213 apply.
214 49). Fix bug with registering startup smbd's in flat file.
215 50). Ensure usernames are converted correctly between DOS codepages
216 and UNIX character sets.
217 51). Fix for timestamps being set incorrectly on copied files from
218 Paul Eggert.
219 52). Fix for parsing HP specific printer definitions in make_printerdef.
220 53). Fix for smbclient doing an 'ls' on large directories from OS/2 servers
221 from Christoph Pfisterer.
222 54). Fix for WINS server code where "do you still want name?" request was
223 being sent to the wrong IP address.
224 55). Fixed "recursion desired" bits set in nmbd so we are identical to
225 Windows NT.
226 56). nmbd now should process logon packets from Win95, Win98 and both
227 versions of the NT logon packet.
228 57). Correctly set parameter offset value for first trans2 reply.
229 58). Win2K will only accept volume labels in UNICODE.
230 59). Ensure nmbd doesn't attempt to use the loopback interface when
231 registering names.
232 60). Fixed bug where smbd didn't return '.' or '..' on top level
233 share directory listing.
234 61). Fix for soft quotas not being set (make them equal to hardquota)
235 from Norbert PĆ¼schel (Pueschel.Norbert@Walzbarren-VAW.ne.uunet.de).
236 62). SWAT fixes for SCO UnixWare (SIGPIPE handling).
237 63). Fix for nmbd DOS with redirect recursion.
238 64). Fix for log files growing without bound from Mattias Gronlund.
239 65). Fix for smbd crash bug in truncate is locked.
240 66). Memory leak fix in mangle name code.
242 Older release notes for Samba 2.0.x follow.
244 Previous Release notes for 2.0.6
245 ---------------------------------
247 New/Changed parameters in 2.0.6
248 -------------------------------
250 There are 6 new parameters in the smb.conf file.
252 wins hook
254 This parameter allows an external program to be called
255 on all changes to a Samba WINS database, allowing dynamic
256 DNS updates.
258 debug hires timestamp
259 debug pid
260 debug uid
262 The above 3 parameters provide greater debug information.
264 preexec close
265 rootpreexec close
267 The above 2 parameters control the action taken on the
268 success or failure of a 'preexec' script.
270 There is also one removed parameter.
272 mangle locks
274 The addition of these new parameters and the removal of the old
275 is described in more detail in the smb.conf man page,
277 When using "security=domain" the "password server"
278 parameter can now be set to the string "*', which will
279 cause Samba to search for Domain controllers in the
280 same way that Windows NT does. See the smb.conf man
281 page for more details.
283 The "interfaces" parameter in smb.conf can now be dynamically
284 detected on startup and can also now take an interface name
285 such as eth0. See the smb.conf man page for the details
286 on the new features of the "interfaces" parameter.
287 nmbd has been enhanced to use this feature.
289 The syntax for the Linux-specific smbmount command has been changed
290 and is now compatible with the standard mount command. See the modified
291 smbmount man page for details.
293 Support for the UNIX CUPS printer standard has been added.
294 See www.cups.org for details. Thanks to the folks at Easy Software
295 Products for this code. Set the printcap name to "cups" to
296 enable this. See the smb.conf man page for details.
298 Changes in 2.0.6
299 -----------------
301 1). 64-bit locking removed from Linux autoconf build. This fixes
302 several Linux specific locking issues.
303 2). Crash bug fix in smbclient recursive processing. Fix from
304 E. Jay Berkenbilt (ejb@ql.org).
305 3). "history" command added to smbclient if readline available.
306 4). smbtar - updates files and directory message on restore.
307 5). smbmnt - 'u', 'g', 'r', 'f', 'd' options added by Andrew. See
308 man page for details.
309 6). smbmount updated to be useable by autofs on Linux. See the
310 samba/examples/autofs/README file for details.
311 7). Bug fixed where TCP_NODELAY was not being used by default in smbd.
312 8). Many oplock fixes. Samba now waits 30 seconds, not 45. Also
313 smbd no longer aborts on client break failure, but logs a message
314 and continues. This is what NT does. This should fix many "oplock
315 break" message problems people have been having.
316 9). New code from Andrew to dynamically detect interfaces. nmbd will
317 now attempt to dynamically detect interface changes and register names
318 as an interface goes "up".
319 10). Win95 ioctl for print jobs added by Matt.
320 11). Mapping for ISO8859-1 extended for codepage 437 and 850.
321 12). Code Page 737 -> ISO-8859-7 (Greek-Hellenic) mapping added.
322 13). Character strings now correctly converted from UNIX character set
323 format to DOS codepage when read from smb.conf or external passwd or
324 group files. Samba is now much more careful about what format external
325 strings should be converted to/from.
326 14). snprintf crash fix for IRIX 6.2 and below.
327 15). Increased timestamp debug fixes (adds milliseconds and uid/pid if
328 requested).
329 16). Optimisation for wildcard exact match requests.
330 17). Win95 wildcard semantics fix - unused code removed.
331 18). 'mangle locks' parameter removed. This now done automatically.
332 19). setXid() routines re-written to provide asserts and also to fix
333 AIX versions prior to 4.1.x.
334 20). MSG_WAITALL optimisation removed due to bugs in FreeBSD.
335 21). Length fix when writing UNICODE string.
336 22). oplock processing added to libsmb client code.
337 23). Added more client error message strings.
338 24). Fix bug with connecting to encrypted server when non-encrypted
339 password given.
340 25). In security=domain, password server extended to search for DC's
341 if parameter = '*'.
342 26). "root did not create samaphore" bug fixed.
343 27). random generator initialized early to prevent icons not showing
344 up in Win9x.
345 28). Logging fix after SIGHUP.
346 29). WINS hook external call added when nmbd is a WINS server.
347 30). Support for CUPS printer protocol added by Michael Sweet.
348 31). Support for NIS+ backend password database updates.
349 32). Handle dashes in print job id's. Fix from Dom.Mitchell@palmerharvey.co.uk
350 33). Race condition in UNIX password sync on some platforms fixed by Matt.
351 34). Dirptr leak from Win98 fixed.
352 35). Logic bug in handling of level II oplocks fixed.
353 36). smbd crash bug fix when opening directories.
354 37). Paranoia oplock fix from Charles Hoch (hoch@exemplary.com)
355 38). Fix Win2k problem where DCE/RPC is done on SMBwrite as well as SMBwriteX.
356 39). Fix Win95 redirector alignment bug that caused oplock break failures.
357 40). Preexec close code added.
358 41). Extra sanity checks in testparm code.
359 42). oplock tests added to smbtorture.
360 43). Tell SWAT user if logged in as root or not.
361 44). Solaris packaging fixes donated by VERITAS.
363 Older release notes for Samba 2.0.x follow.
365 Previous Release notes for 2.0.5a
366 ---------------------------------
368 IMPORTANT NOTE !
369 ----------------
371 Version 2.0.5a of Samba contains three security bugfixes for
372 problems in previous versions of Samba found by Olaf Kirch of
373 Caldera Systems (www.caldera.com). The Samba Team would like
374 to publicly thank Olaf for his help in doing a security review
375 of our code and finding these bugs.
377 The three bugs are one potentially exploitable buffer overrun
378 bug (although no current exploits are known) in smbd and two
379 denial of service bugs in nmbd. By default the smbd bug was not
380 exploitable as shipped (the problem parameter was disabled by
381 default) but instructions on protecting any version of Samba
382 prior to 2.0.5 are included below.
384 All these bugs have been fixed in Samba 2.0.5 and 2.0.5a.
386 If using any version of Samba prior to 2.0.5 the administrator
387 *MUST NOT* enable the "message command" parameter in smb.conf,
388 and *MUST* remove any "message command" that is listed in any
389 existing smb.conf file. No known instances of this attack being
390 exploited have been reported.
392 All Samba versions of nmbd prior to 2.0.5 are vulnerable to a
393 denial of service attack causing nmbd to either crash or to go
394 into an infinite loop. No known instances of this attack being
395 exploited have been reported.
397 New/Changed parameters in 2.0.5 and 2.0.5a.
398 -------------------------------------------
400 There are 5 new parameters in the smb.conf file.
402 security mask
403 force security mode
404 directory security mask
405 force directory secruty mode
406 level2 oplocks
408 The first 4 parameters are used to control the UNIX permissions bits
409 that an NT client is allowed to modify. These parameters are now
410 used instead of the older "create" parameters that were used in
411 2.0.4 to allow an administrator to separate the two functions.
413 Use of these new parameters is described in the smb.conf man page,
414 and also in the documents :
416 docs/textdocs/NT_Security.txt
417 docs/htmldocs/NT_Security.html
419 The fifth new parameter is described in the following section.
421 Level II oplocks
422 ----------------
424 Samba 2.0.5 now implements level2 oplocks. As this is new
425 code this parameter is set to "off" by default. The benefit
426 of level2 oplocks is to allow read-only file caching from
427 multiple clients. This is of great speed benefit to shares
428 that are serving application executable programs (.EXE's)
429 that are usually not written to. To learn more about using
430 level 2 oplocks read the parameter description in the smb.conf
431 documentation or read the file :
433 docs/textdocs/Speed.txt.
435 Changes in 2.0.5a
436 -----------------
438 1). Fix for smbd crash bug in string_sub(). smbd was miscalculating
439 memmove lengths on multiple '%' substitutions.
440 2). Fix for wildcard matching bug for old DOS programs running on Win9x.
441 3). Fix for Windows NT client changing passwords against a Samba server,
442 intermittently failing.
443 4). Fix for PPP link being detected as primary interface if using the
444 same IP address as the primary.
445 5). Ensure smbmount is built with RPM build.
447 Changes in 2.0.5
448 ----------------
450 1). smbmount for Linux systems has been re-written to use
451 the libsmb code and clientutil.c is no longer used with it.
452 2). A bug preventing directory opens using the NT SMB calls
453 has been fixed.
454 3). A related bug causing a file structure leak when directory
455 opens were denied has been fixed.
456 4). Fix for glibc2.1 bug on 32-bit systems being reported as 64
457 bit.
458 5). Prevent timestamps of 0 or -1 corrupting file timestamps.
459 6). Fix for unusual delays when browsing shares using Windows
460 2000 - fix added by Matt.
461 7). Fix for smbpassword reading problems on Sparc Linux was fixed.
462 8). Fix for compiling with SSL library.
463 9). smbclient fix for crash when doing CR/LF conversion.
464 10). smbclient now reports short read errors.
465 11). smbclient now uses remote server workgroup to list servers by default.
466 12). smbclient now has -b option to change transmit/send buffer size.
467 13). smbclient fix for corrupting files when issuing multiple outstanding
468 read requests.
469 14). Printing bug where Linux was using SYSV printing by default fixed.
470 Linux now set to be BSD printing by default.
471 15). Change for Linux to use SYSV shared memory by default.
472 16). Fix for using IP_TOS options on some systems.
473 17). Fix for some systems that complained about static struct passwd
474 buffers being modified.
475 18). Range checking applied to all string substitutions. Theoretically
476 not a bug, but much more rebust now.
477 19). Level II oplocks implemented.
478 20). Fix for Win2K client printing added.
479 21). Always allow loopback (127.0.0.1) connects unless specifically denied.
480 22). Patch for FreeBSD interface detection code from Archie Cobbs (archie@whistle.com).
481 23). Return correct status from smbrun.
482 24). snprintf fixes for floating point numbers.
483 25). Force directories to always have zero size.
484 26). Fix for "force group" and "force user" options. "force user" now
485 always uses primary group of user as well. Force group now enhanced with '+'
486 semantics (see smb.conf man page for details).
487 27). Wildcard matching fix to get closer to WinNT semantics for Win9x clients.
488 28). Potential crash bug fixed in wildcard matching code. This bug could also
489 cause smbd to sometimes not see exact file matches.
490 29). Read/write for sockets changed to use revc/send to allow optimisations
491 later.
492 30). Oplocks added to client library.
493 31). Several purify fixes in IPC code.
494 32). nmbd crash bug in processing strange NetBIOS names fixed.
495 33). nmbd loop bug in processing strange NetBIOS names fixed.
496 34). Paranoia fixes to processing of incoming WinPopup messages in smbd.
497 35). Share mode code now auto initialised.
498 36). Detect dead processes in IPC lock code.
499 37). Explicit -V version switch added to command line processing.
500 38). WORKGROUP(1b) name processing with no WINS server fixed.
501 39). Win2k client detection code added by Matt.
502 40). Fix to allow really short changenotify times to be honoured.
503 41). Fix for NT delete finding the wrong file from Tine Smukavec
504 (valentin.smukavec@hermes.si)
505 42). SWAT fix to prevent stderr messages from breaking the Web client.
506 43). testparm fixes to check more parameter conflicts.
507 44). Relative paths not fetched via SWAT in CGI scripts.
508 45). SWAT remote password change - remote host name not treated as a
509 password field any more.
511 Changes in 2.0.4b
512 -----------------
514 A bug with MS-Word 97 saving files with zero UNIX permissions
515 was fixed. Even though a workaround is available (set force
516 create mode = 644 on the share) Word is such an important
517 application that a point fix was neccessary.
519 Changes in 2.0.4a
520 -----------------
522 The text and html versions of NT_Security were missing from
523 the shipping tarball. Also a compile bug for platforms that
524 don't have usleep was fixed.
526 Changes in 2.0.4
527 ----------------
529 There are 5 new parameters and one modified parameter in
530 the smb.conf file.
532 allow trusted domains
533 restrict anonymous
534 mangle locks
535 oplock break wait time
536 oplock contention limit
538 The modified parameter is :
540 nt acl support
542 Bugfixes added since 2.0.3
543 --------------------------
545 1). Fix for 8 character password problem when using HPUX and
546 plaintext passwords.
547 2). --with-pam option added to ./configure.
548 3). Client fixes for memory leak and display of 64 bit values.
549 4). Fixes for -E and -s option with smbclient.
550 5). smbclient now allows -L //server or -L \\server
551 6). smbtar fix for display of 64 bit values.
552 7). Endian independence added to DCE/RPC code.
553 8). DCE/RPC marshalling/unmarshalling code re-written to provide
554 overflow reporting and sign and seal support.
555 9). Bind NAK reply packet added to DCE/RPC code, used to correctly
556 refuse bind requests (prevents NT system event log messages).
557 10). Mapping of UNIX permissions into NT ACL's for get and set
558 added.
559 11). DCE/RPC enumeration of numbers of shares made dynamic. 
560 Samba now has no limit on the number of exported shares seen.
561 12). Fix to speed up random number seed generation on /dev/urandom
562 being unavailable.
563 13). Several memory fixes added by running Purify on the code.
564 14). Read from client error messages improved.
565 15). Fixed endianness used in UNICODE strings.
566 16). Cope with ERRORmoredata in an RPC pipe client call.
567 17). Check for malformed responses in nmbd register name.
568 18). NT Encrypted password changing from the NT password dialog box
569 now fully implmented.
570 19). Mangle 64-bit lock ranges into 32-bits (NT bug!) on a 32-bit
571 Samba platform.
572 20). Allow file to be pseudo-openend in order to read security only.
573 21). Improve filename mangling to reduce chance of collisions.
574 22). Added code to prevent granting of oplocks when a file is under
575 contention.
576 23). Added tunable wait time before sending an oplock break request
577 to a client if the client caused the break request. Helps with clients
578 not responding to oplock breaks.
579 24). Always respond negatively to queued local oplock break messages
580 before shutdown. This can prevent "freezes" on an oplock error.
581 25). Allow admin to restrict logons to correct domain when in domain
582 level security.
583 26). Added "restrict anonymous" patch from Andy (thwartedefforts@wonky.org)
584 to prevent parameter substitution problems with anonymous connections.
585 27). Fix SMBseek where seeking to a negative number sets the offset
586 to zero.
587 28). Fixed problem with mode getting corrupted in trans2 request
588 (setting to zero means please ignore it).
589 29). Correctly become the authenticated user on an authenticated
590 DCE/RPC pipe request.
591 30). Correctly reset debug level in nmbd if someone set it on the
592 command line.
593 31). Added more checking into testparm
594 32). NetBench simulator added to smbtorture by Andrew.
595 33). Fixed NIS+ option compile (was broken in 2.0.3).
596 34). Recursive smbclient directory listing fix. Patch from E. Jay Berkenbilt
597 (ejb@ql.org)
599 Bugfixes added since 2.0.2
600 --------------------------
602 1). --with-ssl configure now include ssl include directory. Fix
603 from Richard Sharpe.
604 2). Patch for configure for glibc2.1 support (large files etc.).
605 3). Several bugfixes for smbclient tar mode from Bob Boehmer
606 (boehmer@worldnet.att.net) to fix smbclient aborting problems
607 when restoring tar files.
608 4). Some automount fixes for smbmount.
609 5). Attempt to fix the AIX 4.1.x/3.x problems where smbd runs as
610 root. As no-one has given us root access to such a server this
611 cannot be tested fully, but should work.
612 6). Crash bug fix in debug code where *real* uid rather than 
613 *effective* uid was being checked before attempting to rotate
614 log files. This fix should help a *lot* of people who were
615 reporting smbd aborting in the middle of a copy operation.
616 7). SIGALRM bugfix to ensure infinate file locks time out.
617 8). New code to implement NT ACL reporting for cacls.exe program.
618 9). UDP loopback socket rebind fix for Solaris.
619 10). Ensure all UNICODE strings are correctly in little-endian
620 format.
621 11). smbpasswd file locking fix.
622 12). Fixes for strncpy problems with glibc2.1.
623 13). Ensure smbd correctly reports major and minor version number
624 and server type when queried via NT rpc calls.
625 14). Bugfix for short mangled names not being pulled off the
626 mangled stack correctly.
627 15). Fix for mapping of rwx bits being incorrectly overwritten
628 when doing ATTRIB.EXE
629 16). Fix for returning multiple PDU packets in NT rpc code. Should
630 allow multiple shares to be returned correctly).
631 17). Improved mapping of NT open access requests into UNIX open
632 modes.
633 18). Fix for copying files from an NTFS volume that contain
634 multiple data forks. Added 'magic' error code NT needs.
635 19). Fixed crash bug when primary NT authentication server
636 is down, rolls over to secondaries correctly now.
637 20). Fixed timeout processing to be timer based. Now will
638 always occur even if smbd is under load.
639 21). Fixed signed/unsigned problem in quotas code.
640 22). Fixed bug where setting the password of a completely fresh
641 user would end up setting the account disabled flag.
642 23). Improved user logon messages to help admins having
643 trouble with user authentication.
645 Bugfixes added since 2.0.1
646 --------------------------
648 Note that due to a critical signal handling bug in 2.0.1,
649 this release has been removed and replaced immediately with 
650 2.0.2. The Samba Team would like to apologise for any problem
651 this may have caused.
653 1). Fixed smbd looping on SIGCLD problem. This was
654     caused by a missing break statement in a critical
655     piece of code.
657 Bugfixes added since 2.0.0
658 --------------------------
660 1). Autoconf changes for gcc2.7.x and Solaris 2.5/2.6
661 2). Autoconf changes to help HPUX configure correctly.
662 3). Autoconf changes to allow lock directory to be set.
663 4). Client fix to allow port to be set.
664 5). clitar fix to send debug messages to stderr.
665 6). smbmount race condition fix.
666 7). Fix for bug where trying to browse large numbers of shares
667     generated an error from an NT client.
668 8). Wrapper for setgroups for SunOS 4.x
669 9). Fix for directory deleting failing from multiuser NT.
670 10). Fix for crash bug if bitmap was full.
671 11). Fix for Linux genrand where /dev/random could cause 
672      clients to timeout on connect if the entropy pool was
673      empty.
674 12). The default PASSWD_CHAT may now be overridden in local.h
675 13). HPUX printing fixes for default programs.
676 14). Reverted (erroneous) code in MACHINE.SID generation that
677      was setting the sid to 0x21 - should be *decimal* 21.
678 15). Fix for printing to remote machine under SVR4.
679 16). Fix for chgpasswd wait being interrupted with EINTR.
680 17). Fix for disk free routine. NT and Win98 now correctly
681      show greater than 2GB disks.
682 18). Fix for crash bug in stat cache statistics printing.
683 19). Fix for filenames ending in .~xx.
684 20). Fix for access check code wait being interrupted with EINTR.
685 21). Fix for password changes from "invalid password" to a valid
686      one setting the account disabled bit.
687 22). Fix for smbd crash bug in SMBreadraw cache prime code.
688 23). Fix for overly zealous lock range overflow reporting.
689 24). Fix for large disk disk free reporting (NT SMB code).
690 25). Fix for NT failing to truncate files correctly.
691 26). Fix for smbd crash bug with SMBcancel calls.
692 27). Additional -T flag to nmblookup to do reverse DNS on addresses.
693 28). SWAT fix to start/stop smbd/nmbd correctly.
695 Major changes in Samba 2.0
696 --------------------------
698 This is a MAJOR new release of Samba, the UNIX based SMB/CIFS file 
699 and print server for Windows systems.
701 There have been many changes in Samba since the last major release,
702 1.9.18.  These have mainly been in the areas of performance and
703 SMB protocol correctness.  In addition, a Web based GUI interface
704 for configuring Samba has been added.
706 In addition, Samba has been re-written to help portability to
707 other POSIX-based systems, based on the GNU autoconf tool.
709 There are many major changes in Samba for version 2.0.  Here are 
710 some of them:
712 =====================================================================
714 1). Speed
715 ---------
717 Samba has been benchmarked on high-end UNIX hardware as out-performing
718 all other SMB/CIFS servers using the Ziff-Davis NetBench benchmark.
719 Many changes to the code to optimise high-end performance have been made.
721 2). Correctness
722 ---------------
724 Samba now supports the Windows NT specific SMB requests.  This
725 means that on platforms that are capable Samba now presents a
726 64 bit view of the filesystem to Windows NT clients and is
727 capable of handling very large files.
729 3). Portability
730 ---------------
732 Samba is now self-configuring using GNU autoconf, removing
733 the need for people installing Samba to have to hand configure
734 Makefiles, as was needed in previous versions.
736 You now configure Samba by running "./configure" then "make".  See
737 docs/textdocs/UNIX_INSTALL.txt for details.
739 4). Web based GUI configuration
740 -------------------------------
742 Samba now comes with SWAT, a web based GUI config system.  See
743 the swat man page for details on how to set it up.
745 5). Cross protocol data integrity
746 ---------------------------------
748 An open function interface has been defined to allow 
749 "opportunistic locks" (oplocks for short) granted by Samba
750 to be seen by other UNIX processes.  This allows complete
751 cross protocol (NFS and SMB) data integrety using Samba
752 with platforms that support this feature.
754 6). Domain client capability
755 ----------------------------
757 Samba is now capable of using a Windows NT PDC for user
758 authentication in exactly the same way that a Windows NT
759 workstation does, i.e. it can be a member of a Domain.  See
760 docs/textdocs/DOMAIN_MEMBER.txt for details.
762 7). Documentation Updates
763 -------------------------
765 All the reference parts of the Samba documentation (the
766 manual pages) have been updated and converted to a document
767 format that allows automatic generation of HTML, SGML, and
768 text formats.  These documents now ship as standard in HTML
769 and manpage format.
771 =====================================================================
773 NOTE - Some important option defaults changed
774 ---------------------------------------------
776 Several parameters have changed their default values.  The most
777 important of these is that the default security mode is now user
778 level security rather than share level security.
780 This (incompatible) change was made to ease new Samba installs
781 as user level security is easier to use for Windows 95/98 and
782 Windows NT clients.
784 ********IMPORTANT NOTE****************
786 If you have no "security=" line in the [global] section of 
787 your current smb.conf and you update to Samba 2.0 you will
788 need to add the line :
790 security=share
792 to get exactly the same behaviour with Samba 2.0 as you
793 did with previous versions of Samba.
795 ********END IMPORTANT NOTE*************
797 In addition, Samba now defaults to case sensitivity options that
798 match a Windows NT server precisely, that is, case insensitive 
799 but case preserving.
801 The default format of the smbpasswd file has also been
802 changed for this release, although the new tools will read
803 and write the old format, for backwards compatibility.
805 =====================================================================
807 NOTE - Primary Domain Controller Functionality
808 ----------------------------------------------
810 This version of Samba contains code that correctly implements
811 the undocumented Primary Domain Controller authentication
812 protocols.  However, there is much more to being a Primary
813 Domain Controller than serving Windows NT logon requests.
815 A useful version of a Primary Domain Controller contains
816 many remote procedure calls to do things like enumerate users, 
817 groups, and security information, only some of which Samba currently
818 implements. In addition, there are outstanding (known) bugs with
819 using Samba as a PDC in this release that the Samba Team are actively
820 working on. For this reason we have chosen not to advertise and 
821 actively support Primary Domain Controller functionality with this
822 release.
824 This work is being done in the CVS (developer) versions of Samba,
825 development of which continues at a fast pace.  If you are
826 interested in participating in or helping with this development
827 please join the Samba-NTDOM mailing list.  Details on joining
828 are available at :
830 http://samba.org/listproc/
832 Details on obtaining CVS (developer) versions of Samba
833 are available at:
835 http://samba.org/cvs.html
837 =====================================================================
839 If you think you have found a bug please email a report to :
841         samba@samba.org
843 As always, all bugs are our responsibility.
845 Regards,
847         The Samba Team.