debug: add resource cleanup for per debug-class logfiles
[samba.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 REMOVED FEATURES
109 ================
110
111 MIT Kerberos build of the AD DC
112 -------------------------------
113
114 While not removed, the MIT Kerberos build of the Samba AD DC is still
115 considered experimental.  Because Samba will not issue security
116 patches for this configuration, such builds now require the explicit
117 configure option: --with-experimental-mit-ad-dc
118
119 For further details see
120 https://wiki.samba.org/index.php/Running_a_Samba_AD_DC_with_MIT_Kerberos_KDC
121
122 samba_backup
123 ------------
124
125 The samba_backup script has been removed. This has now been replaced by the
126 'samba-tool domain backup offline' command.
127
128 smb.conf changes
129 ================
130
131   Parameter Name                     Description                Default
132   --------------                     -----------                -------
133   prefork backoff increment   Delay added to process restart    10 (seconds)
134                               between attempts.
135   prefork maximum backoff     Maximum delay for process between 120 (seconds)
136                               process restart attempts
137   smbd search ask sharemode   Name changed, old name was
138                               "smbd:search ask sharemode"
139   smbd async dosmode          Name changed, old name was
140                               "smbd:async dosmode"
141   smbd max async dosmode      Name changed, old name was
142                               "smbd:max async dosmode"
143   smbd getinfo ask sharemode  New: similar to "smbd search ask  yes
144                               sharemode" but for SMB getinfo
145
146 KNOWN ISSUES
147 ============
148
149 https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.10#Release_blocking_bugs
150
151
152 #######################################
153 Reporting bugs & Development Discussion
154 #######################################
155
156 Please discuss this release on the samba-technical mailing list or by
157 joining the #samba-technical IRC channel on irc.freenode.net.
158
159 If you do report problems then please try to send high quality
160 feedback. If you don't provide vital information to help us track down
161 the problem then you will probably be ignored.  All bug reports should
162 be filed under the Samba 4.1 and newer product in the project's Bugzilla
163 database (https://bugzilla.samba.org/).
164
165
166 ======================================================================
167 == Our Code, Our Bugs, Our Responsibility.
168 == The Samba Team
169 ======================================================================
170