s3:vfs: Correctly check if OFD locks should be enabled or not
[Samba.git] / WHATSNEW.txt
blob8bbb1fd705f2d0c99a2948c1d3ce7921fe784937
1 Release Announcements
2 =====================
4 This is the second 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.
12 UPGRADING
13 =========
16 NEW FEATURES/CHANGES
17 ====================
19 GPO Improvements
20 ----------------
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).
30 kdc prefork
31 -----------
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
42 netlogon prefork
43 ----------------
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.
87 python3 support
88 ---------------
90 The version of python which is now the default for samba is python3.
91 'configure' & 'make' will execute using python3. It is possible to still
92 specify an additional python version with '--extra-python'
93 e.g. '--extra-python=/usr/bin/python2'. It should be noted that support for
94 this option will be deprecated in a future release.
96 What if I need to build with python2? To build with python2 you *must* set
97 the 'PYTHON' environment variable to override the python3 default for both
98 'configure' and 'make' steps.
100    'PYTHON=python2 ./configure.developer'
102    'PYTHON=python2 make'
104 Note: Support for python2 (with the exception of a build configured with
105       'PYTHON=python2 ./configure --disable-python' and built with
106       'PYTHON=python2 make') will be deprecated in the next release.
108 JSON logging
109 ------------
111 Authentication messages now contain the Windows Event Id "eventId" and logon
112 type "logonType". The supported event codes and logon types are:
113   Event codes:
114     4624  Successful logon
115     4625  Unsuccessful logon
117   Logon Types:
118     2  Interactive
119     3  Network
120     8  NetworkCleartext
122 The version number for Authentication messages is now 1.1, changed from 1.0
124 Password change messages now contain the Windows Event Id "eventId", the
125 supported event Id's are:
126   4723 Password changed
127   4724 Password reset
129 The version number for PasswordChange messages is now 1.1, changed from 1.0
131 Group membership change messages now contain the Windows Event Id "eventId",
132 the supported event Id's are:
133   4728 A member was added to a security enabled global group
134   4729 A member was removed from a security enabled global group
135   4732 A member was added to a security enabled local group
136   4733 A member was removed from a security enabled local group
137   4746 A member was added to a security disabled local group
138   4747 A member was removed from a security disabled local group
139   4751 A member was added to a security disabled global group
140   4752 A member was removed from a security disabled global group
141   4756 A member was added to a security enabled universal group
142   4757 A member was removed from a security enabled universal group
143   4761 A member was added to a security disabled universal group
144   4762 A member was removed from a security disabled universal group
147 The version number for GroupChange messages is now 1.1, changed from 1.0. Also
148 A GroupChange message is generated when a new user is created to log that the
149 user has been added to their primary group.
151 The leading "JSON <message type>:" and source file  prefix of the JSON formatted
152 log entries has been removed to make the parsing of the JSON log messages
153 easier. JSON log entries now start with 2 spaces followed by an opening brace
154 i.e. "  {"
156 SMBv2 samba-tool support
157 ------------------------
159 On previous releases, some samba-tool commands would not work against a remote
160 DC that had SMBv1 disabled. SMBv2 support has now been added for samba-tool.
161 The affected commands are 'samba-tool domain backup|rename' and the
162 'samba-tool gpo' set of commands. Refer also bug #13676.
165 REMOVED FEATURES
166 ================
168 MIT Kerberos build of the AD DC
169 -------------------------------
171 While not removed, the MIT Kerberos build of the Samba AD DC is still
172 considered experimental.  Because Samba will not issue security
173 patches for this configuration, such builds now require the explicit
174 configure option: --with-experimental-mit-ad-dc
176 For further details see
177 https://wiki.samba.org/index.php/Running_a_Samba_AD_DC_with_MIT_Kerberos_KDC
179 samba_backup
180 ------------
182 The samba_backup script has been removed. This has now been replaced by the
183 'samba-tool domain backup offline' command.
185 SMB client Python bindings
186 --------------------------
188 The SMB client python bindings are now deprecated and will be removed in future
189 Samba releases. This will only affects users that may have used the Samba
190 Python bindings to write their own utilities, i.e. users with a custom Python
191 script that includes the line 'from samba import smb'.
193 smb.conf changes
194 ================
196   Parameter Name                     Description                Default
197   --------------                     -----------                -------
198   prefork backoff increment   Delay added to process restart    10 (seconds)
199                               between attempts.
200   prefork maximum backoff     Maximum delay for process between 120 (seconds)
201                               process restart attempts
202   smbd search ask sharemode   Name changed, old name was
203                               "smbd:search ask sharemode"
204   smbd async dosmode          Name changed, old name was
205                               "smbd:async dosmode"
206   smbd max async dosmode      Name changed, old name was
207                               "smbd:max async dosmode"
208   smbd getinfo ask sharemode  New: similar to "smbd search ask  yes
209                               sharemode" but for SMB getinfo
212 CHANGES SINCE 4.10.0rc1
213 =======================
215 o  Jeremy Allison <jra@samba.org>
216    * BUG 13750: libcli: dns: Change internal DNS_REQUEST_TIMEOUT from 2 to 10
217      seconds.
219 o  Tim Beale <timbeale@catalyst.net.nz>
220    * BUG 13676: samba-tool SMB/sysvol connections do not work if SMBv1 is
221      disabled.
222    * BUG 13747: join: Throw CommandError instead of Exception for simple errors.
224 o  Günther Deschner <gd@samba.org>
225    * BUG 13774: s3-vfs: Add glusterfs_fuse vfs module.
227 o  Volker Lendecke <vl@samba.org>
228    * BUG 13742: ctdb: Print locks latency in machinereadable stats.
230 o  Stefan Metzmacher <metze@samba.org>
231    * BUG 13752: s4:server: Add support for 'smbcontrol samba shutdown'.
233 o  Anoop C S <anoopcs@redhat.com>
234    * BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures.
235    * BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr.
237 o  Justin Stephenson <jstephen@redhat.com>
238    * BUG 13727: s3:libsmb: Honor disable_netbios option in smbsock_connect_send.
241 KNOWN ISSUES
242 ============
244 https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.10#Release_blocking_bugs
247 #######################################
248 Reporting bugs & Development Discussion
249 #######################################
251 Please discuss this release on the samba-technical mailing list or by
252 joining the #samba-technical IRC channel on irc.freenode.net.
254 If you do report problems then please try to send high quality
255 feedback. If you don't provide vital information to help us track down
256 the problem then you will probably be ignored.  All bug reports should
257 be filed under the Samba 4.1 and newer product in the project's Bugzilla
258 database (https://bugzilla.samba.org/).
261 ======================================================================
262 == Our Code, Our Bugs, Our Responsibility.
263 == The Samba Team
264 ======================================================================