============================== Release Notes for Samba 4.1.11 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.10: --------------------- o Volker Lendecke * 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.1 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.1.10 July 28, 2014 ============================== This is the latest stable release of Samba 4.1. Changes since 4.1.9: -------------------- o Michael Adam * BUG 10693: Backport ldb-1.1.17 + changes from master. o Jeremy Allison * BUG 10587: s3: libsmbclient: Work around bugs in SLES cifsd and Apple smbx SMB1 servers. * BUG 10653: Samba won't start on a machine configured with only IPv4. * BUG 10671: s3: smbd: Prevent file truncation on an open that fails with share mode violation. * 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 Christian Ambach * BUG 10693: lib/ldb: Fix compiler warnings. o Andrew Bartlett * BUG 8077: dbcheck: Add check and test for various invalid userParameters values. * BUG 8449: Simple use case results in "no talloc stackframe around, leaking memory" error.) * BUG 10130: dsdb: Always store and return the userParameters as a array of LE 16-bit values. * BUG 10582: dsdb: Rename private_data to rootdse_private_data in rootdse. * BUG 10627: rid_array used before status checked - segmentation fault due to null pointer dereference. * BUG 10693: ldb: make the successful ldb_transaction_start() message clearer. * BUG 10694: dsdb: Return NO_SUCH_OBJECT if a basedn is a deleted object. * BUG 10700: Backport access check related fixes from master. o Björn Baumbach * BUG 10674: samba-tool: Add --site parameter to provision command. o Howard Chu * BUG 10693: Fix SEGV from improperly formed SUBSTRING/PRESENCE filter. o Jeroen Dekkers * BUG 10693: ldb: Do not build libldb-cmdline when using system ldb. o Nadezhda Ivanova * BUG 10693: s4-openldap: Remove use of talloc_reference in ldb_map_outbound.c o Björn Jacke * BUG 3263: net/doc: Make clear that net vampire is for NT4 domains only. o Abhidnya Joshi * BUG s3: Fix missing braces in nfs4_acls.c. o Volker Lendecke * BUG 10593: Fix "PANIC: assert failed at ../source3/smbd/open.c(1582): ret". * BUG 10663: msg_channel: Fix a 100% CPU loop. * BUG 10671: s3: smbd: Prevent file truncation on an open that fails with share mode violation. * BUG 10680: smbstatus: Fix an uninitialized variable. * BUG 10687: 'RW2' smbtorture test fails when -N is set to 2 due to the invalid status check in the second client. * BUG 10693: ldb: Fix 1138330 Dereference null return value, fix CIDs 241329, 240798, 1034791, 1034792 1034910, 1034910). * BUG 10699: smbd: Avoid double-free in get_print_db_byname. o Stefan Metzmacher * BUG 8077: s4:dsdb/samldb: Don't allow 'userParameters' to be modified over LDAP for now. * BUG 9763: s4:dsdb/repl_meta_data: Make sure objectGUID can't be deleted. * BUG 10469: ldb-samba: fix a memory leak in ldif_canonicalise_objectCategory(). * BUG 10294: s4:repl_meta_data: fix array assignment in replmd_process_linked_attribute(). * BUG 10536: dbchecker: Verify and fix broken dn values. * BUG 10692: wbcCredentialCache fails if challenge_blob is not first. * BUG 10693: ldb:pyldb: Add some more helper functions for LdbDn. * BUG 10694: s4:dsdb/extended_dn_in: Don't force DSDB_SEARCH_SHOW_RECYCLED. * BUG 10696: Backport autobuild/selftest fixes from master. * BUG 10706: s3:smb2_read: let smb2_sendfile_send_data() behave like send_file_readX(). o Matthieu Patou * BUG 10693: pyldb: Decrement ref counters on py_results and quiet warnings. * BUG 10698: Backport drs-crackname fixes from master. o Pavel Reichl * BUG 10693: ldb: Use of NULL pointer bugfix. o Garming Sam * BUG 10703: Backport provision fixes from master. o Andreas Schneider * BUG 10693: ldb: Add a env variable to disable RTLD_DEEPBIND. ####################################### 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.1 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.1.9 June 23, 2014 ============================= This is a security release in order to address CVE-2014-0244 (Denial of service - CPU loop) and CVE-2014-3493 (Denial of service - Server crash/memory corruption). o CVE-2014-0244: All current released versions of Samba are vulnerable to a denial of service on the nmbd NetBIOS name services daemon. A malformed packet can cause the nmbd server to loop the CPU and prevent any further NetBIOS name service. This flaw is not exploitable beyond causing the code to loop expending CPU resources. o CVE-2014-3493: All current released versions of Samba are affected by a denial of service crash involving overwriting memory on an authenticated connection to the smbd file server. Changes since 4.1.8: -------------------- o Jeremy Allison * BUG 10633: CVE-2014-0244: Fix nmbd denial of service. * BUG 10654: CVE-2014-3493: Fix segmentation fault in smbd_marshall_dir_entry()'s SMB_FIND_FILE_UNIX handler. ####################################### 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.1 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.1.8 June 3, 2014 ============================= This is the latest stable release of Samba 4.1. Please note that this bug fix release also addresses two minor security issues without being a dedicated security release: o CVE-2014-0239: dns: Don't reply to replies (bug #10609). o CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS response (bug #10549). For more details including security advisories and patches, please see http://www.samba.org/samba/history/security.html Changes since 4.1.7: -------------------- o Michael Adam * BUG 10548: build: Fix ordering problems with lib-provided and internal RPATHs. o Jeremy Allison * BUG 3124: s3: smb2: Fix 'xcopy /d' with samba shares. * BUG 10544: s3: lib/util: Fix logic inside set_namearray loops. * BUG 10564: Fix lock order violation and file lost. * BUG 10577: Fix wildcard unlink to fail if we get an error rather than trying to continue. o Andrew Bartlett * BUG 10569: dsdb: Do checks for invalid renames in samldb, before repl_meta_data. o Björn Baumbach * BUG 10239: s3: nmbd: Reset debug settings after reading config file. * BUG 10544: s3: lib/util: set_namearray reads across end of namelist * BUG 10556: lib-util: Rename memdup to smb_memdup and fix all callers. o Kai Blin * BUG 10609: CVE-2014-0239: dns: Don't reply to replies. o Alexander Bokovoy * BUG 10517: Use exit_daemon() to communicate status of startup to systemd. o David Disseldorp * BUG 10590: byteorder: Do not assume PowerPC is big-endian. * BUG 10612: printing: Fix purge of all print jobs. o Benjamin Franzke * BUG 10524: Fix adding NetApps. o Abhidnya Joshi * BUG 10547: idmap_autorid: Fix failure in reverse lookup if ID is from domain range index #0. o Stefan Metzmacher * BUG 10472: script/autobuild: Make use of '--with-perl-{arch,lib}-install-dir'. o Noel Power * BUG 10554: Fix read of deleted memory in reply_writeclose()'. o Jose A. Rivera * BUG 10151: Extra ':' in msg for Waf Cross Compile Build System with Cross-answers command. * BUG 10348: Fix empty body in if-statement in continue_domain_open_lookup. o Christof Schmitt * BUG 10549: CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS response. o Andreas Schneider * BUG 10472: wafsamba: Fix the installation on FreeBSD. ####################################### 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.1 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.1.7 April 17, 2014 ============================= This is the latest stable release of Samba 4.1. Changes since 4.1.6: -------------------- o Jeremy Allison * BUG 9878: Make "force user" work as expected. * BUG 9942: Fix problem with server taking too long to respond to a MSG_PRINTER_DRVUPGRADE message. * BUG 9993: s3-printing: Fix obvious memory leak in printer_list_get_printer(). * BUG 10344: SessionLogoff on a signed connection with an outstanding notify request crashes smbd. * BUG 10431: Fix STATUS_NO_MEMORY response from Query File Posix Lock request. * BUG 10508: smbd: Correctly add remote users into local groups. * BUG 10534: Cleanup messages.tdb record after unclean smbd shutdown. o Christian Ambach * BUG 9911: Fix build on AIX with IBM XL C/C++ (gettext detection issues). * BUG 10308: Fix String Conversion Errors with Samba 4.1.0 Build on AIX 7.1. o Gregor Beck * BUG 10230: Make (lib)smbclient work with NetApp. * BUG 10458: Fix 'wbinfo -i' with one-way trust. * s3:rpc_server: Minor refactoring of process_request_pdu(). o Kai Blin * BUG 10471: Don't respond with NXDOMAIN to records that exist with another type. o Alexander Bokovoy * BUG 10504: lsa.idl: Define lsa.ForestTrustCollisionInfo and ForestTrustCollisionRecord as public structs. o Günther Deschner * BUG 10439: Increase max netbios name components. o David Disseldorp * BUG 10188: doc: Add "spoolss: architecture" parameter usage. * BUG 10484: Initial FSRVP rpcclient requests fail with NT_STATUS_PIPE_NOT_AVAILABLE. * BUG 10521: rpcclient FSRVP request UNCs should include a trailing backslash. o Daniel Liberman * BUG 10387: 'net ads search' on high latency networks can return a partial list with no error indication. o Stefan Metzmacher * BUG 10200: Make 'smbclient' support DFS shares with SMB2/3. * BUG 10344: SessionLogoff on a signed connection with an outstanding notify request crashes smbd. * BUG 10422: max xmit > 64kb leads to segmentation fault. * BUG 10444: smbd_server_connection_terminate("CTDB_SRVID_RELEASE_IP") panics from within ctdbd_migrate() with invalid lock_order. * BUG 10464: samba4 services not binding on IPv6 addresses causing connection delays. o Garming Sam * BUG 10378: dfs: Always call create_conn_struct with root privileges. o Andreas Schneider * BUG 10467: s3-vfs: Fix stream_depot vfs module on btrfs. * BUG 10472: pidl: waf should have an option for the dir to install perl files and do not glob. * BUG 10474: s3-spoolssd: Don't register spoolssd if epmd is not running. * BUG 10481: s3-rpc_server: Fix handling of fragmented rpc requests. o Gustavo Zacarias * BUG 10506: Make 'smbreadline' build with readline 6.3. ####################################### 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.1 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.1.6 March 11, 2014 ============================= This is a security release in order to address CVE-2013-4496 (Password lockout not enforced for SAMR password changes) and CVE-2013-6442 (smbcacls can remove a file or directory ACL by mistake). o CVE-2013-4496: Samba versions 3.4.0 and above allow the administrator to implement locking out Samba accounts after a number of bad password attempts. However, all released versions of Samba did not implement this check for password changes, such as are available over multiple SAMR and RAP interfaces, allowing password guessing attacks. o CVE-2013-6442: Samba versions 4.0.0 and above have a flaw in the smbcacls command. If smbcacls is used with the "-C|--chown name" or "-G|--chgrp name" command options it will remove the existing ACL on the object being modified, leaving the file or directory unprotected. Changes since 4.1.5: -------------------- o Jeremy Allison * BUG 10327: CVE-2013-6442: ensure we don't lose an existing ACL when setting owner or group owner. o Andrew Bartlett * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password changes. o Stefan Metzmacher * BUG 10245: CVE-2013-4496: Enforce password lockout for SAMR password changes. ####################################### 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.1 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.1.5 February 21, 2014 ============================= This is the latest stable release of Samba 4.1. Major enhancements in Samba 4.1.5 include: o Fix 100% CPU utilization in winbindd when trying to free memory in winbindd_reinit_after_fork (bug #10358). o smbd: Fix memory overwrites (bug #10415). Changes since 4.1.4: -------------------- o Michael Adam * BUG 10259: Make shadow_copy2 module working with Windows 7. o Jeremy Allison * BUG 2662: Make revamped directory handling code 64bit clean. * BUG 10320: s3: smbpasswd: Fix crashes on invalid input. * BUG 10358: Fix 100% CPU utilization in winbindd when trying to free memory in winbindd_reinit_after_fork. * BUG 10406: s3: vfs_dirsort module: Allow dirsort to work when multiple simultaneous directories are open. * BUG 10429: s3: modules: streaminfo: As we have no VFS function SMB_VFS_LLISTXATTR we can't cope with a symlink when lp_posix_pathnames() is true. o Alistair Leslie-Hughes * BUG 10087: ntlm_auth sometimes returns the wrong username to mod_ntlm_auth_winbind. o Andrew Bartlett * BUG 10418: Fix INTERNAL ERROR: Signal 11 in the kdc pid. o Jeffrey Clark * BUG 10418: Add support for Heimdal's unified krb5 and hdb plugin system. o Niels de Vos * BUG 10384: vfs/glusterfs: In case atime is not passed, set it to the current atime. o David Disseldorp * BUG 10424: vfs_btrfs: Fix incorrect zero length server-side copy request handling. o Volker Lendecke * BUG 2191: s3-winbind: Improve performance of wb_fill_pwent_sid2uid_done(). * BUG 10415: smbd: Fix memory overwrites. * BUG 10436: smbd: Fix an ancient oplock bug. o Stefan Metzmacher * BUG 10442: Fix crash bug in smb2_notify code. o Andreas Schneider * BUG 10367: Fix several memory leaks. o Jelmer Vernooij * BUG 10418: Cope with first element in hdb_method having a different name in different heimdal versions. ####################################### 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.1 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.1.4 January 10, 2014 ============================= This is the latest stable release of Samba 4.1. Major enhancements in Samba 4.1.4 include: o Fix segfault in smbd (bug #10284). o Fix SMB2 server panic when a smb2 brlock times out (bug #10311). Changes since 4.1.3: -------------------- o Jeremy Allison * BUG 9870: smbd: Allow updates on directory write times on open handles. * BUG 10260: smbclient shows no error if deleting a directory with del failed. * BUG 10297: smbd: Fix writing to a directory with -wx permissions on a share. * BUG 10305: ldb: bad if test in ldb_comparison_fold(). o Christian Ambach * BUG 10276: Fix waf build error on AIX with IBM XL C/C++. * BUG 10280: s3:winbindd fix use of uninitialized variables. o Michele Baldessari * BUG 10281: Fix typos in man pages. o Jan Brummer * BUG 10285: s3-winbindd: Fix DEBUG statement in winbind_msg_offline(). o Günther Deschner * BUG 10262: s3-libnetjoin: Use upper-case realm when composing default upn. * BUG 10281: Fix numerous typos in man pages. o David Disseldorp * BUG 10271: Send correct job-ID in print job notifications. o Poornima Gurusiddaiah * BUG 10337: vfs_glusterfs: Enable per client log file. o Volker Lendecke * BUG 10250: smbd: Fix a talloc hierarchy problem in msg_channel. * BUG 10284: smbd: Fix segfaults. * BUG 10297: smbd: Fix writing to a directory with -wx permissions on a share. * BUG 10311: Fix SMB2 server panic when a smb2 brlock times out. o Stefan Metzmacher * BUG 10298: Reduce smb2_server processing overhead. o Arvid Requate * BUG 10267: Fix printing via local printer drivers with Windows 8. o Christof Schmitt * BUG 10310: Fix AIO with SMB2 and locks. o Andreas Schneider * BUG 2191: Fix %G/%g substitution in 'template homedir'. * BUG 10274: Fix several issues and warnings from analyzer tools. * BUG 10286: s3-lib: Fix %G substitution for domain users in smbd. ####################################### 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.1 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.1.3 December 9, 2013 ============================= This is a security release in order to address CVE-2013-4408 (DCE-RPC fragment length field is incorrectly checked) and CVE-2012-6150 (pam_winbind login without require_membership_of restrictions). o CVE-2013-4408: Samba versions 3.4.0 and above (versions 3.4.0 - 3.4.17, 3.5.0 - 3.5.22, 3.6.0 - 3.6.21, 4.0.0 - 4.0.12 and including 4.1.2) are vulnerable to buffer overrun exploits in the client processing of DCE-RPC packets. This is due to incorrect checking of the DCE-RPC fragment length in the client code. This is a critical vulnerability as the DCE-RPC client code is part of the winbindd authentication and identity mapping daemon, which is commonly configured as part of many server installations (when joined to an Active Directory Domain). A malicious Active Directory Domain Controller or man-in-the-middle attacker impersonating an Active Directory Domain Controller could achieve root-level access by compromising the winbindd process. Samba server versions 3.4.0 - 3.4.17 and versions 3.5.0 - 3.5.22 are also vulnerable to a denial of service attack (server crash) due to a similar error in the server code of those versions. Samba server versions 3.6.0 and above (including all 3.6.x versions, all 4.0.x versions and 4.1.x) are not vulnerable to this problem. In addition range checks were missing on arguments returned from calls to the DCE-RPC functions LookupSids (lsa and samr), LookupNames (lsa and samr) and LookupRids (samr) which could also cause similar problems. As this was found during an internal audit of the Samba code there are no currently known exploits for this problem (as of December 9th 2013). o CVE-2012-6150: Winbind allows for the further restriction of authenticated PAM logins using the require_membership_of parameter. System administrators may specify a list of SIDs or groups for which an authenticated user must be a member of. If an authenticated user does not belong to any of the entries, then login should fail. Invalid group name entries are ignored. Samba versions 3.3.10, 3.4.3, 3.5.0 and later incorrectly allow login from authenticated users if the require_membership_of parameter specifies only invalid group names. This is a vulnerability with low impact. All require_membership_of group names must be invalid for this bug to be encountered. Changes since 4.1.2: -------------------- o Jeremy Allison * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field. o Stefan Metzmacher * BUG 10185: CVE-2013-4408: Correctly check DCE-RPC fragment length field. o Noel Power * BUGs 10300, 10306: CVE-2012-6150: Fail authentication if user isn't member of *any* require_membership_of specified groups. ####################################### 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.1 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.1.2 November 22, 2013 ============================= This is is the latest stable release of Samba 4.1. Changes since 4.1.1: -------------------- o Jeremy Allison * BUG 10187: Missing talloc_free can leak stackframe in error path. * BUG 10196: RW Deny for a specific user is not overriding RW Allow for a group. o Anand Avati * BUG 10224: vfs_glusterfs: Implement proper mashalling/unmarshalling of ACLs. o Andrew Bartlett * BUG 10052: dfs_server: Use dsdb_search_one to catch 0 results as well as NO_SUCH_OBJECT errors. o Samuel Cabrero * BUG 9091: s4-dns: dlz_bind9: Create dns-HOSTNAME account disabled. o Günther Deschner * BUG 10264: s3-winbindd: Fix cache_traverse_validate_fn failure for NDR cache entries. o Christopher R. Hertel * BUG 10224: vfs_glusterfs: Fix excessive debug output from vfs_gluster_open(). o Björn Jacke * BUG 10247: xattr: Fix listing EAs on *BSD for non-root users. o Volker Lendecke * BUG 10190: Fix memset used with constant zero length parameter. * BUG 10195: nsswitch: Fix short writes in winbind_write_sock. o Stefan Metzmacher * BUG 10193: s4:dsdb/rootdse: report 'dnsHostName' instead of 'dNSHostName'. * BUG 10232: libcli/smb: Fix smb2cli_ioctl*() against Windows 2008. o Susant Kumar Palai * BUG 10224: VFS plugin was sending the actual size of the volume instead of the total number of block units because of which windows was getting the wrong volume capacity. o Andreas Schneider * BUG 10194: Make offline logon cache updating for cross child domain group membership. * BUG 10269: util: Remove 32bit macros breaking strict aliasing. * BUG 10253: Fix the build of vfs_glusterfs. ####################################### 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.1 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.1.1 November 11, 2013 ============================= This is a security release in order to address CVE-2013-4475 (ACLs are not checked on opening an alternate data stream on a file or directory) and CVE-2013-4476 (Private key in key.pem world readable). o CVE-2013-4475: Samba versions 3.2.0 and above (all versions of 3.2.x, 3.3.x, 3.4.x, 3.5.x, 3.6.x, 4.0.x and 4.1.x) do not check the underlying file or directory ACL when opening an alternate data stream. According to the SMB1 and SMB2+ protocols the ACL on an underlying file or directory should control what access is allowed to alternate data streams that are associated with the file or directory. By default no version of Samba supports alternate data streams on files or directories. Samba can be configured to support alternate data streams by loading either one of two virtual file system modues (VFS) vfs_streams_depot or vfs_streams_xattr supplied with Samba, so this bug only affects Samba servers configured this way. To determine if your server is vulnerable, check for the strings "streams_depot" or "streams_xattr" inside your smb.conf configuration file. o CVE-2013-4476: In setups which provide ldap(s) and/or https services, the private key for SSL/TLS encryption might be world readable. This typically happens in active directory domain controller setups. Changes since 4.1.0: -------------------- o Jeremy Allison * BUGs 10234 + 10229: CVE-2013-4475: Fix access check verification on stream files. o Björn Baumbach * BUG 10234: CVE-2013-4476: Private key in key.pem world readable. ####################################### 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.1 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.1.0 October 11, 2013 ============================= This is is the first stable release of Samba 4.1. Samba 4.1 will be the next version of the Samba suite and includes all the technology found in both the Samba4 series and the stable 3.x series. The primary additional features over Samba 3.6 are support for the Active Directory logon protocols used by Windows 2000 and above. Major enhancements in Samba 4.1.0 include: Client tools support SMB2/3 =========================== Samba 4.1.0 contains the first release of our client tools and client library that work over the new protocols SMB2 or SMB3. Note that SMB3 only works either to a Samba server version 4.0.0 or above, or to a Windows Server running Windows 2012 or Windows 8. The default protocol for smbclient and smbcacls is still SMB1 (the NT1 protocol dialect). An SMB2 or SMB3 connection can be selected in one of two ways. The easiest way to test the new protocol connection is to add the -mMAX_PROTOCOL command line switch to either smbclient or smbcacls. For example, to connect using SMB3 with smbclient a user would type: smbclient //server/share -Uuser%password -mSMB3 Another example of connecting using SMB2 using smbcacls would be: smbcacls //server/share -Uuser%password -mSMB2 filename Note that when connecting using SMB2 or SMB3 protocols the UNIX extensions are no longer available inside the smbclient command set. This is due to UNIX extensions not yet being defined for the SMB2 or SMB3 protocols. The second way to select SMB2 or SMB3 connections is to set the "client max protocol" parameter in the [global] section of your smb.conf. Setting this parameter will cause all client connections from Samba and its client tools to offer the requested max protocol to a server on every connection request. For example, to cause all client tools (including winbindd, rpcclient, and the libsmbclient library) to attempt use SMB3 by default add the line: client max protocol = SMB3 to the [global] section of your smb.conf. This has not been as widely tested as the -mPROTOCOL options, but is intended to work correctly in the final release of 4.1.0. Encrypted transport =================== Although Samba servers have supported encrypted transport connections using the UNIX extensions for many years, selecting SMB3 transport allows encrypted transport connections to Windows servers that support SMB3, as well as Samba servers. In order to enable this, add the "-e" option to the smbclient command line. For example, to connect to a Windows 2012 server over SMB3 and select an encrypted transport you would use the following command line: smbclient //Win2012Server/share -Uuser%password -mSMB3 -e Directory database replication (AD DC mode) =========================================== Directory replication has been reworked in order to improve the correctness and efficiency. As a net effect of it, replication with other domain controllers with a heavily modified schema is now possible (ie. Windows 2012 DCs or other Windows DC with exchange installed) and replication didn't fail anymore in such environments. Server-Side Copy Support ======================== Samba 4.1.0 adds support for server-side copy operations via the SMB2 FSCTL_SRV_COPYCHUNK request. Clients making use of server-side copy support, such as Windows Server 2012, should experience considerable performance improvements for file copy operations, as file data need not traverse the network. This feature is enabled by default on the smbd file server. Btrfs Filesystem Integration ============================ The Btrfs VFS module provided with Samba 4.1.0 further improves the performance of server-side copy operations on shares backed by a Btrfs filesystem. It does so by allowing multiple files to share the same on-disk extents, avoiding the unnecessary duplication of source and destination file data during a server-side copy operation. This feature can be explicitly enabled on smbd shares backed by a Btrfs filesystem with the smb.conf parameter: vfs objects = btrfs REMOVED COMPONENTS ================== The Samba Web Administration Tool (SWAT) has been removed. Details why SWAT has been removed can be found on the samba-technical mailing list: https://lists.samba.org/archive/samba-technical/2013-February/090572.html ###################################################################### Changes ####### smb.conf changes ---------------- Parameter Name Description Default -------------- ----------- ------- acl allow execute always New False password level Removed set directory Removed use ntdb New No RUNNING Samba 4.1 as an AD DC ============================= A short guide to setting up Samba as an AD DC can be found on the wiki: https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO COMMIT HIGHLIGHTS ================= o Jeremy Allison * Add SMB2 and SMB3 support for client tools and client library. * Add support for SMB3 Encrypted transport. o David Disseldorp * Add vfs_btrfs module. * Add support for server-side copy operations via the SMB2 FSCTL_SRV_COPYCHUNK request. CHANGES SINCE 4.1.0rc4 ====================== o Stefan Metzmacher * BUG 10178: Fix PAC parsing failure. o Andreas Schneider * BUG 10132: pam_winbindd: Support the KEYRING ccache type. CHANGES SINCE 4.1.0rc3 ====================== o Michael Adam * BUG 10134: Add "acl allow execute always" parameter. o Jeremy Allison * BUG 10139: Valid utf8 filenames cause "invalid conversion error" messages. * BUG 10145: Samba SMB2 client code reads the wrong short name length in a directory listing reply. * BUG 10149: cli_smb2_get_ea_list_path() failed to close file on exit. * BUG 10150: Not all OEM servers support the ALTNAME info level. o Andrew Bartlett * BUG 8077: dsdb: Convert the full string from UTF16 to UTF8, including embedded NULLs. * BUG 9461: python-samba-tool fsmo: Do not give an error on a successful role transfer. * BUG 10157: Regression causes replication failure with Windows 2008R2 and deletes Deleted Objects. o Günther Deschner * BUG 10147: Better document potential implications of a globally used "valid users". o Korobkin * BUG 10118: Raise the level of a debug when unable to open a printer. o Volker Lendecke * BUG 10008: dbwrap_ctdb: Treat empty records as non-existing. * BUG 10138: smbd: Always clean up share modes after hard crash. o Daniel Liberman * BUG 10162: Fix POSIX ACL mapping when setting DENY ACE's from Windows. o Stefan Metzmacher * BUG 10144: libcli/smb: Use SMB1 MID=0 for the initial Negprot. * BUG 10146: libcli/smb: Only check the SMB2 session setup signature if required and valid. o Matthieu Patou * BUG 10158: Netbios related samba process consumes 100% CPU. o Christof Schmitt * BUG 10137: vfs_shadow_copy2: Display previous versions correctly over SMB2. CHANGES SINCE 4.1.0rc2 ====================== o Michael Adam * BUG 10107: Fix Winbind crashes on DC with trusted AD domains. o Jeremy Allison * BUG 5917: Fix working on site with Read Only Domain Controller. * BUG 9974: Add SMB2 and SMB3 support for smbclient. * BUG 10063: Fix memory leak in source3/lib/util.c:1493. * BUG 10121: Masks incorrectly applied to UNIX extension permission changes. o Christian Ambach * BUG 9911: Build Samba 4.0.x on AIX with IBM XL C/C++. o Andrew Bartlett * BUG 9091: When replicating DNS for bind9_dlz we need to create the server-DNS account remotely. o Günther Deschner * BUG 9615: Winbind unable to retrieve user information from AD. * BUG 9899: winbind_lookup_names() fails because of NT_STATUS_CANT_ACCESS_DOMAIN_INFO. * BUG 10107: Fix Winbind crashes on DC with trusted AD domains. o Volker Lendecke * BUG 10086: smbd: Fix async echo handler forking. * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo requests. * BUG 10114: Handle Dropbox (write-only-directory) case correctly in pathname lookup. o Stefan Metzmacher * BUG 10030: ::1 added to nameserver on join. o Rusty Russell * BUG 10000: Add man pages for ntdb tools. o Karolin Seeger * BUG 7364: Add man page for vfs_syncops. * BUG 7490: Add man page for vfs_linux_xfs_sgid. * BUG 10001: Add man page for samba-regedit tool. * BUG 10076: Fix variable list in vfs_crossrename man page. o Andreas Schneider * BUG 10073: Fix segmentation fault in 'net ads join'. * BUG 10082: s3-winbind: Fix a segfault passing NULL to a fstring argument. o Richard Sharpe * BUG 10097: MacOSX 10.9 will not follow path-based DFS referrals handed out by Samba. o Ralph Wuerthner * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo requests. CHANGES SINCE 4.1.0rc1 ====================== o Jeremy Allison * BUG 9992: Windows error 0x800700FE when copying files with xattr names containing ":". * BUG 10010: Missing integer wrap protection in EA list reading can cause server to loop with DOS (CVE-2013-4124). * BUG 10064: Linux kernel oplock breaks can miss signals. o Andrew Bartlett * BUG 9029: Fix replication with --domain-crictical-only to fill in backlinks. * BUG 9820: Fix crash of winbind after "ls -l /usr/local/samba/var/locks/sysvol". * BUG 10056: dsdb improvements. o Björn Baumbach * BUG 10003: Fix segfault while reading incomplete session info. o Gregor Beck * BUG 9678: Windows 8 Roaming profiles fail. o Günther Deschner * BUG 10043: Allow to change the default location for Kerberos credential caches. o Volker Lendecke * BUG 10013: Fix a 100% loop at shutdown time (smbd). o Stefan Metzmacher * BUG 9820: Fix crash of winbind after "ls -l /usr/local/samba/var/locks/sysvol". * BUG 10015: Fix/improve debug options. * BUG 10042: Fix crashes in socket_get_local_addr(). * BUG 10056: dsdb improvements. o Andreas Schneider * BUG 9994: Do not delete an existing valid credential cache (s3-winbind). * BUG 10040: Rename regedit to samba-regedit. * BUG 10041: Remove obsolete swat manpage and references. * BUG 10048: nsswitch: Add OPT_KRB5CCNAME to avoid an error message. o Alexander Werth * BUG 10045: Remove a redundant inlined substitution of ACLs. o Ralph Wuerthner * BUG 10064: Linux kernel oplock breaks can miss signals. ####################################### 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.1 product in the project's Bugzilla database (https://bugzilla.samba.org/). ====================================================================== == Our Code, Our Bugs, Our Responsibility. == The Samba Team ======================================================================