4 This is the first stable release of the Samba 4.4 release series.
16 Asynchronous flush requests
17 ---------------------------
19 Flush requests from SMB2/3 clients are handled asynchronously and do
20 not block the processing of other requests. Note that 'strict sync'
21 has to be set to 'yes' for Samba to honor flush requests from SMB
27 Remove '--with-aio-support' configure option. We no longer would ever prefer
28 POSIX-RT aio, use pthread_aio instead.
33 The 'samba-tool sites' subcommand can now be run against another server by
34 specifying an LDB URL using the '-H' option and not against the local database
35 only (which is still the default when no URL is given).
37 samba-tool domain demote
38 ------------------------
40 Add '--remove-other-dead-server' option to 'samba-tool domain demote'
41 subcommand. The new version of this tool now can remove another DC that is
42 itself offline. The '--remove-other-dead-server' removes as many references
43 to the DC as possible.
45 samba-tool drs clone-dc-database
46 --------------------------------
48 Replicate an initial clone of domain, but do not join it.
49 This is developed for debugging purposes, but not for setting up another DC.
54 Add '--set-nt-hash' option to pdbedit to update user password from nt-hash
55 hexstring. 'pdbedit -vw' shows also password hashes.
60 'smbstatus' was enhanced to show the state of signing and encryption for
65 The -u and -p options for user and password were replaced by the -U option that
66 accepts username[%password] as in many other tools of the Samba suite.
67 Similary, smbgetrc files do not accept username and password options any more,
68 only a single "user" option which also accepts user%password combinations.
69 The -P option was removed.
74 Add a GnuTLS based backupkey implementation.
79 Using the '--offline-logon' enables ntlm_auth to use cached passwords when the
82 Allow '--password' force a local password check for ntlm-server-1 mode.
87 A new VFS module called vfs_offline has been added to mark all files in the
88 share as offline. It can be useful for shares mounted on top of a remote file
89 system (either through a samba VFS module or via FUSE).
94 The Samba KCC has been improved, but is still disabled by default.
99 There were several improvements concerning the Samba DNS server.
104 There were some improvements in the Active Directory area.
109 The WINS nsswitch module has been rewritten to address memory issues and to
110 simplify the code. The module now uses libwbclient to do WINS queries. This
111 means that winbind needs to be running in order to resolve WINS names using
112 the nss_wins module. This does not affect smbd.
117 * CTDB now uses a newly implemented parallel database recovery scheme
118 that avoids deadlocks with smbd.
120 In certain circumstances CTDB and smbd could deadlock. The new
121 recovery implementation avoid this. It also provides improved
122 recovery performance.
124 * All files are now installed into and referred to by the paths
125 configured at build time. Therefore, CTDB will now work properly
126 when installed into the default location at /usr/local.
128 * Public CTDB header files are no longer installed, since Samba and
129 CTDB are built from within the same source tree.
131 * CTDB_DBDIR can now be set to tmpfs[:<tmpfs-options>]
133 This will cause volatile TDBs to be located in a tmpfs. This can
134 help to avoid performance problems associated with contention on the
135 disk where volatile TDBs are usually stored. See ctdbd.conf(5) for
138 * Configuration variable CTDB_NATGW_SLAVE_ONLY is no longer used.
139 Instead, nodes should be annotated with the "slave-only" option in
140 the CTDB NAT gateway nodes file. This file must be consistent
141 across nodes in a NAT gateway group. See ctdbd.conf(5) for more
144 * New event script 05.system allows various system resources to be
147 This can be helpful for explaining poor performance or unexpected
148 behaviour. New configuration variables are
149 CTDB_MONITOR_FILESYSTEM_USAGE, CTDB_MONITOR_MEMORY_USAGE and
150 CTDB_MONITOR_SWAP_USAGE. Default values cause warnings to be
151 logged. See the SYSTEM RESOURCE MONITORING CONFIGURATION in
152 ctdbd.conf(5) for more information.
154 The memory, swap and filesystem usage monitoring previously found in
155 00.ctdb and 40.fs_use is no longer available. Therefore,
156 configuration variables CTDB_CHECK_FS_USE, CTDB_MONITOR_FREE_MEMORY,
157 CTDB_MONITOR_FREE_MEMORY_WARN and CTDB_CHECK_SWAP_IS_NOT_USED are
160 * The 62.cnfs eventscript has been removed. To get a similar effect
161 just do something like this:
163 mmaddcallback ctdb-disable-on-quorumLoss \
164 --command /usr/bin/ctdb \
165 --event quorumLoss --parms "disable"
167 mmaddcallback ctdb-enable-on-quorumReached \
168 --command /usr/bin/ctdb \
169 --event quorumReached --parms "enable"
171 * The CTDB tunable parameter EventScriptTimeoutCount has been renamed
172 to MonitorTimeoutCount
174 It has only ever been used to limit timed-out monitor events.
176 Configurations containing CTDB_SET_EventScriptTimeoutCount=<n> will
177 cause CTDB to fail at startup. Useful messages will be logged.
179 * The commandline option "-n all" to CTDB tool has been removed.
181 The option was not uniformly implemented for all the commands.
182 Instead of command "ctdb ip -n all", use "ctdb ip all".
184 * All CTDB current manual pages are now correctly installed
187 EXPERIMENTAL FEATURES
188 =====================
193 Samba 4.4.0 adds *experimental* support for SMB3 Multi-Channel.
194 Multi-Channel is an SMB3 protocol feature that allows the client
195 to bind multiple transport connections into one authenticated
196 SMB session. This allows for increased fault tolerance and
197 throughput. The client chooses transport connections as reported
198 by the server and also chooses over which of the bound transport
199 connections to send traffic. I/O operations for a given file
200 handle can span multiple network connections this way.
201 An SMB multi-channel session will be valid as long as at least
202 one of its channels are up.
204 In Samba, multi-channel can be enabled by setting the new
205 smb.conf option "server multi channel support" to "yes".
206 It is disabled by default.
208 Samba has to report interface speeds and some capabilities to
209 the client. On Linux, Samba can auto-detect the speed of an
210 interface. But to support other platforms, and in order to be
211 able to manually override the detected values, the "interfaces"
212 smb.conf option has been given an extended syntax, by which an
213 interface specification can additionally carry speed and
214 capability information. The extended syntax looks like this
215 for setting the speed to 1 gigabit per second:
217 interfaces = 192.168.1.42;speed=1000000000
219 This extension should be used with care and are mainly intended
220 for testing. See the smb.conf manual page for details.
222 CAVEAT: While this should be working without problems mostly,
223 there are still corner cases in the treatment of channel failures
224 that may result in DATA CORRUPTION when these race conditions hit.
227 NOT RECOMMENDED TO USE MULTI-CHANNEL IN PRODUCTION
229 at this stage. This situation can be expected to improve during
230 the life-time of the 4.4 release. Feed-back from test-setups is
240 Several public headers are not installed any longer. They are made for internal
241 use only. More public headers will very likely be removed in future releases.
243 The following headers are not installed any longer:
244 dlinklist.h, gen_ndr/epmapper.h, gen_ndr/mgmt.h, gen_ndr/ndr_atsvc_c.h,
245 gen_ndr/ndr_epmapper_c.h, gen_ndr/ndr_epmapper.h, gen_ndr/ndr_mgmt_c.h,
246 gen_ndr/ndr_mgmt.h,gensec.h, ldap_errors.h, ldap_message.h, ldap_ndr.h,
247 ldap-util.h, pytalloc.h, read_smb.h, registry.h, roles.h, samba_util.h,
248 smb2_constants.h, smb2_create_blob.h, smb2.h, smb2_lease.h, smb2_signing.h,
249 smb_cli.h, smb_cliraw.h, smb_common.h, smb_composite.h, smb_constants.h,
250 smb_raw.h, smb_raw_interfaces.h, smb_raw_signing.h, smb_raw_trans2.h,
251 smb_request.h, smb_seal.h, smb_signing.h, smb_unix_ext.h, smb_util.h,
252 torture.h, tstream_smbXcli_np.h.
254 vfs_smb_traffic_analyzer
255 ------------------------
257 The SMB traffic analyzer VFS module has been removed, because it is not
258 maintained any longer and not widely used.
263 The scannedonly VFS module has been removed, because it is not maintained
269 Parameter Name Description Default
270 -------------- ----------- -------
271 aio max threads New 100
272 ldap page size Changed default 1000
273 server multi channel support New No
274 interfaces Extended syntax
283 CHANGES SINCE 4.4.0rc5
284 ======================
286 o Michael Adam <obnox@samba.org>
287 * BUG 11796: smbd: Enable multi-channel if 'server multi channel support =
290 o Günther Deschner <gd@samba.org>
291 * BUG 11802: lib/socket/interfaces: Fix some uninitialied bytes.
293 o Uri Simchoni <uri@samba.org>
294 * BUG 11798: build: Fix build when '--without-quota' specified.
297 CHANGES SINCE 4.4.0rc4
298 ======================
300 o Andrew Bartlett <abartlet@samba.org>
301 * BUG 11780: mkdir can return ACCESS_DENIED incorrectly on create race.
302 * BUG 11783: Mismatch between local and remote attribute ids lets
303 replication fail with custom schema.
304 * BUG 11789: Talloc: Version 2.1.6.
306 o Ira Cooper <ira@samba.org>
307 * BUG 11774: vfs_glusterfs: Fix use after free in AIO callback.
309 o Günther Deschner <gd@samba.org>
310 * BUG 11755: Fix net join.
312 o Amitay Isaacs <amitay@gmail.com>
313 * BUG 11770: Reset TCP Connections during IP failover.
315 o Justin Maggard <jmaggard10@gmail.com>
316 * BUG 11773: s3:smbd: Add negprot remote arch detection for OSX.
318 o Stefan Metzmacher <metze@samba.org>
319 * BUG 11772: ldb: Version 1.1.26.
320 * BUG 11782: "trustdom_list_done: Got invalid trustdom response" message
323 o Uri Simchoni <uri@samba.org>
324 * BUG 11769: libnet: Make Kerberos domain join site-aware.
325 * BUG 11788: Quota is not supported on Solaris 10.
328 CHANGES SINCE 4.4.0rc3
329 ======================
331 o Jeremy Allison <jra@samba.org>
332 * BUG 11648: CVE-2015-7560: Getting and setting Windows ACLs on symlinks can
333 change permissions on link target.
335 o Christian Ambach <ambi@samba.org>
336 * BUG 11767: s3:utils/smbget: Fix option parsing.
338 o Alberto Maria Fiaschi <alberto.fiaschi@estar.toscana.it>
339 * BUG 8093: Access based share enum: handle permission set in configuration
342 o Stefan Metzmacher <metze@samba.org>
343 * BUG 11702: s3:clispnego: Fix confusing warning in spnego_gen_krb5_wrap().
344 * BUG 11742: tevent: version 0.9.28: Fix memory leak when old signal action
346 * BUG 11755: s3:libads: setup the msDS-SupportedEncryptionTypes attribute on
348 * BUGs 11128, 11686: CVE-2016-0771: Read of uninitialized memory DNS TXT
351 o Garming Sam <garming@catalyst.net.nz>
352 * BUGs 11128, 11686: CVE-2016-0771: Read of uninitialized memory DNS TXT
355 o Uri Simchoni <uri@samba.org>
356 * BUG 11691: winbindd: Return trust parameters when listing trusts.
357 * BUG 11753: smbd: Ignore SVHDX create context.
358 * BUG 11763: passdb: Add linefeed to debug message.
361 CHANGES SINCE 4.4.0rc2
362 ======================
364 o Michael Adam <obnox@samba.org>
365 * BUG 11723: lib:socket: Fix CID 1350010: Integer OVERFLOW_BEFORE_WIDEN.
366 * BUG 11735: lib:socket: Fix CID 1350009: Fix illegal memory accesses
367 (BUFFER_SIZE_WARNING).
369 o Jeremy Allison <jra@samba.org>
370 * BUG 10489: s3: smbd: posix_acls: Fix check for setting u:g:o entry on a
371 filesystem with no ACL support.
373 o Christian Ambach <ambi@samba.org>
374 * BUG 11700: s3:utils/smbget: Set default blocksize.
376 o Anoop C S <anoopcs@redhat.com>
377 * BUG 11734: lib/socket: Fix improper use of default interface speed.
379 o Ralph Boehme <slow@samba.org>
380 * BUG 11714: lib/tsocket: Work around sockets not supporting FIONREAD.
382 o Volker Lendecke <vl@samba.org>
383 * BUG 11724: smbd: Fix CID 1351215 Improper use of negative value.
384 * BUG 11725: smbd: Fix CID 1351216 Dereference null return value.
385 * BUG 11732: param: Fix str_list_v3 to accept ; again.
387 o Noel Power <noel.power@suse.com>
388 * BUG 11738: libcli: Fix debug message, print sid string for new_ace trustee.
390 o Jose A. Rivera <jarrpa@samba.org>
391 * BUG 11727: s3:smbd:open: Skip redundant call to file_set_dosmode when
394 o Andreas Schneider <asn@samba.org>
395 * BUG 11730: docs: Add manpage for cifsdd.
396 * BUG 11739: Fix installation path of Samba helper binaries.
398 o Berend De Schouwer <berend.de.schouwer@gmail.com>
399 * BUG 11643: docs: Add example for domain logins to smbspool man page.
401 o Martin Schwenke <martin@meltin.net>
402 * BUG 11719: ctdb-scripts: Drop use of "smbcontrol winbindd ip-dropped ..."
404 o Hemanth Thummala <hemanth.thummala@nutanix.com>
405 * BUG 11708: loadparm: Fix memory leak issue.
406 * BUG 11740: Fix memory leak in loadparm.
409 CHANGES SINCE 4.4.0rc1
410 ======================
412 o Michael Adam <obnox@samba.org>
413 * BUG 11715: s3:vfs:glusterfs: Fix build after quota changes.
415 o Jeremy Allison <jra@samba.org>
416 * BUG 11703: s3: smbd: Fix timestamp rounding inside SMB2 create.
418 o Christian Ambach <ambi@samba.org>
419 * BUG 11700: Streamline 'smbget' options with the rest of the Samba utils.
421 o Günther Deschner <gd@samba.org>
422 * BUG 11696: ctdb: Do not provide a useless pkgconfig file for ctdb.
424 o Stefan Metzmacher <metze@samba.org>
425 * BUG 11699: Crypto.Cipher.ARC4 is not available on some platforms, fallback
426 to M2Crypto.RC4.RC4 then.
428 o Amitay Isaacs <amitay@gmail.com>
429 * BUG 11705: Sockets with htons(IPPROTO_RAW) and CVE-2015-8543.
431 o Andreas Schneider <asn@samba.org>
432 * BUG 11690: docs: Add smbspool_krb5_wrapper manpage.
434 o Uri Simchoni <uri@samba.org>
435 * BUG 11681: smbd: Show correct disk size for different quota and dfree block
439 #######################################
440 Reporting bugs & Development Discussion
441 #######################################
443 Please discuss this release on the samba-technical mailing list or by
444 joining the #samba-technical IRC channel on irc.freenode.net.
446 If you do report problems then please try to send high quality
447 feedback. If you don't provide vital information to help us track down
448 the problem then you will probably be ignored. All bug reports should
449 be filed under the Samba 4.1 and newer product in the project's Bugzilla
450 database (https://bugzilla.samba.org/).
453 ======================================================================
454 == Our Code, Our Bugs, Our Responsibility.
456 ======================================================================