4 This is the third release candidate of Samba 4.10. This is *not*
5 intended for production environments and is designed for testing
6 purposes only. Please report any defects via the Samba bug reporting
7 system at https://bugzilla.samba.org/.
9 Samba 4.10 will be the next version of the Samba suite.
22 A new 'samba-tool gpo export' command has been added that can export a
23 set of Group Policy Objects from a domain in a generalised XML format.
25 A corresponding 'samba-tool gpo restore' command has been added to
26 rebuild the Group Policy Objects from the XML after generalization.
27 (The administrator needs to correct the values of XML entities between
28 the backup and restore to account for the change in domain).
33 The KDC now supports the pre-fork process model and worker processes will be
34 forked for the KDC when the pre-fork process model is selected for samba.
36 Prefork 'prefork children'
37 --------------------------
39 The default value for this smdb.conf parameter has been increased from 1 to
45 DCERPC now supports pre-forked NETLOGON processes. The netlogon processes are
46 pre-forked when the prefork process model is selected for samba.
48 Offline domain backups
49 ----------------------
51 The 'samba-tool domain backup' command has been extended with a new 'offline'
52 option. This safely creates a backup of the local DC's database directly from
53 disk. The main benefits of an offline backup are it's quicker, it stores more
54 database details (for forensic purposes), and the samba process does not have
55 to be running when the backup is made. Refer to the samba-tool help for more
56 details on using this command.
58 Group membership statistics
59 ---------------------------
61 A new 'samba-tool group stats' command has been added. This provides summary
62 information about how the users are spread across groups in your domain.
63 The 'samba-tool group list --verbose' command has also been updated to include
64 the number of users in each group.
66 Prefork process restart
67 -----------------------
69 The pre-fork process model now restarts failed processes. The delay between
70 restart attempts is controlled by the "prefork backoff increment" (default = 10)
71 and "prefork maximum backoff" (default = 120) smbd.conf parameters. A linear
72 back off strategy is used with "prefork backoff increment" added to the
73 delay between restart attempts up until it reaches "prefork maximum backoff".
75 Using the default sequence the restart delays (in seconds) are:
76 0, 10, 20, ..., 120, 120, ...
78 Standard process model
79 ----------------------
81 When using the standard process model samba forks a new process to handle ldap
82 and netlogon connections. Samba now honours the 'max smbd processes' smb.conf
83 parameter. The default value of 0, indicates there is no limit. The limit
84 is applied individually to netlogon and ldap. When the process limit is
85 exceeded Samba drops new connections immediately.
90 This is the first release of Samba which has full support for Python 3.
91 Samba 4.10 still has support for Python 2, however, Python 3 will be used by
92 default, i.e. 'configure' & 'make' will execute using python3.
94 To build Samba with python2 you *must* set the 'PYTHON' environment variable
95 for both the 'configure' and 'make' steps, i.e.
96 'PYTHON=python2 ./configure'
98 This will override the python3 default.
100 Alternatively, it is possible to produce Samba Python bindings for both
101 Python 2 and Python 3. To do so, specify '--extra-python=/usr/bin/python2'
102 as part of the 'configure' command. Note that python3 will still be used as
103 the default in this case.
105 Note that Samba 4.10 supports Python 3.4 onwards.
107 Future Python support
108 ---------------------
110 Samba 4.10 will be the last release that comes with full support for
111 Python 2. Unfortunately, the Samba Team doesn't have the resources to support
112 both Python 2 and Python 3 long-term.
114 Samba 4.11 will not have any runtime support for Python 2. This means if
115 you use Python 2 bindings it is time to migrate to Python 3 now.
117 If you are building Samba using the '--disable-python' option (i.e. you're
118 excluding all the run-time Python support), then this will continue to work
119 on a system that supports either python2 or python3.
121 Also note that Samba 4.11 will most likely only support Python 3.6 onwards.
126 Authentication messages now contain the Windows Event Id "eventId" and logon
127 type "logonType". The supported event codes and logon types are:
129 4624 Successful logon
130 4625 Unsuccessful logon
137 The version number for Authentication messages is now 1.1, changed from 1.0
139 Password change messages now contain the Windows Event Id "eventId", the
140 supported event Id's are:
141 4723 Password changed
144 The version number for PasswordChange messages is now 1.1, changed from 1.0
146 Group membership change messages now contain the Windows Event Id "eventId",
147 the supported event Id's are:
148 4728 A member was added to a security enabled global group
149 4729 A member was removed from a security enabled global group
150 4732 A member was added to a security enabled local group
151 4733 A member was removed from a security enabled local group
152 4746 A member was added to a security disabled local group
153 4747 A member was removed from a security disabled local group
154 4751 A member was added to a security disabled global group
155 4752 A member was removed from a security disabled global group
156 4756 A member was added to a security enabled universal group
157 4757 A member was removed from a security enabled universal group
158 4761 A member was added to a security disabled universal group
159 4762 A member was removed from a security disabled universal group
162 The version number for GroupChange messages is now 1.1, changed from 1.0. Also
163 A GroupChange message is generated when a new user is created to log that the
164 user has been added to their primary group.
166 The leading "JSON <message type>:" and source file prefix of the JSON formatted
167 log entries has been removed to make the parsing of the JSON log messages
168 easier. JSON log entries now start with 2 spaces followed by an opening brace
171 SMBv2 samba-tool support
172 ------------------------
174 On previous releases, some samba-tool commands would not work against a remote
175 DC that had SMBv1 disabled. SMBv2 support has now been added for samba-tool.
176 The affected commands are 'samba-tool domain backup|rename' and the
177 'samba-tool gpo' set of commands. Refer also bug #13676.
183 MIT Kerberos build of the AD DC
184 -------------------------------
186 While not removed, the MIT Kerberos build of the Samba AD DC is still
187 considered experimental. Because Samba will not issue security
188 patches for this configuration, such builds now require the explicit
189 configure option: --with-experimental-mit-ad-dc
191 For further details see
192 https://wiki.samba.org/index.php/Running_a_Samba_AD_DC_with_MIT_Kerberos_KDC
197 The samba_backup script has been removed. This has now been replaced by the
198 'samba-tool domain backup offline' command.
200 SMB client Python bindings
201 --------------------------
203 The SMB client python bindings are now deprecated and will be removed in future
204 Samba releases. This will only affects users that may have used the Samba
205 Python bindings to write their own utilities, i.e. users with a custom Python
206 script that includes the line 'from samba import smb'.
211 Parameter Name Description Default
212 -------------- ----------- -------
213 prefork backoff increment Delay added to process restart 10 (seconds)
215 prefork maximum backoff Maximum delay for process between 120 (seconds)
216 process restart attempts
217 smbd search ask sharemode Name changed, old name was
218 "smbd:search ask sharemode"
219 smbd async dosmode Name changed, old name was
221 smbd max async dosmode Name changed, old name was
222 "smbd:max async dosmode"
223 smbd getinfo ask sharemode New: similar to "smbd search ask yes
224 sharemode" but for SMB getinfo
227 CHANGES SINCE 4.10.0rc2
228 =======================
230 o Jeremy Allison <jra@samba.org>
231 * BUG 13690: smbd: uid: Don't crash if 'force group' is added to an existing
233 * BUG 13770: s3: VFS: vfs_fruit. Fix the NetAtalk deny mode compatibility
236 o Andrew Bartlett <abartlet@samba.org>
237 * ldb: Release ldb 1.5.3
238 * BUG 13762: Avoid inefficient one-level searches.
239 * BUG 13772: The test api.py should not rely on order of entries in dict.
241 o Tim Beale <timbeale@catalyst.net.nz>
242 * BUG 13762: ldb: Avoid inefficient one-level searches.
244 o Ralph Boehme <slow@samba.org>
245 * BUG 13776: tldap: Avoid use after free errors.
247 o Günther Deschner <gd@samba.org>
248 * BUG 13746: s3-smbd: Use fruit:model string for mDNS registration.
250 o David Disseldorp <ddiss@samba.org>
251 * BUG 13766: printing: Check lp_load_printers() prior to pcap cache update.
253 o Christof Schmitt <cs@samba.org>
254 * BUG 13787: waf: Check for libnscd.
256 o Andreas Schneider <asn@samba.org>
257 * BUG 13770: s3:vfs: Correctly check if OFD locks should be enabled or not.
258 * BUG 13778: Public ZERO_STRUCT() uses undefined C11 function memset_s().
261 CHANGES SINCE 4.10.0rc1
262 =======================
264 o Jeremy Allison <jra@samba.org>
265 * BUG 13750: libcli: dns: Change internal DNS_REQUEST_TIMEOUT from 2 to 10
268 o Tim Beale <timbeale@catalyst.net.nz>
269 * BUG 13676: samba-tool SMB/sysvol connections do not work if SMBv1 is
271 * BUG 13747: join: Throw CommandError instead of Exception for simple errors.
273 o Günther Deschner <gd@samba.org>
274 * BUG 13774: s3-vfs: Add glusterfs_fuse vfs module.
276 o Volker Lendecke <vl@samba.org>
277 * BUG 13742: ctdb: Print locks latency in machinereadable stats.
279 o Stefan Metzmacher <metze@samba.org>
280 * BUG 13752: s4:server: Add support for 'smbcontrol samba shutdown'.
282 o Anoop C S <anoopcs@redhat.com>
283 * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures.
284 * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr.
286 o Justin Stephenson <jstephen@redhat.com>
287 * BUG 13727: s3:libsmb: Honor disable_netbios option in smbsock_connect_send.
293 https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.10#Release_blocking_bugs
296 #######################################
297 Reporting bugs & Development Discussion
298 #######################################
300 Please discuss this release on the samba-technical mailing list or by
301 joining the #samba-technical IRC channel on irc.freenode.net.
303 If you do report problems then please try to send high quality
304 feedback. If you don't provide vital information to help us track down
305 the problem then you will probably be ignored. All bug reports should
306 be filed under the Samba 4.1 and newer product in the project's Bugzilla
307 database (https://bugzilla.samba.org/).
310 ======================================================================
311 == Our Code, Our Bugs, Our Responsibility.
313 ======================================================================