lib: talloc: Allow destructors to reparent the object they're called on.
[metze/samba/wip.git] / WHATSNEW.txt
index 813fca930ebccb5f0d90a9c24851a312b7b87452..80d9c95768888170fb16e6cf736fab439e6c3854 100644 (file)
@@ -1,3 +1,439 @@
+                   ==============================
+                   Release Notes for Samba 4.0.25
+                          February 23, 2015
+                   ==============================
+
+
+This is a security release in order to address CVE-2015-0240 (Unexpected
+code execution in smbd).
+
+o  CVE-2015-0240:
+   All versions of Samba from 3.5.0 to 4.2.0rc4 are vulnerable to an
+   unexpected code execution vulnerability in the smbd file server
+   daemon.
+
+   A malicious client could send packets that may set up the stack in
+   such a way that the freeing of memory in a subsequent anonymous
+   netlogon packet could allow execution of arbitrary code. This code
+   would execute with root privileges.
+
+
+Changes since 4.0.24:
+---------------------
+
+o   Jeremy Allison <jra@samba.org>
+    * BUG 11077: CVE-2015-0240: talloc free on uninitialized stack pointer
+      in netlogon server could lead to security vulnerability.
+
+
+o   Andreas Schneider <asn@samba.org>
+    * BUG 11077: CVE-2015-0240: s3-netlogon: Make sure we do not deference
+      a NULL pointer./auth: Make sure that creds_out is initialized with NULL.
+
+
+######################################################################
+Reporting bugs & Development Discussion
+#######################################
+
+Please discuss this release on the samba-technical mailing list or by
+joining the #samba-technical IRC channel on irc.freenode.net.
+
+If you do report problems then please try to send high quality
+feedback. If you don't provide vital information to help us track down
+the problem then you will probably be ignored.  All bug reports should
+be filed under the Samba 4.0 product in the project's Bugzilla
+database (https://bugzilla.samba.org/).
+
+
+======================================================================
+== Our Code, Our Bugs, Our Responsibility.
+== The Samba Team
+======================================================================
+
+
+Release notes for older releases follow:
+----------------------------------------
+
+                   ==============================
+                   Release Notes for Samba 4.0.24
+                          January 15, 2015
+                   ==============================
+
+
+This is a security release in order to address CVE-2014-8143 (Elevation
+of privilege to Active Directory Domain Controller).
+
+o  CVE-2014-8143:
+   Samba's AD DC allows the administrator to delegate
+   creation of user or computer accounts to specific users or groups.
+
+   However, all released versions of Samba's AD DC did not implement the
+   additional required check on the UF_SERVER_TRUST_ACCOUNT bit in the
+   userAccountControl attributes.
+
+
+Changes since 4.0.23:
+---------------------
+
+o   Andrew Bartlett <abartlet@samba.org>
+    * BUG 10993: CVE-2014-8143: dsdb-samldb: Check for extended access
+      rights before we allow changes to userAccountControl.
+
+
+######################################################################
+Reporting bugs & Development Discussion
+#######################################
+
+Please discuss this release on the samba-technical mailing list or by
+joining the #samba-technical IRC channel on irc.freenode.net.
+
+If you do report problems then please try to send high quality
+feedback. If you don't provide vital information to help us track down
+the problem then you will probably be ignored.  All bug reports should
+be filed under the Samba 4.0 product in the project's Bugzilla
+database (https://bugzilla.samba.org/).
+
+
+======================================================================
+== Our Code, Our Bugs, Our Responsibility.
+== The Samba Team
+======================================================================
+
+
+----------------------------------------------------------------------
+
+
+                   ==============================
+                   Release Notes for Samba 4.0.23
+                         December 08, 2014
+                   ==============================
+
+
+This is the latest stable release of Samba 4.0.
+
+
+Changes since 4.0.22:
+---------------------
+
+o   Michael Adam <obnox@samba.org>
+    * BUG 10472: Revert buildtools/wafadmin/Tools/perl.py back to upstream
+      state.
+
+
+o   Jeremy Allison <jra@samba.org>
+    * BUG 10711: s3:daemons: Ensure nmbd and winbindd are consistent in
+      command line processing by adding POPT_COMMON_DYNCONFIG.
+    * BUG 10779: pthreadpool: Slightly serialize jobs.
+    * BUG 10830: s3:nmbd: Ensure the main nmbd process doesn't create zombies.
+    * BUG 10831: SIGCLD Signal handler not correctly reinstalled on old library
+      code use - smbrun etc.
+    * BUG 10848: s3:smb2cli: Query info return length check was reversed.
+    * BUG 10896: s3:nmbd: Fix netbios name truncation.
+
+
+o   Günther Deschner <gd@samba.org>
+    * BUG 9984: s3-libnet: Make sure we do not overwrite precreated SPNs.
+
+
+o   David Disseldorp <ddiss@samba.org>
+    * BUG 10898: spoolss: Fix handling of bad EnumJobs levels.
+    * BUG 10905: spoolss: Fix print job enumeration.
+
+
+o   Björn Jacke <bj@sernet.de>
+    * BUG docs: Mention incompatibility between kernel oplocks and
+      streams_xattr.
+
+
+o   Volker Lendecke <vl@samba.org>
+    * BUG 10860: registry: Don't leave dangling transactions.
+    * BUG 10932: pdb_tdb: Fix a TALLOC/SAFE_FREE mixup.
+
+
+o   Stefan Metzmacher <metze@samba.org>
+    * BUG 10472: Revert buildtools/wafadmin/Tools/perl.py back to upstream
+      state.
+    * BUG 10921: s3:smbd: Fix file corruption using "write cache size != 0".
+
+
+o   Christof Schmitt <cs@samba.org>
+    * BUG 10838: s3-winbindd: Do not use domain SID from LookupSids for
+    * Sids2UnixIDs call.
+
+
+o   Andreas Schneider <asn@samba.org>
+    * BUG 9984: s3-libnet: Add libnet_join_get_machine_spns().
+    * BUG 9985: s3-libads: Add all machine account principals to the keytab.
+    * BUG 10472: wafsamba: If perl can't provide defaults, define them.
+    * BUG 10824: nsswitch: Skip groups we were not able to map.
+    * BUG 10829: s3-libads: Improve service principle guessing.
+
+
+o   Richard Sharpe <realrichardsharpe@gmail.com>
+    * BUG: source3/smbd/process.c::srv_send_smb() returns true on the error
+      path.
+
+
+######################################################################
+Reporting bugs & Development Discussion
+#######################################
+
+Please discuss this release on the samba-technical mailing list or by
+joining the #samba-technical IRC channel on irc.freenode.net.
+
+If you do report problems then please try to send high quality
+feedback. If you don't provide vital information to help us track down
+the problem then you will probably be ignored.  All bug reports should
+be filed under the Samba 4.0 product in the project's Bugzilla
+database (https://bugzilla.samba.org/).
+
+
+======================================================================
+== Our Code, Our Bugs, Our Responsibility.
+== The Samba Team
+======================================================================
+
+
+----------------------------------------------------------------------
+
+
+                   ==============================
+                   Release Notes for Samba 4.0.22
+                         September 15, 2014
+                   ==============================
+
+
+This is the latest stable release of Samba 4.0.
+
+Major enhancements in Samba 4.0.22 include:
+
+o  New parameter "winbind request timeout" has been added (bug #3204). Please
+   see smb.conf man page for details.
+
+
+Changes since 4.0.21:
+---------------------
+
+o   Michael Adam <obnox@samba.org>
+    * BUG 10369: build: Fix configure to honour '--without-dmapi'.
+
+
+o   Jeremy Allison <jra@samba.org>
+    * BUG 3204: s3: winbindd: On new client connect, prune idle or hung
+      connections older than "winbind request timeout". Add new parameter
+      "winbind request timeout".
+    * BUG 10640: lib: tevent: make TEVENT_SIG_INCREMENT atomic.
+    * BUG 10650: Make "case sensitive = True" option working with
+      "max protocol = SMB2" or higher in large directories.
+    * BUG 10728: 'net time': Fix usage and core dump.
+    * BUG 10773: s3: smbd: POSIX ACLs. Remove incorrect check for
+      SECINFO_PROTECTED_DACL in incoming security_information flags in
+      posix_get_nt_acl_common().
+    * BUG 10794: vfs_dirsort: Fix an off-by-one error that can
+      cause uninitialized memory read.
+
+
+o   Björn Baumbach <bb@sernet.de>
+    * BUG 10543: s3: Enforce a positive allocation_file_size for non-empty
+      files.
+
+
+o   David Disseldorp <ddiss@samba.org>
+    * BUG 10652: Samba 4 consuming a lot of CPU when re-reading printcap info.
+    * BUG 10787: dosmode: Fix FSCTL_SET_SPARSE request validation.
+
+
+o   Amitay Isaacs <amitay@gmail.com>
+    * BUG 10742: s4-rpc: dnsserver: Allow . to be specified for @ record.
+
+
+o   Daniel Kobras <d.kobras@science-computing.de>
+    * BUG 10731: sys_poll_intr: Fix timeout arithmetic.
+
+
+o   Ross Lagerwall <rosslagerwall@gmail.com>
+    * BUG 10778: s3:libsmb: Set a max charge for SMB2 connections.
+
+
+o   Volker Lendecke <vl@samba.org>
+    * BUG 10758: lib: Remove unused nstrcpy.
+    * BUG 10782: smbd: Properly initialize mangle_hash.
+
+
+o   Stefan Metzmacher <metze@samba.org>
+    * BUG 10773: libcli/security: Add better detection of
+      SECINFO_[UN]PROTECTED_[D|S]ACL in get_sec_info().
+
+
+o   Marc Muehlfeld <mmuehlfeld@samba.org>
+    * BUG 10761: docs: Fix typos in smb.conf (inherit acls).
+
+
+o   Shirish Pargaonkar <spargaonkar@suse.com>
+    * BUG 10755: samba: Retain case sensitivity of cifs client.
+
+
+o   Arvid Requate <requate@univention.de>
+    * BUG 9570: passdb: Fix NT_STATUS_NO_SUCH_GROUP.
+
+
+o   Har Gagan Sahai <SHarGagan@novell.com>
+    * BUG 10759: Fix a memory leak in cli_set_mntpoint().
+
+
+o   Roel van Meer <roel@1afa.com>
+    * BUG 10777: Don't discard result of checking grouptype.
+
+
+######################################################################
+Reporting bugs & Development Discussion
+#######################################
+
+Please discuss this release on the samba-technical mailing list or by
+joining the #samba-technical IRC channel on irc.freenode.net.
+
+If you do report problems then please try to send high quality
+feedback. If you don't provide vital information to help us track down
+the problem then you will probably be ignored.  All bug reports should
+be filed under the Samba 4.0 product in the project's Bugzilla
+database (https://bugzilla.samba.org/).
+
+
+======================================================================
+== Our Code, Our Bugs, Our Responsibility.
+== The Samba Team
+======================================================================
+
+
+----------------------------------------------------------------------
+
+
+                   ==============================
+                   Release Notes for Samba 4.0.21
+                           August 1, 2014
+                   ==============================
+
+
+This is a security release in order to address
+CVE-2014-3560 (Remote code execution in nmbd).
+
+o  CVE-2014-3560:
+   Samba 4.0.0 to 4.1.10 are affected by a remote code execution attack on
+   unauthenticated nmbd NetBIOS name services.
+
+   A malicious browser can send packets that may overwrite the heap of
+   the target nmbd NetBIOS name services daemon. It may be possible to
+   use this to generate a remote code execution vulnerability as the
+   superuser (root).
+
+
+Changes since 4.1.20:
+---------------------
+
+o   Volker Lendecke <vl@samba.org>
+    * BUG 10735: CVE-2014-3560: Fix unstrcpy macro length.
+
+
+######################################################################
+Reporting bugs & Development Discussion
+#######################################
+
+Please discuss this release on the samba-technical mailing list or by
+joining the #samba-technical IRC channel on irc.freenode.net.
+
+If you do report problems then please try to send high quality
+feedback. If you don't provide vital information to help us track down
+the problem then you will probably be ignored.  All bug reports should
+be filed under the Samba 4.0 product in the project's Bugzilla
+database (https://bugzilla.samba.org/).
+
+
+======================================================================
+== Our Code, Our Bugs, Our Responsibility.
+== The Samba Team
+======================================================================
+
+
+----------------------------------------------------------------------
+
+
+                   ==============================
+                   Release Notes for Samba 4.0.20
+                           July 30, 2014
+                   ==============================
+
+
+This is the latest stable release of the Samba 4.0 release series.
+
+
+Changes since 4.0.19:
+---------------------
+
+o   Jeremy Allison <jra@samba.org>
+    * BUG 3124: s3: smb2: Fix 'xcopy /d' with samba shares.
+    * BUG 10653: Samba won't start on a machine configured with only IPv4.
+    * BUG 10673: s3: SMB2: Fix leak of blocking lock records in the database.
+    * BUG 10684: SMB1 blocking locks can fail notification on unlock, causing
+      client timeout.
+    * BUG 10685: s3: smbd: Locking, fix off-by one calculation in
+      brl_pending_overlap().
+    * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
+
+
+o   Andrew Bartlett <abartlet@samba.org>
+    * BUG 10627: rid_array used before status checked - segmentation fault due
+      to null pointer dereference.
+
+
+o   David Disseldorp <ddiss@samba.org>
+    * BUG 10612: printing: Fix purge of all print jobs.
+
+
+o   Björn Jacke <bj@sernet.de>
+    * BUG 3263: net/doc: Make clear that net vampire is for NT4 domains only.
+    * BUG 10657: autobuild: Delete $NSS_MODULES in "make clean".
+
+
+o   Volker Lendecke <vl@samba.org>
+    * BUG 10663: msg_channel: Fix a 100% CPU loop.
+    * BUG 10680: smbstatus: Fix an uninitialized variable.
+    * BUG 10687: 'RW2' smbtorture test fails when -N <numprocs> is set to 2 due
+      to the invalid status check in the second client.
+    * BUG 10699: smbd: Avoid double-free in get_print_db_byname.
+
+
+o   Stefan Metzmacher <metze@samba.org>
+    * BUG 10469: ldb-samba: fix a memory leak in
+      ldif_canonicalise_objectCategory().
+    * BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
+    * BUG 10696: Backport autobuild/selftest fixes from master.
+    * BUG 10706: s3:smb2_read: let smb2_sendfile_send_data() behave like
+      send_file_readX().
+
+
+######################################################################
+Reporting bugs & Development Discussion
+#######################################
+
+Please discuss this release on the samba-technical mailing list or by
+joining the #samba-technical IRC channel on irc.freenode.net.
+
+If you do report problems then please try to send high quality
+feedback. If you don't provide vital information to help us track down
+the problem then you will probably be ignored.  All bug reports should
+be filed under the Samba 4.0 product in the project's Bugzilla
+database (https://bugzilla.samba.org/).
+
+
+======================================================================
+== Our Code, Our Bugs, Our Responsibility.
+== The Samba Team
+======================================================================
+
+
+----------------------------------------------------------------------
+
+
                    ==============================
                    Release Notes for Samba 4.0.19
                            June 23, 2014
@@ -52,8 +488,8 @@ database (https://bugzilla.samba.org/).
 ======================================================================
 
 
-Release notes for older releases follow:
-----------------------------------------
+----------------------------------------------------------------------
+
 
                    ==============================
                    Release Notes for Samba 4.0.18