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">
6 <title>Samba - Release Notes Archive</title>
11 <h2>The Samba Team are pleased to announce Samba 2.2.5</h2>
15 The Samba Team is proud to announce the release of Samba 2.2.5.
17 This is the latest stable release of Samba. This is the version that all
18 production Samba servers should be running for all current bug-fixes.
20 There have been several fixes and internal enhancements which include:
22 * Several compile fixes for Solaris and HP-UX
23 * More printing fixes for Windows NT/2k/XP clients
24 * New options for the VFS recycle bin library
25 * New internal signal handling semantics relating to directory change
26 notification and oplocks
29 Binary packages will be released shortly for major platforms. The source
30 code can be downloaded from :
32 <a href="/samba/ftp">ftp://ftp.samba.org/pub/samba/</a>
34 in the file samba-2.2.5.tar.gz or samba-2.2.5.tar.bz2.
35 md5sum's are available in the same directory.
37 The release notes follow.
39 As always, all bugs are our responsibility.
47 WHAT'S NEW IN Samba 2.2.5 - 18th June 2002
48 ===========================================
50 This is the latest stable release of Samba. This is the version that all
51 production Samba servers should be running for all current bug-fixes.
53 There have been several fixes and internal enhancements which include:
55 * Several compile fixes for Solaris and HP-UX
56 * More printing fixes for Windows NT/2k/XP clients
57 * New options for the VFS recycle bin library
58 * New internal signal handling semantics relating to directory change
59 notification and oplocks
61 New/Changed parameters in 2.2.5
62 --------------------------------
64 For more information on these parameters, see the man pages for
67 Added/changed parameters
68 ------------------------
70 * block size = <INTEGER>
71 * force unknown acl user = <boolean>
72 * mangling method = [hash|hash2]
78 The following parameters have been marked as deprecated and will be removed
94 See the cvs log for SAMBA_2_2 for more details
96 1) Removal of several compiler warnings, incorrect Makefile dependencies,
97 and wrong autoconf tests on various platforms--Solaris & HP-UX 10.20
98 being the predominantly reported platforms
99 2) Fixed winbindd crash bug on the IBM s390 running Linux
100 3) Inclusion of enhanced Linux quota support
101 4) Correctly link against Sun LDAP libraries on Solaris 8 (even through
102 there is no apparent SSL support there)
103 5) POSIX conformance patches
104 6) Include new configure --enable-cups option (can also be disabled even
105 if CUPS libraries are installed on the system)
106 7) Set reasonable default for the "passwd program" parameter using an
108 8) Added --with-winbind-auth for enabling winbindd_pam_auth_crap() code
109 9) fixed bug to prevent root account from being deleted by the
111 10) Inclusion of autoconf script for building VFS modules
112 11) Add new run time options to the VFS recycle bin library (see
113 examples/VFS/recycle/README for details)
114 12) Include findsmb perl script as part of the "make install" process
115 13) Return correct error code for EnumPrinters(PRINTER_ENUM_REMOTE, InfoLevel1)
116 to fix a bug where printers appear at the workgroup level in the Windows
117 NT/2k APW browse list
118 14) Added support to nmblookup to return NMB flags (See nmblookup(8) for
120 15) Fix length bug that caused password changes from Windows NT/2k clients to
122 16) Correct false password expiration when using --with-ldapsam caused by
123 missing attributes in the directory
124 17) added -S option to smbpasswd for storing the SID of a domain controller
125 as the local machine SID in secrets.tdb. See the smbpasswd(8) man page
127 18) Various fixes for UNIX CIFS extensions commands
128 19) Fixed CIDR notation in "hosts allow/deny"
129 20) Change semantics of an idle connection to mean "no open files and no
130 open handles". We cannot idle a connection if there are open named
131 pipe handles. This fixes scalability problem on Samba print servers
132 and NT/2k clients introduced in 2.2.4
133 21) Fix germam umlaut problem when returning ACL entries
134 22) Return NT_STATUS_OBJECT_NAME_NOT_FOUND for ENOENT. This fixes the bug
135 of running the Microsoft Access executable (msaccess.exe) and database
136 files from a Samba share documented in the 2.2.4 release
137 23) Corrected signal handling relating to directory change notification and
139 24) Fix bug in unix_to_nt_time() that appeared on files dated close to Daylight
141 25) Corrected alignment bug in spoolss parsing code which caused Win2k/XP
142 clients not to be able to view printer properties from a Samba host
143 26) Fixed spoolss parsing bug causing printing from ACT! 2000 running on
144 Windows 2k/XP clients to fail
145 27) Fixed incorrect error check in mod_share_entry()
146 28) Allow %S variable in MS-DFS root paths
147 29) Correct a bug regarding the use of 'wbinfo -A'
148 30) Fixed libnss_wins.so to correctly work on RedHat 7.3 systems
149 31) Store the key for a name-to-sid cache entry in upper case rather than
150 whatever case the request was made in. This gets rid of duplicate
152 32) Fix bug causing the pid stored in winbindd's pid file to be the wrong id
153 33) Enhanced error reporting messages of wbinfo
154 34) Parameterize block size on disk size return
155 35) Added new parameter to allow incoming ACLs to have owner and group forced
156 to the currently logged in user. This fixes the XCOPY /O problem
157 36) Fixed bug in local_change_password() caused by reusing a struct
159 37) Change default value for "ldap port" to 389 if "ldap ssl = no"
160 38) Updated HOWTO's, manpages, and general documentation....
161 39) Allow root as well as domain admins to open an LDAP connection
162 40) Fixed veto files bug with ".*"
163 41) Fixed uninitialized variable bug in smbpasswd that was causing a random
164 IP address to be used in the connection when joining a domain
165 42) Fix for joining a domain with a netbios name of 15 characters and
166 pre-creating the account on the DC
167 43) Added links to new documentation on SWAT welcome page
170 =========================================
172 Older releases notes for 2.2.x distributions follow
174 -----------------------------------------------------------------------------
175 The release notes for 2.2.4 follow :
177 There have been several fixes and internal enhancements which include:
179 * More/better SPOOLSS printing functionality for Windows
181 * Several fixes relating to serving PC database files such
182 as (Access and FoxPro) from a Samba file share.
183 * Several improves in Samba's VFS layer which can be seen
184 in the inclusion of a "Recycle Bin" vfs module. See
185 examples/VFS/README for more details on this.
186 * Addition of a tool (tdbbackup) for backup/restore of Samba's
188 * Continued improvements to winbind for greater scalability
190 * Several fixes related to Samba's MS-DFS support
191 * Rpcclient's various printer commands now work (again)
194 New/Changed parameters in 2.2.4
195 --------------------------------
197 For more information on these parameters, see the man pages for
200 Added/changed parameters
201 ------------------------
209 * winbind use default domain
212 Deprecated parameters
213 ---------------------
215 The following parameters have been marked as deprecated
216 and will be removed in Samba 3.0
220 * printer driver file
221 * printer driver location
233 See the cvs log for SAMBA_2_2 for more details
235 1) added -c option to smbpasswd
236 2) reworked smbpasswd internal command line option parsing
237 3) small various bug fixes to experimental pdb_tdb.c
238 4) Enforce spoolss RPCs based on the access granted at PrinterOpen()
239 5) Added missing access checks to [add/delete/set]form
240 6) Compile fixes for pam_smbpass
241 7) fix smbd crash when netbios session request fails from
242 spoolss_connect_to_client().
243 8) fixed logic bug that prevent SetPrinter() from storing devmode
244 9) Removed extra get_printer_snum() calls from set_printer_hnd_name()
245 10) fix joining domain on big endian machine when using -U to smbpasswd
246 11) allow command line arg to override smb.conf log level
247 12) continue to retry to register 1b name with wins server if there is an old IP there
248 13) fix smbclient print crash bug
249 14) 9x pnp fix when the config file and driver file are different
250 15) force testparm to print the correct value for log level
251 16) fix swat to show full log level info
252 17) fix server GetPrinterData() fields to be more sensible
253 18) fix logic error in SetPrinterDataEx()
254 19) Only set smb_read_error if not already set
255 20) Fix string returns that require unicode
256 21) Merge of printing performance fixes from appliance
257 22) lpq parsing fixes
258 23) Back port tridge's xcopy /o fix from HEAD
259 24) Fix the printer change notify code (unfinished)
260 25) Patch for Domain users not showing up
261 26) Fixed SetPrinterData(magic key) to support zero length DEVMODE
262 27) Ensure that all methods of looking up and connecting to DC's work
263 using identical logic.
264 28) Merge in the mutex code to stop multiple domain logon failure
266 30) Fix winbindd to respect command line debuglevel as nmbd/smbd
267 31) Update with tdbbackup from HEAD
268 32) Fix for typo on solaris nss
269 33) Merge in the locking changes from HEAD
270 34) Added POSIX ACL layer into the vfs
271 35) Fix the returning of domain enum
272 36) Fix the generation of the MACHINE.SID file into the secrets.tdb.
273 37) Enable test for -rdynamic when building binaries
274 38) Remove the "stat open" code - make it inline
275 39) Fix the mp3 rename bug
276 40) Fix for Explorer DFS problems on older Windows 9X machines
277 41) implement OpenPrinter() opnum == 0x01
278 42) Matched W2K *insane* open semantics....
279 43) small fix that will prevent the "failed to marshall
280 R_NET_SAMLOGON" message in the logs
281 42) don't do checking of local passdb in smbpasswd if using -r option
282 43) fix "smbpasswd -j DOMAIN -r * -U Admin%XXXX" so that it doesn't
283 try to connect to a server named '*'
284 44) merge rpcclient code from HEAD
285 45) Ensure MACHINE.SID update done before child spawns
286 46) Fix the bad path errors for mkdir so mkdir \a\b\c\d works
287 47) Removed --with-vfs - always built if available
288 48) Fixed psec for 2.2
289 49) Fixed the handle leak in the connection management code
290 50) fix disable spoolss after the switch to nt status codes
291 51) Added Shirish's client side caching policy change
292 52) Honor the specversion when parsing the the DEVICEMODE
293 53) fix parsing bug when DEVICEMODE's private data does not end
295 54) do not idle an smbd when there is an open pipe
296 55) when a new driver is added to a Samba server, cycle through
297 all printers and bump the change_id for each one bound to the driver
298 56) allow smbclient to work with a FIFO as well (needed for KDE
300 57) various updates to pdb_nisplus.c
301 58) many small documentation updates
302 59) removed many compiler warnings
305 -----------------------------------------------------------------------------
306 The release notes for 2.2.3a follow :
308 This is a minor bugfix release for the 2.2.3 release. The 2.2.3
309 release had a problem that was visible to Windows 2000 Explorer
310 users in that copying files into a share that already existed
311 failed with "Access Denied" rather than asking the user if an
312 overwrite was required. This was due to an incorrect error mapping
313 between the UNIX EXIST error code and the NT status error.
315 As Windows Explorer is a highly visible end user application a quick
316 bugfix release was required, hence 2.2.3a.
318 Compilation on HPUX versions earlier than HPUX 11 has also been
321 The cvs.log file is no longer included with this release, as it adds
322 13Mb to the size of the release, and is easily available on the Web.
324 -----------------------------------------------------------------------------
325 The release notes for 2.2.3 follow :
327 There are several important scaling bugs that have been fixed in this release
328 for large server systems so an upgrade is recommended.
333 Much work has been done on the LDAP backend code. The configure
334 option --with-ldapsam is now considered to be stable. The schema
335 used has changed, see the file examples/LDAP/samba.schema for the
338 New documentation explaining how to set up a Samba only PDC/BDC
339 setup has been added in the files Samba-LDAP-HOWTO and Samba-BDC-HOWTO
340 in the documentation tree.
342 winbindd daemon extended
343 ------------------------
345 Samba 2.2.2 was the first release to include the winbind daemon.
346 This code allows UNIX systems that implement the name service
347 switch (nss) to be entered into a Windows NT/2000 domain and
348 use the Domain controller for all user and group enumeration.
350 Samba 2.2.3 fixes the known memory leaks in winbindd and has
351 been extended to work with SGI IRIX and HPUX (11.x) in addition
352 to the earlier targets of Linux and Solaris.
354 For more information on using winbind, see the man pages for
357 Note that winbindd is not installed by default.
359 New/Changed parameters in 2.2.3
360 --------------------------------
362 For more information on these parameters, see the man pages for
365 Added/changed parameters.
366 -------------------------
370 Enables the experimental UNIX CIFS extensions in smbd. See the manpage
375 Some printer drivers will crash the Windows NT/2000 spooler service
376 if they are given a default devmode, some require it. This parameter
377 allows the administrator a choice of whether smbd returns such a
378 default devmode for a driver.
382 This parameter has been restored to allow people who wish smbd to ignore
383 client share modes. This is *very dangerous* and should not be set without
384 full knowledge of what this is designed for.
389 1). Fixed shared library compile for Solaris with native compiler.
390 2). UNIX CIFS extensions code added (donated by HP).
391 3). Changed to using NT status codes on the wire if the client can support
393 4). altname command to show 8.3 name added to smbclient.
394 5). const-safe endian macros now used.
395 6). client code now uses UNICODE on the wire.
396 7). Correctly return fault PDU's on bad handle.
397 8). Improved NT error code mapping table.
398 9). Many new point and print RPC calls added.
399 10). Win9x clients can now see full user list.
400 11). field added to identify simultaneous open files (no longer
401 use dev/inode/time as unique value).
402 12). HPUX ACL code added (donated by HP).
403 13). vfs interfaces updated (again !).
404 14). MSDOS Code Page 866 -> 1251 mapping added.
405 15). winbindd now processes quit/hup signals correctly.
406 16). No tdb traversal done on startup/shutdown - ensures scalability.
407 17). Fix bug with paths for homes share.
408 18). Fixed copyfile for OS/2.
409 19). Fix group membership when groups are on more than one line.
410 20). Fixed core dumps in posix ACL mapping code.
411 21). Tidyup of UNICODE functions (put/get).
412 22). Move rpcclient to the new libsmb code.
413 23). Add missing Windows 2000 passthough trans2 calls.
414 24). Return check all tdb calls.
415 25). Make local name lookup work even if wins server is down.
416 26). pam session code added to winbind.
417 27). Added winbindd cache to all lookups.
418 28). Fix allocate bugs that caused file sizes to be incorrect.
419 29). Fixed write cache code - now safe to use.
420 30). Fixed winbindd memory leaks.
421 31). winbindd will now do name lookups (to allow non Open Source
422 systems to do the nsswitch WINS lookup). Fixed by SGI.
423 32). passdb memory leaks fixed.
424 33). LDAP code updates and now properly maintained.
425 34). Finally figured out how changeid is meant to work.
426 35). Downlevel printing now looks as NT does in print monitor window.
427 36). Many fixups in spoolss printing RPC parsing.
428 37). Speed up password enumeration as a PDC.
429 38). Fix printer changed notify messages (work from HP).
430 39). Fix modify timestamp on close code.
431 40). Fix long standing mangled names bug.
432 41). Fix delete on close semantics.
433 42). Stop opening all files with O_NONBLOCK !
434 43). Use O_NOFOLLOW for systems that have it and don't want symlinks.
435 44). Ensure NT supplementary groups get added to user token.
436 45). Try and mitigate effects of DNS timeout (do less lookups).
437 46). Added current user connection context stack.
438 47). Fixes to utmp code.
439 48). smbw code tidyups.
440 49). Added tdb open log code. Several tdb fixes.
442 -----------------------------------------------------------------------------
443 The release notes for 2.2.2 follow :
445 New daemon included - winbindd
446 ------------------------------
448 Samba 2.2.2 is the first release to include the winbind daemon.
449 This code allows UNIX systems that implement the name service
450 switch (nss) to be entered into a Windows NT/2000 domain and
451 use the Domain controller for all user and group enumeration.
453 This allows a Samba server added to a Windows domain to serve
454 file and print services with *NO* local users needed in /etc/passwd
455 and /etc/group - all users and groups are read directly from the
456 Windows domain controller. In addition with pam_winbind which allows
457 a PAM enabled UNIX system to use a Windows domain for authentication
458 service this allows single sign on and account control across
459 UNIX and Windows systems.
461 The current version of winbindd shipped in 2.2.2 does have some
462 memory leaks, which will be addressed for the next Samba release,
463 so it is advisable to monitor the winbind process. This code is
464 being used in production by several vendors, so the leaks are
465 manageable. In addition, this version of winbind does not work
466 correctly against a Samba PDC, due to some missing calls on the
467 PDC side. These problems are being addressed for the next Samba
468 release, but it was thought better to release the code now rather
469 than delay the main Samba code to match the winbind release schedule.
471 For more information on using winbind, see the man pages for
474 Note that winbindd is not installed by default.
476 New/Changed parameters in 2.2.2
477 -------------------------------
479 For more information on these parameters, see the man pages for
482 Added/changed parameters.
483 -------------------------
487 Causes Samba not to create UNIX 'sparse' files, but to follow the
488 Windows behavior of always allocating on-disk space.
492 Set to 'on' by default, only set to 'off' on HPUX 11.x or below or other
493 UNIX systems that don't have coherent mmap/read-write internal caches.
494 You should not need to set this parameter.
498 This parameter has been changed to a per-share option, and is very
499 useful in enabling Windows 2000 SP2 to load/save profiles from a
502 New printing parameters.
503 ------------------------
507 Setting this parameter causes Samba to go back to the old 2.0.x
508 LANMAN printing behavior, for people who wish to disable the
513 Causes Windows NT/2000 clients to need have a local printer driver
514 installed and to treat the printer as local.
519 Samba 2.2.2 contains new code to maintain a Samba SAM database
520 on a remote LDAP server. These parameters have been added as
521 part of this code. These parameters are only available when Samba
522 has been compiled with the --with-ldapsam option.
530 The SSL support in Samba has been fixed. These new parameters
531 are part of the changes added. These parameters are only available
532 when Samba has been compiled with the --with-ssl option.
533 Please see the smb.conf man page for details.
539 New winbindd parameters.
540 ------------------------
542 These parameters are used by winbindd. See the man page for
543 winbindd for details.
564 Some new README's have been added in the docs/ directory. These cover
565 using roving profiles with Windows 2000 SP2 (docs/README.Win2kSP2),
566 and how to use Samba to help prevent Windows virus spread
567 (docs/README.Win32-Viruses).
569 Quota problems on a Linux 2.4 kernel.
570 -------------------------------------
572 Currently the quota interfaces have diverged between the Linus
573 2.4.x kernels and the Alan Cox 2.4.x kernels (the Alan Cox variants
574 are shipped with RedHat). Running quota-enabled Samba compiled on
575 an Alan Cox kernel works correctly on an Alan Cox kernel (the one
576 shipped by default with RedHat 7.x) but fails on a Linus kernel.
578 This is a mess, and hopefully Alan and Linus will sort it out soon.
579 In the meantime we need to ship.....
584 1). mmap tdb code disabled on HPUX. This should prevent the reports of
585 tdb corruption on HUPX.
586 2). Large file support set to off in Solaris 5.5 and below.
587 3). Better CUPS detection.
588 4). New SAM (password database) backends - smbpasswd (traditional),
589 LDAP, NIS+ and Samba TDB.
590 5). Quota fixups on Linux.
591 6). libsmbclient stand-alone code added. Can be built as a shared library
593 7). Tru64 ACL support added.
594 8). winbindd option added.
595 9). Realloc fail tidyup fixes all over the code.
596 10). Large improvement in hash table code efficiency - would be found with
598 11). Error code consistency improved (still needs more work).
599 12). Profile shared memory support added to nmbd.
600 13). New Windows 2000/NT passthrough info levels added.
601 14). readraw/writeraw code rewritten - many bugs fixed.
602 15). UNIX password sync (non pam) code fixed, use correct wildcard matcher.
603 16). Reverse DNS lookup avoided on socket open.
604 17). Bug preventing nmbd re-registering names on WINS server timeout fixed.
605 18). Zero length byte range lock code added. Much closer to Windows semantics.
606 19). Alignment fault fixes for Linux/Alpha.
607 20). Error checking on tdb returns vastly improved.
608 21). Handling of delete on close fixed. No longer possible to leave 'dead'
610 22). Handling of oplock break failure cleanups improved. Should not be
611 able to leave 'dead' entries.
612 23). Fix handling of errors trying to set 64 bit locks on 32 bit NFS mounts.
613 24). Misc. MS-DFS code fixes.
614 25). Ignore logon packets if not a PDC (needed for PDC/BDC failover).
615 26). winbind pam module added.
616 27). Order N^^2 enumeration of printers problem fixed.
617 28). Password backend database code re-ordered to allow different password
618 backends (at compile time currently).
619 29). Improved print driver version detection for Windows 2000.
620 30). Driver DEVMODE initialization fixes.
621 31). Improved SYSV print parse code.
622 32). Fixed enumeration of large numbers of users/groups from Windows clients.
624 33). Fix for buggy NetApp RPC pipe clients.
625 34). Fix for NT sending multiple SetPrinterDataEx calls.
626 35). Fix for logic bug where smbd could delay oplock break request messages
627 from other smbd daemons whilst client kept us busy.
628 36). Fix deadlock problem with connections tdb on enumeration.
629 37). Fixes for setting/getting NT ACLs - improved POSIX mapping both ways.
630 38). Removed unused readbmpx/writebmpx code.
631 39). Attempt to fix Linux 2.4.x quota mess.
632 40). Improved ctemp code for Windows 2000 compatibility.
633 41). Finally understood difference between set EOF and set allocation requests.
634 Added strict allocate parameter to help.
635 42). Correctly return name types on name to SID lookups.
636 43). tdb spinlock code update.
637 44). Use pread/pwrite on systems that have it to fix race condition in tdb code.
639 -----------------------------------------------------------------------------
640 The release notes for 2.2.1a follow :
642 This is a minor bugfix release for 2.2.1, *NOT* security related.
644 1). 2.2.1 had a bug where using smbpasswd -m to add a Windows NT or
645 Windows2000 machine into a Samba hosted PDC would fail due to our
646 stricter user name checking. We were disallowing user names
647 containing '$', which is needed when using smbpasswd to add a
648 machine into a domain. Automatically adding machines (using the
649 native Windows tools) into a Samba domain worked correctly.
651 2.2.1a fixes this single problem.
653 -----------------------------------------------------------------------------
654 The release notes for 2.2.1 follow :
656 New/Changed parameters in 2.2.1
657 -------------------------------
662 obey pam restrictions
664 When Samba is configured to use PAM, turns on or off Samba checking
665 the PAM account restrictions. Defaults to off.
669 When Samba is configured to use PAM, turns on or off Samba passing
670 the password changes to PAM. Defaults to off.
674 New option to allow new Windows 2000 large file (64k) streaming
675 read/write options. Needs a 64 bit underlying operating system
676 (for Linux use kernel 2.4 with glibc 2.2 or above). Can improve performance
677 by 10% with Windows 2000 clients. Defaults to off. Not as tested
678 as some other Samba code paths.
682 Prevents clients from seeing the existence of files that cannot
683 be read. Off by default.
687 Turn on/off the enhanced Samba browsing functionality (*1B names).
688 Default is "on". Can prevent eternal machines in workgroups when
689 WINS servers are not synchronized.
701 1). "find" command removed for smbclient. Internal code now used.
702 2). smbspool updates to retry connections from Michael Sweet.
703 3). Fix for mapping 8859-15 characters to UNICODE.
704 4). Changed "security=server" to try with invalid username to prevent
706 5). Fixes to allow Windows 2000 SP2 clients to join a Samba PDC.
707 6). Support for Windows 9x Nexus tools to allow security changes from Win9x.
708 7). Two locking fixes added. Samba 2.2.1 now passes the Clarion network
709 lock tester tool for distributed databases.
710 8). Preliminary support added for Windows 2000 large file read/write SMBs.
711 9). Changed random number generator in Samba to prevent guess attacks.
712 10). Fixes for tdb corruption in connections.tdb and file locking brlock.tdb.
713 smbd's clean the tdb files on startup and shutdown.
714 11). Fixes for default ACLs on Solaris.
715 12). Tidyup of password entry caching code.
716 13). Correct shutdowns added for send fails. Helps tdb cleanup code.
717 14). Prevent invalid '/' characters in workgroup names.
718 15). Removed more static arrays in SAMR code.
719 16). Client code is now UNICODE on the wire.
720 17). Fix 2 second timestamp resolution everywhere if dos timestamp set to yes.
721 18). All tdb opens now going through logging function.
722 19). Add pam password changing and pam restrictions code.
723 20). Printer driver management improvements (delete driver).
724 21). Fix difference between NULL security descriptors and empty
725 security descriptors.
726 22). Fix SID returns for server roles.
727 23). Allow Windows 2000 mmc to view and set Samba share security descriptors.
728 24). Allow smbcontrol to forcibly disconnect a share.
729 25). tdb fixes for HPUX, OpenBSD and other OS's that don't have a coherent
730 mmap/file read/write cache.
731 26). Fix race condition in returning create disposition for file create/open.
732 27). Fix NT rewriting of security descriptors to their canonical form for
734 28). Fix for Samba running on top of Linux VFAT ftruncate bug.
735 29). Swat fixes for being run with xinetd that doesn't set the umask.
736 30). Fix for slow writes with Win9x Explorer clients. Emulates Microsoft
737 TCP stack early ack specification error.
738 31). Changed lock & persistent tdb directory to /var/cache/samba by default on
739 RedHat and Mandrake as they clear the /var/lock/samba directory on reboot.
741 -----------------------------------------------------------------------------
742 The release notes for 2.2.0a follow :
747 This is a security bugfix release for Samba 2.2.0. This release provides the
748 following two changes *ONLY* from the 2.2.0 release.
750 1). Fix for the security hole discovered by Michal Zalewski (lcamtuf@bos.bindview.com)
751 and described in the security advisory below.
752 2). Fix for the hosts allow/hosts deny parameters not being honoured.
754 No other changes are being made for this release to ensure a security fix only.
755 For new functionality (including these security fixes) download Samba 2.2.1
756 when it is available.
758 The security advisory follows :
761 IMPORTANT: Security bugfix for Samba
762 ------------------------------------
770 A serious security hole has been discovered in all versions of Samba
771 that allows an attacker to gain root access on the target machine for
772 certain types of common Samba configuration.
774 The immediate fix is to edit your smb.conf configuration file and
775 remove all occurances of the macro "%m". Replacing occurances of %m
776 with %I is probably the best solution for most sites.
781 A remote attacker can use a netbios name containing unix path
782 characters which will then be substituted into the %m macro wherever
783 it occurs in smb.conf. This can be used to cause Samba to create a log
784 file on top of an important system file, which in turn can be used to
785 compromise security on the server.
787 The most commonly used configuration option that can be vulnerable to
788 this attack is the "log file" option. The default value for this
789 option is VARDIR/log.smbd. If the default is used then Samba is not
790 vulnerable to this attack.
792 The security hole occurs when a log file option like the following is
795 log file = /var/log/samba/%m.log
797 In that case the attacker can use a locally created symbolic link to
798 overwrite any file on the system. This requires local access to the
801 If your Samba configuration has something like the following:
803 log file = /var/log/samba/%m
805 Then the attacker could successfully compromise your server remotely
806 as no symbolic link is required. This type of configuration is very
809 The most commonly used log file configuration containing %m is the
810 distributed in the sample configuration file that comes with Samba:
812 log file = /var/log/samba/log.%m
814 in that case your machine is not vulnerable to this attack unless you
815 happen to have a subdirectory in /var/log/samba/ which starts with the
821 Thanks to Michal Zalewski (lcamtuf@bos.bindview.com) for finding this
828 While we recommend that vulnerable sites immediately change their
829 smb.conf configuration file to prevent the attack we will also be
830 making new releases of Samba within the next 24 hours to properly fix
831 the problem. Please see http://www.samba.org/ for the new releases.
833 Please report any attacks to the appropriate authority.
838 ---------------------------------------------------------------------------
840 The release notes for 2.2.0 follow :
842 This is the official Samba 2.2.0 release. This version of Samba provides
843 the following new features and enhancements.
845 Integration between Windows oplocks and NFS file opens (IRIX and Linux
846 2.4 kernel only). This gives complete data and locking integrity between
847 Windows and UNIX file access to the same data files.
849 Ability to act as an authentication source for Windows 2000 clients as
850 well as for NT4.x clients.
852 Integration with the winbind daemon that provides a single
853 sign on facility for UNIX servers in Windows 2000/NT4 networks
854 driven by a Windows 2000/NT4 PDC. winbind is not included in
855 this release, it currently must be obtained separately. We are
856 committed to including winbind in a future Samba 2.2.x release.
858 Support for native Windows 2000/NT4 printing RPCs. This includes
859 support for automatic printer driver download.
861 Support for server supported Access Control Lists (ACLs).
862 This release contains support for the following filesystems:
866 Linux Kernel with ACL patch from http://acl.bestbits.at
867 Linux Kernel with XFS ACL support.
870 FreeBSD (with external patch)
872 Other platforms will be supported as resources are
873 available to test and implement the necessary modules. If
874 you are interested in writing the support for a particular
875 ACL filesystem, please join the samba-technical mailing
876 list and coordinate your efforts.
878 On PAM (Pluggable Authentication Module) based systems - better debugging
879 messages and encrypted password users now have access control verified via
880 PAM - Note: Authentication still uses the encrypted password database.
882 Rewritten internal locking semantics for more robustness.
883 This release supports full 64 bit locking semantics on all
884 (even 32 bit) platforms. SMB locks are mapped onto POSIX
885 locks (32 bit or 64 bit) as the underlying system allows.
887 Conversion of various internal flat data structures to use
888 database records for increased performance and
891 Support for acting as a MS-DFS (Distributed File System) server.
893 Support for manipulating Samba shares using Windows client tools
894 (server manager). Per share security can be set using these tools
895 and Samba will obey the access restrictions applied.
897 Samba profiling support (see below).
899 Compile time option for enabling a (Virtual file system) VFS layer
900 to allow non-disk resources to be exported as Windows filesystems
901 (such as databases etc.).
903 The documentation in this release has been updated and converted
904 from Yodl to DocBook 4.1. There are many new parameters since 2.0.7
905 and some defaults have changed.
909 Support for collection of profile information. A shared
910 memory area has been created which contains counters for
911 the number of calls to and the amount of time spent in
912 various system calls, smb transactions and nmbd activity. See
913 the file profile.h for a complete listing of the information
914 collected. Sample code for a samba pmda (collection agent
915 for Performance Co-Pilot) has been included in the pcp
918 To enable the profile data collection code in samba, you must
919 compile samba with profile data support (run configure with
920 the --with-profiling-data option). On startup, collection of
921 data is disabled. To begin collecting data use the smbcontrol
922 program to turn on profiling (see the smbcontrol man page).
923 Profile information collection can be enabled for nmbd, all smbd
924 processes or one or more selected processes. The profiling
925 data collected is the aggregate for all processes that have
928 With samba compiled for profile data collection, you may see
929 a very slight degradation in performance even with profiling
930 collection turned off. On initial tests with NetBench on an
931 SGI Origin 200 server, this degradation was not measurable
932 with profile collection off compared to no profile collection
935 With count profile collection enabled on all clients, the
936 degradation was less than 2%. With full profile collection
937 enabled on all clients, the degradation was about 8.5%.
939 =====================================================================
941 If you think you have found a bug please email a report to :
945 As always, all bugs are our responsibility.