Jump to content

Samba 4.23 Features added/changed

From SambaWiki

Samba 4.23 is Maintenance Mode.

Samba 4.23.9

Release Notes for Samba 4.23.9
June 23, 2026

This is the latest stable release of the Samba 4.23 release series.

Changes since 4.23.8

  • Ralph Boehme <slow@samba.org>
  • BUG 16030: Windows Offline Files fails with permission error when directory has the read‑only attribute set
  • Günther Deschner <gd@samba.org>
  • BUG 14148: Samba doesn't implement FILE_NOTIFY_CHANGE_SECURITY
  • Björn Jacke <bjacke@samba.org>
  • BUG 16076: samba-tool shows wrong format specifiers for timestamp attributes
  • Volker Lendecke <vl@samba.org>
  • BUG 16095: Use-after-free in handling acls with claims and conditions
  • Gary Lockyer <gary@catalyst.net.nz>
  • BUG 16092: Compilers may ignore overflow checks - Fix tautological-compare warnings
  • Stefan Metzmacher <metze@samba.org>
  • BUG 14638: restrict anonymous = 2 breaks RODC functionality
  • BUG 15973: smbpasswd can crash winbindd on an AD DC
  • BUG 15995: smbd does not cleanup on disconnect of the transport connection on lease break errors
  • BUG 16067: Require NTLMv2 session security on Windows makes trusts to Samba unusable
  • BUG 16092: Compilers may ignore overflow checks - Fix tautological-compare warnings
  • Andreas Schneider <asn@samba.org>
  • BUG 15987: Winbind lsa_OpenPolicy() fails on lsa connection setup with: NT_STATUS_RPC_CANNOT_SUPPORT
  • Shachar Sharon <ssharon@redhat.com>
  • BUG 16068: CTDB read-only record handling contains use after free and resource leak bugs

Release Notes Samba 4.23.9

Samba 4.23.8

Release Notes for Samba 4.23.8
May 26, 2026

This is a security release in order to address the following defects:

CVE-2026-1933: Missing access checks on reparse point operations
On a share marked "read only = yes" and on file handles opened R/O users can set or delete the reparse point xattrs on files that the user has write-access in the file system for.
CVE-2026-2340 : WORM vfs module does not block overwrites
The WORM (Write-Once, Read Many) vfs module is supposed to lock write access to shared files, so they cannot be altered after initial writes. It was allowing files to be overwritten by renaming a newly created file over a protected file.
CVE-2026-3012: auto-enrolment GPO installing CA certificate over http without verification
To bootstrap a certificate chain a domain member must fetch a certificate without TLS. It was trusting HTTP for this when a more secure encrypted LDAP channel was also available.
CVE-2026-3238: Denial of service against AD DC WINS server
The WINS server component of the Active Directory Domain controller code in Samba is vulnerable to a NULL pointer dereference and crash caused by a unauthenticated UDP packet.
CVE-2026-4408:Unauthenticated Remote Code Execution in Samba DCE/RPC SAMR server
Samba file servers and classic (non-AD) domain controllers with samba-dcerpcd started as a system service and with a "check password script" that has the %u substitution character are vulnerable to a remote code execution.
CVE-2026-4480: Unauthenticated Remote Code Execution in Samba printing subsystem
Samba print servers with a "print command" that has the %J substitution character are vulnerable to a Remote Code Execution.

Changes since 4.23.7

  • Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
  • Pavel Kohout <pavel@aisle.com>
  • Volker Lendecke <vl@samba.org>
  • Stefan Metzmacher <metze@samba.org>

Release Notes Samba 4.23.8

Samba 4.23.7

Release Notes for Samba 4.23.7
April 21, 2026

This is the latest stable release of the Samba 4.23 release series.

