WHATSNEW: Extend release notes for Samba 4.4.0rc1.
[ambi/samba-autobuild/.git] / WHATSNEW.txt
1 Release Announcements
2 =====================
3
4 This is the first release candidate of Samba 4.4.  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.4 will be the next version of the Samba suite.
10
11
12 UPGRADING
13 =========
14
15 Nothing special.
16
17
18 NEW FEATURES/CHANGES
19 ====================
20
21 Asynchronous flush requests
22 ---------------------------
23
24 Flush requests from SMB2/3 clients are handled asynchronously and do
25 not block the processing of other requests. Note that 'strict sync'
26 has to be set to 'yes' for Samba to honor flush requests from SMB
27 clients.
28
29 s3: smbd
30 --------
31
32 Remove '--with-aio-support' configure option. We no longer would ever prefer
33 POSIX-RT aio, use pthread_aio instead.
34
35 samba-tool sites
36 ----------------
37
38 The 'samba-tool sites' subcommand can now be run against another server by
39 specifying an LDB URL using the '-H' option and not against the local database
40 only (which is still the default when no URL is given).
41
42 samba-tool domain demote
43 ------------------------
44
45 Add '--remove-other-dead-server' option to 'samba-tool domain demote'
46 subcommand. The new version of this tool now can remove another DC that is
47 itself offline.  The '--remove-other-dead-server' removes as many references
48 to the DC as possible.
49
50 samba-tool drs clone-dc-database
51 --------------------------------
52
53 Replicate an initial clone of domain, but do not join it.
54 This is developed for debugging purposes, but not for setting up another DC.
55
56 pdbedit
57 -------
58
59 Add '--set-nt-hash' option to pdbedit to update user password from nt-hash
60 hexstring. 'pdbedit -vw' shows also password hashes.
61
62 s4-rpc_server
63 -------------
64
65 Add a GnuTLS based backupkey implementation.
66
67 ntlm_auth
68 ---------
69
70 Using the '--offline-logon' enables ntlm_auth to use cached passwords when the
71 DC is offline.
72
73 Allow '--password' force a local password check for ntlm-server-1 mode.
74
75 vfs_offline
76 -----------
77
78 A new VFS module called vfs_offline has been added to mark all files in the
79 share as offline. It can be useful for shares mounted on top of a remote file
80 system (either through a samba VFS module or via FUSE).
81
82 KCC
83 ---
84
85 The Samba KCC has been improved, but is still disabled by default.
86
87 DNS
88 ---
89
90 There were several improvements concerning the Samba DNS server.
91
92 Active Directory
93 ----------------
94
95 There were some improvements in the Active Directory area.
96
97 WINS nsswitch module
98 --------------------
99
100 The WINS nsswitch module has been rewritten to address memory issues and to
101 simplify the code. The module now uses libwbclient to do WINS queries. This
102 means that winbind needs to be running in order to resolve WINS names using
103 the nss_wins module. This does not affect smbd.
104
105 CTDB changes
106 ------------
107
108 * CTDB now uses a newly implemented parallel database recovery scheme
109   that avoids deadlocks with smbd.
110
111   In certain circumstances CTDB and smbd could deadlock.  The new
112   recovery implementation avoid this.  It also provides improved
113   recovery performance.
114
115 * All files are now installed into and referred to by the paths
116   configured at build time.  Therefore, CTDB will now work properly
117   when installed into the default location at /usr/local.
118
119 * Public CTDB header files are no longer installed, since Samba and
120   CTDB are built from within the same source tree.
121
122 * CTDB_DBDIR can now be set to tmpfs[:<tmpfs-options>]
123
124   This will cause volatile TDBs to be located in a tmpfs.  This can
125   help to avoid performance problems associated with contention on the
126   disk where volatile TDBs are usually stored.  See ctdbd.conf(5) for
127   more details.
128
129 * Configuration variable CTDB_NATGW_SLAVE_ONLY is no longer used.
130   Instead, nodes should be annotated with the "slave-only" option in
131   the CTDB NAT gateway nodes file.  This file must be consistent
132   across nodes in a NAT gateway group.  See ctdbd.conf(5) for more
133   details.
134
135 * New event script 05.system allows various system resources to be
136   monitored
137
138   This can be helpful for explaining poor performance or unexpected
139   behaviour.  New configuration variables are
140   CTDB_MONITOR_FILESYSTEM_USAGE, CTDB_MONITOR_MEMORY_USAGE and
141   CTDB_MONITOR_SWAP_USAGE.  Default values cause warnings to be
142   logged.  See the SYSTEM RESOURCE MONITORING CONFIGURATION in
143   ctdbd.conf(5) for more information.
144
145   The memory, swap and filesystem usage monitoring previously found in
146   00.ctdb and 40.fs_use is no longer available.  Therefore,
147   configuration variables CTDB_CHECK_FS_USE, CTDB_MONITOR_FREE_MEMORY,
148   CTDB_MONITOR_FREE_MEMORY_WARN and CTDB_CHECK_SWAP_IS_NOT_USED are
149   now ignored.
150
151 * The 62.cnfs eventscript has been removed.  To get a similar effect
152   just do something like this:
153
154       mmaddcallback ctdb-disable-on-quorumLoss \
155         --command /usr/bin/ctdb \
156         --event quorumLoss --parms "disable"
157
158       mmaddcallback ctdb-enable-on-quorumReached \
159         --command /usr/bin/ctdb \
160         --event quorumReached --parms "enable"
161
162 * The CTDB tunable parameter EventScriptTimeoutCount has been renamed
163   to MonitorTimeoutCount
164
165   It has only ever been used to limit timed-out monitor events.
166
167   Configurations containing CTDB_SET_EventScriptTimeoutCount=<n> will
168   cause CTDB to fail at startup.  Useful messages will be logged.
169
170 * The commandline option "-n all" to CTDB tool has been removed.
171
172   The option was not uniformly implemented for all the commands.
173   Instead of command "ctdb ip -n all", use "ctdb ip all".
174
175 * All CTDB current manual pages are now correctly installed
176
177
178 REMOVED FEATURES
179 ================
180
181 Public headers
182 --------------
183
184 Several public headers are not installed any longer. They are made for internal
185 use only. More public headers will very likely be removed in future releases.
186
187 The following headers are not installed any longer:
188 dlinklist.h, gen_ndr/epmapper.h, gen_ndr/mgmt.h, gen_ndr/ndr_atsvc_c.h,
189 gen_ndr/ndr_epmapper_c.h, gen_ndr/ndr_epmapper.h, gen_ndr/ndr_mgmt_c.h,
190 gen_ndr/ndr_mgmt.h,gensec.h, ldap_errors.h, ldap_message.h, ldap_ndr.h,
191 ldap-util.h, pytalloc.h, read_smb.h, registry.h, roles.h, samba_util.h,
192 smb2_constants.h, smb2_create_blob.h, smb2.h, smb2_lease.h, smb2_signing.h,
193 smb_cli.h, smb_cliraw.h, smb_common.h, smb_composite.h, smb_constants.h,
194 smb_raw.h, smb_raw_interfaces.h, smb_raw_signing.h, smb_raw_trans2.h,
195 smb_request.h, smb_seal.h, smb_signing.h, smb_unix_ext.h, smb_util.h,
196 torture.h, tstream_smbXcli_np.h.
197
198 vfs_smb_traffic_analyzer
199 ------------------------
200
201 The SMB traffic analyzer VFS module has been removed, because it is not
202 maintained any longer and not widely used.
203
204 vfs_scannedonly
205 ---------------
206
207 The scannedonly VFS module has been removed, because it is not maintained
208 any longer.
209
210 smb.conf changes
211 ----------------
212
213   Parameter Name                Description             Default
214   --------------                -----------             -------
215   aio max threads               New                     100
216   ldap page size                Changed default         1000
217
218
219 KNOWN ISSUES
220 ============
221
222 Currently none.
223
224 #######################################
225 Reporting bugs & Development Discussion
226 #######################################
227
228 Please discuss this release on the samba-technical mailing list or by
229 joining the #samba-technical IRC channel on irc.freenode.net.
230
231 If you do report problems then please try to send high quality
232 feedback. If you don't provide vital information to help us track down
233 the problem then you will probably be ignored.  All bug reports should
234 be filed under the Samba 4.1 and newer product in the project's Bugzilla
235 database (https://bugzilla.samba.org/).
236
237
238 ======================================================================
239 == Our Code, Our Bugs, Our Responsibility.
240 == The Samba Team
241 ======================================================================
242