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).
91 100,000 USER and LARGER Samba AD DOMAINS
92 ========================================
94 Extensive efforts have been made to optimise Samba for use in
95 organisations (for example) targeting 100,000 users, plus 120,000
96 computer objects, as well as large number of group memberships.
98 Many of the specific efforts are detailed below, but the net results
99 is to remove barriers to significantly larger Samba deployments
100 compared to previous releases.
102 Reindex performance improvements
103 --------------------------------
105 The performance of samba-tool dbcheck --reindex has been improved,
106 especially for large domains.
108 join performance improvements
109 -----------------------------
111 The performance of samba-tool domain join has been improved,
112 especially for large domains.
114 LDAP Server memory improvements
115 -------------------------------
117 The LDAP server has improved memory efficiency, ensuring that large
118 LDAP responses (for example a search for all objects) is not copied
119 multiple times into memory.
121 Setting lmdb map size
122 ---------------------
124 It is now possible to set the lmdb map size (The maximum permitted
125 size for the database). "samba-tool" now accepts the
126 "--backend-store-size" i.e. --backend-store-size=4Gb. If not
127 specified it defaults to 8Gb.
129 This option is avaiable for the following sub commands:
133 * drs clone-dc-database
138 To improve performance during batch operations i.e. joins, ldb now
139 accepts a "batch_mode" option. However to prevent any index or
140 database inconsistencies if an operation fails, the entire transaction
141 will be aborted at commit.
146 On first use (startup of 'samba' or the first transaction write)
147 Samba's sam.ldb will be updated to a new more efficient pack format.
148 This will take a few moments.
150 New LDB <= and >= index mode to improve replication performance
151 ---------------------------------------------------------------
153 As well as a new pack format, Samba's sam.ldb uses a new index format
154 allowing Samba to efficiently select objects changed since the last
155 replication cycle. This in turn improves performance during
156 replication of large domains.
158 Improvements to ldb search performance
159 --------------------------------------
161 Search performance on large LDB databases has been improved by
162 reducing memory allocations made on each object.
164 Improvements to subtree rename performance
165 ------------------------------------------
167 Improvements have been made to Samba's handling of subtree renames,
168 for example of containers and organisational units, however large
169 renames are still not recommended.
179 As a leftover from work related to the Samba Web Administration Tool (SWAT),
180 Samba still supported a Python WSGI web server (which could still be turned on
181 from the 'server services' smb.conf parameter). This service was unused and has
182 now been removed from Samba.
185 samba-tool join subdommain
186 --------------------------
188 The subdommain role has been removed from the join command. This option did
189 not work and has no tests.
195 Samba 4.11 will not have any runtime support for Python 2.
197 If you are building Samba using the '--disable-python' option
198 (i.e. you're excluding all the run-time Python support), then this
199 will continue to work on a system that supports either python2 or
202 To build Samba with python2 you *must* set the 'PYTHON' environment
203 variable for both the 'configure' and 'make' steps, i.e.
204 'PYTHON=python2 ./configure'
205 'PYTHON=python2 make'
206 This will override the python3 default.
208 Except for this specific build-time use of python2, Samba now requires
209 Python 3.4 as a minimum.
214 Parameter Name Description Default
215 -------------- ----------- -------
218 fruit:zero_file_id Changed default False
224 https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.11#Release_blocking_bugs
227 #######################################
228 Reporting bugs & Development Discussion
229 #######################################
231 Please discuss this release on the samba-technical mailing list or by
232 joining the #samba-technical IRC channel on irc.freenode.net.
234 If you do report problems then please try to send high quality
235 feedback. If you don't provide vital information to help us track down
236 the problem then you will probably be ignored. All bug reports should
237 be filed under the Samba 4.1 and newer product in the project's Bugzilla
238 database (https://bugzilla.samba.org/).
241 ======================================================================
242 == Our Code, Our Bugs, Our Responsibility.
244 ======================================================================