Changes since 4.23.6

  • Thales Antunes de Oliveira Barretto <thales.barretto.git@gmail.com>
  • BUG 16043: Fix a directory file descriptor leak in vfs_glusterfs that caused unbounded memory growth on the GlusterFS brick with persistent SMB2 connections.
  • Björn Jacke <bjacke@samba.org>
  • BUG 16057: autobuild fails if /proc/version contains trailing space
  • Volker Lendecke <vl@samba.org>
  • BUG 16019: incorrect behavior on rpcclient enumport with rpcd_spoolss
  • Noel Power <noel.power@suse.com>
  • BUG 16042: rpc workers with long living clients grow server memory keytab
  • BUG 16058: vfs_snapper failing to access or enumerate files in subfolders
  • Andreas Schneider <asn@samba.org>
  • BUG 15960: libsmbclient posix extensions with SMB3 don't work at all
  • BUG 16040: Samba is not build with FORTIFY_SOURCE
Release Notes Samba 4.23.7

Samba 4.23.6

Release Notes for Samba 4.23.6
February 27, 2026

This is the latest stable release of the Samba 4.23 release series.

Changes since 4.23.5

  • Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
  • BUG 15990: No function _python_sysroot defined
  • Ralph Boehme <slow@samba.org>
  • BUG 15978: leases torture test flappy
  • BUG 15984: smbd: in contend_dirleases() don't bother checking when not enabled
  • Samuel Cabrero <scabrero@samba.org>
  • BUG 15979: possible memory leak on rpc_spoolss
  • Günther Deschner <gd@samba.org>
  • BUG 15964: "net offlinejoin requestodj" manpage entry incorrectly mentiones provided credentials
  • Noel Power <noel.power@suse.com>
  • BUG 15789: "use-kerberos=desired" broken
  • BUG 15958: pthreadpool_tevent has race conditions accessing both pthreadpool_tevent.jobs list and pthreadpool_tevent.glue_list
  • BUG 15979: possible memory leak on rpc_spoolss
  • Peter Schwenke <pschwenke@ddn.com>
  • BUG 15938: CTDB's statd_callout fails on sm-notify
  • BUG 15939: CTDB statd_callout_notify notifies unnecessary clients and loses their state
  • Martin Schwenke <mschwenke@ddn.com>
  • BUG 15939: CTDB statd_callout_notify notifies unnecessary clients and loses their state
  • BUG 15977: ctdbd socket documentation is wrong
Release Notes Samba 4.23.6

Samba 4.23.5

Release Notes for Samba 4.23.5
January 23, 2026

This is the latest stable release of the Samba 4.23 release series.

Changes since 4.23.4

  • Ralph Boehme <slow@samba.org>
  • BUG 15959: New Spotlight default search field incorrectly initialized
  • Pavel Filipenský <pfilipensky@samba.org>
  • Gary Lockyer <gary@catalyst.net.nz>
  • BUG 15937: winbindd crashes with Bad talloc magic value - unknown value
  • Michael Tokarev <mjt@tls.msk.ru>
Release Notes Samba 4.23.5

Samba 4.23.4

Release Notes for Samba 4.23.4
December 12, 2025

This is the latest stable release of the Samba 4.23 release series.

Changes since 4.23.3

  • Ralph Boehme <slow@samba.org>
  • BUG 15926: Samba 4.22 breaks Time Machine
  • BUG 15947: mdssvc doesn't support $time.iso dates before 1970
  • Günther Deschner <gd@samba.org>
  • Volker Lendecke <vl@samba.org>
  • BUG 15897: Assert failed: (dirfd != -1) || (smb_fname->base_name[0] == '/') in vfswrap_openat
  • BUG 15950: ctdb can crash with inconsistent cluster lock configuration
  • Anoop C S <anoopcs@samba.org>
  • BUG 15897: Assert failed: (dirfd != -1) || (smb_fname->base_name[0] == '/') in vfswrap_openat
  • Andreas Schneider <asn@samba.org>
  • BUG 15809: samba-bgqd: rework man page
  • BUG 15936: samba-bgqd can't find [printers] share
  • BUG 15955: Winbind can hang forever in gssapi if there are network issues.
  • BUG 15961: libldb requires linking libreplace on Linux
Release Notes Samba 4.23.4

Samba 4.23.3

Release Notes for Samba 4.23.3
November 07, 2025

