NEWS[4.18.0]: Samba 4.18.0 Available for Download
[samba-web.git] / history / samba-4.18.0.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <title>Samba 4.18.0 - Release Notes</title>
6 </head>
7 <body>
8 <H2>Samba 4.18.0 Available for Download</H2>
9 <p>
10 <a href="https://download.samba.org/pub/samba/stable/samba-4.18.0.tar.gz">Samba 4.18.0 (gzipped)</a><br>
11 <a href="https://download.samba.org/pub/samba/stable/samba-4.18.0.tar.asc">Signature</a>
12 </p>
13 <p>
14 <pre>
15                    ==============================
16                    Release Notes for Samba 4.18.0
17                            March 08, 2023
18                    ==============================
19
20 This is the first stable release of the Samba 4.18 release series.
21 Please read the release notes carefully before upgrading.
22
23 NEW FEATURES/CHANGES
24 ====================
25
26 SMB Server performance improvements
27 -----------------------------------
28
29 The security improvements in recent releases
30 (4.13, 4.14, 4.15, 4.16), mainly as protection against symlink races,
31 caused performance regressions for metadata heavy workloads.
32
33 While 4.17 already improved the situation quite a lot,
34 with 4.18 the locking overhead for contended path based operations
35 is reduced by an additional factor of ~ 3 compared to 4.17.
36 It means the throughput of open/close
37 operations reached the level of 4.12 again.
38
39 More succinct samba-tool error messages
40 ---------------------------------------
41
42 Historically samba-tool has reported user error or misconfiguration by
43 means of a Python traceback, showing you where in its code it noticed
44 something was wrong, but not always exactly what is amiss. Now it
45 tries harder to identify the true cause and restrict its output to
46 describing that. Particular cases include:
47
48  * a username or password is incorrect
49  * an ldb database filename is wrong (including in smb.conf)
50  * samba-tool dns: various zones or records do not exist
51  * samba-tool ntacl: certain files are missing
52  * the network seems to be down
53  * bad --realm or --debug arguments
54
55 Accessing the old samba-tool messages
56 -------------------------------------
57
58 This is not new, but users are reminded they can get the full Python
59 stack trace, along with other noise, by using the argument &apos;-d3&apos;.
60 This may be useful when searching the web.
61
62 The intention is that when samba-tool encounters an unrecognised
63 problem (especially a bug), it will still output a Python traceback.
64 If you encounter a problem that has been incorrectly identified by
65 samba-tool, please report it on https://bugzilla.samba.org.
66
67 Colour output with samba-tool --color
68 -------------------------------------
69
70 For some time a few samba-tool commands have had a --color=yes|no|auto
71 option, which determines whether the command outputs ANSI colour
72 codes. Now all samba-tool commands support this option, which now also
73 accepts &apos;always&apos; and &apos;force&apos; for &apos;yes&apos;, &apos;never&apos; and &apos;none&apos; for &apos;no&apos;,
74 and &apos;tty&apos; and &apos;if-tty&apos; for &apos;auto&apos; (this more closely matches
75 convention). With --color=auto, or when --color is omitted, colour
76 codes are only used when output is directed to a terminal.
77
78 Most commands have very little colour in any case. For those that
79 already used it, the defaults have changed slightly.
80
81  * samba-tool drs showrepl: default is now &apos;auto&apos;, not &apos;no&apos;
82  
83  * samba-tool visualize: the interactions between --color-scheme,
84    --color, and --output have changed slightly. When --color-scheme is
85    set it overrides --color for the purpose of the output diagram, but
86    not for other output like error messages.
87
88 New samba-tool dsacl subcommand for deleting ACES
89 -------------------------------------------------
90
91 The samba-tool dsacl tool can now delete entries in directory access
92 control lists. The interface for &apos;samba-tool dsacl delete&apos; is similar
93 to that of &apos;samba-tool dsacl set&apos;, with the difference being that the
94 ACEs described by the --sddl argument are deleted rather than added.
95
96 No colour with NO_COLOR environment variable
97 --------------------------------------------
98
99 With both samba-tool --color=auto (see above) and some other places
100 where we use ANSI colour codes, the NO_COLOR environment variable will
101 disable colour output. See https://no-color.org/ for a description of
102 this variable. `samba-tool --color=always` will use colour regardless
103 of NO_COLOR.
104
105 New wbinfo option --change-secret-at
106 ------------------------------------
107
108 The wbinfo command has a new option, --change-secret-at=&lt;DOMAIN CONTROLLER&gt;
109 which forces the trust account password to be changed at a specified domain
110 controller. If the specified domain controller cannot be contacted the
111 password change fails rather than trying other DCs.
112
113 New option to change the NT ACL default location
114 ------------------------------------------------
115
116 Usually the NT ACLs are stored in the security.NTACL extended
117 attribute (xattr) of files and directories. The new
118 &quot;acl_xattr:security_acl_name&quot; option allows to redefine the default
119 location. The default &quot;security.NTACL&quot; is a protected location, which
120 means the content of the security.NTACL attribute is not accessible
121 from normal users outside of Samba. When this option is set to use a
122 user-defined value, e.g. user.NTACL then any user can potentially
123 access and overwrite this information. The module prevents access to
124 this xattr over SMB, but the xattr may still be accessed by other
125 means (eg local access, SSH, NFS). This option must only be used when
126 this consequence is clearly understood and when specific precautions
127 are taken to avoid compromising the ACL content.
128
129 Azure Active Directory / Office365 synchronisation improvements
130 --------------------------------------------------------------
131
132 Use of the Azure AD Connect cloud sync tool is now supported for
133 password hash synchronisation, allowing Samba AD Domains to synchronise
134 passwords with this popular cloud environment.
135
136 REMOVED FEATURES
137 ================
138
139
140 smb.conf changes
141 ================
142
143   Parameter Name                          Description     Default
144   --------------                          -----------     -------
145   acl_xattr:security_acl_name             New             security.NTACL
146   server addresses                        New
147
148
149 CHANGES SINCE 4.18.0rc4
150 =======================
151
152 o  Jeremy Allison &lt;jra@samba.org&gt;
153    * BUG 15314: streams_xattr is creating unexpected locks on folders.
154
155 o  Volker Lendecke &lt;vl@samba.org&gt;
156    * BUG 15310: New samba-dcerpc architecture does not scale gracefully.
157
158
159 CHANGES SINCE 4.18.0rc3
160 =======================
161
162 o  Andreas Schneider &lt;asn@samba.org&gt;
163    * BUG 15308: Avoid that tests fail because other tests didn&apos;t do cleanup on
164      failure.
165
166 o  baixiangcpp &lt;baixiangcpp@gmail.com&gt;
167    * BUG 15311: fd_load() function implicitly closes the fd where it should not.
168
169
170 CHANGES SINCE 4.18.0rc2
171 =======================
172
173 o  Jeremy Allison &lt;jra@samba.org&gt;
174    * BUG 15301: Improve file_modtime() and issues around smb3 unix test.
175
176 o  Ralph Boehme &lt;slow@samba.org&gt;
177    * BUG 15299: Spotlight doesn&apos;t work with latest macOS Ventura.
178
179 o  Stefan Metzmacher &lt;metze@samba.org&gt;
180    * BUG 15298: Build failure on solaris with tevent 0.14.0 (and ldb 2.7.0).
181      (tevent 0.14.1 and ldb 2.7.1 are already released...)
182
183 o  John Mulligan &lt;jmulligan@redhat.com&gt;
184    * BUG 15307: vfs_ceph incorrectly uses fsp_get_io_fd() instead of
185      fsp_get_pathref_fd() in close and fstat.
186
187 o  Andreas Schneider &lt;asn@samba.org&gt;
188    * BUG 15291: test_chdir_cache.sh doesn&apos;t work with SMBD_DONT_LOG_STDOUT=1.
189    * BUG 15301: Improve file_modtime() and issues around smb3 unix test.
190
191
192 CHANGES SINCE 4.18.0rc1
193 =======================
194
195 o  Andrew Bartlett &lt;abartlet@samba.org&gt;
196    * BUG 10635: Office365 azure Password Sync not working.
197
198 o  Stefan Metzmacher &lt;metze@samba.org&gt;
199    * BUG 15286: auth3_generate_session_info_pac leaks wbcAuthUserInfo.
200
201 o  Noel Power &lt;noel.power@suse.com&gt;
202    * BUG 15293: With clustering enabled samba-bgqd can core dump due to use
203      after free.
204
205
206 KNOWN ISSUES
207 ============
208
209 https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.18#Release_blocking_bugs
210
211
212 </pre>
213 </p>
214 </body>
215 </html>