1 =============================
2 Release Notes for Samba 4.8.3
4 =============================
7 This is the latest stable release of the Samba 4.8 release series.
13 o Jeremy Allison <jra@samba.org>
16 #######################################
17 Reporting bugs & Development Discussion
18 #######################################
20 Please discuss this release on the samba-technical mailing list or by
21 joining the #samba-technical IRC channel on irc.freenode.net.
23 If you do report problems then please try to send high quality
24 feedback. If you don't provide vital information to help us track down
25 the problem then you will probably be ignored. All bug reports should
26 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
27 database (https://bugzilla.samba.org/).
30 ======================================================================
31 == Our Code, Our Bugs, Our Responsibility.
33 ======================================================================
36 Release notes for older releases follow:
37 ----------------------------------------
39 =============================
40 Release Notes for Samba 4.8.2
42 =============================
45 This is the latest stable release of the Samba 4.8 release series.
47 Major bug fixes include:
48 ------------------------
50 o After update to 4.8.0 DC failed with "Failed to find our own
51 NTDS Settings objectGUID" (bug #13335).
56 o Jeremy Allison <jra@samba.org>
57 * BUG 13380: s3: smbd: Generic fix for incorrect reporting of stream dos
58 attributes on a directory.
59 * BUG 13412: ceph: VFS: Add asynchronous fsync to ceph module, fake using
61 * BUG 13419: s3: libsmbclient: Fix hard-coded connection error return of
64 o Andrew Bartlett <abartlet@samba.org>
65 * BUG 13306: ldb: Release ldb 1.3.3:
66 * Fix failure to upgrade to the GUID index DB format.
67 * Add tests for GUID index behaviour.
68 * BUG 13420: s4-lsa: Fix use-after-free in LSA server.
69 * BUG 13430: winbindd: Do re-connect if the RPC call fails in the passdb
72 o Ralph Boehme <slow@samba.org>
73 * BUG 13416: s3:cleanupd: Sends MSG_SMB_UNLOCK twice to interested peers.
74 * BUG 13414: s3:cleanupd: Use MSG_SMB_BRL_VALIDATE to signal cleanupd
75 unclean process shutdown.
77 o David Disseldorp <ddiss@samba.org>
78 * BUG 13425: vfs_ceph: add fake async pwrite/pread send/recv hooks.
80 o Amitay Isaacs <amitay@gmail.com>
81 * BUG 13411: ctdb-client: Remove ununsed functions from old client code.
83 o Björn Jacke <bjacke@samba.org>
84 * BUG 13395: printing: Return the same error code as windows does on upload
87 o Gary Lockyer <gary@catalyst.net.nz>
88 * BUG 13335: After update to 4.8.0 DC failed with "Failed to find our own
89 NTDS Settings objectGUID".
91 o Stefan Metzmacher <metze@samba.org>
92 * BUG 13400: nsswitch: Fix memory leak in winbind_open_pipe_sock() when the
93 privileged pipe is not accessable.
94 * BUG 13420: s4:lsa_lookup: remove TALLOC_FREE(state) after all
95 dcesrv_lsa_Lookup{Names,Sids}_base_map() calls.
97 o Vandana Rungta <vrungta@amazon.com>
98 * BUG 13424: s3: VFS: Fix memory leak in vfs_ceph.
100 o Christof Schmitt <cs@samba.org>
101 * BUG 13407: rpc_server: Fix NetSessEnum with stale sessions.
103 o Andreas Schneider <asn@samba.org>
104 * BUG 13417: s3:smbspool: Fix cmdline argument handling.
107 #######################################
108 Reporting bugs & Development Discussion
109 #######################################
111 Please discuss this release on the samba-technical mailing list or by
112 joining the #samba-technical IRC channel on irc.freenode.net.
114 If you do report problems then please try to send high quality
115 feedback. If you don't provide vital information to help us track down
116 the problem then you will probably be ignored. All bug reports should
117 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
118 database (https://bugzilla.samba.org/).
121 ======================================================================
122 == Our Code, Our Bugs, Our Responsibility.
124 ======================================================================
127 ----------------------------------------------------------------------
130 =============================
131 Release Notes for Samba 4.8.1
133 =============================
136 This is the latest stable release of the Samba 4.8 release series.
142 o Jeremy Allison <jra@samba.org>
143 * BUG 13244: s3: ldap: Ensure the ADS_STRUCT pointer doesn't get freed on
144 error, we don't own it here.
145 * BUG 13270: s3: smbd: Fix possible directory fd leak if the underlying OS
146 doesn't support fdopendir().
147 * BUG 13319: Round-tripping ACL get/set through vfs_fruit will increase the
148 number of ACE entries without limit.
149 * BUG 13347: s3: smbd: SMB2: Add DBGC_SMB2_CREDITS class to specifically
151 * BUG 13358: s3: smbd: Files or directories can't be opened DELETE_ON_CLOSE
152 without delete access.
153 * BUG 13372: s3: smbd: Fix memory leak in vfswrap_getwd().
154 * BUG 13375: s3: smbd: Unix extensions attempts to change wrong field in
157 o Björn Baumbach <bb@sernet.de>
158 * BUG 13337: ms_schema/samba-tool visualize: Fix python2.6 incompatibility.
160 o Timur I. Bakeyev <timur@iXsystems.com>
161 * BUG 13352: Fix invocation of gnutls_aead_cipher_encrypt().
163 o Ralph Boehme <slow@samba.org>
164 * BUG 13328: Windows 10 cannot logon on Samba NT4 domain.
165 * BUG 13332: winbindd: Recover loss of netlogon secure channel in case the
167 * BUG 13363: s3:smbd: Don't use the directory cache for SMB2/3.
169 o Amitay Isaacs <amitay@gmail.com>
170 * BUG 13356: ctdb-client: Fix bugs in client code.
171 * BUG 13359: ctdb-scripts: Drop "net serverid wipe" from 50.samba event
174 o Lutz Justen <ljusten@google.com>
175 * BUG 13368: s3: lib: messages: Don't use the result of sec_init() before
178 o Volker Lendecke <vl@samba.org>
179 * BUG 13273: libads: Fix the build '--without-ads'.
180 * BUG 13332: winbind: Keep "force_reauth" in invalidate_cm_connection,
181 add 'smbcontrol disconnect-dc'.
182 * BUG 13343: vfs_virusfilter: Fix CIDs 1428738-1428740.
183 * BUG 13367: dsdb: Fix CID 1034966 Uninitialized scalar variable.
184 * BUG 13370: rpc_server: Fix core dump in dfsgetinfo.
185 * BUG 13382: smbclient: Fix notify.
187 o Stefan Metzmacher <metze@samba.org>
188 * BUG 13215: Fix smbd panic if the client-supplied channel sequence number
190 * BUG 13328: Windows 10 cannot logon on Samba NT4 domain.
191 * BUG 13342: lib/util: Remove unused '#include <sys/syscall.h>' from
193 * BUG 13343: Fix build errors with cc from developerstudio 12.5 on Solaris.
194 * BUG 13344: Fix the picky-developer build on FreeBSD 11.
195 * BUG 13345: s3:modules: Fix the build of vfs_aixacl2.c.
198 * BUG 13338: s3:smbd: map nterror on smb2_flush errorpath.
200 o Noel Power <noel.power@suse.com>
201 * BUG 13341: lib:replace: Fix linking when libtirpc-devel overwrites system
204 o Christof Schmitt <cs@samba.org>
205 * BUG 13312: winbindd: 'wbinfo --name-to-sid' returns misleading result on
208 o Andreas Schneider <asn@samba.org>
209 * BUG 13376: s3:passdb: Do not return OK if we don't have pinfo set up.
211 o Eric Vannier <evannier@google.com>
212 * BUG 13302: Allow AESNI to be used on all processor supporting AESNI.
215 #######################################
216 Reporting bugs & Development Discussion
217 #######################################
219 Please discuss this release on the samba-technical mailing list or by
220 joining the #samba-technical IRC channel on irc.freenode.net.
222 If you do report problems then please try to send high quality
223 feedback. If you don't provide vital information to help us track down
224 the problem then you will probably be ignored. All bug reports should
225 be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
226 database (https://bugzilla.samba.org/).
229 ======================================================================
230 == Our Code, Our Bugs, Our Responsibility.
232 ======================================================================
235 ----------------------------------------------------------------------
238 =============================
239 Release Notes for Samba 4.8.0
241 =============================
244 This is the first stable release of the Samba 4.8 release series.
245 Please read the release notes carefully before upgrading.
251 New GUID Index mode in sam.ldb for the AD DC
252 --------------------------------------------
254 Users who upgrade a Samba AD DC in-place will experience a short delay
255 in the first startup of Samba while the sam.ldb is re-indexed.
257 Unlike in previous releases a transparent downgrade is not possible.
258 If you wish to downgrade such a DB to a Samba 4.7 or earlier version,
259 please run the source4/scripting/bin/sambaundoguididx script first.
261 Domain member setups require winbindd
262 -------------------------------------
264 Setups with "security = domain" or "security = ads" require a
265 running 'winbindd' now. The fallback that smbd directly contacts
266 domain controllers is gone.
268 smbclient reparse point symlink parameters reversed
269 ---------------------------------------------------
271 See the more detailed description below.
273 Changed trusted domains listing with wbinfo -m --verbose
274 --------------------------------------------------------
276 See the more detailed description below.
281 New GUID Index mode in sam.ldb for the AD DC
282 --------------------------------------------
284 The new layout used for sam.ldb is GUID, rather than DN oriented.
285 This provides Samba's Active Directory Domain Controller with a faster
286 database, particularly at larger scale.
288 The underlying DB is still TDB, simply the choice of key has changed.
290 The new mode is not optional, so no configuration is required. Older
291 Samba versions cannot read the new database (see the upgrade
297 Adds Group Policy support for the Samba kdc. Applies password policies
298 (minimum/maximum password age, minimum password length, and password
299 complexity) and kerberos policies (user/service ticket lifetime and
302 Adds the samba_gpoupdate script for applying and unapplying
303 policy. Can be applied automatically by setting
305 'apply group policies = yes'.
307 Time Machine Support with vfs_fruit
308 -----------------------------------
310 Samba can be configured as a Time Machine target for Apple Mac devices
311 through the vfs_fruit module. When enabling a share for Time Machine
312 support the relevant Avahi records to support discovery will be published
313 for installations that have been built against the Avahi client library.
315 Shares can be designated as a Time Machine share with the following setting:
317 'fruit:time machine = yes'
319 Support for lower casing the MDNS Name
320 --------------------------------------
322 Allows the server name that is advertised through MDNS to be set to the
323 hostname rather than the Samba NETBIOS name. This allows an administrator
324 to make Samba registered MDNS records match the case of the hostname
325 rather than being in all capitals.
327 This can be set with the following settings:
334 Attributes deemed to be sensitive are now encrypted on disk. The sensitive
335 values are currently:
337 msDS-ExecuteScriptPassword
345 supplementalCredentials
351 This encryption is enabled by default on a new provision or join, it
352 can be disabled at provision or join time with the new option
353 '--plaintext-secrets'.
355 However, an in-place upgrade will not encrypt the database.
357 Once encrypted, it is not possible to do an in-place downgrade (eg to
358 4.7) of the database. To obtain an unencrypted copy of the database a
359 new DC join should be performed, specifying the '--plaintext-secrets'
362 The key file "encrypted_secrets.key" is created in the same directory
363 as the database and should NEVER be disclosed. It is included by the
366 Active Directory replication visualisation
367 ------------------------------------------
369 To work out what is happening in a replication graph, it is sometimes
370 helpful to use visualisations. We introduce a samba-tool subcommand to
371 write Graphviz dot output and generate text-based heatmaps of the
372 distance in hops between DCs.
374 There are two subcommands, two graphical modes, and (roughly) two modes of
375 operation with respect to the location of authority.
377 `samba-tool visualize ntdsconn` looks at NTDS Connections.
378 `samba-tool visualize reps` looks at repsTo and repsFrom objects.
380 In '--distance' mode (default), the distances between DCs are shown in
381 a matrix in the terminal. With '--color=yes', this is depicted as a
382 heatmap. With '--utf8' it is a lttle prettier.
384 In '--dot' mode, Graphviz dot output is generated. When viewed using
385 dot or xdot, this shows the network as a graph with DCs as vertices
386 and connections edges. Certain types of degenerate edges are shown in
387 different colours or line-styles.
389 smbclient reparse point symlink parameters reversed
390 ---------------------------------------------------
392 A bug in smbclient caused the 'symlink' command to reverse the
393 meaning of the new name and link target parameters when creating a
394 reparse point symlink against a Windows server. As this is a
395 little used feature the ordering of these parameters has been
396 reversed to match the parameter ordering of the UNIX extensions
397 'symlink' command. The usage message for this command has also
398 been improved to remove confusion.
403 The dependency to global list of trusted domains within
404 the winbindd processes has been reduced a lot.
406 The construction of that global list is not reliable and often
407 incomplete in complex trust setups. In most situations the list is not needed
408 any more for winbindd to operate correctly. E.g. for plain file serving via SMB
409 using a simple idmap setup with autorid, tdb or ad. However some more complex
410 setups require the list, e.g. if you specify idmap backends for specific
411 domains. Some pam_winbind setups may also require the global list.
413 If you have a setup that doesn't require the global list, you should set
414 "winbind scan trusted domains = no".
416 Improved support for trusted domains (as AD DC)
417 -----------------------------------------------
419 The support for trusted domains/forests has improved a lot.
421 External domain trusts, as well a transitive forest trusts,
422 are supported in both directions (inbound and outbound)
423 for Kerberos and NTLM authentication now.
425 The LSA LookupNames and LookupSids implementations
426 support resolving names and sids from trusts domains/forest
427 now. This is important in order to allow Samba based
428 domain members to make use of the trust.
430 However there are currently still a few limitations:
432 - It's not possible to add users/groups of a trusted domain
433 into domain groups. So group memberships are not expanded
435 See https://bugzilla.samba.org/show_bug.cgi?id=13300
436 - Both sides of the trust need to fully trust each other!
437 - No SID filtering rules are applied at all!
438 - This means DCs of domain A can grant domain admin rights
440 - Selective (CROSS_ORIGANIZATION) authentication is
441 not supported. It's possible to create such a trust,
442 but the KDC and winbindd ignore them.
444 Changed trusted domains listing with wbinfo -m --verbose
445 --------------------------------------------------------
447 The trust properties printed by wbinfo -m --verbose have been changed to
448 correctly reflect the view of the system where wbinfo is executed.
450 The trust type field in particular can show additional values that correctly
451 reflect the type of the trust: "Local" for the local SAM and BUILTIN,
452 "Workstation" for a workstation trust to the primary domain, "RWDC" for the SAM
453 on a AD DC, "RODC" for the SAM on a read-only DC, "PDC" for the SAM on a
454 NT4-style DC, "Forest" for a AD forest trust and "External" for quarantined,
455 external or NT4-style trusts.
457 Indirect trusts are shown as "Routed" including the routing domain.
459 Example, on a AD DC (SDOM1):
461 Domain Name DNS Domain Trust Type Transitive In Out
463 SDOM1 sdom1.site RWDC
464 WDOM3 wdom3.site Forest Yes No Yes
465 WDOM2 wdom2.site Forest Yes Yes Yes
466 SUBDOM31 subdom31.wdom3.site Routed (via WDOM3)
467 SUBDOM21 subdom21.wdom2.site Routed (via WDOM2)
469 Same setup, on a member of WDOM2:
471 Domain Name DNS Domain Trust Type Transitive In Out
474 WDOM2 wdom2.site Workstation Yes No Yes
475 WDOM1 wdom1.site Routed (via WDOM2)
476 WDOM3 wdom3.site Routed (via WDOM2)
477 SUBDOM21 subdom21.wdom2.site Routed (via WDOM2)
478 SDOM1 sdom1.site Routed (via WDOM2)
479 SUBDOM11 subdom11.wdom1.site Routed (via WDOM2)
481 The list of trusts may be incomplete and additional domains may appear as
482 "Routed" if a user of an unknown domain is successfully authenticated.
484 VirusFilter VFS module
485 ----------------------
487 This new module integrates with Sophos, F-Secure and ClamAV anti-virus
488 software to provide scanning and filtering of files on a Samba share.
494 'net serverid' commands removed
495 -------------------------------
497 The two commands 'net serverid list' and 'net serverid wipe' have been
498 removed, because the file serverid.tdb is not used anymore.
500 'net serverid list' can be replaced by listing all files in the
501 subdirectory "msg.lock" of Samba's "lock directory". The unique id
502 listed by 'net serverid list' is stored in every process' lockfile in
505 'net serverid wipe' is not necessary anymore. It was meant primarily
506 for clustered environments, where the serverid.tdb file was not
507 properly cleaned up after single node crashes. Nowadays smbd and
508 winbind take care of cleaning up the msg.lock and msg.sock directories
511 NT4-style replication based net commands removed
512 ------------------------------------------------
514 The following commands and sub-commands have been removed from the
520 Also, replicating from a real NT4 domain with "net rpc vampire" and
521 "net rpc vampire keytab" has been removed.
523 The NT4-based commands were accidentally broken in 2013, and nobody
524 noticed the breakage. So instead of fixing them including tests (which
525 would have meant writing a server for the protocols, which we don't
526 have) we decided to remove them.
528 For the same reason, the "samsync", "samdeltas" and "database_redo"
529 commands have been removed from rpcclient.
531 "net rpc vampire keytab" from Active Directory domains continues to be
534 vfs_aio_linux module removed
535 ----------------------------
537 The current Linux kernel aio does not match what Samba would
538 do. Shipping code that uses it leads people to false
539 assumptions. Samba implements async I/O based on threads by default,
540 there is no special module required to see benefits of read and write
541 request being sent do the disk in parallel.
547 Parameter Name Description Default
548 -------------- ----------- -------
549 apply group policies New no
552 client schannel Default changed/ yes
554 gpo update command New
555 ldap ssl ads Deprecated
556 map untrusted to domain Removed
557 oplock contention limit Removed
558 prefork children New 1
559 mdns name New netbios
560 fruit:time machine New false
563 server schannel Default changed/ yes
566 winbind scan trusted domains New yes
567 winbind trusted domains only Removed
570 CHANGES SINCE 4.8.0rc4
571 ======================
573 o Jeremy Allison <jra@samba.org>
574 * BUG 11343: CVE-2018-1050: Codenomicon crashes in spoolss server code.
576 o Ralph Boehme <slow@samba.org>
577 * BUG 13272: CVE-2018-1057: Unprivileged user can change any user (and admin)
579 * BUG 13313: nsswitch: Fix wbinfo -m --verbose trust type "Local".
581 o Stefan Metzmacher <metze@samba.org>
582 * BUG 13272: CVE-2018-1057: Unprivileged user can change any user (and admin)
585 o Dan Robertson <drobertson@tripwire.com>
586 * BUG 13310: libsmb: Use smb2 tcon if conn_protocol >= SMB2_02.
588 o Andreas Schneider <asn@samba.org>
589 * BUG 13315: s3:smbd: Do not crash if we fail to init the session table.
592 CHANGES SINCE 4.8.0rc3
593 ======================
595 o Ralph Boehme <slow@samba.org>
596 * BUG 13287: Fix numerous trust related bugs in winbindd and s4 LSA RPC
598 * BUG 13296: vfs_fruit: Use off_t, not size_t for TM size calculations.
600 o Alexander Bokovoy <ab@samba.org>
601 * BUG 13304: mit-kdb: Support MIT Kerberos 1.16 KDB API changes.
603 o Günther Deschner <gd@samba.org>
604 * BUG 13277: build: Fix libceph-common detection.
606 o Poornima G <pgurusid@redhat.com>
607 * BUG 13297: vfs_glusterfs: Fix the wrong pointer being sent in
610 o Volker Lendecke <vl@samba.org>
611 * BUG 13305: vfs_fileid: Fix the 32-bit build.
613 o Stefan Metzmacher <metze@samba.org>
614 * BUG 13206: Unable to authenticate with an empty string domain ''.
615 * BUG 13276: configure aborts without libnettle/gnutls.
616 * BUG 13278: winbindd (on an AD DC) should only use netlogon/lsa against
618 * BUG 13287: Fix numerous trust related bugs in winbindd and s4 LSA RPC
620 * BUG 13290: A disconnecting winbind client can cause a problem in
621 the winbind parent child communication.
622 * BUG 13291: tevent: version 0.9.36.
623 * BUG 13292: winbind requests could get stuck in the queue of a busy child,
624 while later requests could get served fine by other children.
625 * BUG 13293: Minimize the lifetime of winbindd_cli_state->{pw,gr}ent_state.
626 * BUG 13294: Avoid using fstrcpy(domain->dcname,...) on a char *.
627 * BUG 13295: winbind parent should find the dc of a foreign domain via the
629 * BUG 13299: Disable support for CROSS_ORGANIZATION domains.
630 * BUG 13306: ldb: version 1.3.2.
632 o Sachin Prabhu <sprabhu@redhat.com>
633 * BUG 13303: vfs_glusterfs: Add fallocate support for vfs_glusterfs.
635 o Garming Sam <garming@catalyst.net.nz>
636 * BUG 13031: subnet: Avoid a segfault when renaming subnet objects.
637 * BUG 13269: RODC may skip objects during replication due to naming
641 CHANGES SINCE 4.8.0rc2
642 ======================
644 o Trever L. Adams <trever.adams@gmail.com>
645 * BUG 13246: Backport Samba VirusFilter.
647 o Ralph Boehme <slow@samba.org>
648 * BUG 13228: dbcheck: Add support for restoring missing forward links.
650 o Günther Deschner <gd@samba.org>
651 * BUG 13221: python: fix the build with python3.
653 o Stefan Metzmacher <metze@samba.org>
654 * BUG 13228: dbcheck: Add support for restoring missing forward links.
657 CHANGES SINCE 4.8.0rc1
658 ======================
660 o Günther Deschner <gd@samba.org>
661 * BUG 13227: packaging: Fix default systemd-dir path.
662 * BUG 13238: build: Deal with recent glibc sunrpc header removal.
664 o Stefan Metzmacher <metze@samba.org>
665 * BUG 13228: repl_meta_data: fix linked attribute corruption on databases
666 with unsorted links on expunge.
668 o Christof Schmitt <cs@samba.org>
669 * BUG 13217: s3/smbd: Remove file system sharemode before calling unlink.
671 o Andreas Schneider <asn@samba.org>
672 * BUG 13209: Small improvements in winbindd for the resource cleanup in error
674 * BUG 13238: Make Samba work with tirpc and libnsl2.
680 https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.8#Release_blocking_bugs
683 #######################################
684 Reporting bugs & Development Discussion
685 #######################################
687 Please discuss this release on the samba-technical mailing list or by
688 joining the #samba-technical IRC channel on irc.freenode.net.
690 If you do report problems then please try to send high quality
691 feedback. If you don't provide vital information to help us track down
692 the problem then you will probably be ignored. All bug reports should
693 be filed under the Samba 4.1 and newer product in the project's Bugzilla
694 database (https://bugzilla.samba.org/).
697 ======================================================================
698 == Our Code, Our Bugs, Our Responsibility.
700 ======================================================================