This is the latest stable release of the Samba 4.23 release series.

Changes since 4.23.2

  • Ralph Boehme <slow@samba.org>
  • BUG 15926: Samba 4.22 breaks Time Machine.
  • BUG 15927: Spotlight search restriction for shares incomplete and default search searches in too many attributes.
  • BUG 15930: Searching for numbers doesn't work with Spotlight.
  • BUG 15931: rpcd_mdssvc may crash because name mangling is not initialized.
  • BUG 15933: Only increment lease epoch if a lease was granted.
  • Pavel Filipenský <pfilipensky@samba.org>
  • BUG 15940: vfs_recycle does not update mtime.
  • BUG 15943: samba-log-parser fails with UnicodeDecodeError: 'utf-8' codec can't decode byte.
  • Martin Schwenke <mschwenke@ddn.com>
  • BUG 15935: Crash in ctdbd on failed updateip.
Release Notes Samba 4.23.3

Samba 4.23.2

Release Notes for Samba 4.23.2
October 15, 2025

This is a security release in order to address the following defects:

Changes since 4.23.2

  • Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
  • Andrew Walker <andrew.walker@truenas.com>
Release Notes Samba 4.23.2

Samba 4.23.1

Release Notes for Samba 4.23.1
September 26, 2025

This is the latest stable release of the Samba 4.23 release series.

Changes since 4.23.0

  • Alexander Bokovoy <ab@samba.org>
  • BUG 15920: Incomplete bind configuration causes DLZ plugin to crash.
  • Volker Lendecke <vl@samba.org>
  • Anoop C S <anoopcs@samba.org>
  • BUG 15919: vfs_ceph_new should not use ceph_ll_nonblocking_readv_writev for fsync_send.
  • Andreas Schneider <asn@samba.org>
  • Martin Schwenke <mschwenke@ddn.com>
  • BUG 15921: CTDB_SOCKET can be used even when CTDB_TEST_MODE is not set.
  • Shachar Sharon <ssharon@redhat.com>
  • BUG 15919: vfs_ceph_new should not use ceph_ll_nonblocking_readv_writev for fsync_send.
Release Notes Samba 4.23.1.

Samba 4.23.0

Release Notes for Samba 4.23.0
September 12, 2025

Release Announcements

This is the first stable release of the Samba 4.23 release series. Please read the release notes carefully before upgrading.

Enable SMB3 Unix Extensions by default

Starting with Samba 4.23, the SMB3 UNIX Extensions are enabled by default. These extensions provide first-class support for POSIX semantics over SMB3, allowing UNIX and Linux clients to access file services with features such as proper POSIX permissions, symlink handling, hardlinks, and special file types.

Enabling this feature by default improves interoperability for UNIX/Linux clients without requiring additional configuration. Windows clients that do not support the extensions will continue to function normally, by using standard SMB3 behavior.

Add support for SMB3 over QUIC

The new "client smb transports" and "server smb transport" allow a more flexible configuration for the used tcp sockets.

It also got the ability specify "quic" as possible transport. If quic should be used in addition to the defaults something like "server smb transports = +quic" can be used.

For the client quic only works with name based uncs, ip address based uncs are not supported.

Note for the server 'quic' requires the quic.ko kernel module for Linux from https://github.com/lxin/quic (tested with Linux 6.14). Future Linux versions may support it natively, here's the branch that will hopefully accepted upstream soon: https://github.com/lxin/net-next/commits/quic/

For the client side there's a fallback to the userspace ngtcp2 library if the quic kernel module is not available.

Check the smb.conf manpage for additional hints about the "client smb transports" and "server smb transport" options and interactions with tls related options.

Modern write time update logic

Samba 4.23 changes file timestamp handling to match modern Windows servers. Earlier releases used delayed write time updates, where last_write_time was only refreshed after a short idle period. Now Samba applies immediate timestamp updates consistent with modern Windows 10/Server 2016 or newer.

Initial version of smb_prometheus_endpoint

