WHATSNEW: JSON logging changes
[metze/samba/wip.git] / WHATSNEW.txt
1 Release Announcements
2 =====================
3
4 This is the first preview release 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/.
8
9 Samba 4.10 will be the next version of the Samba suite.
10
11
12 UPGRADING
13 =========
14
15
16 NEW FEATURES/CHANGES
17 ====================
18
19 GPO Improvements
20 ----------------
21
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.
24
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).
29
30 kdc prefork
31 -----------
32
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.
35
36 prefork 'prefork children'
37 --------------------------
38
39 The default value for this smdb.conf parameter has been increased from 1 to
40 4.
41
42 netlogon prefork
43 ----------------
44
45 DCERPC now supports pre-forked NETLOGON processes. The netlogon processes are
46 pre-forked when the prefork process model is selected for samba.
47
48 Offline domain backups
49 ----------------------
50
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.
57
58 Group membership statistics
59 ---------------------------
60
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.
65
66 prefork process restart
67 -----------------------
68
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".
74
75 Using the default sequence the restart delays (in seconds) are:
76   0, 10, 20, ..., 120, 120, ...
77
78 standard process model
79 ----------------------
80
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.
86
87 python3 support
88 ---------------
89
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.
95
96 What if I need to build with python2? To build with python2 you *must* set
97 the 'PYTHON' environent variable to override the python3 default for both
98 'configure' and 'make' steps.
99
100    'PYTHON=python2 ./configure.developer'
101 &
102    'PYTHON=python2 make'
103
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.
107
108 JSON logging
109 ------------
110
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
116
117   Logon Types:
118     2  Interactive
119     3  Network
120     8  NetworkCleartext
121 The version number for Authentication messages is now 1.1, changed from 1.0
122
123 Password change messages now contain the Windows Event Id "eventId", the
124 supported event Id's are:
125   4723 Password changed
126   4724 Password reset
127 The version number for PasswordChange messages is now 1.1, changed from 1.0
128
129 The leading "JSON <message type>:" and source file  prefix of the JSON formatted
130 log entries has been removed to make the parsing of the JSON log messages
131 easier. JSON log entries now start with 2 spaces folowed by an opening brace
132 i.e. "  {"
133
134
135
136
137 REMOVED FEATURES
138 ================
139
140 MIT Kerberos build of the AD DC
141 -------------------------------
142
143 While not removed, the MIT Kerberos build of the Samba AD DC is still
144 considered experimental.  Because Samba will not issue security
145 patches for this configuration, such builds now require the explicit
146 configure option: --with-experimental-mit-ad-dc
147
148 For further details see
149 https://wiki.samba.org/index.php/Running_a_Samba_AD_DC_with_MIT_Kerberos_KDC
150
151 samba_backup
152 ------------
153
154 The samba_backup script has been removed. This has now been replaced by the
155 'samba-tool domain backup offline' command.
156
157 smb.conf changes
158 ================
159
160   Parameter Name                     Description                Default
161   --------------                     -----------                -------
162   prefork backoff increment   Delay added to process restart    10 (seconds)
163                               between attempts.
164   prefork maximum backoff     Maximum delay for process between 120 (seconds)
165                               process restart attempts
166   smbd search ask sharemode   Name changed, old name was
167                               "smbd:search ask sharemode"
168   smbd async dosmode          Name changed, old name was
169                               "smbd:async dosmode"
170   smbd max async dosmode      Name changed, old name was
171                               "smbd:max async dosmode"
172   smbd getinfo ask sharemode  New: similar to "smbd search ask  yes
173                               sharemode" but for SMB getinfo
174
175 KNOWN ISSUES
176 ============
177
178 https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.10#Release_blocking_bugs
179
180
181 #######################################
182 Reporting bugs & Development Discussion
183 #######################################
184
185 Please discuss this release on the samba-technical mailing list or by
186 joining the #samba-technical IRC channel on irc.freenode.net.
187
188 If you do report problems then please try to send high quality
189 feedback. If you don't provide vital information to help us track down
190 the problem then you will probably be ignored.  All bug reports should
191 be filed under the Samba 4.1 and newer product in the project's Bugzilla
192 database (https://bugzilla.samba.org/).
193
194
195 ======================================================================
196 == Our Code, Our Bugs, Our Responsibility.
197 == The Samba Team
198 ======================================================================
199