1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <title>Samba 4.10.0 - Release Notes</title>
8 <H2>Samba 4.10.0 Available for Download</H2>
10 <a href="https://download.samba.org/pub/samba/stable/samba-4.10.0.tar.gz">Samba 4.10.0 (gzipped)</a><br>
11 <a href="https://download.samba.org/pub/samba/stable/samba-4.10.0.tar.asc">Signature</a>
15 ==============================
16 Release Notes for Samba 4.10.0
18 ==============================
21 This is the first stable release of the Samba 4.10 release series.
22 Please read the release notes carefully before upgrading.
31 A new 'samba-tool gpo backup' command has been added that can export a
32 set of Group Policy Objects from a domain in a generalised XML format.
34 A corresponding 'samba-tool gpo restore' command has been added to
35 rebuild the Group Policy Objects from the XML after generalization.
36 (The administrator needs to correct the values of XML entities between
37 the backup and restore to account for the change in domain).
42 The KDC now supports the pre-fork process model and worker processes will be
43 forked for the KDC when the pre-fork process model is selected for samba.
45 Prefork 'prefork children'
46 --------------------------
48 The default value for this smdb.conf parameter has been increased from 1 to
54 DCERPC now supports pre-forked NETLOGON processes. The netlogon processes are
55 pre-forked when the prefork process model is selected for samba.
57 Offline domain backups
58 ----------------------
60 The 'samba-tool domain backup' command has been extended with a new 'offline'
61 option. This safely creates a backup of the local DC's database directly from
62 disk. The main benefits of an offline backup are it's quicker, it stores more
63 database details (for forensic purposes), and the samba process does not have
64 to be running when the backup is made. Refer to the samba-tool help for more
65 details on using this command.
67 Group membership statistics
68 ---------------------------
70 A new 'samba-tool group stats' command has been added. This provides summary
71 information about how the users are spread across groups in your domain.
72 The 'samba-tool group list --verbose' command has also been updated to include
73 the number of users in each group.
75 Paged results LDAP control
76 --------------------------
78 The behaviour of the paged results control (1.2.840.113556.1.4.319, RFC2696)
79 has been changed to more closely match Windows servers, to improve memory
80 usage. Paged results may be used internally (or is requested by the user) by
81 LDAP libraries or tools that deal with large result sizes, for example, when
82 listing all the objects in the database.
84 Previously, results were returned as a snapshot of the database but now,
85 some changes made to the set of results while paging may be reflected in the
86 responses. If strict inter-record consistency is required in answers (which is
87 not possible on Windows with large result sets), consider avoiding the paged
88 results control or alternatively, it might be possible to enforce restrictions
89 using the LDAP filter expression.
91 For further details see https://wiki.samba.org/index.php/Paged_Results
93 Prefork process restart
94 -----------------------
96 The pre-fork process model now restarts failed processes. The delay between
97 restart attempts is controlled by the "prefork backoff increment" (default = 10)
98 and "prefork maximum backoff" (default = 120) smbd.conf parameters. A linear
99 back off strategy is used with "prefork backoff increment" added to the
100 delay between restart attempts up until it reaches "prefork maximum backoff".
102 Using the default sequence the restart delays (in seconds) are:
103 0, 10, 20, ..., 120, 120, ...
105 Standard process model
106 ----------------------
108 When using the standard process model samba forks a new process to handle ldap
109 and netlogon connections. Samba now honours the 'max smbd processes' smb.conf
110 parameter. The default value of 0, indicates there is no limit. The limit
111 is applied individually to netlogon and ldap. When the process limit is
112 exceeded Samba drops new connections immediately.
117 This is the first release of Samba which has full support for Python 3.
118 Samba 4.10 still has support for Python 2, however, Python 3 will be used by
119 default, i.e. 'configure' & 'make' will execute using python3.
121 To build Samba with python2 you *must* set the 'PYTHON' environment variable
122 for both the 'configure' and 'make' steps, i.e.
123 'PYTHON=python2 ./configure'
124 'PYTHON=python2 make'
125 This will override the python3 default.
127 Alternatively, it is possible to produce Samba Python bindings for both
128 Python 2 and Python 3. To do so, specify '--extra-python=/usr/bin/python2'
129 as part of the 'configure' command. Note that python3 will still be used as
130 the default in this case.
132 Note that Samba 4.10 supports Python 3.4 onwards.
134 Future Python support
135 ---------------------
137 Samba 4.10 will be the last release that comes with full support for
138 Python 2. Unfortunately, the Samba Team doesn't have the resources to support
139 both Python 2 and Python 3 long-term.
141 Samba 4.11 will not have any runtime support for Python 2. This means if
142 you use Python 2 bindings it is time to migrate to Python 3 now.
144 If you are building Samba using the '--disable-python' option (i.e. you're
145 excluding all the run-time Python support), then this will continue to work
146 on a system that supports either python2 or python3.
148 Also note that Samba 4.11 will most likely only support Python 3.6 onwards.
153 Authentication messages now contain the Windows Event Id "eventId" and logon
154 type "logonType". The supported event codes and logon types are:
156 4624 Successful logon
157 4625 Unsuccessful logon
164 The version number for Authentication messages is now 1.1, changed from 1.0
166 Password change messages now contain the Windows Event Id "eventId", the
167 supported event Id's are:
168 4723 Password changed
171 The version number for PasswordChange messages is now 1.1, changed from 1.0
173 Group membership change messages now contain the Windows Event Id "eventId",
174 the supported event Id's are:
175 4728 A member was added to a security enabled global group
176 4729 A member was removed from a security enabled global group
177 4732 A member was added to a security enabled local group
178 4733 A member was removed from a security enabled local group
179 4746 A member was added to a security disabled local group
180 4747 A member was removed from a security disabled local group
181 4751 A member was added to a security disabled global group
182 4752 A member was removed from a security disabled global group
183 4756 A member was added to a security enabled universal group
184 4757 A member was removed from a security enabled universal group
185 4761 A member was added to a security disabled universal group
186 4762 A member was removed from a security disabled universal group
189 The version number for GroupChange messages is now 1.1, changed from 1.0. Also
190 A GroupChange message is generated when a new user is created to log that the
191 user has been added to their primary group.
193 The leading "JSON <message type>:" and source file prefix of the JSON formatted
194 log entries has been removed to make the parsing of the JSON log messages
195 easier. JSON log entries now start with 2 spaces followed by an opening brace
198 SMBv2 samba-tool support
199 ------------------------
201 On previous releases, some samba-tool commands would not work against a remote
202 DC that had SMBv1 disabled. SMBv2 support has now been added for samba-tool.
203 The affected commands are 'samba-tool domain backup|rename' and the
204 'samba-tool gpo' set of commands. Refer also bug #13676.
206 New glusterfs_fuse VFS module
207 -----------------------------
209 The new vfs_glusterfs_fuse module improves performance when Samba
210 accesses a glusterfs volume mounted via FUSE (Filesystem in Userspace
211 as part of the Linux kernel). It achieves that by leveraging a
212 mechanism to retrieve the appropriate case of filenames by querying a
213 specific extended attribute in the filesystem. No extra configuration
214 is required to use this module, only glusterfs_fuse needs to be set in
215 the "vfs objects" parameter. Further details can be found in the
216 vfs_glusterfs_fuse(8) manpage. This new vfs_glusterfs_fuse module does
217 not replace the existing vfs_glusterfs module, it just provides an
218 additional, alternative mechanism to access a Gluster volume.
223 MIT Kerberos build of the AD DC
224 -------------------------------
226 While not removed, the MIT Kerberos build of the Samba AD DC is still
227 considered experimental. Because Samba will not issue security
228 patches for this configuration, such builds now require the explicit
229 configure option: --with-experimental-mit-ad-dc
231 For further details see
232 https://wiki.samba.org/index.php/Running_a_Samba_AD_DC_with_MIT_Kerberos_KDC
237 The samba_backup script has been removed. This has now been replaced by the
238 'samba-tool domain backup offline' command.
240 SMB client Python bindings
241 --------------------------
243 The SMB client python bindings are now deprecated and will be removed in future
244 Samba releases. This will only affects users that may have used the Samba
245 Python bindings to write their own utilities, i.e. users with a custom Python
246 script that includes the line 'from samba import smb'.
251 Parameter Name Description Default
252 -------------- ----------- -------
253 prefork backoff increment Delay added to process restart 10 (seconds)
255 prefork maximum backoff Maximum delay for process between 120 (seconds)
256 process restart attempts
257 smbd search ask sharemode Name changed, old name was
258 "smbd:search ask sharemode"
259 smbd async dosmode Name changed, old name was
260 "smbd:async dosmode"
261 smbd max async dosmode Name changed, old name was
262 "smbd:max async dosmode"
263 smbd getinfo ask sharemode New: similar to "smbd search ask yes
264 sharemode" but for SMB getinfo
267 CHANGES SINCE 4.10.0rc4
268 =======================
270 o Andrew Bartlett <abartlet@samba.org>
271 * BUG 13760: s4-server: Open and close a transaction on sam.ldb at startup.
273 o Ralph Boehme <slow@samba.org>
274 * BUG 13812: access_check_max_allowed() doesn't process "Owner Rights" ACEs.
276 o Joe Guo <joeg@catalyst.net.nz>
277 * s4/scripting/bin: Open unicode files with utf8 encoding and write
280 o Björn Jacke <bj@sernet.de>
281 * BUG 13759: sambaundoguididx: Use the right escaped oder unescaped sam ldb
284 o Volker Lendecke <vl@samba.org>
285 * BUG 13813: Fix idmap cache pollution with S-1-22- IDs on winbind hickup.
287 o Christof Schmitt <cs@samba.org>
288 * passdb: Update ABI to 0.27.2.
289 * BUG 13813: lib/winbind_util: Add winbind_xid_to_sid for --without-winbind.
291 o Andreas Schneider <asn@samba.org>
292 * BUG 13823: lib:util: Move debug message for mkdir failing to log level 1.
295 CHANGES SINCE 4.10.0rc3
296 =======================
298 o Jeremy Allison <jra@samba.org>
299 * BUG 13803: SMB1 POSIX mkdir does case insensitive name lookup.
301 o Ralph Boehme <slow@samba.org>
302 * BUG 13802: Fix idmap xid2sid cache issue.
304 o David Disseldorp <ddiss@samba.org>
305 * BUG 13807: vfs_ceph strict_allocate_ftruncate calls (local FS) ftruncate
308 o Volker Lendecke <vl@samba.org>
309 * BUG 13786: messages_dgm: Properly handle receiver re-initialization.
311 o Gary Lockyer <gary@catalyst.net.nz>
312 * BUG 13765: man pages: Document prefork process model.
313 * BUG 13773: CVE-2019-3824 ldb: wildcard_match end of data check.
315 o Stefan Metzmacher <metze@samba.org>
316 * tdb: Fix compatibility of wscript with older python.
317 * tevent: version 0.9.39
318 * BUG 13773: CVE-2019-3824 ldb: version 1.5.4
320 o David Mulder <dmulder@suse.com>
321 * Search for location of waf script.
323 o Noel Power <noel.power@suse.com>
324 * BUG 13777: buildtools/wafsamba: Avoid decode when using python2.
326 o Jiří Šašek <jiri.sasek@oracle.com>
327 * BUG 13704: notifyd: Fix SIGBUS on sparc.
329 o Swen Schillig <swen@linux.ibm.com>
330 * BUG 13791: ctdb: Buffer write beyond limits.
332 o Lukas Slebodnik <lslebodn@fedoraproject.org>
333 * BUG 13773: CVE-2019-3824 ldb: Out of bound read in ldb_wildcard_compare.
335 o Martin Schwenke <martin@meltin.net>
336 * BUG 13790: ctdb-config: Change example recovery lock setting to one that
338 * BUG 13800: Fix recovery lock bug.
341 CHANGES SINCE 4.10.0rc2
342 =======================
344 o Jeremy Allison <jra@samba.org>
345 * BUG 13690: smbd: uid: Don't crash if 'force group' is added to an existing
347 * BUG 13770: s3: VFS: vfs_fruit. Fix the NetAtalk deny mode compatibility
350 o Andrew Bartlett <abartlet@samba.org>
351 * ldb: Release ldb 1.5.3
352 * BUG 13762: Avoid inefficient one-level searches.
353 * BUG 13772: The test api.py should not rely on order of entries in dict.
355 o Tim Beale <timbeale@catalyst.net.nz>
356 * BUG 13762: ldb: Avoid inefficient one-level searches.
358 o Ralph Boehme <slow@samba.org>
359 * BUG 13776: tldap: Avoid use after free errors.
361 o Günther Deschner <gd@samba.org>
362 * BUG 13746: s3-smbd: Use fruit:model string for mDNS registration.
364 o David Disseldorp <ddiss@samba.org>
365 * BUG 13766: printing: Check lp_load_printers() prior to pcap cache update.
367 o Christof Schmitt <cs@samba.org>
368 * BUG 13787: waf: Check for libnscd.
370 o Andreas Schneider <asn@samba.org>
371 * BUG 13770: s3:vfs: Correctly check if OFD locks should be enabled or not.
372 * BUG 13778: Public ZERO_STRUCT() uses undefined C11 function memset_s().
375 CHANGES SINCE 4.10.0rc1
376 =======================
378 o Jeremy Allison <jra@samba.org>
379 * BUG 13750: libcli: dns: Change internal DNS_REQUEST_TIMEOUT from 2 to 10
382 o Tim Beale <timbeale@catalyst.net.nz>
383 * BUG 13676: samba-tool SMB/sysvol connections do not work if SMBv1 is
385 * BUG 13747: join: Throw CommandError instead of Exception for simple errors.
387 o Günther Deschner <gd@samba.org>
388 * BUG 13774: s3-vfs: Add glusterfs_fuse vfs module.
390 o Volker Lendecke <vl@samba.org>
391 * BUG 13742: ctdb: Print locks latency in machinereadable stats.
393 o Stefan Metzmacher <metze@samba.org>
394 * BUG 13752: s4:server: Add support for 'smbcontrol samba shutdown'.
396 o Anoop C S <anoopcs@redhat.com>
397 * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures.
398 * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr.
400 o Justin Stephenson <jstephen@redhat.com>
401 * BUG 13727: s3:libsmb: Honor disable_netbios option in smbsock_connect_send.
407 https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.10#Release_blocking_bugs