WHATSNEW: Prepare release notes for Samba 3.5.2.
[Samba/bb.git] / WHATSNEW.txt
bloba96a7da35a6f21cb8049ce6b5c4dc5ce209d95f6
1                    =============================
2                    Release Notes for Samba 3.5.2
3                            April 7, 2010
4                    =============================
7 This is the latest stable release of Samba 3.5.
9 Major enhancements in Samba 3.5.2 include:
11   o Fix smbd segfaults in _netr_SamLogon for clients sending null domain
12     (bug #7237).
13   o Fix smbd segfaults in "waiting for connections" message (bug #7251).
14   o Fix an uninitialized variable read in smbd (bug #7254).
15   o Fix a memleak in Winbind (bug #7278).
16   o Fix Winbind reconnection to it's own domain (bug #7295).
19 Changes since 3.5.1
20 -------------------
23 o   Michael Adam <obnox@samba.org>
24     * BUG 7231: Fix automatic building of vfs_tsmsm if gpfs and dmapi are
25       present.
26     * BUG 7313: Make 'net conf addshare' atomic.
27     * BUG 7314: Eliminate race condition in creating/scanning sorted subkeys in
28       the registry backend.
31 o   Jeremy Allison <jra@samba.org>
32     * BUG 7075: Fix bug in vfs_scannedonly rmdir implementation.
33     * BUG 7159: Fix handling of bad server data returns in client rpc_transport.
34     * BUG 7234: Symlink delete fails but incorrectly reports success to client.
35     * BUG 7255: Fix "printer admin" functionality.
36     * BUG 7283: Fix smbd segfault if using vfs_acl_tdb.
37     * BUG 7297: Fix smbd crashes with CUPS printers and no [printers] share defined.
38     * BUG 7310: Fix DOS attribute inconsistency with MS Office.
41 o   Kai Blin <kai@samba.org>
42     * BUG 7290: Fix core dump in 'ntlm_auth' with "gss-spnego" helper.
45 o   Günther Deschner <gd@samba.org>
46     * BUG 6727: Fix several printing issues.
47     * BUG 7237: Fix smbd segfaults in _netr_SamLogon for clients sending
48       null domain.
49     * BUG 7256: Fix value-needed calculation in_spoolss_EnumPrinterData().
50     * BUG 7258: Fix _winreg_QueryValue crash bugs and implement Windows
51       behavior.
54 o   Holger Hetterich <hhetter@novell.com>
55     * BUG 7203: Fix 'net share' command.
58 o   Michael Karcher <samba@mkarcher.dialup.fu-berlin.de>
59     * BUG 7269: Fix job management commands for CUPS queues.
62 o   Jeff Layton <jlayton@redhat.com>
63     * BUG 6853: Fix race condition in mount.cifs that allows user to replace
64       mountpoint with a symlink.
67 o   Volker Lendecke <vl@samba.org>
68     * BUG 5198: Fix parsing of the gecos field.
69     * BUG 7202: Fix access by multi-threaded applications.
70     * BUG 7212: Fix returning of group members with 'getent group'.
71     * BUG 7216: Fix the build of net_afs.c with --fake-kaserver=yes.
72     * BUG 7229: Fix a NULL pointer dereference in smbd.
73     * BUG 7254: Fix an uninitialized variable read in smbd.
74     * BUG 7278: Fix a memleak in Winbind.
77 o   Roel van Meer <rolek@alt001.com>
78     * BUG 6814: Fix valgrind warning.
81 o   Stefan Metzmacher <metze@samba.org>
82     * BUG 7170: Never mark external domains as internal in Winbind.
83     * BUG 7225: Make Winbind logs more verbose for troubleshooting.
84     * BUG 7251: Fix smbd segfault in "waiting for connections" message.
85     * BUG 7295: Fix Winbind reconnection to it's own domain.
88 o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
89     * BUG 1206: Fix segfault if hide files or veto files has no ".AppleDouble".
92 o   Simo Sorce <idra@samba.org>
93     * BUG 7204: Fix DN parsing name was always null.
96 o   Bo Yang <boyang@samba.org>
97     * BUG 7206: Signals are processed twice in child.
101 ######################################################################
102 Reporting bugs & Development Discussion
103 #######################################
105 Please discuss this release on the samba-technical mailing list or by
106 joining the #samba-technical IRC channel on irc.freenode.net.
108 If you do report problems then please try to send high quality
109 feedback. If you don't provide vital information to help us track down
110 the problem then you will probably be ignored.  All bug reports should
111 be filed under the Samba 3.5 product in the project's Bugzilla
112 database (https://bugzilla.samba.org/).
115 ======================================================================
116 == Our Code, Our Bugs, Our Responsibility.
117 == The Samba Team
118 ======================================================================
121 Release notes for older releases follow:
122 ----------------------------------------
124                    =============================
125                    Release Notes for Samba 3.5.1
126                             March 8, 2010
127                    =============================
130 This is a security release in order to address CVE-2010-0728.
133 o  CVE-2010-0728:
134    In Samba releases 3.5.0, 3.4.6 and 3.3.11, new code
135    was added to fix a problem with Linux asynchronous IO handling.
136    This code introduced a bad security flaw on Linux platforms if the
137    binaries were built on Linux platforms with libcap support.
138    The flaw caused all smbd processes to inherit CAP_DAC_OVERRIDE
139    capabilities, allowing all file system access to be allowed
140    even when permissions should have denied access.
143 Changes since 3.5.0
144 -------------------
147 o   Jeremy Allison <jra@samba.org>
148     * BUG 7222: Fix for CVE-2010-0728.
151 ######################################################################
152 Reporting bugs & Development Discussion
153 #######################################
155 Please discuss this release on the samba-technical mailing list or by
156 joining the #samba-technical IRC channel on irc.freenode.net.
158 If you do report problems then please try to send high quality
159 feedback. If you don't provide vital information to help us track down
160 the problem then you will probably be ignored.  All bug reports should
161 be filed under the Samba 3.5 product in the project's Bugzilla
162 database (https://bugzilla.samba.org/).
165 ======================================================================
166 == Our Code, Our Bugs, Our Responsibility.
167 == The Samba Team
168 ======================================================================
171 ----------------------------------------------------------------------
174                    =============================
175                    Release Notes for Samba 3.5.0
176                             March 1, 2010
177                    ===============================
180 This is the first stable release of Samba 3.5.
183 Major enhancements in Samba 3.5.0 include:
185 General changes:
186 o Add support for full Windows timestamp resolution
187 o The Using Samba HTML book has been removed.
188 o 'net', 'smbclient' and libsmbclient can use credentials cached by Winbind.
189 o The default value of "wide links" has been changed to "no".
191 Protocol changes:
192 o Experimental implementation of SMB2
194 Printing Changes:
195 o Add encryption support for connections to a CUPS server
197 Winbind changes:
198 o Major refactoring
199 o Asynchronous
201 VFS modules:
202 o New vfs_scannedonly module has been added.
205 General changes:
206 ================
208 Support for full Windows timestamp resolution has been added. This effectively
209 makes us use Windows' full 100ns timestamp resolution if supported by the
210 kernel (2.6.22 and higher) and the glibc (2.6 and higher).
212 The Using Samba HTML book has been removed from the Samba tarball.
213 It is still available at http://www.samba.org/samba/docs/using_samba/toc.html.
215 Samba client tools like 'net', 'smbclient' and libsmbclient can use the user
216 credentials cached by Winbind at logon time. This is very useful e.g. when
217 connecting to a Samba server using Nautilus without re-entering username and
218 password. This feature is enabled by default and can be disabled per application
219 by setting the LIBSMBCLIENT_NO_CCACHE environment variable.
221 The default value of "wide links" has been changed to "no" to avoid an insecure
222 default configuration ("wide links = yes" and "unix extensions = yes"). For
223 more details, please see http://www.samba.org/samba/news/symlink_attack.html.
226 Protocol changes
227 ================
229 An EXPERIMENTAL implementation of the SMB2 protocol has been added. SMB2 can be
230 enabled by setting "max protocol = smb2". SMB2 is a new implementation of the
231 SMB protocol used by Windows Vista and higher.
233 Printing Changes
234 ================
236 A new parameter "cups encrypt" has been added to control whether connections to
237 CUPS servers will be encrypted or not. The default is to use unencrypted
238 connections.
240 Winbind changes
241 ===============
243 The Winbind daemon has been refactored internally to be asynchronous. The new
244 Winbind will not be blocked by running 'getent group' or 'getent passwd'.
246 VFS modules
247 ===========
249 A new VFS module "scannedonly" has been added. This is a filter that
250 talks to an antivirus-engine and stores whether a file is clean or not.
251 Users do only see clean files on their filesystem.
254 ######################################################################
255 Changes
256 #######
258 smb.conf changes
259 ----------------
261    Parameter Name                      Description     Default
262    --------------                      -----------     -------
264    create krb5 conf                    New             yes
265    ctdb timeout                        New             0
266    cups encrypt                        New             no
267    debug hires timestamp               Changed Default yes
268    ldap deref                          New             auto
269    ldap follow referral                New             auto
270    nmbd bind explicit broadcast        New             no
271    wide links                          Changed Default no
274 New configure options
275 ---------------------
277 --enable-external-libtdb        Enable external tdb
278 --enable-netapi                 Turn on netapi support
279 --enable-pthreadpool            Enable pthreads pool helper support
280 --with-cifsumount               Include umount.cifs (Linux only) support
281 --with-codepagedir=DIR          Where to put codepages
284 Commit Highlights
285 =================
287 o   Björn Jacke <bj@sernet.de>
288     * Add support for full Windows timestamp resolution.
289     * Add encryption support for connections to a CUPS server.
292 o   Volker Lendecke <vl@samba.org>
293     * Major internal refactoring of the Winbind daemon.
294     * Make Winbind asynchronous.
295     * Make 'net', 'smbclient' and libsmbclient use the logon credentials cached
296       by Winbind.
299 o   Stefan Metzmacher <metze@samba.org>
300     * Implement the new SMB2 protocol (experimental).
303 Changes since 3.5.0rc3
304 ----------------------
307 o   Günther Deschner <gd@samba.org>
308     * BUG 7181: Fix 'net ads dns' usage calls.
309     * BUG 7182: Fix uninitialized variable in wkssvc_enumerateusers.
312 o   Volker Lendecke <vl@samba.org>
313     * BUG 7145: Fix duplicate sam and unix accounts.
314     * BUG 7166: Avoid calling cli_alloc_mid twice in cli_smb_req_iov_send.
317 o   Stefan Metzmacher <metze@samba.org>
318     * BUG 7160: Keep the the correct negotiate_flags on the cli->dc structure.
321 Changes since 3.5.0rc2
322 ----------------------
325 o   Jeremy Allison <jra@samba.org>
326     * BUG 6557: Fix vfs_full_audit.
327     * BUG 6876: Fix duplicate initializer in the rmdir module.
328     * BUG 7063: Fix core dump on Ubuntu 8.04 64 bit.
329     * BUG 7067: Fix failing of smbd to respond to a read or a write caused by
330       Linux asynchronous IO (aio).
331     * BUG 7069: Fix 'smbget' error status.
332     * BUG 7072: Fix unlocking of accounts from ldap.
333     * BUG 7079  Cliconnect gets realm wrong with trusted domains.
334     * BUG 7081: Fix vfs_expand_msdfs.
335     * BUG 7084: Fix storing of create time on directories in an EA in new
336       create time code.
337     * BUG 7104: "wide links" and "unix extensions" are incompatible.
338     * BUG 7118: Fix nmbd problems with socket address.
339     * BUG 7122: Fix reading of large browselist.
340     * BUG 7154: "mangling method = hash" can crash storing a name containing a '.'.
341     * BUG 7155: Valgrind Conditional jump or move depends on uninitialised
342       value(s) error when "mangling method = hash"..
345 o   Steven Danneman <steven.danneman@isilon.com>
346     * BUG 7096: Fix string buffer overflow causing heap corruption in smbd.
349 o   Günther Deschner <gd@samba.org>
350     * BUG 6888: Fix printing with 64 bit clients.
351     * BUG 7130: Fix listing of printjobs in  Windows 7.
352     * BUG 7148: Fix get_acl_blob in the acl_tdb VFS module.
355 o   Björn Jacke <bj@sernet.de>
356     * BUG 7103: Fix build issue on Tru64.
357     * BUG 7116: Change ldap filter to what really was intended.
358     * Fix some wrong newlines in de translation strings.
361 o   Jeff Layton <jlayton@redhat.com>
362     * BUG 6868: Fix crash bug in 'cifs.upcall'.
365 o   Volker Lendecke <vl@samba.org>
366     * BUG 7085: Fix an early release of the global lock that can cause data
367       corruption in libtdb.
368     * BUG 7139: Owner of file not available with Kerberos.
371 o   Stefan Metzmacher <metze@samba.org>
372     * BUG 6888: Fix printing with 64 bit clients.
373     * BUG 7098: Fix results of 'smbclient -L' with a large browse list.
374     * BUG 7116: Add pdb_ldap performance fixes.
375     * BUG 7118: Add new "nmbd bind explicit broadcast" parameter.
376     * BUG 7119: Support large browselist.
377     * BUG 7140: Fix IPv4/IPv6 problems.
380 o   Lars Müller <lars@samba.org>
381     * BUG 7071: Fix build of 'smbfilter'.
382     * BUG 7047: Add cross option to samba_cv_linux_getgrouplist_ok.
383     * BUG 7102: Normalize "Changing password for" msg IDs and STRs.
386 o   Olivier Sessink <olivier@virtscano.fakenet>
387     * BUG 7076: Fix build of vfs_scannedonly on AIX.
390 o   Bo Yang <boyang@samba.org>
391     * BUG 7106: Fix malformed require_membership_of_sid.
395 Changes since 3.5.0rc1
396 ----------------------
399 o   Michael Adam <obnox@samba.org>
400     * BUG 4347: Check password history before increasing "badPasswordCount".
403 o   Jeremy Allison <jra@samba.org>
404     * BUG 5202: Fix changing of ACLs on writable file with "dos filemode=yes".
405     * BUG 6876: Fix deletion of an object whose parent folder does not have delete
406       rights fails even if the delete right is set on the object in
407       vfs_acl_xattr and vfs_acl_tdb.
408     * BUG 7033: Fix SMBrmdir error message when deleting a directory fails.
409     * BUG 7036: Fix 'net rpc getsid' in hardened Windows environments.
410     * BUG 7045: Fix bad (non memory copying) interfaces in smbc_setXXXX calls.
413 o   Giovanni Bajo <rasky@develer.com>
414     * BUG 7029: Disable sanity check in NetShareEnum for better compatibility
415       with Windows.
418 o   Kai Blin <kai@samba.org>
419     * BUG 7039: Fix compile error with WITH_DNS_UPDATE. Update .po files.
422 o   Günther Deschner <gd@samba.org>
423     * BUG 7043: Fix crash bug in libsmbclient.
426 o   André Hentschel <nerv@dawncrow.de>
427     * BUG 7039: Complete German translation of 'net'.
430 o   Björn Jacke <bj@sernet.de>
431     * BUG 7039: Improve some German translations in 'net'.
434 o   William Jojo <w.jojo@hvcc.edu>
435     * BUG 7052: Fix DFS on AIX.
438 o   Volker Lendecke <vl@samba.org>
439     * BUG 6981: Fix large paged search with DirX LDAP servers.
440     * BUG 7027: Fix a segfault in winbindd_dual_ccache_ntlm_auth().
441     * BUG 7037: Fix a Winbind segfault in "trusted_domains".
442     * BUG 7046: Fix libsmbclient crash against OpenSolaris CIFS server.
443     * BUG 7062: Make 'net', 'smbclient' and libsmbclient use the logon
444       credentials cached by Winbind.
445     * Lock down some srvsvc calls according to what w2k3 seems to do.
448 o   Stefan Metzmacher <metze@samba.org>
449     * BUG 6157: Restore Samba 3.0.x behavior and use the first "uid" value in
450       pdb_ldap.
453 o   SASAJIMA Toshihiro <sasajima_t@jp.fujitsu.com>
454     * BUG 7034: Fix segfault in vfs_cap.
457 o   Olivier Sessink <oliviersessink@gmail.com>
458     * BUG 7028: Add new scannedonly VFS module.
461 Changes since 3.5.0pre2
462 -----------------------
464 o   Jeremy Allison <jra@samba.org>
465     * BUG 6837: Fix "Too many open files" when trying to access large number of
466       files with Windows 7.
467     * BUG 6939: Fix long filenames when "mangling method" is set to "hash".
468     * BUG 7020: Fix smbd using 2G memory.
469     * Ensure dos_mode can return FILE_ATTRIBUTE_NORMAL, then filter the returned
470       attributes by protocol level.
471     * Vector correctly through reply_openerror() (which uses the same logic).
472     * Fix bugs with the full Windows ACL support.
475 o   Kai Blin <kai@samba.org>
476     * Add a few missing gettext calls to the 'net' command.
477     * Fix up a share type translation and translate some more strings in 'net'.
480 o   Günther Deschner <gd@samba.org>
481     * Allow to call "pdbedit -N description -u user" without specifiyng "-r".
482     * Add spoolss_DriverInfo7.
483     * Fix rpcclient after setprinter IDL fixes.
484     * Use generated krb5.conf in 'net ads testjoin'.
487 o   Jonas Gorski <jonas.gorski+samba@gmail.com>
488     * BUG 6992: make test for getgrouplist cacheable.
491 o   André Hentschel <nerv@dawncrow.de>
492     * Add some German translations for the 'net' command.
495 o   Suresh Jayaraman <sjayaraman@suse.de>
496     * Update mount.cifs man page with nounix option.
499 o   Volker Lendecke <vl@samba.org>
500     * Fix _samr_GetAliasMembership for results with 0 rids.
501     * Fix an error case in cli_negprot.
502     * Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc.
503     * Restore correct timeouts for SMB requests.
504     * Fix a 64-bit error in libsmb.
505     * Replace IS_DOMAIN_OFFLINE by a function in Winbind.
506     * Simplify/cleanup Winbind code.
509 o   Kamen Mazdrashki <kamen.mazdrashki@postpath.com>
510     * Fix write behind memory block in libtalloc.
511     * Fix result check for getaddrinfo().
514 o   Jim McDonough <jmcd@samba.org>
515     * BUG 7014: Fix Winbind crash when retrieving empty group members.
518 o   Brian Lu <brian.lu@sun.com>
519     * BUG 6991: Create symbol links to shared libraries.
522 o   Stefan Metzmacher <metze@samba.org>
523     * Add tsocket_address_bsd_sockaddr() and tsocket_address_bsd_from_sockaddr()
524       to tsocket.
525     * Always set tdb->tracefd to -1 to be safe on goto fail in libtdb.
526     * Add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behavior.
527     * Fix standalone 'make installdocs'.
530 o   Peter Rosin <peda@lysator.liu.se>
531     * Output %p as unsigned in snprintf replacement.
534 o   Ronnie Sahlberg <ronniesahlberg@gmail.com>
535     * New attempt at TDB transaction nesting allow/disallow.
538 o   Kirill Smelkov <kirr@mns.spb.ru>
539     * Remove swig stuff from libtdb.
540     * Reset tdb->fd to -1 in tdb_close() in libtdb.
543 o   Simo Sorce <idra@samba.org>
544     * Change the way mksysms work in libtalloc.
547 o   Jelmer Vernooij <jelmer@samba.org>
548     * Also build and install tdb manpages from standalone tdb.
551 o   Bo Yang <boyang@samba.org>
552     * Fix infinite loop in NCACN_IP_TCP as there is no timeout.
553     * Make winbindd_cache.c aware of domain offline to avoid unnecessary backend
554       query.
555     * List trusted domains from wcache when domain is offline.
558 Changes since 3.5.0pre1
559 -----------------------
561 o   Michael Adam <obnox@samba.org>
562     * Fix the build when no external talloc and tdb are installed.
563     * Fix detection of CTDB headers on systems without system-libtalloc.
566 o   Jeremy Allison <jra@samba.org>
567     * BUG 6802: A created folder does not properly inherit permissions from
568       parent in vfs_acl_xattr.
569     * BUG 6837: "Too many open files" when trying to access large number of
570       files from Windows 7.
571     * BUG 6938 : No hook exists to check creation rights when using acl_xattr
572       module.
573     * Fix vfs_acl_xattr which was failing to call the NEXT connect function.
574     * Restructure the ACL code.
575     * Refactor reply_rmdir to use handle based code.
578 o   Dan Cox <dan@wep.net>
579     * BUG 2350: Add LDAP Alias Dereferencing support.
582 o   Günther Deschner <gd@samba.org>
583     * BUG 6929: Fix build with recent heimdal.
584     * Fix several printing issues.
585     * Fix the build on Mac OS X 10.6.2.
586     * Fix net and rpcclient after setprinterdataex changes.
587     * Add full support for level 8 printer drivers.
588     * Add more spoolss architectures to IDL.
589     * Fix enumprinter key client and server.
590     * Fix crash in EnumPrinterDataEx.
593 o   Björn Jacke <bj@sernet.de>
594     * Prefer posix_fallocate for doing "strict allocate".
597 o   Matt Kraai <mkraai@beckman.com>
598     * BUG 6860: Fix shared library build on QNX.
601 o   Volker Lendecke <vl@samba.org>
602     * BUG 6288: SWAT adds a second share when changing parameters of an existing
603       share.
604     * BUG 6435: Fix minor memory corruption.
605     * Restore "fake directory create times" as a share parameter.
606     * Fix explicit stat64 support.
607     * Add support for NetWkstaGetInfo 101 and 102.
608     * Add rpcclient wkssvc_enumerateusers.
609     * De-deprecate "write cache size" to prevent its removal without a proper
610       alternative.
611     * Allow more than 1000 users in BUILTIN\Users.
614 o   Jim McDonough <jmcd@samba.org>
615     * BUG 6967: Prevent glibc error on 'net ads join'.
618 o   Lars Müller <lars@samba.org>
619     * BUG 6710: Only install the cifs.upcall man page if CIFSUPCALL_PROGS was
620       set while configure.
623 o   Ian Puleston <ipuleston@sonicwall.com>
624     * Complete support for NetWkstaGetInfo/NetWkstaEnumUsers.
627 o   Karolin Seeger <kseeger@samba.org>
628     * Fix the build of the example VFS modules.
631 o   Bo Yang <boyang@samba.org>
632     * BUG 6879: Fix crash in Winbind.
633     * Fix crash in free_file_list().
634     * Give the user a chance to change password when password will expire soon.
637 ######################################################################
638 Reporting bugs & Development Discussion
639 #######################################
641 Please discuss this release on the samba-technical mailing list or by
642 joining the #samba-technical IRC channel on irc.freenode.net.
644 If you do report problems then please try to send high quality
645 feedback. If you don't provide vital information to help us track down
646 the problem then you will probably be ignored.  All bug reports should
647 be filed under the Samba 3.5 product in the project's Bugzilla
648 database (https://bugzilla.samba.org/).
651 ======================================================================
652 == Our Code, Our Bugs, Our Responsibility.
653 == The Samba Team
654 ======================================================================