smbd: Correctly return INFO_LENGTH_MISMATCH in smb2_getinfo
[Samba.git] / WHATSNEW.txt
blobfe8c999f3ee6932bee84edc7b01d5728bfb30a0f
1 Release Announcements
2 =====================
4 This is the third release candidate of Samba 4.1.  This is *not*
5 intended for production environments and is designed for testing
6 purposes only.  Please report any defects via the Samba bug reporting
7 system at https://bugzilla.samba.org/.
9 Samba 4.1 will be the next version of the Samba suite and includes
10 all the technology found in both the Samba4 series and the stable 3.x
11 series. The primary additional features over Samba 3.6 are
12 support for the Active Directory logon protocols used by Windows 2000
13 and above.
15 If you are upgrading, or looking to develop, test or deploy Samba 4.1
16 releases candidates, you should backup all configuration and data.
19 NEW FEATURES
20 ============
22 Client tools support SMB2/3
23 ===========================
25 Samba 4.1.0 contains the first release of our client tools
26 and client library that work over the new protocols SMB2 or SMB3.
27 Note that SMB3 only works either to a Samba server version 4.0.0
28 or above, or to a Windows Server running Windows 2012 or Windows 8.
30 The default protocol for smbclient and smbcacls is still
31 SMB1 (the NT1 protocol dialect). An SMB2 or SMB3 connection
32 can be selected in one of two ways. The easiest way to test
33 the new protocol connection is to add the -mMAX_PROTOCOL
34 command line switch to either smbclient or smbcacls.
36 For example, to connect using SMB3 with smbclient a user
37 would type:
39 smbclient //server/share -Uuser%password -mSMB3
41 Another example of connecting using SMB2 using smbcacls
42 would be:
44 smbcacls //server/share -Uuser%password -mSMB2 filename
46 Note that when connecting using SMB2 or SMB3 protocols
47 the UNIX extensions are no longer available inside the
48 smbclient command set. This is due to UNIX extensions
49 not yet being defined for the SMB2 or SMB3 protocols.
51 The second way to select SMB2 or SMB3 connections is to
52 set the "client max protocol" parameter in the [global]
53 section of your smb.conf.
55 Setting this parameter will cause all client connections
56 from Samba and its client tools to offer the requested
57 max protocol to a server on every connection request.
59 For example, to cause all client tools (including winbindd,
60 rpcclient, and the libsmbclient library) to attempt use SMB3
61 by default add the line:
63 client max protocol = SMB3
65 to the [global] section of your smb.conf. This has not
66 been as widely tested as the -mPROTOCOL options, but
67 is intended to work correctly in the final release of
68 4.1.0.
70 Encrypted transport
71 ===================
73 Although Samba servers have supported encrypted transport
74 connections using the UNIX extensions for many years,
75 selecting SMB3 transport allows encrypted transport
76 connections to Windows servers that support SMB3, as
77 well as Samba servers.
79 In order to enable this, add the "-e" option to the
80 smbclient command line.
82 For example, to connect to a Windows 2012 server over
83 SMB3 and select an encrypted transport you would use
84 the following command line:
86 smbclient //Win2012Server/share -Uuser%password -mSMB3 -e
89 Directory database replication (AD DC mode)
90 ===========================================
92 Directory replication has been reworked in order to improve the
93 correctness and efficiency.
94 As a net effect of it, replication with other domain controllers with
95 a heavily modified schema is now possible (ie. Windows 2012 DCs or
96 other Windows DC with exchange installed) and replication didn't fail
97 anymore in such environments.
100 Server-Side Copy Support
101 ========================
103 Samba 4.1.0 adds support for server-side copy operations via the SMB2
104 FSCTL_SRV_COPYCHUNK request. Clients making use of server-side copy
105 support, such as Windows Server 2012, should experience considerable
106 performance improvements for file copy operations, as file data need not
107 traverse the network.
108 This feature is enabled by default on the smbd file server.
111 Btrfs Filesystem Integration
112 ============================
114 The Btrfs VFS module provided with Samba 4.1.0 further improves the
115 performance of server-side copy operations on shares backed by a Btrfs
116 filesystem. It does so by allowing multiple files to share the same
117 on-disk extents, avoiding the unnecessary duplication of source and
118 destination file data during a server-side copy operation.
120 This feature can be explicitly enabled on smbd shares backed by a Btrfs
121 filesystem with the smb.conf parameter:
122 vfs objects = btrfs
125 REMOVED COMPONENTS
126 ==================
128 The Samba Web Administration Tool (SWAT) has been removed.
131 ######################################################################
132 Changes
133 #######
135 smb.conf changes
136 ----------------
138    Parameter Name                       Description     Default
139    --------------                       -----------     -------
141    password level                       Removed
142    set directory                        Removed
143    use ntdb                             New             No
146 RUNNING Samba 4.1 as an AD DC
147 =============================
149 A short guide to setting up Samba as an AD DC can be found on the wiki:
151   https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
154 COMMIT HIGHLIGHTS
155 =================
157 o   Jeremy Allison <jra@samba.org>
158     * Add SMB2 and SMB3 support for client tools and client library.
159     * Add support for SMB3 Encrypted transport.
162 o   David Disseldorp <ddiss@samba.org>
163     * Add vfs_btrfs module.
164     * Add support for server-side copy operations via the
165       SMB2 FSCTL_SRV_COPYCHUNK request.
168 CHANGES SINCE 4.1.0rc2
169 ======================
171 o   Michael Adam <obnox@samba.org>
172     * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
175 o   Jeremy Allison <jra@samba.org>
176     * BUG 9974: Add SMB2 and SMB3 support for smbclient.
177     * BUG 10063: Fix memory leak in source3/lib/util.c:1493.
178     * BUG 10121: Masks incorrectly applied to UNIX extension permission
179       changes.
182 o   Christian Ambach <ambi@samba.org>
183     * BUG 9911: Build Samba 4.0.x on AIX with IBM XL C/C++.
186 o   Günther Deschner <gd@samba.org>
187     * BUG 9615: Winbind unable to retrieve user information from AD.
188     * BUG 9899: winbind_lookup_names() fails because of
189       NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
190     * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
193 o   Volker Lendecke <vl@samba.org>
194     * BUG 10086: smbd: Fix async echo handler forking.
195     * BUG 10114: Handle Dropbox (write-only-directory) case correctly
196       in pathname lookup.
199 o   Stefan Metzmacher <metze@samba.org>
200     * BUG 10030: ::1 added to nameserver on join.
203 o   Rusty Russell <rusty@rustcorp.com.au>
204     * BUG 10000: Add man pages for ntdb tools.
207 o   Karolin Seeger <kseeger@samba.org>
208     * BUG 7364: Add man page for vfs_syncops.
209     * BUG 7490: Add man page for vfs_linux_xfs_sgid.
210     * BUG 10001: Add man page for samba-regedit tool.
211     * BUG 10076: Fix variable list in vfs_crossrename man page.
214 o   Andreas Schneider <asn@samba.org>
215     * BUG 10073: Fix segmentation fault in 'net ads join'.
216     * BUG 10082: s3-winbind: Fix a segfault passing NULL to a fstring argument.
219 o   Richard Sharpe <realrichardsharpe@gmail.com>
220     * BUG 10097: MacOSX 10.9 will not follow path-based DFS referrals handed
221       out by Samba.
224 CHANGES SINCE 4.1.0rc1
225 ======================
227 o   Jeremy Allison <jra@samba.org>
228     * BUG 9992: Windows error 0x800700FE when copying files with xattr names
229       containing ":".
230     * BUG 10010: Missing integer wrap protection in EA list reading can cause
231       server to loop with DOS (CVE-2013-4124).
232     * BUG 10064: Linux kernel oplock breaks can miss signals.
235 o   Andrew Bartlett <abartlet@samba.org>
236     * BUG 9029: Fix replication with --domain-crictical-only to fill in
237       backlinks.
238     * BUG 9820: Fix crash of winbind after "ls -l
239       /usr/local/samba/var/locks/sysvol".
240     * BUG 10056: dsdb improvements.
243 o   Björn Baumbach <bb@sernet.de>
244     * BUG 10003: Fix segfault while reading incomplete session info.
247 o   Gregor Beck <gbeck@sernet.de>
248     * BUG 9678: Windows 8 Roaming profiles fail.
251 o   Günther Deschner <gd@samba.org>
252     * BUG 10043: Allow to change the default location for Kerberos credential
253       caches.
256 o   Volker Lendecke <vl@samba.org>
257     * BUG 10013: Fix a 100% loop at shutdown time (smbd).
260 o   Stefan Metzmacher <metze@samba.org>
261     * BUG 9820: Fix crash of winbind after "ls -l
262       /usr/local/samba/var/locks/sysvol".
263     * BUG 10015: Fix/improve debug options.
264     * BUG 10042: Fix crashes in socket_get_local_addr().
265     * BUG 10056: dsdb improvements.
268 o   Andreas Schneider <asn@samba.org>
269     * BUG 9994: Do not delete an existing valid credential cache (s3-winbind).
270     * BUG 10040: Rename regedit to samba-regedit.
271     * BUG 10041: Remove obsolete swat manpage and references.
272     * BUG 10048: nsswitch: Add OPT_KRB5CCNAME to avoid an error message.
275 o   Alexander Werth <alexander.werth@de.ibm.com>
276     * BUG 10045: Remove a redundant inlined substitution of ACLs.
279 o   Ralph Wuerthner <ralphw@de.ibm.com>
280     * BUG 10064: Linux kernel oplock breaks can miss signals.
283 #######################################
284 Reporting bugs & Development Discussion
285 #######################################
287 Please discuss this release on the samba-technical mailing list or by
288 joining the #samba-technical IRC channel on irc.freenode.net.
290 If you do report problems then please try to send high quality
291 feedback. If you don't provide vital information to help us track down
292 the problem then you will probably be ignored.  All bug reports should
293 be filed under the Samba 4.1 product in the project's Bugzilla
294 database (https://bugzilla.samba.org/).
297 ======================================================================
298 == Our Code, Our Bugs, Our Responsibility.
299 == The Samba Team
300 ======================================================================