VERSION: Disable git snapshots for the 4.1.0rc4 release.
[Samba.git] / WHATSNEW.txt
blobc01cb708adf46571014de46e08a9048b9061a46a
1 Release Announcements
2 =====================
4 This is the fourth 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    acl allow execute always             New             False
142    password level                       Removed
143    set directory                        Removed
144    use ntdb                             New             No
147 RUNNING Samba 4.1 as an AD DC
148 =============================
150 A short guide to setting up Samba as an AD DC can be found on the wiki:
152   https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO
155 COMMIT HIGHLIGHTS
156 =================
158 o   Jeremy Allison <jra@samba.org>
159     * Add SMB2 and SMB3 support for client tools and client library.
160     * Add support for SMB3 Encrypted transport.
163 o   David Disseldorp <ddiss@samba.org>
164     * Add vfs_btrfs module.
165     * Add support for server-side copy operations via the
166       SMB2 FSCTL_SRV_COPYCHUNK request.
169 CHANGES SINCE 4.1.0rc3
170 ======================
172 o   Michael Adam <obnox@samba.org>
173     * BUG 10134: Add "acl allow execute always" parameter.
176 o   Jeremy Allison <jra@samba.org>
177     * BUG 10139: Valid utf8 filenames cause "invalid conversion error"
178       messages.
179     * BUG 10145: Samba SMB2 client code reads the wrong short name length in a
180       directory listing reply.
181     * BUG 10149: cli_smb2_get_ea_list_path() failed to close file on exit.
182     * BUG 10150: Not all OEM servers support the ALTNAME info level.
185 o   Andrew Bartlett <abartlet@samba.org>
186     * BUG 8077: dsdb: Convert the full string from UTF16 to UTF8, including
187       embedded NULLs.
188     * BUG 9461: python-samba-tool fsmo: Do not give an error on a successful
189       role transfer.
190     * BUG 10157: Regression causes replication failure with Windows 2008R2 and
191       deletes Deleted Objects.
194 o   Günther Deschner <gd@samba.org>
195     * BUG 10147: Better document potential implications of a globally used
196       "valid users".
199 o   Korobkin <korobkin+samba@gmail.com>
200     * BUG 10118: Raise the level of a debug when unable to open a printer.
203 o   Volker Lendecke <vl@samba.org>
204     * BUG 10008: dbwrap_ctdb: Treat empty records as non-existing.
205     * BUG 10138: smbd: Always clean up share modes after hard crash.
208 o   Daniel Liberman <danielvl@gmail.com>
209     * BUG 10162: Fix POSIX ACL mapping when setting DENY ACE's from Windows.
212 o   Stefan Metzmacher <metze@samba.org>
213     * BUG 10144: libcli/smb: Use SMB1 MID=0 for the initial Negprot.
214     * BUG 10146: libcli/smb: Only check the SMB2 session setup signature if
215       required and valid.
218 o   Matthieu Patou <mat@matws.net>
219     * BUG 10158: Netbios related samba process consumes 100% CPU.
222 o   Christof Schmitt <christof.schmitt@us.ibm.com>
223     * BUG 10137: vfs_shadow_copy2: Display previous versions correctly over
224       SMB2.
227 CHANGES SINCE 4.1.0rc2
228 ======================
230 o   Michael Adam <obnox@samba.org>
231     * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
234 o   Jeremy Allison <jra@samba.org>
235     * BUG 5917: Fix working on site with Read Only Domain Controller.
236     * BUG 9974: Add SMB2 and SMB3 support for smbclient.
237     * BUG 10063: Fix memory leak in source3/lib/util.c:1493.
238     * BUG 10121: Masks incorrectly applied to UNIX extension permission
239       changes.
242 o   Christian Ambach <ambi@samba.org>
243     * BUG 9911: Build Samba 4.0.x on AIX with IBM XL C/C++.
246 o   Andrew Bartlett <abartlet@samba.org>
247     * BUG 9091: When replicating DNS for bind9_dlz we need to create the
248       server-DNS account remotely.
251 o   Günther Deschner <gd@samba.org>
252     * BUG 9615: Winbind unable to retrieve user information from AD.
253     * BUG 9899: winbind_lookup_names() fails because of
254       NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
255     * BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
258 o   Volker Lendecke <vl@samba.org>
259     * BUG 10086: smbd: Fix async echo handler forking.
260     * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
261       requests.
262     * BUG 10114: Handle Dropbox (write-only-directory) case correctly
263       in pathname lookup.
266 o   Stefan Metzmacher <metze@samba.org>
267     * BUG 10030: ::1 added to nameserver on join.
270 o   Rusty Russell <rusty@rustcorp.com.au>
271     * BUG 10000: Add man pages for ntdb tools.
274 o   Karolin Seeger <kseeger@samba.org>
275     * BUG 7364: Add man page for vfs_syncops.
276     * BUG 7490: Add man page for vfs_linux_xfs_sgid.
277     * BUG 10001: Add man page for samba-regedit tool.
278     * BUG 10076: Fix variable list in vfs_crossrename man page.
281 o   Andreas Schneider <asn@samba.org>
282     * BUG 10073: Fix segmentation fault in 'net ads join'.
283     * BUG 10082: s3-winbind: Fix a segfault passing NULL to a fstring argument.
286 o   Richard Sharpe <realrichardsharpe@gmail.com>
287     * BUG 10097: MacOSX 10.9 will not follow path-based DFS referrals handed
288       out by Samba.
291 o   Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
292     * BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo
293       requests.
296 CHANGES SINCE 4.1.0rc1
297 ======================
299 o   Jeremy Allison <jra@samba.org>
300     * BUG 9992: Windows error 0x800700FE when copying files with xattr names
301       containing ":".
302     * BUG 10010: Missing integer wrap protection in EA list reading can cause
303       server to loop with DOS (CVE-2013-4124).
304     * BUG 10064: Linux kernel oplock breaks can miss signals.
307 o   Andrew Bartlett <abartlet@samba.org>
308     * BUG 9029: Fix replication with --domain-crictical-only to fill in
309       backlinks.
310     * BUG 9820: Fix crash of winbind after "ls -l
311       /usr/local/samba/var/locks/sysvol".
312     * BUG 10056: dsdb improvements.
315 o   Björn Baumbach <bb@sernet.de>
316     * BUG 10003: Fix segfault while reading incomplete session info.
319 o   Gregor Beck <gbeck@sernet.de>
320     * BUG 9678: Windows 8 Roaming profiles fail.
323 o   Günther Deschner <gd@samba.org>
324     * BUG 10043: Allow to change the default location for Kerberos credential
325       caches.
328 o   Volker Lendecke <vl@samba.org>
329     * BUG 10013: Fix a 100% loop at shutdown time (smbd).
332 o   Stefan Metzmacher <metze@samba.org>
333     * BUG 9820: Fix crash of winbind after "ls -l
334       /usr/local/samba/var/locks/sysvol".
335     * BUG 10015: Fix/improve debug options.
336     * BUG 10042: Fix crashes in socket_get_local_addr().
337     * BUG 10056: dsdb improvements.
340 o   Andreas Schneider <asn@samba.org>
341     * BUG 9994: Do not delete an existing valid credential cache (s3-winbind).
342     * BUG 10040: Rename regedit to samba-regedit.
343     * BUG 10041: Remove obsolete swat manpage and references.
344     * BUG 10048: nsswitch: Add OPT_KRB5CCNAME to avoid an error message.
347 o   Alexander Werth <alexander.werth@de.ibm.com>
348     * BUG 10045: Remove a redundant inlined substitution of ACLs.
351 o   Ralph Wuerthner <ralphw@de.ibm.com>
352     * BUG 10064: Linux kernel oplock breaks can miss signals.
355 #######################################
356 Reporting bugs & Development Discussion
357 #######################################
359 Please discuss this release on the samba-technical mailing list or by
360 joining the #samba-technical IRC channel on irc.freenode.net.
362 If you do report problems then please try to send high quality
363 feedback. If you don't provide vital information to help us track down
364 the problem then you will probably be ignored.  All bug reports should
365 be filed under the Samba 4.1 product in the project's Bugzilla
366 database (https://bugzilla.samba.org/).
369 ======================================================================
370 == Our Code, Our Bugs, Our Responsibility.
371 == The Samba Team
372 ======================================================================