Release Announcements
=====================
-This is the first preview release of Samba 4.10. This is *not*
+This is the first pre release of Samba 4.21. This is *not*
intended for production environments and is designed for testing
purposes only. Please report any defects via the Samba bug reporting
system at https://bugzilla.samba.org/.
-Samba 4.10 will be the next version of the Samba suite.
+Samba 4.21 will be the next version of the Samba suite.
UPGRADING
NEW FEATURES/CHANGES
====================
-GPO Improvements
-----------------
+LDB no longer a standalone tarball
+----------------------------------
-A new 'samba-tool gpo export' command has been added that can export a
-set of Group Policy Objects from a domain in a generalised XML format.
+LDB, Samba's LDAP-like local database and the power behind the Samba
+AD DC, is no longer available to build as a distinct tarball, but is
+instead provided as an optional public library.
-A corresponding 'samba-tool gpo restore' command has been added to
-rebuild the Group Policy Objects from the XML after generalization.
-(The administrator needs to correct the values of XML entities between
-the backup and restore to account for the change in domain).
+If you need ldb as a public library, say to build sssd, then use
+ ./configure --private-libraries='!ldb'
-kdc prefork
------------
+This re-integration allows LDB tests to use the Samba's full selftest
+system, including our knownfail infrastructure, and decreases the work
+required during security releases as a coordinated release of the ldb
+tarball is not also required.
-The KDC now supports the pre-fork process model and worker processes will be
-forked for the KDC when the pre-fork process model is selected for samba.
+This approach has been demonstrated already in Debian, which is already
+building Samba and LDB is this way.
-prefork 'prefork children'
---------------------------
+As part of this work, the pyldb-util public library, not known to be
+used by any other software, is made private to Samba.
-The default value for this smdb.conf parameter has been increased from 1 to
-4.
+LDB Module API Python bindings removed
+--------------------------------------
-netlogon prefork
-----------------
-
-DCERPC now supports pre-forked NETLOGON processes. The netlogon processes are
-pre-forked when the prefork process model is selected for samba.
-
-Offline domain backups
-----------------------
-
-The 'samba-tool domain backup' command has been extended with a new 'offline'
-option. This safely creates a backup of the local DC's database directly from
-disk. The main benefits of an offline backup are it's quicker, it stores more
-database details (for forensic purposes), and the samba process does not have
-to be running when the backup is made. Refer to the samba-tool help for more
-details on using this command.
-
-Group membership statistics
----------------------------
-
-A new 'samba-tool group stats' command has been added. This provides summary
-information about how the users are spread across groups in your domain.
-The 'samba-tool group list --verbose' command has also been updated to include
-the number of users in each group.
-
-prefork process restart
------------------------
-
-The pre-fork process model now restarts failed processes. The delay between
-restart attempts is controlled by the "prefork backoff increment" (default = 10)
-and "prefork maximum backoff" (default = 120) smbd.conf parameters. A linear
-back off strategy is used with "prefork backoff increment" added to the
-delay between restart attempts up until it reaches "prefork maximum backoff".
-
-Using the default sequence the restart delays (in seconds) are:
- 0, 10, 20, ..., 120, 120, ...
+The LDB Modules API, which we do not promise a stable ABI or API for,
+was wrapped in python in early LDB development. However that wrapping
+never took into account later changes, and so has not worked for a
+number of years. Samba 4.21 and LDB 2.10 removes this unused and
+broken feature.
REMOVED FEATURES
================
-samba_backup
-------------
-
-The samba_backup script has been removed. This has now been replaced by the
-'samba-tool domain backup offline' command.
smb.conf changes
================
- Parameter Name Description Default
- -------------- ----------- -------
- prefork backoff increment Delay added to process restart 10 (seconds)
- between attempts.
- prefork maximum backoff Maximum delay for process between 120 (seconds)
- process restart attempts
+ Parameter Name Description Default
+ -------------- ----------- -------
KNOWN ISSUES
============
-https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.10#Release_blocking_bugs
+https://wiki.samba.org/index.php/Release_Planning_for_Samba_4.21#Release_blocking_bugs
#######################################
#######################################
Please discuss this release on the samba-technical mailing list or by
-joining the #samba-technical IRC channel on irc.freenode.net.
+joining the #samba-technical:matrix.org matrix room, or
+#samba-technical IRC channel on irc.libera.chat
If you do report problems then please try to send high quality
feedback. If you don't provide vital information to help us track down