NEWS[4.18.3]: Samba 4.18.3 Available for Download
[samba-web.git] / history / samba-4.10.0.html
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">
4 <head>
5 <title>Samba 4.10.0 - Release Notes</title>
6 </head>
7 <body>
8 <H2>Samba 4.10.0 Available for Download</H2>
9 <p>
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>
12 </p>
13 <p>
14 <pre>
15                    ==============================
16                    Release Notes for Samba 4.10.0
17                            March 19, 2019
18                    ==============================
19
20
21 This is the first stable release of the Samba 4.10 release series.
22 Please read the release notes carefully before upgrading.
23
24
25 NEW FEATURES/CHANGES
26 ====================
27
28 GPO Improvements
29 ----------------
30
31 A new &apos;samba-tool gpo backup&apos; command has been added that can export a
32 set of Group Policy Objects from a domain in a generalised XML format.
33
34 A corresponding &apos;samba-tool gpo restore&apos; 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).
38
39 KDC prefork
40 -----------
41
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.
44
45 Prefork &apos;prefork children&apos;
46 --------------------------
47
48 The default value for this smdb.conf parameter has been increased from 1 to
49 4.
50
51 Netlogon prefork
52 ----------------
53
54 DCERPC now supports pre-forked NETLOGON processes. The netlogon processes are
55 pre-forked when the prefork process model is selected for samba.
56
57 Offline domain backups
58 ----------------------
59
60 The &apos;samba-tool domain backup&apos; command has been extended with a new &apos;offline&apos;
61 option. This safely creates a backup of the local DC&apos;s database directly from
62 disk. The main benefits of an offline backup are it&apos;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.
66
67 Group membership statistics
68 ---------------------------
69
70 A new &apos;samba-tool group stats&apos; command has been added. This provides summary
71 information about how the users are spread across groups in your domain.
72 The &apos;samba-tool group list --verbose&apos; command has also been updated to include
73 the number of users in each group.
74
75 Paged results LDAP control
76 --------------------------
77
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.
83
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.
90
91 For further details see https://wiki.samba.org/index.php/Paged_Results
92
93 Prefork process restart
94 -----------------------
95
96 The pre-fork process model now restarts failed processes. The delay between
97 restart attempts is controlled by the &quot;prefork backoff increment&quot; (default = 10)
98 and &quot;prefork maximum backoff&quot; (default = 120) smbd.conf parameters.  A linear
99 back off strategy is used with &quot;prefork backoff increment&quot; added to the
100 delay between restart attempts up until it reaches &quot;prefork maximum backoff&quot;.
101
102 Using the default sequence the restart delays (in seconds) are:
103   0, 10, 20, ..., 120, 120, ...
104
105 Standard process model
106 ----------------------
107
108 When using the standard process model samba forks a new process to handle ldap
109 and netlogon connections.  Samba now honours the &apos;max smbd processes&apos; 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.
113
114 python3 support
115 ---------------
116
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. &apos;configure&apos; &amp; &apos;make&apos; will execute using python3.
120
121 To build Samba with python2 you *must* set the &apos;PYTHON&apos; environment variable
122 for both the &apos;configure&apos; and &apos;make&apos; steps, i.e.
123    &apos;PYTHON=python2 ./configure&apos;
124    &apos;PYTHON=python2 make&apos;
125 This will override the python3 default.
126
127 Alternatively, it is possible to produce Samba Python bindings for both
128 Python 2 and Python 3. To do so, specify &apos;--extra-python=/usr/bin/python2&apos;
129 as part of the &apos;configure&apos; command. Note that python3 will still be used as
130 the default in this case.
131
132 Note that Samba 4.10 supports Python 3.4 onwards.
133
134 Future Python support
135 ---------------------
136
137 Samba 4.10 will be the last release that comes with full support for
138 Python 2. Unfortunately, the Samba Team doesn&apos;t have the resources to support
139 both Python 2 and Python 3 long-term.
140
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.
143
144 If you are building Samba using the &apos;--disable-python&apos; option (i.e. you&apos;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.
147
148 Also note that Samba 4.11 will most likely only support Python 3.6 onwards.
149
150 JSON logging
151 ------------
152
153 Authentication messages now contain the Windows Event Id &quot;eventId&quot; and logon
154 type &quot;logonType&quot;. The supported event codes and logon types are:
155   Event codes:
156     4624  Successful logon
157     4625  Unsuccessful logon
158
159   Logon Types:
160     2  Interactive
161     3  Network
162     8  NetworkCleartext
163
164 The version number for Authentication messages is now 1.1, changed from 1.0
165
166 Password change messages now contain the Windows Event Id &quot;eventId&quot;, the
167 supported event Id&apos;s are:
168   4723 Password changed
169   4724 Password reset
170
171 The version number for PasswordChange messages is now 1.1, changed from 1.0
172
173 Group membership change messages now contain the Windows Event Id &quot;eventId&quot;,
174 the supported event Id&apos;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
187
188
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.
192
193 The leading &quot;JSON &lt;message type&gt;:&quot; 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
196 i.e. &quot;  {&quot;
197
198 SMBv2 samba-tool support
199 ------------------------
200
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 &apos;samba-tool domain backup|rename&apos; and the
204 &apos;samba-tool gpo&apos; set of commands. Refer also bug #13676.
205
206 New glusterfs_fuse VFS module
207 -----------------------------
208
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 &quot;vfs objects&quot; 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.
219
220 REMOVED FEATURES
221 ================
222
223 MIT Kerberos build of the AD DC
224 -------------------------------
225
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
230
231 For further details see
232 https://wiki.samba.org/index.php/Running_a_Samba_AD_DC_with_MIT_Kerberos_KDC
233
234 samba_backup
235 ------------
236
237 The samba_backup script has been removed. This has now been replaced by the
238 &apos;samba-tool domain backup offline&apos; command.
239
240 SMB client Python bindings
241 --------------------------
242
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 &apos;from samba import smb&apos;.
247
248 smb.conf changes
249 ================
250
251   Parameter Name                     Description                Default
252   --------------                     -----------                -------
253   prefork backoff increment   Delay added to process restart    10 (seconds)
254                               between attempts.
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                               &quot;smbd:search ask sharemode&quot;
259   smbd async dosmode          Name changed, old name was
260                               &quot;smbd:async dosmode&quot;
261   smbd max async dosmode      Name changed, old name was
262                               &quot;smbd:max async dosmode&quot;
263   smbd getinfo ask sharemode  New: similar to &quot;smbd search ask yes
264                               sharemode&quot; but for SMB getinfo
265
266
267 CHANGES SINCE 4.10.0rc4
268 =======================
269
270 o  Andrew Bartlett &lt;abartlet@samba.org&gt;
271    * BUG 13760: s4-server: Open and close a transaction on sam.ldb at startup.
272
273 o  Ralph Boehme &lt;slow@samba.org&gt;
274    * BUG 13812: access_check_max_allowed() doesn&apos;t process &quot;Owner Rights&quot; ACEs.
275
276 o  Joe Guo &lt;joeg@catalyst.net.nz&gt;
277    * s4/scripting/bin: Open unicode files with utf8 encoding and write
278    * unicode string.
279
280 o  Bj&ouml;rn Jacke &lt;bj@sernet.de&gt;
281    * BUG 13759: sambaundoguididx: Use the right escaped oder unescaped sam ldb
282      files.
283
284 o  Volker Lendecke &lt;vl@samba.org&gt;
285    * BUG 13813: Fix idmap cache pollution with S-1-22- IDs on winbind hickup.
286
287 o  Christof Schmitt &lt;cs@samba.org&gt;
288    * passdb: Update ABI to 0.27.2.
289    * BUG 13813: lib/winbind_util: Add winbind_xid_to_sid for --without-winbind.
290
291 o  Andreas Schneider &lt;asn@samba.org&gt;
292    * BUG 13823: lib:util: Move debug message for mkdir failing to log level 1.
293
294
295 CHANGES SINCE 4.10.0rc3
296 =======================
297
298 o  Jeremy Allison &lt;jra@samba.org&gt;
299    * BUG 13803: SMB1 POSIX mkdir does case insensitive name lookup.
300
301 o  Ralph Boehme &lt;slow@samba.org&gt;
302    * BUG 13802: Fix idmap xid2sid cache issue.
303
304 o  David Disseldorp &lt;ddiss@samba.org&gt;
305    * BUG 13807: vfs_ceph strict_allocate_ftruncate calls (local FS) ftruncate
306      and fallocate.
307
308 o  Volker Lendecke &lt;vl@samba.org&gt;
309    * BUG 13786: messages_dgm: Properly handle receiver re-initialization.
310
311 o  Gary Lockyer &lt;gary@catalyst.net.nz&gt;
312    * BUG 13765: man pages: Document prefork process model.
313    * BUG 13773: CVE-2019-3824 ldb: wildcard_match end of data check.
314
315 o  Stefan Metzmacher &lt;metze@samba.org&gt;
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
319
320 o  David Mulder &lt;dmulder@suse.com&gt;
321    * Search for location of waf script.
322
323 o  Noel Power &lt;noel.power@suse.com&gt;
324    * BUG 13777: buildtools/wafsamba: Avoid decode when using python2.
325
326 o  Jiří Šašek &lt;jiri.sasek@oracle.com&gt;
327    * BUG 13704: notifyd: Fix SIGBUS on sparc.
328
329 o  Swen Schillig &lt;swen@linux.ibm.com&gt;
330    * BUG 13791: ctdb: Buffer write beyond limits.
331
332 o  Lukas Slebodnik &lt;lslebodn@fedoraproject.org&gt;
333    * BUG 13773: CVE-2019-3824 ldb: Out of bound read in ldb_wildcard_compare.
334
335 o  Martin Schwenke &lt;martin@meltin.net&gt;
336    * BUG 13790: ctdb-config: Change example recovery lock setting to one that
337      fails.
338    * BUG 13800: Fix recovery lock bug.
339
340
341 CHANGES SINCE 4.10.0rc2
342 =======================
343
344 o  Jeremy Allison &lt;jra@samba.org&gt;
345    * BUG 13690: smbd: uid: Don&apos;t crash if &apos;force group&apos; is added to an existing
346      share connection.
347    * BUG 13770: s3: VFS: vfs_fruit. Fix the NetAtalk deny mode compatibility
348      code.
349
350 o  Andrew Bartlett &lt;abartlet@samba.org&gt;
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.
354
355 o  Tim Beale &lt;timbeale@catalyst.net.nz&gt;
356    * BUG 13762: ldb: Avoid inefficient one-level searches.
357
358 o  Ralph Boehme &lt;slow@samba.org&gt;
359    * BUG 13776: tldap: Avoid use after free errors.
360
361 o  G&uuml;nther Deschner &lt;gd@samba.org&gt;
362    * BUG 13746: s3-smbd: Use fruit:model string for mDNS registration.
363
364 o  David Disseldorp &lt;ddiss@samba.org&gt;
365    * BUG 13766: printing: Check lp_load_printers() prior to pcap cache update.
366
367 o  Christof Schmitt &lt;cs@samba.org&gt;
368    * BUG 13787: waf: Check for libnscd.
369
370 o  Andreas Schneider &lt;asn@samba.org&gt;
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().
373
374
375 CHANGES SINCE 4.10.0rc1
376 =======================
377
378 o  Jeremy Allison &lt;jra@samba.org&gt;
379    * BUG 13750: libcli: dns: Change internal DNS_REQUEST_TIMEOUT from 2 to 10
380      seconds.
381
382 o  Tim Beale &lt;timbeale@catalyst.net.nz&gt;
383    * BUG 13676: samba-tool SMB/sysvol connections do not work if SMBv1 is
384      disabled.
385    * BUG 13747: join: Throw CommandError instead of Exception for simple errors.
386
387 o  G&uuml;nther Deschner &lt;gd@samba.org&gt;
388    * BUG 13774: s3-vfs: Add glusterfs_fuse vfs module.
389
390 o  Volker Lendecke &lt;vl@samba.org&gt;
391    * BUG 13742: ctdb: Print locks latency in machinereadable stats.
392
393 o  Stefan Metzmacher &lt;metze@samba.org&gt;
394    * BUG 13752: s4:server: Add support for &apos;smbcontrol samba shutdown&apos;.
395
396 o  Anoop C S &lt;anoopcs@redhat.com&gt;
397    * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures.
398    * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr.
399
400 o  Justin Stephenson &lt;jstephen@redhat.com&gt;
401    * BUG 13727: s3:libsmb: Honor disable_netbios option in smbsock_connect_send.
402
403
404 KNOWN ISSUES
405 ============
406
407 https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.10#Release_blocking_bugs
408
409
410 </pre>
411 </p>
412 </body>
413 </html>