Samba 4.23 introduces the smb_prometheus_endpoint utility, which exports Samba server metrics in Prometheus-compatible format. This enables seamless integration of Samba performance and status monitoring into existing Prometheus and Grafana environments. For usage and configuration details, refer to the new smb_prometheus_endpoint man page.

samba-tool domain backup --no-secrets avoids confidential attributes

The --no-secrets option creates a back-up without secret attributes (e.g. passwords), suitable for use in a lab domain. Until now it could still contain confidential attributes, including BitLocker recovery data and KDS root keys. Objects in the classes msKds-ProvRootKey, msFVE-RecoveryInformation, and msTPM-InformationObject will now be entirely removed from the backup, as these objects are required by schema to have confidential attributes and are no use without them.

CTDB changes

CTDB now supports loading tunables from /etc/ctdb/tunables.d/*.tunables, in addition to the standard /etc/ctdb/tunables.conf. See the ctdb-tunables(7) manual page for more details. Note that the above locations are examples - the actual location of these files will depend on compile time configuration.

It isn't expected that many users will require a directory of tunables files, since most users do not need to change tunables from their default values. However, this allows vendors to ship their required tunables settings (for example, in one or more files marked "do not edit") while still allowing local administrators to add their own tunables settings (in one or more separate files).

Per-share profiling stats

Starting with Samba 4.23, users can collect profile counters at a per-share level. This feature requires building Samba with profiling data enabled and adding an appropriate `smb.conf` parameter for specific shares. It's particularly useful for deployments with a large number of active shares, allowing administrators to monitor individual share activity and identify potential bottlenecks or hot-spots. When enabled, users can inspect current per-share profile information ("Extended Profile") using the standard `smbstatus` utility.

Currently, this functionality is supported only by the default and `ceph_new` VFS modules.

REMOVED FEATURES

smb.conf changes

 Parameter Name                          Description     Default
 --------------                          -----------     -------
 smbd profiling share                    New             no
 client smb transports                   New             tcp, nbt
 server smb transports                   New             tcp, nbt
 winbind varlink service                 New             no


CHANGES SINCE 4.23.0rc4

  • Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
  • BUG 15911: samba.tests.safe_tarfile fails on Python 3.13 with additional security fixes for tarfile support.
  • Alexander Bokovoy <ab@samba.org>
  • Pavel Filipenský <pfilipensky@samba.org>
  • BUG 15905: samba-4.21 fails to join AD when multiple DCs are returned.
  • Volker Lendecke <vl@samba.org>
  • BUG 15908: Uninitialized read leads to hanging rpcd_spoolss.
  • Andreas Schneider <asn@samba.org>
  • BUG 15905: samba-4.21 fails to join AD when multiple DCs are returned.
  • BUG 15907: Stack buffer overflow in samba3.smb2.dirlease.fileserver.

CHANGES SINCE 4.23.0rc3

  • Alexander Bokovoy <ab@samba.org>
  • BUG 15902: Regression in gssproxy support in 4.23.rc1+.
  • MikeLiu <mikeliu@qnap.com>
  • BUG 15900: 'net ads group' failed to list domain groups.

CHANGES SINCE 4.23.0rc2

  • Ralph Boehme <slow@samba.org>
  • BUG 15843: macOS Finder client DFS broken on 4.22.0.
  • Stefan Metzmacher <metze@samba.org>
  • BUG 15899: Self-signed certificates don't have X509v3 Subject Alternative Name for DNS.
  • Andreas Schneider <asn@samba.org>
  • BUG 15893: Improve handling of principals and realms in client tools.

CHANGES SINCE 4.23.0rc1

  • Bjoern Baumbach <bb@sernet.de>
  • Ralph Boehme <slow@samba.org>
  • BUG 15844: getpwuid does not shift to new DC when current DC is down.
  • BUG 15876: Windows security hardening locks out schannel'ed netlogon dc calls like netr_DsRGetDCName.
  • Gary Lockyer <gary@catalyst.net.nz>

KNOWN ISSUES

Release_Planning_for_Samba_4.23#Release_blocking_bugs
Release Notes Samba 4.23.0.