1 =============================
2 Release Notes for Samba 4.3.2
4 =============================
7 This is the latest stable release of Samba 4.3.
13 o Michael Adam <obnox@samba.org>
14 * BUG 11577: ctdb: Open the RO tracking db with perms 0600 instead of 0000.
16 o Jeremy Allison <jra@samba.org>
17 * BUG 11452: s3-smbd: Fix old DOS client doing wildcard delete - gives an
18 attribute type of zero.
19 * BUG 11565: auth: gensec: Fix a memory leak.
20 * BUG 11566: lib: util: Make non-critical message a warning.
21 * BUG 11589: s3: smbd: If EAs are turned off on a share don't allow an SMB2
22 create containing them.
23 * BUG 11615: s3: smbd: have_file_open_below() fails to enumerate open files
24 below an open directory handle.
26 o Ralph Boehme <slow@samba.org>
27 * BUG 11562: s4:lib/messaging: Use correct path for names.tdb.
28 * BUG 11564: async_req: Fix non-blocking connect().
30 o Volker Lendecke <vl@samba.org>
31 * BUG 11243: vfs_gpfs: Re-enable share modes.
32 * BUG 11570: smbd: Send SMB2 oplock breaks unencrypted.
33 * BUG 11612: winbind: Fix crash on invalid idmap configs.
35 o YvanM <yvan.masson@openmailbox.org>
36 * BUG 11584: manpage: Correct small typo error.
38 o Stefan Metzmacher <metze@samba.org>
39 * BUG 11327: dcerpc.idl: Accept invalid dcerpc_bind_nak pdus.
40 * BUG 11581: s3:smb2_server: Make the logic of SMB2_CANCEL DLIST_REMOVE()
43 o Marc Muehlfeld <mmuehlfeld@samba.org>
44 * BUG 9912: Changing log level of two entries to DBG_NOTICE.
45 * BUG 11581: s3-smbd: Fix use after issue in smbd_smb2_request_dispatch().
47 o Noel Power <noel.power@suse.com>
48 * BUG 11569: Fix winbindd crashes with samlogon for trusted domain user.
49 * BUG 11597: Backport some valgrind fixes from upstream master.
51 o Andreas Schneider <asn@samba.org
52 * BUG 11563: Fix segfault of 'net ads (join|leave) -S INVALID' with
55 o Tom Schulz <schulz@adi.com>
56 * BUG 11511: Add libreplace dependency to texpect, fixes a linking error on
58 * BUG 11512: s4: Fix linking of 'smbtorture' on Solaris.
60 o Uri Simchoni <uri@samba.org>
61 * BUG 11608: auth: Consistent handling of well-known alias as primary gid.
63 #######################################
64 Reporting bugs & Development Discussion
65 #######################################
67 Please discuss this release on the samba-technical mailing list or by
68 joining the #samba-technical IRC channel on irc.freenode.net.
70 If you do report problems then please try to send high quality
71 feedback. If you don't provide vital information to help us track down
72 the problem then you will probably be ignored. All bug reports should
73 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
74 database (https://bugzilla.samba.org/).
77 ======================================================================
78 == Our Code, Our Bugs, Our Responsibility.
80 ======================================================================
83 Older release notes to follow:
84 ------------------------------
86 =============================
87 Release Notes for Samba 4.3.1
89 =============================
92 This is the latest stable release of Samba 4.3.
98 o Jeremy Allison <jra@samba.org>
99 * BUG 10252: s3: smbd: Fix our access-based enumeration on "hide unreadable"
101 * BUG 10634: smbd: Fix file name buflen and padding in notify repsonse.
102 * BUG 11486: s3: smbd: Fix mkdir race condition.
103 * BUG 11522: s3: smbd: Fix opening/creating :stream files on the root share
105 * BUG 11535: s3: smbd: Fix NULL pointer bug introduced by previous 'raw'
106 * stream fix (bug #11522).
107 * BUG 11555: s3: lsa: lookup_name() logic for unqualified (no DOMAIN\
108 component) names is incorrect.
110 o Ralph Boehme <slow@samba.org>
111 * BUG 11535: s3: smbd: Fix a crash in unix_convert().
112 * BUG 11543: vfs_fruit: Return value of ad_pack in vfs_fruit.c.
113 * BUG 11549: s3:locking: Initialize lease pointer in
114 share_mode_traverse_fn().
115 * BUG 11550: s3:smbstatus: Add stream name to share_entry_forall().
116 * BUG 11555: s3:lib: Validate domain name in lookup_wellknown_name().
118 o Günther Deschner <gd@samba.org>
119 * BUG 11038: kerberos: Make sure we only use prompter type when available.
121 o Volker Lendecke <vl@samba.org>
122 * BUG 11038: winbind: Fix 100% loop.
123 * BUG 11053: source3/lib/msghdr.c: Fix compiling error on Solaris.
125 o Stefan Metzmacher <metze@samba.org>
126 * BUG 11316: s3:ctdbd_conn: make sure we destroy tevent_fd before closing
128 * BUG 11515: s4:lib/messaging: Use 'msg.lock' and 'msg.sock' for messaging
130 * BUG 11526: lib/param: Fix hiding of FLAG_SYNONYM values.
132 o Björn Jacke <bj@sernet.de>
133 * BUG 10365: nss_winbind: Fix hang on Solaris on big groups.
134 * BUG 11355: build: Use as-needed linker flag also on OpenBSD.
136 o Har Gagan Sahai <SHarGagan@novell.com>
137 * BUG 11509: s3: dfs: Fix a crash when the dfs targets are disabled.
139 o Andreas Schneider <asn@samba.org>
140 * BUG 11502: pam_winbind: Fix a segfault if initialization fails.
142 o Uri Simchoni <uri@samba.org>
143 * BUG 11528: net: Fix a crash with 'net ads keytab create'.
144 * BUG 11547: vfs_commit: set the fd on open before calling SMB_VFS_FSTAT.
146 #######################################
147 Reporting bugs & Development Discussion
148 #######################################
150 Please discuss this release on the samba-technical mailing list or by
151 joining the #samba-technical IRC channel on irc.freenode.net.
153 If you do report problems then please try to send high quality
154 feedback. If you don't provide vital information to help us track down
155 the problem then you will probably be ignored. All bug reports should
156 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
157 database (https://bugzilla.samba.org/).
160 ======================================================================
161 == Our Code, Our Bugs, Our Responsibility.
163 ======================================================================
166 ----------------------------------------------------------------------
169 =============================
170 Release Notes for Samba 4.3.0
172 =============================
175 This is the first stable release of Samba 4.3.
181 Read the "New FileChangeNotify subsystem" and "smb.conf changes" sections
191 The logging code now supports logging to multiple backends. In
192 addition to the previously available syslog and file backends, the
193 backends for logging to the systemd-journal, lttng and gpfs have been
194 added. Please consult the section for the 'logging' parameter in the
195 smb.conf manpage for details.
200 Support for Apple's Spotlight has been added by integrating with Gnome
203 For detailed instructions how to build and setup Samba for Spotlight,
204 please see the Samba wiki: <https://wiki.samba.org/index.php/Spotlight>
206 New FileChangeNotify subsystem
207 ------------------------------
209 Samba now contains a new subsystem to do FileChangeNotify. The
210 previous system used a central database, notify_index.tdb, to store
211 all notification requests. In particular in a cluster this turned out
212 to be a major bottleneck, because some hot records need to be bounced
213 back and forth between nodes on every change event like a new created
216 The new FileChangeNotify subsystem works with a central daemon per
217 node. Every FileChangeNotify request and every event are handled by an
218 asynchronous message from smbd to the notify daemon. The notify daemon
219 maintains a database of all FileChangeNotify requests in memory and
220 will distribute the notify events accordingly. This database is
221 asynchronously distributed in the cluster by the notify daemons.
223 The notify daemon is supposed to scale a lot better than the previous
224 implementation. The functional advantage is cross-node kernel change
225 notify: Files created via NFS will be seen by SMB clients on other
226 nodes per FileChangeNotify, despite the fact that popular cluster file
227 systems do not offer cross-node inotify.
229 Two changes to the configuration were required for this new subsystem:
230 The parameters "change notify" and "kernel change notify" are not
231 per-share anymore but must be set globally. So it is no longer
232 possible to enable or disable notify per share, the notify daemon has
233 no notion of a share, it only works on absolute paths.
235 New SMB profiling code
236 ----------------------
238 The code for SMB (SMB1, SMB2 and SMB3) profiling uses a tdb instead
239 of sysv IPC shared memory. This avoids performance problems and NUMA
240 effects. The profile stats are a bit more detailed than before.
242 Improved DCERPC man in the middle detection for kerberos
243 --------------------------------------------------------
245 The gssapi based kerberos backends for gensec have support for
246 DCERPC header signing when using DCERPC_AUTH_LEVEL_PRIVACY.
248 SMB signing required in winbindd by default
249 -------------------------------------------
251 The effective value for "client signing" is required
252 by default for winbindd, if the primary domain uses active directory.
254 Experimental NTDB was removed
255 -----------------------------
257 The experimental NTDB library introduced in Samba 4.0 has been
260 Improved support for trusted domains (as AD DC)
261 -----------------------------------------------
263 The support for trusted domains/forests has improved a lot.
265 samba-tool got "domain trust" subcommands to manage trusts:
267 create - Create a domain or forest trust.
268 delete - Delete a domain trust.
269 list - List domain trusts.
270 namespaces - Manage forest trust namespaces.
271 show - Show trusted domain details.
272 validate - Validate a domain trust.
274 External trusts between individual domains work in both ways
275 (inbound and outbound). The same applies to root domains of
276 a forest trust. The transitive routing into the other forest
277 is fully functional for kerberos, but not yet supported for NTLMSSP.
279 While a lot of things are working fine, there are currently a few limitations:
281 - Both sides of the trust need to fully trust each other!
282 - No SID filtering rules are applied at all!
283 - This means DCs of domain A can grant domain admin rights
285 - It's not possible to add users/groups of a trusted domain
291 Both client and server have support for SMB 3.1.1 now.
293 This is the dialect introduced with Windows 10, it improves the secure
294 negotiation of SMB dialects and features.
296 There's also a new optinal encryption algorithm aes-gcm-128,
297 but for now this is only selected as fallback and aes-ccm-128
298 is preferred because of the better performance. This might change
299 in future versions when hardware encryption will be supported.
300 See https://bugzilla.samba.org/show_bug.cgi?id=11451.
302 New smbclient subcommands
303 -------------------------
305 - Query a directory for change notifications: notify <dir name>
306 - Server side copy: scopy <source filename> <destination filename>
308 New rpcclient subcommands
309 -------------------------
311 netshareenumall - Enumerate all shares
312 netsharegetinfo - Get Share Info
313 netsharesetinfo - Set Share Info
314 netsharesetdfsflags - Set DFS flags
315 netfileenum - Enumerate open files
316 netnamevalidate - Validate sharename
317 netfilegetsec - Get File security
318 netsessdel - Delete Session
319 netsessenum - Enumerate Sessions
320 netdiskenum - Enumerate Disks
321 netconnenum - Enumerate Connections
322 netshareadd - Add share
323 netsharedel - Delete share
328 idmap_script - see 'man 8 idmap_script'
329 vfs_unityed_media - see 'man 8 vfs_unityed_media'
330 vfs_shell_snap - see 'man 8 vfs_shell_snap'
332 New sparsely connected replia graph (Improved KCC)
333 --------------------------------------------------
335 The Knowledge Consistency Checker (KCC) maintains a replication graph
336 for DCs across an AD network. The existing Samba KCC uses a fully
337 connected graph, so that each DC replicates from all the others, which
338 does not scale well with large networks. In 4.3 there is an
339 experimental new KCC that creates a sparsely connected replication
340 graph and closely follows Microsoft's specification. It is turned off
341 by default. To use the new KCC, set "kccsrv:samba_kcc=true" in
342 smb.conf and let us know how it goes. You should consider doing this
343 if you are making a large new network. For small networks there is
344 little benefit and you can always switch over at a later date.
346 Configurable TLS protocol support, with better defaults
347 -------------------------------------------------------
349 The "tls priority" option can be used to change the supported TLS
350 protocols. The default is to disable SSLv3, which is no longer
353 Samba-tool now supports all 7 FSMO roles
354 -------------------------------------------------------
356 Previously "samba-tool fsmo" could only show, transfer or seize the
357 five well-known FSMO roles:
363 Infrastructure Master
365 It can now also show, transfer or seize the DNS infrastructure roles:
367 DomainDnsZones Infrastructure Master
368 ForestDnsZones Infrastructure Master
373 The destination for CTDB logging is now set via a single new
374 configuration variable CTDB_LOGGING. This replaces CTDB_LOGFILE and
375 CTDB_SYSLOG, which have both been removed. See ctdbd.conf(5) for
376 details of CTDB_LOGGING.
378 CTDB no longer runs a separate logging daemon.
380 CTDB NFS support changes
381 ------------------------
383 CTDB's NFS service management has been combined into a single 60.nfs
384 event script. This updated 60.nfs script now uses a call-out to
385 interact with different NFS implementations. See the CTDB_NFS_CALLOUT
386 option in the ctdbd.conf(5) manual page for details. A default
387 call-out is provided to interact with the Linux kernel NFS
388 implementation. The 60.ganesha event script has been removed - a
389 sample call-out is provided for NFS Ganesha, based on this script.
391 The method of configuring NFS RPC checks has been improved. See
392 ctdb/config/nfs-checks.d/README for details.
394 Improved Cross-Compiling Support
395 --------------------------------
397 A new "hybrid" build configuration mode is added to improve
398 cross-compilation support.
400 A common challenge in cross-compilation is that of obtaining the results
401 of tests that have to run on the target, during the configuration
402 phase of the build. The Samba build system already supports the following
405 - Executing configure tests using the --cross-execute parameter
406 - Obtaining the results from an answers file using the --cross-answers
409 The first method has the drawback of inaccurate results if the tests are
410 run using an emulator, or a need to be connected to a running target
411 while building, if the tests are to be run on an actual target. The
412 second method presents a challenge of figuring out the test results.
414 The new hybrid mode runs the tests and records the result in an answer file.
415 To activate this mode, use both --cross-execute and --cross-answers in the
416 same configure invocation. This mode can be activated once against a
417 running target, and then the generated answers file can be used in
420 Also supplied is an example script that can be used as the
421 cross-execute program. This script copies the test to a running target
422 and runs the test on the target, obtaining the result. The obtained
423 results are more accurate than running the test with an emulator, because
424 they reflect the exact kernel and system libraries that exist on the
427 Improved Sparse File Support
428 ----------------------------
429 Support for the FSCTL_SET_ZERO_DATA and FSCTL_QUERY_ALLOCATED_RANGES
430 SMB2 requests has been added to the smbd file server.
431 This allows for clients to deallocate (hole punch) regions within a
432 sparse file, and check which portions of a file are allocated.
435 ######################################################################
442 Parameter Name Description Default
443 -------------- ----------- -------
445 msdfs shuffle referrals New no
446 smbd profiling level New off
448 tls priority New NORMAL:-VERS-SSL3.0
450 change notify Changed to [global]
451 kernel change notify Changed to [global]
452 client max protocol Changed default SMB3_11
453 server max protocol Changed default SMB3_11
458 vfs_notify_fam - see section 'New FileChangeNotify subsystem'.
467 CHANGES SINCE 4.2.0rc4
468 ======================
470 o Andrew Bartlett <abartlet@samba.org>
471 * Bug 10973: No objectClass found in replPropertyMetaData on ordinary
472 objects (non-deleted)
473 * Bug 11429: Python bindings don't check integer types
474 * Bug 11430: Python bindings don't check array sizes
476 o Ralph Boehme <slow@samba.org>
477 * Bug 11467: Handling of 0 byte resource fork stream
479 o Volker Lendecke <vl@samba.org>
480 * Bug 11488: AD samr GetGroupsForUser fails for users with "()" in
483 o Stefan Metzmacher <metze@samba.org>
484 * Bug 11429: Python bindings don't check integer types
486 o Matthieu Patou <mat@matws.net>
487 * Bug 10973: No objectClass found in replPropertyMetaData on ordinary
488 objects (non-deleted)
491 CHANGES SINCE 4.2.0rc3
492 ======================
494 o Ralph Boehme <slow@samba.org>
495 * Bug 11444: Crash in notify_remove caused by change notify = no
497 o Günther Deschner <gd@samba.org>
498 * Bug 11411: smbtorture does not build when configured --with-system-mitkrb5
500 o Volker Lendecke <vl@samba.org>
501 * Bug 11455: fix recursion problem in rep_strtoll in lib/replace/replace.c
502 * Bug 11464: xid2sid gives inconsistent results
503 * Bug 11465: ctdb: Fix the build on FreeBSD 10.1
505 o Roel van Meer <roel@1afa.com>
506 * Bug 11427: nmbd incorrectly matches netbios names as own name
508 o Stefan Metzmacher <metze@samba.org>
509 * Bug 11451: Poor SMB3 encryption performance with AES-GCM
510 * Bug 11458: --bundled-libraries=!ldb,!pyldb,!pyldb-util doesn't
511 disable ldb build and install
513 o Andreas Schneider <asn@samba.org>
514 * Bug 9862: Samba "map to guest = Bad uid" doesn't work
517 CHANGES SINCE 4.3.0rc2
518 ======================
520 o Andrew Bartlett <abartlet@samba.org>
521 * Bug 11436: samba-tool uncaught exception error
522 * Bug 10493: revert LDAP extended rule 1.2.840.113556.1.4.1941
523 LDAP_MATCHING_RULE_IN_CHAIN changes
525 o Ralph Boehme <slow@samba.org>
526 * Bug 11278: Stream names with colon don't work with
527 fruit:encoding = native
528 * Bug 11426: net share allowedusers crashes
530 o Amitay Isaacs <amitay@gmail.com>
531 * Bug 11432: Fix crash in nested ctdb banning
532 * Bug 11434: Cannot build ctdbpmda
533 * Bug 11431: CTDB's eventscript error handling is broken
535 o Stefan Metzmacher <metze@samba.org>
536 * Bug 11451: Poor SMB3 encryption performance with AES-GCM (part1)
537 * Bug 11316: tevent_fd needs to be destroyed before closing the fd
539 o Arvid Requate <requate@univention.de>
540 * Bug 11291: NetApp joined to a Samba/ADDC cannot resolve SIDs
542 o Martin Schwenke <martin@meltin.net>
543 * Bug 11432: Fix crash in nested ctdb banning
546 CHANGES SINCE 4.3.0rc1
547 ======================
549 o Jeremy Allison <jra@samba.org>
550 * BUG 11359: strsep is not available on Solaris
552 o Björn Baumbach <bb@sernet.de>
553 * BUG 11421: Build with GPFS support is broken
555 o Justin Maggard <jmaggard@netgear.com>
556 * BUG 11320: "force group" with local group not working
558 o Martin Schwenke <martin@meltin.net>
559 * BUG 11424: Build broken with --disable-python
562 #######################################
563 Reporting bugs & Development Discussion
564 #######################################
566 Please discuss this release on the samba-technical mailing list or by
567 joining the #samba-technical IRC channel on irc.freenode.net.
569 If you do report problems then please try to send high quality
570 feedback. If you don't provide vital information to help us track down
571 the problem then you will probably be ignored. All bug reports should
572 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
573 database (https://bugzilla.samba.org/).
576 ======================================================================
577 == Our Code, Our Bugs, Our Responsibility.
579 ======================================================================