Samba 4.19 Features added/changed: Difference between revisions

From SambaWiki
 
Line 1: Line 1:
Samba 4.19 is [[Samba_Release_Planning#Security_Fixes_Only_Mode|''''Security Fixes_Only Mode'']].
Samba 4.19 is [[Samba_Release_Planning#Security_Fixes_Only_Mode|''''Security Fixes_Only Mode'']].
==Samba 4.19.9==
:Release Notes for Samba 4.19.9
:October 17, 2024

===This is the latest stable release of the Samba 4.19 release series.===

===Changes since 4.19.8===

* Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
:* [https://bugzilla.samba.org/show_bug.cgi?id=15590 BUG 15590]: libldb: performance issue with indexes (ldb 2.8.2 is already released).
* Ralph Boehme <slow@samba.org>
:* [https://bugzilla.samba.org/show_bug.cgi?id=15624 BUG 15624]: DH reconnect error handling can lead to stale sharemode entries.
* David Disseldorp <ddiss@samba.org>
:* [https://bugzilla.samba.org/show_bug.cgi?id=15699 BUG 15699]: Incorrect FSCTL_QUERY_ALLOCATED_RANGES response when truncated.
* Stefan Metzmacher <metze@samba.org>
:* [https://bugzilla.samba.org/show_bug.cgi?id=15280 BUG 15280]: irpc_destructor may crash during shutdown.
:* [https://bugzilla.samba.org/show_bug.cgi?id=15624 BUG 15624]: DH reconnect error handling can lead to stale sharemode entries.
:* [https://bugzilla.samba.org/show_bug.cgi?id=15696 BUG 15696]: Compound SMB2 requests don't return NT_STATUS_NETWORK_SESSION_EXPIRED for all requests, confuses MacOSX clients.
* Shachar Sharon <ssharon@redhat.com>
:* [https://bugzilla.samba.org/show_bug.cgi?id=15700 BUG 15700]: Crash when readlinkat fails.

[https://www.samba.org/samba/history/samba-4.19.9.html Release Notes Samba 4.19.9]

==Samba 4.19.8==
==Samba 4.19.8==
:Release Notes for Samba 4.19.8
:Release Notes for Samba 4.19.8
Line 9: Line 32:


* Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
* Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
:* [https://bugzilla.samba.org/show_bug.cgi?id=15671 BUG 15671]15671: Invalid client warning about command line passwords.
:* [https://bugzilla.samba.org/show_bug.cgi?id=15671 BUG 15671]: Invalid client warning about command line passwords.
:* [https://bugzilla.samba.org/show_bug.cgi?id=15672 BUG 15672]: Version string is truncated in manpages.
:* [https://bugzilla.samba.org/show_bug.cgi?id=15672 BUG 15672]: Version string is truncated in manpages.
:* [https://bugzilla.samba.org/show_bug.cgi?id=15673 BUG 15673]: --version-* options are still not ergonomic, and they reject tilde characters.
:* [https://bugzilla.samba.org/show_bug.cgi?id=15673 BUG 15673]: --version-* options are still not ergonomic, and they reject tilde characters.

Latest revision as of 12:04, 20 October 2024

Samba 4.19 is ''Security Fixes_Only Mode.

Samba 4.19.9

Release Notes for Samba 4.19.9
October 17, 2024

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

Changes since 4.19.8

  • Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
  • BUG 15590: libldb: performance issue with indexes (ldb 2.8.2 is already released).
  • Ralph Boehme <slow@samba.org>
  • BUG 15624: DH reconnect error handling can lead to stale sharemode entries.
  • David Disseldorp <ddiss@samba.org>
  • BUG 15699: Incorrect FSCTL_QUERY_ALLOCATED_RANGES response when truncated.
  • Stefan Metzmacher <metze@samba.org>
  • BUG 15280: irpc_destructor may crash during shutdown.
  • BUG 15624: DH reconnect error handling can lead to stale sharemode entries.
  • BUG 15696: Compound SMB2 requests don't return NT_STATUS_NETWORK_SESSION_EXPIRED for all requests, confuses MacOSX clients.
  • Shachar Sharon <ssharon@redhat.com>
Release Notes Samba 4.19.9

Samba 4.19.8

Release Notes for Samba 4.19.8
August 15, 2024

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

Changes since 4.19.7

  • Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
  • BUG 15671: Invalid client warning about command line passwords.
  • BUG 15672: Version string is truncated in manpages.
  • BUG 15673: --version-* options are still not ergonomic, and they reject tilde characters.
  • BUG 15674: cmdline_burn does not always burn secrets.
  • BUG 15685: Samba doesn't parse SDDL found in defaultSecurityDescriptor in AD_DS_Classes_Windows_Server_v1903.ldf.
  • Andrew Bartlett <abartlet@samba.org>
  • BUG 15654: We have added new options --vendor-name and --vendor-patch-revision arguments to ./configure to allow distributions and packagers to put their name in the Samba version string so that when debugging Samba the source of the binary is obvious.
  • BUG 15655: When claims enabled with heimdal kerberos, unable to log on to a Windows computer when user account need to change their own password.
  • Ralph Boehme <slow@samba.org>
  • BUG 1567615676: Fix clock skew error message and memory cache clock skew recovery.
  • Günther Deschner <gd@samba.org>
  • BUG 15665: CTDB RADOS mutex helper misses namespace support.
  • Pavel Filipenský <pfilipensky@samba.org>
  • BUG 15660: The images don't build after the git security release and CentOS 8 Stream is EOL.
  • Xavi Hernandez <xhernandez@redhat.com>
  • BUG 15678: Fix unnecessary delays in CTDB while processing requests under high load.
  • Stefan Metzmacher <metze@samba.org>
  • BUG 13019: Dynamic DNS updates with the internal DNS are not working.
  • BUG 15620: s4:nbt_server: does not provide unexpected handling, so winbindd can't use nmb requests instead cldap.
  • BUG 15660: The images don't build after the git security release and CentOS 8 Stream is EOL.
  • BUG 15664: Panic in vfs_offload_token_db_fetch_fsp().
  • BUG 15666: "client use kerberos" and --use-kerberos is ignored for the machine account.
  • Noel Power <noel.power@suse.com>
  • BUG 15435: Regression DFS not working with widelinks = true.
  • Andreas Schneider <asn@samba.org>
  • BUG 15660: The images don't build after the git security release and CentOS 8 Stream is EOL.
  • BUG 15673: --version-* options are still not ergonomic, and they reject tilde characters.
  • Jo Sutton <josutton@catalyst.net.nz>
  • BUG 15655: When claims enabled with heimdal kerberos, unable to log on to a Windows computer when user account need to change their own password.
  • Joseph Sutton <josephsutton@catalyst.net.nz>
  • BUG 15655: When claims enabled with heimdal kerberos, unable to log on to a Windows computer when user account need to change their own password.
  • Jones Syue <jonessyue@qnap.com>
  • BUG 15677: ntlm_auth make logs more consistent with length check.
Release Notes Samba 4.19.8

Samba 4.19.7

Release Notes for Samba 4.19.7
June 10, 2024

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

Changes since 4.19.6

  • Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
  • BUG 15569: ldb qsort might r/w out of bounds with an intransitive compare function (ldb 2.8.1 is already released).
  • BUG 15625: Many qsort() comparison functions are non-transitive, which can lead to out-of-bounds access in some circumstances (ldb 2.8.1 is already released).
  • Andrew Bartlett <abartlet@samba.org>
  • BUG 15638: Need to change gitlab-ci.yml tags in all branches to avoid CI bill.
  • Stefan Metzmacher <metze@samba.org>
  • BUG 14981: netr_LogonSamLogonEx returns NR_STATUS_ACCESS_DENIED with SysvolReady=0.
  • BUG 15412: Anonymous smb3 signing/encryption should be allowed (similar to Windows Server 2022).
  • BUG 15573: Panic in dreplsrv_op_pull_source_apply_changes_trigger.
  • BUG 15642: winbindd, net ads join and other things don't work on an ipv6 only host.
  • Anna Popova <popova.anna235@gmail.com>
  • BUG 15636: Smbcacls incorrectly propagates inheritance with Inherit-Only flag.
  • Noel Power <noel.power@suse.com>
  • BUG 15611: http library doesn't support 'chunked transfer encoding'.
Release Notes Samba 4.19.7

Samba 4.19.6

Release Notes for Samba 4.19.6
April 08, 2024

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

Changes since 4.19.5

  • Ralph Boehme <slow@samba.org>
  • BUG 15527: fd_handle_destructor() panics within an smbd_smb2_close() if vfs_stat_fsp() fails in fd_close().
  • Guenther Deschner <gd@samba.org>
  • BUG 15588: samba-gpupdate: Correctly implement site support.
  • Noel Power <noel.power@suse.com>
  • BUG 15527: fd_handle_destructor() panics within an smbd_smb2_close() if vfs_stat_fsp() fails in fd_close().
  • Andreas Schneider <asn@samba.org>
  • BUG 15588: samba-gpupdate: Correctly implement site support.
  • BUG 15599: libgpo: Segfault in python bindings.
  • Martin Schwenke <mschwenke@ddn.com>
  • BUG 15580: Packet marshalling push support missing for
CTDB_CONTROL_TCP_CLIENT_DISCONNECTED and
CTDB_CONTROL_TCP_CLIENT_PASSED.
Release Notes Samba 4.19.6

Samba 4.19.5

Release Notes for Samba 4.19.5
February 19, 2024

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

Changes since 4.19.4

  • Ralph Boehme <slow@samba.org>
  • BUG 13688: Windows 2016 fails to restore previous version of a file from a shadow_copy2 snapshot.
  • BUG 15549: Symlinks on AIX are broken in 4.19 (and a few version before that).
  • Bjoern Jacke <bj@sernet.de>
  • BUG 12421: Fake directory create times has no effect.
  • Björn Jacke <bjacke@samba.org>
  • BUG 15550: ctime mixed up with mtime by smbd.
  • David Mulder <dmulder@samba.org>
  • BUG 15548: samba-gpupdate --rsop fails if machine is not in a site.
  • Gabriel Nagy <gabriel.nagy@canonical.com>
  • BUG 15557: gpupdate: The root cert import when NDES is not available is broken.
  • Andreas Schneider <asn@samba.org>
  • BUG 15552: samba-gpupdate should print a useful message if cepces-submit can't be found.
  • BUG 15558: samba-gpupdate logging doesn't work.
  • Jones Syue <jonessyue@qnap.com>
  • BUG 15555: smbpasswd reset permissions only if not 0600.
 Release Notes Samba 4.19.5

Samba 4.19.4

Release Notes for Samba 4.19.4
January 08, 2024

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

Changes since 4.19.3

  • Samuel Cabrero <scabrero@samba.org>
  • BUG 13577: net changesecretpw cannot set the machine account password if secrets.tdb is empty.
  • Björn Jacke <bjacke@samba.org>
  • BUG 15540: For generating doc, take, if defined, env XML_CATALOG_FILES.
  • BUG 15541: Trivial C typo in nsswitch/winbind_nss_netbsd.c.
  • BUG 15542: vfs_linux_xfs is incorrectly named.
  • Björn Jacke <bj@sernet.de>
  • BUG 15377: systemd stumbled over copyright-message at smbd startup.
  • Volker Lendecke <vl@samba.org>
  • BUG 15505: Following intermediate abolute share-local symlinks is broken.
  • BUG 15523: ctdb RELEASE_IP causes a crash in release_ip if a connection to a non-public address disconnects first.
  • BUG 15544: shadow_copy2 broken when current fileset's directories are removed.
  • Stefan Metzmacher <metze@samba.org>
  • BUG 15377: systemd stumbled over copyright-message at smbd startup.
  • BUG 15523: ctdb RELEASE_IP causes a crash in release_ip if a connection to a non-public address disconnects first.
  • BUG 15534: smbd does not detect ctdb public ipv6 addresses for multichannel exclusion.
  • Andreas Schneider <asn@samba.org>
  • BUG 15469: 'force user = localunixuser' doesn't work if 'allow trusted domains = no' is set.
  • BUG 15525: smbget debug logging doesn't work.
  • BUG 15532: smget: username in the smburl and interactive password entry doesn't work.
  • BUG 15538: smbget auth function doesn't set values for password prompt correctly.
  • Martin Schwenke <mschwenke@ddn.com>
  • BUG 15523: ctdb RELEASE_IP causes a crash in release_ip if a connection to a non-public address disconnects first.
  • Shachar Sharon <ssharon@redhat.com>
  • BUG 15440: Unable to copy and write files from clients to Ceph cluster via SMB Linux gateway with Ceph VFS module.
  • Jones Syue <jonessyue@qnap.com>
  • BUG 15547: Multichannel refresh network information.
 Release Notes Samba 4.19.4

Samba 4.19.3

Release Notes for Samba 4.19.3
November 27, 2023

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

It contains the security-relevant bugfix CVE-2018-14628:

Wrong ntSecurityDescriptor values for "CN=Deleted Objects" allow read of object tombstones over LDAP (Administrator action required!)

Description of CVE-2018-14628

All versions of Samba from 4.0.0 onwards are vulnerable to an information leak (compared with the established behaviour of Microsoft's Active Directory) when Samba is an Active Directory Domain Controller.

When a domain was provisioned with an unpatched Samba version, the ntSecurityDescriptor is simply inherited from Domain/Partition-HEAD-Object instead of being very strict (as on a Windows provisioned domain).

This means also non privileged users can use the LDAP_SERVER_SHOW_DELETED_OID control in order to view, the names and preserved attributes of deleted objects.

No information that was hidden before the deletion is visible, but in with the correct ntSecurityDescriptor value in place the whole object is also not visible without administrative rights.

There is no further vulnerability associated with this error, merely an information disclosure.

Action required in order to resolve CVE-2018-14628!

The patched Samba does NOT protect existing domains!

The administrator needs to run the following command (on only one domain controller) in order to apply the protection to an existing domain:

 samba-tool dbcheck --cross-ncs --attrs=nTSecurityDescriptor --fix

The above requires manual interaction in order to review the changes before they are applied. Typicall question look like this:

 Reset nTSecurityDescriptor on CN=Deleted Objects,DC=samba,DC=org back to provision default?
       Owner mismatch: SY (in ref) DA(in current)
       Group mismatch: SY (in ref) DA(in current)
       Part dacl is different between reference and current here is the detail:
               (A;;LCRPLORC;;;AU) ACE is not present in the reference
               (A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY) ACE is not present in the reference
               (A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;DA) ACE is not present in the reference
               (A;;CCDCLCSWRPWPSDRCWDWO;;;SY) ACE is not present in the current
               (A;;LCRP;;;BA) ACE is not present in the current
  [y/N/all/none] y
 Fixed attribute 'nTSecurityDescriptor' of 'CN=Deleted Objects,DC=samba,DC=org'

The change should be confirmed with 'y' for all objects starting with 'CN=Deleted Objects'.

Changes since 4.19.2

  • Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
  • BUG 15520: sid_strings test broken by unix epoch > 1700000000.
  • Ralph Boehme <slow@samba.org>
  • BUG 15487: smbd crashes if asked to return full information on close of a stream handle with delete on close disposition set.
  • BUG 15521: smbd: fix close order of base_fsp and stream_fsp in smb_fname_fsp_destructor().
  • Pavel Filipenský <pfilipensky@samba.org>
  • BUG 15499: Improve logging for failover scenarios.
  • Björn Jacke <bj@sernet.de>
  • BUG 15093: Files without "read attributes" NFS4 ACL permission are not listed in directories.
  • Stefan Metzmacher <metze@samba.org>
  • BUG 13595: CVE-2018-14628 [SECURITY] Deleted Object tombstones visible in AD LDAP to normal users.
  • BUG 15492: Kerberos TGS-REQ with User2User does not work for normal accounts.
  • Christof Schmitt <cs@samba.org>
  • BUG 15507: vfs_gpfs stat calls fail due to file system permissions.
  • Andreas Schneider <asn@samba.org>
  • BUG 15513: Samba doesn't build with Python 3.12.
Release Notes Samba 4.19.3

Samba 4.19.2

Release Notes for Samba 4.19.2
October 16, 2023

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

Changes since 4.19.1

  • Jeremy Allison <jra@samba.org>
  • BUG 15423: Use-after-free in aio_del_req_from_fsp during smbd shutdown after failed IPC FSCTL_PIPE_TRANSCEIVE.
  • BUG 15426: clidfs.c do_connect() missing a "return" after a cli_shutdown() call.
  • Ralph Boehme <slow@samba.org>
  • BUG 15463: macOS mdfind returns only 50 results.
  • Volker Lendecke <vl@samba.org>
  • BUG 15481: GETREALFILENAME_CACHE can modify incoming new filename with previous cache entry value.
  • Stefan Metzmacher <metze@samba.org>
  • BUG 15464: libnss_winbind causes memory corruption since samba-4.18, impacts sendmail, zabbix, potentially more.
  • Martin Schwenke <mschwenke@ddn.com>
  • BUG 15479: ctdbd: setproctitle not initialized messages flooding logs.
  • Joseph Sutton <josephsutton@catalyst.net.nz>
  • BUG 15491: CVE-2023-5568 Heap buffer overflow with freshness tokens in the Heimdal KDC in Samba 4.19
  • BUG 15477: The heimdal KDC doesn't detect s4u2self correctly when fast is in use.
Release Notes Samba 4.19.2

Samba 4.19.1

Release Notes for Samba 4.19.1
October 10, 2023

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

Unsanitized pipe names allow SMB clients to connect as root to existing unix domain sockets on the file system.
SMB client can truncate files to 0 bytes by opening files with OVERWRITE disposition when using the acl_xattr Samba VFS module with the smb.conf setting "acl_xattr:ignore system acls = yes"
An RODC and a user with the GET_CHANGES right can view all attributes, including secrets and passwords. Additionally, the access check fails open on error conditions.
Calls to the rpcecho server on the AD DC can request that the server block for a user-defined amount of time, denying service.
Samba can be made to start multiple incompatible RPC listeners, disrupting service on the AD DC.

Changes since 4.19.0

  • Jeremy Allison <jra@samba.org>
  • Andrew Bartlett <abartlet@samba.org>
  • Ralph Boehme <slow@samba.org>
Release Notes Samba 4.19.1

Samba 4.19.0

Release Announcements

Release Notes for 4.19.0
September 04, 2023

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

NEW FEATURES/CHANGES

Migrated smbget to use common command line parser

The smbget utility implemented its own command line parsing logic. After discovering an issue we decided to migrate it to use the common command line parser. This has some advantages as you get all the feature it provides like Kerberos authentication. The downside is that breaks the options interface. The support for smbgetrc has been removed. You can use an authentication file if needed, this is documented in the manpage.

Please check the smbget manpage or --help output.

gpupdate changes

The libgpo.get_gpo_list function has been deprecated in favor of an implementation written in python. The new function can be imported via `import samba.gp`. The python implementation connects to Active Directory using the SamDB module, instead of ADS (which is what libgpo uses).

Improved winbind logging and a new tool for parsing the winbind logs

Winbind logs (if smb.conf 'winbind debug traceid = yes' is set) contain new trace header fields 'traceid' and 'depth'. Field 'traceid' allows to track the trace records belonging to the same request. Field 'depth' allows to track the request nesting level. A new tool samba-log-parser is added for better log parsing.

AD database prepared to FL 2016 standards for new domains

While Samba still provides only Functional Level 2008R2 by default, Samba as an AD DC will now, in provision ensure that the blank database is already prepared for Functional Level 2016, with AD Schema 2019.

This preparation is of the default objects in the database, adding containers for Authentication Policies, Authentication Silos and AD claims in particular. These DB objects must be updated to allow operation of the new features found in higher functional levels.

Kerberos Claims, Authentication Silos and NTLM authentication policies

An initial, partial implementation of Active Directory FunctionalLevel 2012, 2012R2 and 2016 is available in this release.

In particular Samba will issue Active Directory "Claims" in the PAC, for member servers that support these, and honour in-directoryconfiguration for Authentication Policies and Authentication Silos.

The primary limitation is that while Samba can read and write claims in the directory, and populate the PAC, Samba does not yet use them for access control decisions.

While we continue to develop these features, existing domains can test the feature by selecting the functional level in provision or raising the DC functional level by setting

ad dc functional level = 2016

in the smb.conf

The smb.conf file on each DC must have 'ad dc functional level = 2016' set to have the partially complete feature available. This will also, at first startup, update the server's own AD entry with the configured functional level.

For new domains, add these parameters to 'samba-tool provision'

--option="ad dc functional level = 2016" --function-level=2016

The second option, setting the overall domain functional level indicates that all DCs should be at this functional level.

To raise the domain functional level of an existing domain, after updating the smb.conf and restarting Samba run

samba-tool domain schemaupgrade --schema=2019
samba-tool domain functionalprep --function-level=2016
samba-tool domain level raise --domain-level=2016 --forest-level=2016

Improved KDC Auditing

As part of the auditing required to allow successful deployment of Authentication Policies and Authentication Silos, our KDC now provides Samba-style JSON audit logging of all issued Kerberos tickets, including if they would fail a policy that is not yet enforced. Additionally most failures are audited, (after the initial pre-validation of the request).

Kerberos Armoring (FAST) Support for Windows clients

In domains where the domain controller functional level is set, as above, to 2012, 2012_R2 or 2016, Windows clients will, if configured via GPO, use FAST to protect user passwords between (in particular) a workstation and the KDC on the AD DC. This is a significant security improvement, as weak passwords in an AS-REQ are no longer available for offline attack.

Claims compression in the AD PAC

Samba as an AD DC will compress "AD claims" using the same compression algorithm as Microsoft Windows.

Resource SID compression in the AD PAC

Samba as an AD DC will now correctly populate the various PAC group membership buffers, splitting global and local groups correctly.

Additionally, Samba marshals Resource SIDs, being local groups in the member server's own domain, to only consume a header and 4 bytes per group in the PAC, not a full-length SID worth of space each. This is known as "Resource SID compression".

Resource Based Constrained Delegation (RBCD) support in both MIT and Heimdal

Samba AD DC built with MIT Kerberos (1.20 and later) has offered RBCD support since Samba 4.17. Samba 4.19 brings this feature to the default Heimdal KDC.

Samba 4.17 added to samba-tool delegation the 'add-principal' and 'del-principal' subcommands in order to manage RBCD, and the database changes made by these tools are now honoured by the Heimdal KDC once Samba is upgraded.

Likewise, now both MIT (1.20 and later) and Heimdal KDCs add the Asserted Identity [1] SID into the PAC for constrained delegation.

[1] https://docs.microsoft.com/en-us/windows-server/security/kerberos/kerberos-constrained-delegation-overview

New samba-tool support for silos, claims, sites and subnets.

  • samba-tool can now list, show, add and manipulate Authentication Silos (silos) and Active Directory Authentication Claims (claims).
  • samba-tool can now list and show Active Directory sites and subnets.

A new Object Relational Model (ORM) based architecture, similar to that used with Django, has been built to make adding new samba-tool subcommands simpler and more consistent, with JSON output available standard on these new commands.

Updated GnuTLS requirement / in-tree cryptography removal

Samba requires GnuTLS 3.6.13 and prefers GnuTLS 3.6.14 or later.

This has allowed Samba to remove all of our in-tree cryptography, except that found in our Heimdal import. Samba's runtime cryptography needs are now all provided by GnuTLS.

note: The GnuTLS vesion requirement is raised to 3.7.2 on systems without the Linux getrandom()

We also use Python's cryptography module for our testing.

The use of well known cryptography libraries makes Samba easier for end-users to validate and deploy, and for distributors to ship. This is the end of a very long journey for Samba.

Updated Heimdal import

Samba's Heimdal branch (known as lorikeet-heimdal) has been updated to the current pre-8.0 (master) tree from upstream Heimdal, ensuring that this vendored copy, included in our release remains as close as possible to the current upstream code.

Revocation support in Heimdal KDC for PKINIT certificates

Samba will now correctly honour the revocation of 'smart card' certificates used for PKINIT Kerberos authentication.

This list is reloaded each time the file changes, so no further action other than replacing the file is required.

The additional krb5.conf option is:

[kdc]
    pkinit_revoke = FILE:/path/to/crl.pem

Information on the "Smart Card login" feature as a whole is at:

Samba_AD_Smart_Card_Login

Protocol level testsuite for (Smart Card Logon) PKINIT

Previously Samba's PKINIT support in the KDC was tested by use of shell scripts around the client tools of MIT or Heimdal Kerberos. Samba's independently written python testsuite has been extended to validate KDC behaviour for PKINIT.

Require encrypted connection to modify unicodePwd on the AD DC

Setting the password on an AD account on should never be attempted over a plaintext or signed-only LDAP connection. If the unicodePwd (or userPassword) attribute is modified without encryption (as seen by Samba), the request will be rejected. This is to encourage the administrator to use an encrypted connection in the future.

NOTE WELL: If Samba is accessed via a TLS frontend or load balancer, the LDAP request will be regarded as plaintext.

Samba AD TLS Certificates can be reloaded

The TLS certificates used for Samba's AD DC LDAP server were previously only read on startup, and this meant that when then expired it was required to restart Samba, disrupting service to other users.

smbcontrol ldap_server reload-certs

This will now allow these certificates to be reloaded 'on the fly'

REMOVED FEATURES

smb.conf changes

 Parameter Name                          Description     Default
 --------------                          -----------     -------
 winbind debug traceid                   Add traceid     No
 directory name cache size               Removed


CHANGES SINCE 4.19.0rc4

  • MikeLiu <mikeliu@qnap.com>
  • #15453: File doesn't show when user doesn't have permission if aio_pthread is loaded.
  • Martin Schwenke <mschwenke@ddn.com>
  • #15451: ctdb_killtcp fails to work with --enable-pcap and libpcap > 1.9.0.

CHANGES SINCE 4.19.0rc3

  • Martin Schwenke <mschwenke@ddn.com>
  • BUG #15460: Logging to stdout/stderr with DEBUG_SYSLOG_FORMAT_ALWAYS can log to syslog.
  • Joseph Sutton <josephsutton@catalyst.net.nz>
  • BUG #15458: 'samba-tool domain level raise' fails unless given a URL.

CHANGES SINCE 4.19.0rc2

  • Jeremy Allison <jra@samba.org>
  • BUG #15420: reply_sesssetup_and_X() can dereference uninitialized tmp pointer.
  • BUG #15430: missing return in reply_exit_done().
  • BUG #15432: TREE_CONNECT without SETUP causes smbd to use uninitialized pointer.
  • Andrew Bartlett <abartlet@samba.org>
  • BUG #15401: Avoid infinite loop in initial user sync with Azure AD Connect when synchronising a large Samba AD domain.
  • BUG #15407: Samba replication logs show (null) DN.
  • Stefan Metzmacher <metze@samba.org>
  • BUG #15346: 2-3min delays at reconnect with smb2_validate_sequence_number: bad message_id 2.
  • BUG #15446: DCERPC_PKT_CO_CANCEL and DCERPC_PKT_ORPHANED can't be parsed.
  • Martin Schwenke <mschwenke@ddn.com>
  • BUG #15438: CID 1539212 causes real issue when output contains only newlines.
  • Joseph Sutton <josephsutton@catalyst.net.nz>
  • Jones Syue <jonessyue@qnap.com>
  • BUG #15449: mdssvc: Do an early talloc_free() in _mdssvc_open().

CHANGES SINCE 4.19.0rc1

  • Andrew Bartlett <abartlet@samba.org>
  • BUG #9959: Windows client join fails if a second container CN=System exists somewhere.
  • Noel Power <noel.power@suse.com>
  • BUG #15435: regression DFS not working with widelinks = true.
  • Arvid Requate <requate@univention.de>
  • BUG #9959: Windows client join fails if a second container CN=System exists somewhere.
  • Joseph Sutton <josephsutton@catalyst.net.nz>
  • BUG #15443: Heimdal fails to build on 32-bit FreeBSD.
  • Jones Syue <jonessyue@qnap.com>
  • BUG #15441: samba-tool ntacl get segfault if aio_pthread appended.

KNOWN ISSUES

Release_Planning_for_Samba_4.19#Release_blocking_bugs

Release Notes Samba 4.19.0