4 This is the first preview release of Samba 4.11. 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.11 will be the next version of the Samba suite.
19 Default samba process model
20 ---------------------------
22 The default for the --model argument passed to the samba executable has changed
23 from 'standard' to 'prefork'. This means a difference in the number of samba
24 child processes that are created to handle client connections. The previous
25 default would create a separate process for every LDAP or NETLOGON client
26 connection. For a network with a lot of persistent client connections, this
27 could result in significant memory overhead. Now, with the new default of
28 'prefork', the LDAP, NETLOGON, and KDC services will create a fixed number of
29 worker processes at startup and share the client connections amongst these
30 workers. The number of worker processes can be configured by the 'prefork
31 children' setting in the smb.conf (the default is 4).
33 Authentication Logging.
34 -----------------------
36 Winbind now logs PAM_AUTH and NTLM_AUTH events, a new attribute "logonId" has
37 been added to the Authentication JSON log messages. This contains a random
38 logon id that is generated for each PAM_AUTH and NTLM_AUTH request and is passed
39 to SamLogon, linking the windbind and SamLogon requests.
41 The serviceDescription of the messages is set to "winbind", the authDescription
43 "PASSDB, <command>, <pid>"
44 "PAM_AUTH, <command>, <pid>"
45 "NTLM_AUTH, <command>, <pid>"
47 <command> is the name of the command makinmg the winbind request i.e. wbinfo
48 <pid> is the process id of the requesting process.
50 The version of the JSON Authentication messages has been changed to 1.2 from 1.1
55 The scheme of returned LDAP referrals now reflects the scheme of the original
56 request, i.e. referrals received via ldap are prefixed with "ldap://"
57 and those over ldaps are prefixed with "ldaps://"
59 Previously all referrals were prefixed with "ldap://"
64 It is now possible to log the duration of DNS operations performed by Bind9
65 This should aid future diagnosis of performance issues, and could be used to
66 monitor DNS performance. The logging is enabled by setting log level to
69 The logs are currently Human readable text only, i.e. no JSON formatted output.
71 Log lines are of the form:
73 <function>: DNS timing: result: [<result>] duration: (<duration>)
74 zone: [<zone>] name: [<name>] data: [<data>]
76 durations are in microseconds.
78 Default schema updated to 2012_R2
79 ---------------------------------
81 Default AD schema changed from 2008_R2 to 2012_R2. 2012_R2 functional level
82 is not yet available. Older schemas can be used by provisioning with the
83 '--base-schema' argument. Existing installations can be updated with the
84 samba-tool command "domain schemaupgrade".
86 Samba's replication code has also been improved to handle replication
87 with the 2012 schema (the core of this replication fix has also been
88 backported to 4.9.11 and will be in a 4.10.x release).
93 Samba is making efforts to remove in-tree cryptographic functionality,
94 and to instead rely on externally maintained libraries. To this end,
95 Samba has chosen GnuTLS as our standard cryptographic provider.
97 Samba now requires GnuTLS 3.2 to be installed (including development
98 headers at build time) for all configurations, not just the Samba AD
101 NOTE WELL: The use of GnuTLS means that Samba will honour the
102 system-wide 'FIPS mode' (a reference to the US FIPS-140 cryptographic
103 standard) and so will not operate in many still common situations if
104 this system-wide parameter is in effect, as many of our protocols rely
105 on outdated cryptography.
107 A future Samba version will mitigate this to some extent where good
108 cryptography effectively wraps bad cryptography, but for now that above
111 samba-tool improvements
112 -----------------------
114 A new "samba-tool contact" command has been added to allow the
115 command-line manipulation of contacts, as used for address book
118 The "samba-tool [user|group|computer|group|contact] edit" command has been
119 improved to operate more pleasantly on international character sets.
121 100,000 USER and LARGER Samba AD DOMAINS
122 ========================================
124 Extensive efforts have been made to optimise Samba for use in
125 organisations (for example) targeting 100,000 users, plus 120,000
126 computer objects, as well as large number of group memberships.
128 Many of the specific efforts are detailed below, but the net results
129 is to remove barriers to significantly larger Samba deployments
130 compared to previous releases.
132 Reindex performance improvements
133 --------------------------------
135 The performance of samba-tool dbcheck --reindex has been improved,
136 especially for large domains.
138 join performance improvements
139 -----------------------------
141 The performance of samba-tool domain join has been improved,
142 especially for large domains.
144 LDAP Server memory improvements
145 -------------------------------
147 The LDAP server has improved memory efficiency, ensuring that large
148 LDAP responses (for example a search for all objects) is not copied
149 multiple times into memory.
151 Setting lmdb map size
152 ---------------------
154 It is now possible to set the lmdb map size (The maximum permitted
155 size for the database). "samba-tool" now accepts the
156 "--backend-store-size" i.e. --backend-store-size=4Gb. If not
157 specified it defaults to 8Gb.
159 This option is avaiable for the following sub commands:
163 * drs clone-dc-database
168 To improve performance during batch operations i.e. joins, ldb now
169 accepts a "batch_mode" option. However to prevent any index or
170 database inconsistencies if an operation fails, the entire transaction
171 will be aborted at commit.
176 On first use (startup of 'samba' or the first transaction write)
177 Samba's sam.ldb will be updated to a new more efficient pack format.
178 This will take a few moments.
180 New LDB <= and >= index mode to improve replication performance
181 ---------------------------------------------------------------
183 As well as a new pack format, Samba's sam.ldb uses a new index format
184 allowing Samba to efficiently select objects changed since the last
185 replication cycle. This in turn improves performance during
186 replication of large domains.
188 Improvements to ldb search performance
189 --------------------------------------
191 Search performance on large LDB databases has been improved by
192 reducing memory allocations made on each object.
194 Improvements to subtree rename performance
195 ------------------------------------------
197 Improvements have been made to Samba's handling of subtree renames,
198 for example of containers and organisational units, however large
199 renames are still not recommended.
209 As a leftover from work related to the Samba Web Administration Tool (SWAT),
210 Samba still supported a Python WSGI web server (which could still be turned on
211 from the 'server services' smb.conf parameter). This service was unused and has
212 now been removed from Samba.
215 samba-tool join subdommain
216 --------------------------
218 The subdommain role has been removed from the join command. This option did
219 not work and has no tests.
225 Samba 4.11 will not have any runtime support for Python 2.
227 If you are building Samba using the '--disable-python' option
228 (i.e. you're excluding all the run-time Python support), then this
229 will continue to work on a system that supports either python2 or
232 To build Samba with python2 you *must* set the 'PYTHON' environment
233 variable for both the 'configure' and 'make' steps, i.e.
234 'PYTHON=python2 ./configure'
235 'PYTHON=python2 make'
236 This will override the python3 default.
238 Except for this specific build-time use of python2, Samba now requires
239 Python 3.4 as a minimum.
244 Parameter Name Description Default
245 -------------- ----------- -------
248 fruit:zero_file_id Changed default False
254 https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.11#Release_blocking_bugs
257 #######################################
258 Reporting bugs & Development Discussion
259 #######################################
261 Please discuss this release on the samba-technical mailing list or by
262 joining the #samba-technical IRC channel on irc.freenode.net.
264 If you do report problems then please try to send high quality
265 feedback. If you don't provide vital information to help us track down
266 the problem then you will probably be ignored. All bug reports should
267 be filed under the Samba 4.1 and newer product in the project's Bugzilla
268 database (https://bugzilla.samba.org/).
271 ======================================================================
272 == Our Code, Our Bugs, Our Responsibility.
274 ======================================================================