s3: Fix timeout calculation if g_lock_lock is given a timeout < 60s
[samba.git] / WHATSNEW.txt
index f2e99646674fc05d335ec915cdf049db55a450d7..6602941772f15487addd197ec634e03d023a977f 100644 (file)
-                   ================================
-                   Release Notes for Samba 3.5.0rc1
-                          January 7, 2010
-                   ================================
+                   =============================
+                   Release Notes for Samba 3.5.2
+                           , 2010
+                   =============================
+
+
+This is the third stable release of Samba 3.5.
+
+Major enhancements in Samba 3.5.2 include:
+
+o 
+
+Changes since 3.5.1
+-------------------
+
+
+o  
+
+
+######################################################################
+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 3.5 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 3.5.1
+                           March 8, 2010
+                   =============================
+
+
+This is a security release in order to address CVE-2010-0728.
+
+
+o  CVE-2010-0728:
+   In Samba releases 3.5.0, 3.4.6 and 3.3.11, new code
+   was added to fix a problem with Linux asynchronous IO handling.
+   This code introduced a bad security flaw on Linux platforms if the
+   binaries were built on Linux platforms with libcap support.
+   The flaw caused all smbd processes to inherit CAP_DAC_OVERRIDE
+   capabilities, allowing all file system access to be allowed
+   even when permissions should have denied access.
+
+
+Changes since 3.5.0
+-------------------
+
+
+o   Jeremy Allison <jra@samba.org>
+    * BUG 7222: Fix for CVE-2010-0728.
+
+
+######################################################################
+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 3.5 product in the project's Bugzilla
+database (https://bugzilla.samba.org/).
+
+
+======================================================================
+== Our Code, Our Bugs, Our Responsibility.
+== The Samba Team
+======================================================================
+
+
+----------------------------------------------------------------------
+
+
+                   =============================
+                   Release Notes for Samba 3.5.0
+                           March 1, 2010
+                   ===============================
+
+
+This is the first stable release of Samba 3.5.
 
-This is the first release candidate of Samba 3.5.  This is *not*
-intended for production environments and is designed for testing
-purposes only.  Please report any defects via the Samba bug reporting
-system at https://bugzilla.samba.org/.
 
 Major enhancements in Samba 3.5.0 include:
 
 General changes:
 o Add support for full Windows timestamp resolution
+o The Using Samba HTML book has been removed.
+o 'net', 'smbclient' and libsmbclient can use credentials cached by Winbind.
+o The default value of "wide links" has been changed to "no".
 
 Protocol changes:
 o Experimental implementation of SMB2
@@ -23,6 +117,9 @@ Winbind changes:
 o Major refactoring
 o Asynchronous
 
+VFS modules:
+o New vfs_scannedonly module has been added.
+
 
 General changes:
 ================
@@ -31,6 +128,20 @@ Support for full Windows timestamp resolution has been added. This effectively
 makes us use Windows' full 100ns timestamp resolution if supported by the
 kernel (2.6.22 and higher) and the glibc (2.6 and higher).
 
+The Using Samba HTML book has been removed from the Samba tarball.
+It is still available at http://www.samba.org/samba/docs/using_samba/toc.html.
+
+Samba client tools like 'net', 'smbclient' and libsmbclient can use the user
+credentials cached by Winbind at logon time. This is very useful e.g. when
+connecting to a Samba server using Nautilus without re-entering username and
+password. This feature is enabled by default and can be disabled per application
+by setting the LIBSMBCLIENT_NO_CCACHE environment variable.
+
+The default value of "wide links" has been changed to "no" to avoid an insecure
+default configuration ("wide links = yes" and "unix extensions = yes"). For
+more details, please see http://www.samba.org/samba/news/symlink_attack.html.
+
+
 Protocol changes
 ================
 
@@ -49,7 +160,14 @@ Winbind changes
 ===============
 
 The Winbind daemon has been refactored internally to be asynchronous. The new
-Winbind will not be blocked by running 'wbinfo -g' or 'wbinfo -u'.
+Winbind will not be blocked by running 'getent group' or 'getent passwd'.
+
+VFS modules
+===========
+
+A new VFS module "scannedonly" has been added. This is a filter that
+talks to an antivirus-engine and stores whether a file is clean or not.
+Users do only see clean files on their filesystem.
 
 
 ######################################################################
@@ -68,6 +186,8 @@ smb.conf changes
    debug hires timestamp              Changed Default yes
    ldap deref                         New             auto
    ldap follow referral                       New             auto
+   nmbd bind explicit broadcast               New             no
+   wide links                         Changed Default no
 
 
 New configure options
@@ -91,12 +211,172 @@ o   Björn Jacke <bj@sernet.de>
 o   Volker Lendecke <vl@samba.org>
     * Major internal refactoring of the Winbind daemon.
     * Make Winbind asynchronous.
+    * Make 'net', 'smbclient' and libsmbclient use the logon credentials cached
+      by Winbind.
 
 
 o   Stefan Metzmacher <metze@samba.org>
     * Implement the new SMB2 protocol (experimental).
 
 
+Changes since 3.5.0rc3
+----------------------
+
+
+o   Günther Deschner <gd@samba.org>
+    * BUG 7181: Fix 'net ads dns' usage calls.
+    * BUG 7182: Fix uninitialized variable in wkssvc_enumerateusers.
+
+
+o   Volker Lendecke <vl@samba.org>
+    * BUG 7145: Fix duplicate sam and unix accounts.
+    * BUG 7166: Avoid calling cli_alloc_mid twice in cli_smb_req_iov_send.
+
+
+o   Stefan Metzmacher <metze@samba.org>
+    * BUG 7160: Keep the the correct negotiate_flags on the cli->dc structure.
+
+
+Changes since 3.5.0rc2
+----------------------
+
+
+o   Jeremy Allison <jra@samba.org>
+    * BUG 6557: Fix vfs_full_audit.
+    * BUG 6876: Fix duplicate initializer in the rmdir module.
+    * BUG 7063: Fix core dump on Ubuntu 8.04 64 bit.
+    * BUG 7067: Fix failing of smbd to respond to a read or a write caused by
+      Linux asynchronous IO (aio).
+    * BUG 7069: Fix 'smbget' error status.
+    * BUG 7072: Fix unlocking of accounts from ldap.
+    * BUG 7079  Cliconnect gets realm wrong with trusted domains.
+    * BUG 7081: Fix vfs_expand_msdfs.
+    * BUG 7084: Fix storing of create time on directories in an EA in new
+      create time code.
+    * BUG 7104: "wide links" and "unix extensions" are incompatible.
+    * BUG 7118: Fix nmbd problems with socket address.
+    * BUG 7122: Fix reading of large browselist.
+    * BUG 7154: "mangling method = hash" can crash storing a name containing a '.'.
+    * BUG 7155: Valgrind Conditional jump or move depends on uninitialised
+      value(s) error when "mangling method = hash"..
+
+
+o   Steven Danneman <steven.danneman@isilon.com>
+    * BUG 7096: Fix string buffer overflow causing heap corruption in smbd.
+
+
+o   Günther Deschner <gd@samba.org>
+    * BUG 6888: Fix printing with 64 bit clients.
+    * BUG 7130: Fix listing of printjobs in  Windows 7.
+    * BUG 7148: Fix get_acl_blob in the acl_tdb VFS module.
+
+
+o   Björn Jacke <bj@sernet.de>
+    * BUG 7103: Fix build issue on Tru64.
+    * BUG 7116: Change ldap filter to what really was intended.
+    * Fix some wrong newlines in de translation strings.
+
+
+o   Jeff Layton <jlayton@redhat.com>
+    * BUG 6868: Fix crash bug in 'cifs.upcall'.
+
+
+o   Volker Lendecke <vl@samba.org>
+    * BUG 7085: Fix an early release of the global lock that can cause data
+      corruption in libtdb.
+    * BUG 7139: Owner of file not available with Kerberos.
+
+
+o   Stefan Metzmacher <metze@samba.org>
+    * BUG 6888: Fix printing with 64 bit clients.
+    * BUG 7098: Fix results of 'smbclient -L' with a large browse list.
+    * BUG 7116: Add pdb_ldap performance fixes.
+    * BUG 7118: Add new "nmbd bind explicit broadcast" parameter.
+    * BUG 7119: Support large browselist.
+    * BUG 7140: Fix IPv4/IPv6 problems.
+
+
+o   Lars Müller <lars@samba.org>
+    * BUG 7071: Fix build of 'smbfilter'.
+    * BUG 7047: Add cross option to samba_cv_linux_getgrouplist_ok.
+    * BUG 7102: Normalize "Changing password for" msg IDs and STRs.
+
+
+o   Olivier Sessink <olivier@virtscano.fakenet>
+    * BUG 7076: Fix build of vfs_scannedonly on AIX.
+
+
+o   Bo Yang <boyang@samba.org>
+    * BUG 7106: Fix malformed require_membership_of_sid.
+
+
+
+Changes since 3.5.0rc1
+----------------------
+
+
+o   Michael Adam <obnox@samba.org>
+    * BUG 4347: Check password history before increasing "badPasswordCount".
+
+
+o   Jeremy Allison <jra@samba.org>
+    * BUG 5202: Fix changing of ACLs on writable file with "dos filemode=yes".
+    * BUG 6876: Fix deletion of an object whose parent folder does not have delete
+      rights fails even if the delete right is set on the object in
+      vfs_acl_xattr and vfs_acl_tdb.
+    * BUG 7033: Fix SMBrmdir error message when deleting a directory fails.
+    * BUG 7036: Fix 'net rpc getsid' in hardened Windows environments.
+    * BUG 7045: Fix bad (non memory copying) interfaces in smbc_setXXXX calls.
+
+
+o   Giovanni Bajo <rasky@develer.com>
+    * BUG 7029: Disable sanity check in NetShareEnum for better compatibility
+      with Windows.
+
+
+o   Kai Blin <kai@samba.org>
+    * BUG 7039: Fix compile error with WITH_DNS_UPDATE. Update .po files.
+
+
+o   Günther Deschner <gd@samba.org>
+    * BUG 7043: Fix crash bug in libsmbclient.
+
+
+o   André Hentschel <nerv@dawncrow.de>
+    * BUG 7039: Complete German translation of 'net'.
+
+
+o   Björn Jacke <bj@sernet.de>
+    * BUG 7039: Improve some German translations in 'net'.
+
+
+o   William Jojo <w.jojo@hvcc.edu>
+    * BUG 7052: Fix DFS on AIX.
+
+
+o   Volker Lendecke <vl@samba.org>
+    * BUG 6981: Fix large paged search with DirX LDAP servers.
+    * BUG 7027: Fix a segfault in winbindd_dual_ccache_ntlm_auth().
+    * BUG 7037: Fix a Winbind segfault in "trusted_domains".
+    * BUG 7046: Fix libsmbclient crash against OpenSolaris CIFS server.
+    * BUG 7062: Make 'net', 'smbclient' and libsmbclient use the logon
+      credentials cached by Winbind.
+    * Lock down some srvsvc calls according to what w2k3 seems to do.
+
+
+o   Stefan Metzmacher <metze@samba.org>
+    * BUG 6157: Restore Samba 3.0.x behavior and use the first "uid" value in
+      pdb_ldap.
+
+
+o   SASAJIMA Toshihiro <sasajima_t@jp.fujitsu.com>
+    * BUG 7034: Fix segfault in vfs_cap.
+
+
+o   Olivier Sessink <oliviersessink@gmail.com>
+    * BUG 7028: Add new scannedonly VFS module.
+
+
 Changes since 3.5.0pre2
 -----------------------
 
@@ -104,34 +384,58 @@ o   Jeremy Allison <jra@samba.org>
     * BUG 6837: Fix "Too many open files" when trying to access large number of
       files with Windows 7.
     * BUG 6939: Fix long filenames when "mangling method" is set to "hash".
+    * BUG 7020: Fix smbd using 2G memory.
     * Ensure dos_mode can return FILE_ATTRIBUTE_NORMAL, then filter the returned
       attributes by protocol level.
     * Vector correctly through reply_openerror() (which uses the same logic).
+    * Fix bugs with the full Windows ACL support.
+
+
+o   Kai Blin <kai@samba.org>
+    * Add a few missing gettext calls to the 'net' command.
+    * Fix up a share type translation and translate some more strings in 'net'.
 
 
 o   Günther Deschner <gd@samba.org>
     * Allow to call "pdbedit -N description -u user" without specifiyng "-r".
     * Add spoolss_DriverInfo7.
     * Fix rpcclient after setprinter IDL fixes.
+    * Use generated krb5.conf in 'net ads testjoin'.
 
 
 o   Jonas Gorski <jonas.gorski+samba@gmail.com>
     * BUG 6992: make test for getgrouplist cacheable.
 
 
+o   André Hentschel <nerv@dawncrow.de>
+    * Add some German translations for the 'net' command.
+
+
+o   Suresh Jayaraman <sjayaraman@suse.de>
+    * Update mount.cifs man page with nounix option.
+
+
 o   Volker Lendecke <vl@samba.org>
     * Fix _samr_GetAliasMembership for results with 0 rids.
     * Fix an error case in cli_negprot.
     * Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc.
     * Restore correct timeouts for SMB requests.
+    * Fix a 64-bit error in libsmb.
+    * Replace IS_DOMAIN_OFFLINE by a function in Winbind.
+    * Simplify/cleanup Winbind code.
 
 
 o   Kamen Mazdrashki <kamen.mazdrashki@postpath.com>
     * Fix write behind memory block in libtalloc.
+    * Fix result check for getaddrinfo().
 
 
-o   Simo Sorce <idra@samba.org>
-    * Change the way mksysms work in libtalloc.
+o   Jim McDonough <jmcd@samba.org>
+    * BUG 7014: Fix Winbind crash when retrieving empty group members.
+
+
+o   Brian Lu <brian.lu@sun.com>
+    * BUG 6991: Create symbol links to shared libraries.
 
 
 o   Stefan Metzmacher <metze@samba.org>
@@ -139,6 +443,7 @@ o   Stefan Metzmacher <metze@samba.org>
       to tsocket.
     * Always set tdb->tracefd to -1 to be safe on goto fail in libtdb.
     * Add TDB_DISALLOW_NESTING and make TDB_ALLOW_NESTING the default behavior.
+    * Fix standalone 'make installdocs'.
 
 
 o   Peter Rosin <peda@lysator.liu.se>
@@ -154,6 +459,21 @@ o   Kirill Smelkov <kirr@mns.spb.ru>
     * Reset tdb->fd to -1 in tdb_close() in libtdb.
 
 
+o   Simo Sorce <idra@samba.org>
+    * Change the way mksysms work in libtalloc.
+
+
+o   Jelmer Vernooij <jelmer@samba.org>
+    * Also build and install tdb manpages from standalone tdb.
+
+
+o   Bo Yang <boyang@samba.org>
+    * Fix infinite loop in NCACN_IP_TCP as there is no timeout.
+    * Make winbindd_cache.c aware of domain offline to avoid unnecessary backend
+      query.
+    * List trusted domains from wcache when domain is offline.
+
+
 Changes since 3.5.0pre1
 -----------------------
 
@@ -251,4 +571,3 @@ database (https://bugzilla.samba.org/).
 == Our Code, Our Bugs, Our Responsibility.
 == The Samba Team
 ======================================================================
-