<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>

<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>


<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: hsla(0,0%,100%,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: hsla(0,0%,100%,.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">

<h3 style="margin-top: 20px; margin-bottom: 10px;">
Michael Tokarev pushed to branch upstream_4.24 at <a href="https://salsa.debian.org/samba-team/samba">Debian Samba Team / samba</a>
</h3>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
Commits:
</h4>
<ul>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/644439765d32b6ee23f82c67f224b2410aaf1960">64443976</a></strong>
<div>
<span> by Björn Jacke </span> <i> at 2026-08-13T16:23:26+02:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>VERSION: Bump version up to Samba 4.24.7...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/35744d77898c9779012927f73355cfd0447614fd">35744d77</a></strong>
<div>
<span> by Volker Lendecke </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>libcli/dns: Simplify dns over tcp requests, save 39 lines :-)

tstream_readv_pdu_send() is overkill here, tstream_read_packet_send()
is sufficient. The only downside is that dns_tcp_request_recv() does
not return a talloc context on its own in reply anymore, but as the
reply is immediately ndr-parsed, so we keep that around only a tiny
bit longer.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
(cherry picked from commit a265d18de746a0cc564c4ce64717660d611167fe)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=16225
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/6ee7f0dc17f1348f40c8bd4056731b0804f21984">6ee7f0dc</a></strong>
<div>
<span> by Volker Lendecke </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>libcli/dns: Avoid a local variable referenced only once

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
(cherry picked from commit 06623bfd7aab829fcd085340c21afcfd984bd699)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=16225
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/71b72ccc5ab9be737df00649dc714734486c4947">71b72ccc</a></strong>
<div>
<span> by Volker Lendecke </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>libcli/dns: dns_udp_request_get_reply -> dns_udp_request_sent

More in line with typical async code right now

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
(cherry picked from commit b9f9d5a0dc278499a69740348edc995606397b1b)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=16225
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e0fa9df61f78c789a55ea5a22c2a346578f51a2">2e0fa9df</a></strong>
<div>
<span> by Volker Lendecke </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>libcli/dns: Make SMB_ASSERT available

SMB_ASSERT requires "lib/util/debug.h" first and then
"lib/util/samba_util.h":

1. #include "lib/util/debug.h"

   * _SAMBA_DEBUG_H is now defined

2. #include "lib/util/samba_util.h"

   * samba_util.h includes fault.h
   * fault.h checks: #ifdef _SAMBA_DEBUG_H (only if yes, SMB_ASSERT
     gets defined)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
(cherry picked from commit 8d04671f5ad90f09c46bfbe5a1c88e09ab0e45b7)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=16225
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/d72c26c4301160520e241b81f3550886a4c39b61">d72c26c4</a></strong>
<div>
<span> by Volker Lendecke </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>libcli/dns: Add TCP parallel fallback after 1 second UDP timeout

Comes with refactoring: Add EDNS0 only to the UDP request, try TCP on
any UDP failure. This patch should probably be split up into several
micro-commits, but the code is very simply structured, so I'd propose
to put this in as is. For review, just look at the final code :-)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Apr 29 17:40:38 UTC 2026 on atb-devel-224

(cherry picked from commit a55c1c97ac4d015dfe30f58b79e724f28185b14a)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=16225
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/fac98d611f24eaee1b9e9677a41577e77b9a818d">fac98d61</a></strong>
<div>
<span> by Shachar Sharon </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>libcli/dns: fix use-after-free oom case

A failure to tevent_wakeup_recv(subreq) should trigger oom call on 'req'
(instead on 'subreq', which has already been free).

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
Reviewed-by: Noel Power <npower@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>

Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Sat May  2 14:51:58 UTC 2026 on atb-devel-224

(cherry picked from commit 1b762a4ea48635c534fe937d60b5e358ff6cab6c)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=16225
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/f8bce5686f53191483575bfdb34f1ef58ac9946a">f8bce568</a></strong>
<div>
<span> by Volker Lendecke </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>libcli/dns: Make dns_cli_request_send() take a dns_name_packet()

Factor out dns_cli_create_query(), allow dns_cli_request_send() to be
used for other transactions than just DNS_OPCODE_QUERY.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit ce1e9ed9b7f9a2258bdd0d97195e7826f28f9a21)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=16225
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/e62c39b8863dc87a787b8fde42f8e0eb082e722f">e62c39b8</a></strong>
<div>
<span> by Volker Lendecke </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>libcli/dns: Add dns_cli_request() sync wrapper

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 562a203fba5de9b3d0fb45b9450fa1bc5d546597)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=16225
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/52c25206890f99223e35fa78de2de555749569e6">52c25206</a></strong>
<div>
<span> by Jennifer Sutton </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>libcli/dns: Do not pass NULL pointer to memcpy()

To do so is to invoke undefined behaviour.

Signed-off-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry picked from commit 4e0d3953e9c6974c4c4fe3fe0ee76d86042d9c37)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=16225
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/fc701b4343f427494874cb92ceec136d44d70955">fc701b43</a></strong>
<div>
<span> by Andreas Schneider </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:torture: Close handles opened by torture_smb2_testdir() in smb2.streams test

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 5fd7521b0a16afbfd346651d27eaa043dff7d9cb)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e8b88d7d86270eb005380d29b9e5e5e3335e8fc">2e8b88d7</a></strong>
<div>
<span> by Andreas Schneider </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:torture: Always close handle in check_stream() in smb2.streams

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 5763d741d50feaba75026cbbc09dd0bfc1e13cd8)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee1864723ed76c9cc90db9f16dced98f5297e65b">ee186472</a></strong>
<div>
<span> by Andreas Schneider </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:torture: Make sure we close handles correctly in test_stream_names()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 7ef7e2ac6d7936f52966ab97a21c27854eede03e)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/c48a23265cf0fe31aff045659a83d925a0d1ac35">c48a2326</a></strong>
<div>
<span> by Andreas Schneider </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:torture: Cleanup to to use the right name

Not a bug, but just use the right union.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 5bda5bbfbb31aa23548e5d08425e0cddc83d4fc6)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/0653e197053b1a4ddd297aaff20b3970c8e83d27">0653e197</a></strong>
<div>
<span> by Andreas Schneider </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:torture: Add missing CHECK_STATUS() in test_stream_io()

Reviewed-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 3fa633de9327c7d06f67d5aaf126e95ef75dd8af)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/86452367b710346a8cd839e9976517c50648b097">86452367</a></strong>
<div>
<span> by Andreas Schneider </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:torture: Move smb2_util_close() do done in create_file_with_stream()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit e5cdb5afff15a8e0516ef0665095638dc1d196ba)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/4a0af83ae075bf13446616ce4670ecc5a39bef01">4a0af83a</a></strong>
<div>
<span> by Andreas Schneider </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:torture: Use torture_result() in check_stream_list() in smb2.streams

This change reveals a bug in the server: currently we do fail a getinfo request
SMB_FILE_STREAM_INFORMATION with NT_STATUS_INVALID_PARAMETER when issued on a
stream handle, but according to MS-FSA this is wrong, as "2.1.5.12.29
FileStreamInformation" just tells us to return the streams associated with the
underlying File object:

* For each Stream ThisStream of Open.File ...

The existing streams tests "io" and "create-disposition" make use of this
indirectly via the helper function check_stream_list(). As these tests didn't
check the return value from check_stream_list() and check_stream_list() doesn't
update the torture result state with a failure code, the tests were passing.

Mark these tests as knownfail until we've fixed the server code.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 9bd0fee89a32ad098396cdd3cb7ab2add7f565b9)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/db0ad6a53bc7380de703b50d720184faf16afd3a">db0ad6a5</a></strong>
<div>
<span> by Andreas Schneider </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:torture: Close all handles in test_stream_io() in smb2.streams

Also check the return value from check_stream_list(). No change in behaviour.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit b569d7c11b8d36923319b4ed2092b3252a0cdb09)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/98692e28453a2efba97c6b7b98feefe43d2e7fc5">98692e28</a></strong>
<div>
<span> by Andreas Schneider </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s3:smbd: Allow STREAM_INFORMATION query on alternate stream handles

according to MS-FSA querying for SMB_FILE_STREAM_INFORMATION on a stream is
valid and MS-FSA 2.1.5.12.29 FileStreamInformation tells us to return the streams
associated with the underlying File object:

* For each Stream ThisStream of Open.File ...

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16144

Pair-Programmed-With: Ralph Boehme <slow@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 95d27f5e7a293262607feeeec6782f11d47f5579)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/9fb2d75d65d0d507077673e20e42ef41dff59c32">9fb2d75d</a></strong>
<div>
<span> by Andreas Schneider </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s3:vfs_streams_xattr: Use dirfsp in streams_xattr_unlinkat()

Since commit 09f49fb56a4 ("smbd: Simplify delete_all_streams()"),
delete_all_streams() uses synthetic_smb_fname() instead of
synthetic_pathref(), passing a relative base_name to SMB_VFS_UNLINKAT()
that is relative to dirfsp, not the share root.

streams_xattr_unlinkat() creates a synthetic_pathref() for the base file
when fsp is NULL, but was using handle->conn->cwd_fsp (the share root)
instead of the passed dirfsp. This caused path resolution to fail for
files in subdirectories, leaving xattr streams intact after an OVERWRITE
or OVERWRITE_IF disposition.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16144

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Jun 16 12:41:25 UTC 2026 on atb-devel-224

(cherry picked from commit 2fc21d87fc88f094b79701e362372f02da98ce02)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/591262701c35c66c674a1342999e5a3c9800b94f">59126270</a></strong>
<div>
<span> by Martin Schwenke </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>ctdb-recoverd: Factor out fetching node map and local flags

This will be used in more places.

Indexing by PNN is technically incorrect, so iterate to find the
correct slot in the nodemap.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16082

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit b80acebe3d9a7d0e699f45286bf4496184067c76)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/7cfa98c33001333b08c4bbdc535749a6c86f7fd9">7cfa98c3</a></strong>
<div>
<span> by Martin Schwenke </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>ctdb-recoverd: Ensure an outgoing leader aborts recovery

Near the beginning of main_loop(), the node map is fetched and the
flags of the current node are saved.  Later in main_loop(), on the
leader node, decisions are made about whether a recovery is needed.
Between these times, the state of the leader node may have changed and
it may no longer be a viable leader, perhaps because it is inactive.
A state change affecting the viability of the leader may also be the
reason why recovery is needed.

Recovery sets the dmaster of records in volatile databases to the
leader.  If an outgoing, inactive leader runs recovery this results in
inconsistent databases.

So, fetch the flags for a node that is about to run recovery to ensure
that it is still a viable leader.  If it isn't a viable leader then
bail out and wait for an election to complete.

Here is an example showing a stopped node running recovery:

  2026-05-21T14:48:00.201838+10:00 node.0 ctdbd[5494]: Stopping node
  2026-05-21T14:48:00.202802+10:00 node.0 ctdbd[5494]: Making node INACTIVE
  2026-05-21T14:48:00.203891+10:00 node.0 ctdbd[5494]: Recovery mode set to ACTIVE
  2026-05-21T14:48:00.204981+10:00 node.0 ctdbd[5494]: Dropping all public IP addresses
  ...
  2026-05-21T14:48:00.240410+10:00 node.0 ctdbd[5494]: Freeze all
  2026-05-21T14:48:00.241286+10:00 node.0 ctdbd[5494]: Freeze db: rec_test.tdb
  2026-05-21T14:48:00.245207+10:00 node.0 ctdb-recoverd[5511]: Node:0 was in recovery mode. Start recovery process
  2026-05-21T14:48:00.245488+10:00 node.0 ctdb-recoverd[5511]: do_recovery: Starting do_recovery
  2026-05-21T14:48:00.245570+10:00 node.0 ctdb-recoverd[5511]: do_recovery: Recovery initiated due to problem with node 0
  2026-05-21T14:48:00.248315+10:00 node.0 ctdb-recoverd[5511]: do_recovery: Recovery - updated flags
  2026-05-21T14:48:00.255559+10:00 node.0 ctdbd[5494]: Connected client with pid:8656
  2026-05-21T14:48:00.258061+10:00 node.0 ctdb-recovery[8656]: Set recovery mode to ACTIVE
  2026-05-21T14:48:00.262878+10:00 node.0 ctdb-recovery[8656]: start_recovery event finished
  2026-05-21T14:48:00.263332+10:00 node.0 ctdb-recovery[8656]: updated VNNMAP
  2026-05-21T14:48:00.263363+10:00 node.0 ctdb-recovery[8656]: recover database 0x92421532
  2026-05-21T14:48:00.288708+10:00 node.0 ctdbd[5494]: ../../server/ctdb_daemon.c:323 Registered message handler for srvid=17294104044079415297
  2026-05-21T14:48:00.301158+10:00 node.0 ctdb-recovery[8656]: Pulled 1 records for db rec_test.tdb from node 1
  2026-05-21T14:48:00.301685+10:00 node.0 ctdbd[5494]: ../../server/ctdb_daemon.c:323 Registered message handler for srvid=17294104044079415298
  2026-05-21T14:48:00.314492+10:00 node.0 ctdb-recovery[8656]: Pulled 1 records for db rec_test.tdb from node 2
  2026-05-21T14:48:00.378047+10:00 node.0 ctdb-recovery[8656]: Pushed 1 records for db rec_test.tdb
  2026-05-21T14:48:00.383227+10:00 node.0 ctdb-recovery[8656]: 1 of 1 databases recovered
  2026-05-21T14:48:00.407982+10:00 node.0 ctdb-recovery[8656]: Set recovery mode to NORMAL
  2026-05-21T14:48:00.411630+10:00 node.0 ctdb-recovery[8656]: recovered event finished
  2026-05-21T14:48:00.411803+10:00 node.0 ctdb-recoverd[5511]: Takeover run starting
  ...
  2026-05-21T14:48:00.446576+10:00 node.0 ctdb-recoverd[5511]: Takeover run completed successfully
  2026-05-21T14:48:00.446784+10:00 node.0 ctdb-recoverd[5511]: do_recovery: Recovery complete
  ...
  2026-05-21T14:48:06.175857+10:00 node.0 ctdb-recoverd[5511]: Leader broadcast timeout
  2026-05-21T14:48:06.176067+10:00 node.0 ctdb-recoverd[5511]: Start election
  2026-05-21T14:48:06.178154+10:00 node.0 ctdbd[5494]: Recovery mode already set to ACTIVE
  2026-05-21T14:48:06.178519+10:00 node.0 ctdbd[5494]: Recovery mode already set to ACTIVE
  2026-05-21T14:48:06.737272+10:00 node.0 ctdb-recoverd[5511]: Received leader broadcast, leader=2

Recovery pulls records from and pushes records to the active nodes (1,
2).  However, the dmaster of all records will be 0.

This doesn't seem to occur often.  I can recreate it fairly easily if
I run ctdb/tests/INTEGRATION/database/recovery.003.no_resurrect.sh
under valgrind *and* apply a ctdb tool change that delays when "ctdb
stop" sends CTDB_SRVID_TAKEOVER_RUN.  Both only affect timing and not
overall recovery daemon behaviour.  However, there is currently
nothing stopping this behaviour.

In the example above, some time later, an election is held, another
node becomes leader and the new leader runs recovery:

  2026-05-21T14:48:06.175072+10:00 node.2 ctdb-recoverd[5704]: Leader broadcast timeout
  2026-05-21T14:48:06.176051+10:00 node.2 ctdb-recoverd[5704]: Start election
  2026-05-21T14:48:06.176913+10:00 node.2 ctdbd[5649]: Recovery mode set to ACTIVE
  2026-05-21T14:48:06.178319+10:00 node.2 ctdbd[5649]: Recovery mode already set to ACTIVE
  2026-05-21T14:48:06.178919+10:00 node.2 ctdbd[5649]: Recovery mode already set to ACTIVE
  2026-05-21T14:48:06.179961+10:00 node.2 ctdb-recoverd[5704]: Attempting to take cluster lock (./tests/var/INTEGRATION/database/shared/.ctdb/cluster.lock)
  2026-05-21T14:48:06.182192+10:00 node.2 ctdb-recoverd[5704]: Set cluster mutex helper to "/home/martins/samba/samba/ctdb/bin/ctdb_mutex_fcntl_helper"
  2026-05-21T14:48:06.202884+10:00 node.2 ctdb-recoverd[5704]: Cluster lock taken successfully
  2026-05-21T14:48:06.203876+10:00 node.2 ctdb-recoverd[5704]: Took cluster lock, leader=2
  2026-05-21T14:48:06.756771+10:00 node.2 ctdb-recoverd[5704]: Remote node 0 had flags 0x20, local had 0x0 - updating local
  2026-05-21T14:48:06.760258+10:00 node.2 ctdb-recoverd[5704]: Pushing updated flags for node 0 (0x20)
  2026-05-21T14:48:06.766434+10:00 node.2 ctdbd[5649]: Node 0 has changed flags - 0x0 -> 0x20
  2026-05-21T14:48:06.777574+10:00 node.2 ctdb-recoverd[5704]: Node:2 was in recovery mode. Start recovery process
  2026-05-21T14:48:06.778277+10:00 node.2 ctdb-recoverd[5704]: Node:1 was in recovery mode. Start recovery process
  2026-05-21T14:48:06.779017+10:00 node.2 ctdb-recoverd[5704]: do_recovery: Starting do_recovery

This makes the affected databases consistent again... and explains why
this hasn't been noticed before.

More details...

During recovery, recbuf_filter_add() sets the dmaster of records in a
volatile database to the leader.  If this node is inactive then
records with it as dmaster can't be migrated to other nodes after
recovery completes.  So, until another recovery occurs, the databases
are inconsistent and any attempts to fetch records will hang.

In terms of post-recovery distributed database performance, it might
make more sense for recovery to set each record's dmaster to its
lmaster.  However, that would cost an additional lmaster (i.e. hash)
calculation for each key.  So, setting the dmaster of records to be
the leader might be an important recovery performance optimisation.

This bug was found while testing a "leader resignation" change, which
aims to speed up operations like "ctdb stop" by having an outgoing
leader resign, so other nodes do not have to wait for a leader
broadcast timeout.  This change does not require recovery to be run
after an election if there is no other change to the
cluster (e.g. leader capability removed: orderly transfer of power).
For a stopped node, the new leader would run a recovery due to the
stopped node becoming inactive... unless the outgoing leader runs
recovery (as per this bug), which handles the cluster change so that
it is no longer exposed to the new leader.  So, with this bug and the
leader resignation change, the databases stay inconsistent until a
subsequent recovery.

Although it is theoretically unnecessary, it would be possible to have
leader resignation force a full election, which would always result in
recovery, but that is a question for another day.  The current
behaviour is wrong because a recovery run by an inactive leader leaves
volatile databases (at least temporarily) in an inconsistent state.
So, this needs to be fixed.

In the longer term, CTDB will hopefully become more modular.
Elections and database recovery will happen in different modules.
This situation will have to be carefully handled.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16082

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Aug  6 15:26:59 UTC 2026 on atb-devel-224

(cherry picked from commit 70717cc9ac9eb327380cdb4b1f08cb363364a730)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/241fb3b906a0989b2be296226a930f917459bafb">241fb3b9</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>script/autobuild.py: also add .stderr output including backtraces

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16194

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>
(cherry picked from commit 51cf4209d83272f550029412d0e960a16d7ffdaf)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8193d863a692f3ba1f7f57e60acf62492b8ae4a">a8193d86</a></strong>
<div>
<span> by Andréas Leroux </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4/dns_server: add large dns udp truncated packets tests

Large DNS response must be truncated over UDP, though this is not yet done in samba. Test is added as knownfail until implementation

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15988

Signed-off-by: Andréas Leroux <aleroux@tranquil.it>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
(cherry picked from commit d1a309b4e6e7fa24d95e7cf7067ff43dcbb3a070)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/9bb04cdf8c5debc93bc7b1910311c9d024dea097">9bb04cdf</a></strong>
<div>
<span> by Andréas Leroux </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4/dns_server: truncate large dns packets over udp and set truncated flag

Large DNS response must be truncated over UDP, letting client retry over TCP. Current threshold is set to 1232 as it is regarded as a safe size.
Truncated packets have no answers nor record, only the packet header and initial question(s).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15988

Signed-off-by: Andréas Leroux <aleroux@tranquil.it>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Jennifer Sutton <jsutton@samba.org>
Autobuild-Date(master): Wed Apr  1 05:08:14 UTC 2026 on atb-devel-224

(cherry picked from commit cc07c37fca2d6431e702a8073958742095761a2d)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/372fcb30a385504660e76a417351fcc549480ae1">372fcb30</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:dns_server: make it more obvious that the DNS over TCP length hdr is u16

This is no functional change, it just makes it easier to understand.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15988

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 778ac9fdc18d56281d9aea88efd04a6dbdd0bdbd)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/75052b7677b6b950cfb3c316697b47e134bb9e82">75052b76</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:dns_server: avoid layer violation for truncated udp responses.

No caller should every look into the state of a subreq!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15988

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit f4bf6e101f2eda31cbe7fa78eba05e0f70b1075d)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/ab06827c9dab227bbb3d0558530e53dedb6975bb">ab06827c</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>python:tests/dns: use tcp for the CVE-2018-14629 regression tests

These go over the limit of 512 bytes for udp, so
they would break with the next commit.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15988

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 3085a69e6fd223fea31d8e7645b31673d84bc267)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/688f8b3cfa2f03669145b7f8dd7d21e5d29193ae">688f8b3c</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:dns_server: change DNS_MAX_UDP_PACKET_LENGTH to 512

This is what RFC 1035 specifies, and we don't support
EDNS(0)/RFC 2671 yet.

I've seen udp responses being dropped, which were
a bit more than 800 bytes.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15988

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 0e0ebd1d982477255b9f4bcba3316cd2ff054678)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/7036a847f788190b5535be206950fe887964ef97">7036a847</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:rpc_server/common: turn lpcfg_dcerpc_server_info() into an inline function

This makes it easier to use without linking problems.

While there fix talloc problems.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16223

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 8f17d9a89e22d074e6894cc1530ea626d60a080f)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/d87e714b8fabe8a0cf80a0d50ee3d85ed9f9f5db">d87e714b</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:dns_server: add dns_server_scavenging_interval()

We currently have two options used in different locations:

dnsserver:scavenging_interval =>
the value is in seconds and is used in kccsrv_dns_zone_scavenging()

dnsserver:ScavengingInterval =>
the value is in hours and is used in dnsserver_init_serverinfo()

In order to have this just once with a consistent default,
we have dns_server_scavenging_interval() now.

The value of dnsserver:ScavengingInterval was only
ever used to fill the response of 'samba-tool dns serverinfo',
so we prefer dnsserver:scavenging_interval is set.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16223

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit c239af3b4d55705b96cf371cc1c34910249b2379)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/54565c36561a5809a760eae7e9f0af3018320354">54565c36</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:kcc: let kccsrv_dns_zone_scavenging() use dns_server_scavenging_interval()

It means we have the parameter logic just once
and a value of 0 means scavenging is disabled.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16223

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 03caa23a6d98fb7c252590de9ffc909407b8bdc8)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/b2c643490b42f0db5bd04962823020d4f1b3a276">b2c64349</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:rpc_server/dnsserver: let dnsserver_init_serverinfo() use dns_server_scavenging_interval()

It means we have the parameter logic just once.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16223

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 312da01ed1d9c0d0b30bc4db8262e6d01b307252)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/59fb4e0b629b0cf19246816609f00308d3109b11">59fb4e0b</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:rpc_server/dnsserver: define DNS_SERVER_DEFAULT_[NO_]REFRESH_INTERVAL as 24 * 7

These are the defaults Windows is also using...

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16223

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 9919ae52ef611423205a140e32900d84242fc01d)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/a836a14721f64f1ba11deb70c8505f8032ca1855">a836a147</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-08-27T17:07:13+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:rpc_server/dnsserver: let dnsserver_init_zoneinfo() fallback to serverinfo->dwDefault[No]RefreshInterval

And disable fAging if the values are still 0.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16223

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit fdcda85ac611e2e12ab895674fed76347b5ed6d0)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/1525bf05043144cdfdc49ab156c6ed7aa8299120">1525bf05</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-08-27T17:07:14+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:dns_server: let dns_get_zone_properties() initialize zoneinfo completely.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16223

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 9fe99c5760a1dc22a57e7bf6338a1b2244e4da6d)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/674fdb5946003048fa1603e8db6bd26c547994c4">674fdb59</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-08-27T17:07:14+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:dns_server: move rpc_server/dnsserver/dnsutils.c to dns_server/dnsserver_utils.c

This will avoid linking problems in the following commits.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16223

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 3f97ac62727137a2b56555a821a2f1ab5113fac2)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/7f00cbbd1ecf24e83ff7f9e81dac1f99996c6976">7f00cbbd</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-08-27T17:07:14+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:dns_server: let dns_get_zone_properties() fallback to serverinfo->dwDefault[No]RefreshInterval

And disable fAging if the values are still 0.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16223

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 1146df4c532834481a67cbcf5c7bc8142dfe9875)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/c5e2a6d602a85a72d3ace1471e5f77070235716b">c5e2a6d6</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-08-27T18:12:43+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:kcc: let dns_tombstone_records_zone() skip if fAging is not 1

This means we only do scavenging if the dw[No]RefreshInterval related
logic in dns_common_replace() is triggered and dwTimeStamp has
a chance to be updated before.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16223

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Aug 25 12:14:04 UTC 2026 on atb-devel-224

(cherry picked from commit 2cf29c3c95aa4c6bdd645e34fdf521f9bcb91538)

Autobuild-User(v4-24-test): Björn Jacke <bjacke@samba.org>
Autobuild-Date(v4-24-test): Thu Aug 27 18:12:43 UTC 2026 on atb-devel-224
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/48330acbf7e194df039cb8831c973f3f87fb67dc">48330acb</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-09-01T22:21:21+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>python/tests: add tests for samba-tool dns zoneoptions on a zone without dNSProperty values

Currently they fail with WERR_INTERNAL_DB_ERROR.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16226

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit b179abed6757ece911d58e562a2045edf2225a91)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/e2ea69bf582bb0d9078b307877bd9ea80f4099ad">e2ea69bf</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-09-01T22:21:21+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:rpc_server/dnsserver: fix talloc hierarchy in dnsserver_db_do_reset_dword()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16226

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 3ae706be815952a20ecfef427ab98f540fa6b8ac)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/1fc39c45338510ca387697ad4e12c9289ed0d2af">1fc39c45</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-09-02T00:08:44+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:rpc_server/dnsserver: allow dnsserver_db_do_reset_dword() to add new dNSProperty values

On a zone without "dNSProperty" values at all, or without
a value for the new property, we failed with WERR_INTERNAL_DB_ERROR.

If there's no value stored for the property, we just need to
add a new value.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16226

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Aug 27 17:36:53 UTC 2026 on atb-devel-224

(cherry picked from commit 731e541a0ef4fda598a1480e66aff9d26641d9da)

Autobuild-User(v4-24-test): Björn Jacke <bjacke@samba.org>
Autobuild-Date(v4-24-test): Wed Sep  2 00:08:44 UTC 2026 on atb-devel-224
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/2cc2d16a89b1cfc37855aefc62e3237209ffc950">2cc2d16a</a></strong>
<div>
<span> by Ralph Boehme </span> <i> at 2026-09-08T21:44:12+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>smbtorture: split smb2.acls into acls-with-sysacl and acls-ignore-sysacl

The smb2.acls test suite contains tests (OWNER-RIGHTS-DENY1 and DENY1) that use
non-canonical ACLs (containing out-of-order DENY ACEs).  Under standard POSIX
draft/system ACL mapping, such non-canonical ACLs cannot be represented
on the underlying file system, hence the current code is supposed to fail
attempts to set such ACLs in the Samba POSIX ACL mapping backend.

However, as the current code wrongly silently swallows the error returned from
the low level mapping function unpack_canon_ace() and a subsequent commit is
going to fix this, the tests mentioned above will start failing.

As these non-canonical ACL are in fact valid ACLs and eg Windows allows setting
them and they only fail when Samba uses POSIX ACL backend, adjust the tests to
run against a share that uses acl_xattr without POSIX ACLs:

- smb2.acls-with-sysacl: Runs tests that are compatible with system POSIX
  ACL mapping, executed against the standard 'tmp' share.
- smb2.acls-ignore-sysacl: Contains tests that require Windows-like ACL
  handling (like non-canonical ACE ordering) which are executed against
  the 'acl_xattr_ign_sysacl_windows' share (where system ACLs are ignored).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16097

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 8d5674bccfdfecde34ea7a1b1fd384b0cff60d82)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/f4084b298d9e1669089b54d8af4b2e30a04c7321">f4084b29</a></strong>
<div>
<span> by Ralph Boehme </span> <i> at 2026-09-08T21:44:12+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>smbtorture: add test smb2.acls.NON-CANONICAL-ORDER

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16097

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 64a20d65df6c828dee1ca3230c82868969a60afc)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/61fe86b48d101b1661c1405da4d1ca2b7981b9ad">61fe86b4</a></strong>
<div>
<span> by Ralph Boehme </span> <i> at 2026-09-08T21:44:12+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>smbd: prepare for correct error handling for callers of unpack_canon_ace()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16097

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 1d19ca727c6f6fc6fec4a070dc90b04058b316d8)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/655614d84545613477d17a991a9ef2212c0ca352">655614d8</a></strong>
<div>
<span> by Ralph Boehme </span> <i> at 2026-09-08T22:46:49+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>smbd: check the return value before the ACE-lists out args

If unpack_canon_ace() fails and returns false, file_ace_list and dir_ace_list
will be left at their initial NULL values, so we exit out at

        if (!file_ace_list && !dir_ace_list) {
                return NT_STATUS_OK;
        }

instead of at the subsequent error checking code for acl_perms.

This subtle change was introduced by commit
81533e2d39cae11b7ea06f289a7c398ed3c51da9 and causes attempts to set an
non-canonical ACL by clients to return NT_STATUS_OK, instead of failing with
NT_STATUS_ACCESS_DENIED.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16097

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Jun 26 12:50:29 UTC 2026 on atb-devel-224

(cherry picked from commit 4cc867cc6fe1afef85b7f88b55e4c8e0058fc7a4)

Autobuild-User(v4-24-test): Björn Jacke <bjacke@samba.org>
Autobuild-Date(v4-24-test): Tue Sep  8 22:46:49 UTC 2026 on atb-devel-224
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/3d8f77c75bc2f0c650fbaef13161b324d74e469f">3d8f77c7</a></strong>
<div>
<span> by Björn Jacke </span> <i> at 2026-09-09T17:09:03+02:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>WHATSNEW: Add release notes for Samba 4.24.7.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/1aab718aaf61b38106b361797c7c40b1f70d013b">1aab718a</a></strong>
<div>
<span> by Björn Jacke </span> <i> at 2026-09-09T17:09:26+02:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>VERSION: Disable GIT_SNAPSHOT for the 4.24.7 release.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/b94a5beef96d682f17fa45749e72c95ac8a3b85d">b94a5bee</a></strong>
<div>
<span> by Björn Jacke </span> <i> at 2026-09-09T17:09:50+02:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>VERSION: Bump version up to Samba 4.24.8...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/8c70a5fc99562a19e999c6913a131f4a6bf6fab9">8c70a5fc</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-09-14T18:47:19+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>libcli/smb: add smb2cli_session_check_reauth() helper

That checks that the last session setup response of a reauth
is correctly signed by the server.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15962

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 2df8022bdc82e216973d8037e053821fe97c224a)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/6d446f6d0a2198eaa0863db9c5ec7b4fd6178509">6d446f6d</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-09-14T18:47:19+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s3:torture: let SMB2-SESSION_REAUTH use smb2cli_session_check_reauth()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15962

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 4ecb6b83e55bfb62440c1b309bbaa18fd19bb202)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/790f544e77966b038bf6a7303c0598e6caeaf76f">790f544e</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-09-14T18:47:19+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:libcli/smb2: let smb2_session_setup_spnego_both_ready() call smb2cli_session_check_reauth()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15962

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 5f0a2fec20fa71ccd75bb3d9aaa92cd1233a60db)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f8576834a30236e28e51fca4e531e23eab2a3c0">1f857683</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-09-14T18:47:19+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4:torture/smb2: There's no need to use smb2cli_session_require_signed_response()

This is now handled by smb2cli_session_check_reauth().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15962

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 8ae9253241c311fa3bbe65a98a8c97d9ec0c649b)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/3d9dff69fd5b21366d28c7680e38cd90a59de49f">3d9dff69</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-09-14T18:47:19+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>libcli/smb: don't reset state->smb2.require_signed_response without NT_STATUS_OK

We no longer use this for reauth tests, so that reset is no longer
needed.

We could remove smb2cli_session_require_signed_response() completely,
but I think it can be useful for other tests in future.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15962

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit f6790404d6fa04d438b952b6b8f908b6ab4f5d9b)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/a422fae4069dae7bece7a3a3f8f726f712128b0b">a422fae4</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-09-14T18:47:19+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s3:smb2_server: make it possible to sign responses even with encryption

Final session setup responses should always be signed, even if
they are wrapped with encryption.

This fixed setups where encryption is required and
a session is expired.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15962

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Sep 11 17:38:18 UTC 2026 on atb-devel-224

(cherry picked from commit 235658e3ecc1d971e7f963edbeba828748871d1c)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/9e347e1f714cda41f5cd929c37e8f5c8f51b902b">9e347e1f</a></strong>
<div>
<span> by Kopylov Pavel </span> <i> at 2026-09-14T18:47:19+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>lib:param: Fix uppercase "0X" prefix in kdc default domain enctypes

handle_kdc_default_domain_supported_enctypes() decides whether an
enctype token is written in hexadecimal by looking for a leading
"0x" / "0X". The test contained a typo:

    if (bitstr[0] == '0' &&
        (bitstr[1] == 'x' || bitstr[2] == 'X'))

The second comparison indexes bitstr[2] instead of bitstr[1]. Two
consequences follow:

 * A value written with an uppercase prefix, e.g. "0X1F", is not
   recognised as hexadecimal. It is then parsed with base 10 using
   smb_strtoul(..., SMB_STR_FULL_STR_CONV), which fails on the "X" and
   the whole value is rejected with a warning and silently dropped.
   Lowercase "0x1f" happened to work only by accident.

 * For a bare "0" token, bitstr[1] is the NUL terminator, so the
   short-circuit falls through to bitstr[2], a one-byte read past the
   end of the two-byte buffer "0\0" (out-of-bounds read).

Compare bitstr[1] against 'X' as intended. This makes uppercase hex
values work and removes the out-of-bounds read. The value is parsed from
admin-controlled smb.conf, so there is no remote exposure.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16239
RN: Fix parsing of uppercase "0X" hex values in the "kdc default domain
supported enctypes" smb.conf parameter.

Signed-off-by: Kopylov Pavel <pkopylov@cloudlinux.com>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 608afbe571a6314adfd191e2b069ac3ff66f7c93)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf24b4c84cbcf7caa5ca93557f436b87777a997a">bf24b4c8</a></strong>
<div>
<span> by Kopylov Pavel </span> <i> at 2026-09-14T18:47:19+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>lib:param: Fix uppercase "0X" prefix in kdc supported enctypes

handle_kdc_supported_enctypes() carries the same typo the previous
commit fixed in handle_kdc_default_domain_supported_enctypes():

    if (bitstr[0] == '0' &&
        (bitstr[1] == 'x' || bitstr[2] == 'X'))

The second comparison indexes bitstr[2] instead of bitstr[1], with the
same two consequences:

 * A value written with an uppercase prefix, e.g. "0X1C", is not
   recognised as hexadecimal. It is then parsed with base 10 using
   smb_strtoul(..., SMB_STR_FULL_STR_CONV), which fails on the "X" and
   the whole value is rejected with a warning and silently dropped.
   Lowercase "0x1c" happened to work only by accident.

 * For a bare "0" token, bitstr[1] is the NUL terminator, so the
   short-circuit falls through to bitstr[2], reading one byte past the
   end of the string allocated by str_list_make(). valgrind on
   "kdc supported enctypes = 0" reports:

     Invalid read of size 1
        at handle_kdc_supported_enctypes (loadparm.c:1931)
        by set_variable (loadparm.c:1969)
        by lpcfg_do_global_parameter (loadparm.c:2028)
      Address 0x939cd52 is 0 bytes after a block of size 98 alloc'd
        by talloc_strndup (talloc.c:2479)
        by str_list_make (util_strlist.c:101)
        by handle_kdc_supported_enctypes (loadparm.c:1899)

Compare bitstr[1] against 'X' as intended. This makes uppercase hex
values work and removes the out-of-bounds read. The value is parsed from
admin-controlled smb.conf, so there is no remote exposure.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16239
RN: Fix parsing of uppercase "0X" hex values in the "kdc supported
enctypes" smb.conf parameter.

Signed-off-by: Kopylov Pavel <pkopylov@cloudlinux.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 27c87a723ba3e2e9d36df8736641d3c191bf4aa2)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/7597772949c2fdd566139908d0b10829027e58c0">75977729</a></strong>
<div>
<span> by Kopylov Pavel </span> <i> at 2026-09-14T18:47:19+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>tests/param: Test hex and decimal enctype bitmask parsing

Cover both "kdc supported enctypes" and "kdc default domain supported
enctypes" with lowercase and uppercase "0x" / "0X" prefixes. The
uppercase spellings were rejected outright before the preceding two
commits.

The bare "0" cases exercise the token that made the old code read past
the end of the string. They pass either way in a plain build and only
fail under a memory checker, but keep that input covered.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16239

Signed-off-by: Kopylov Pavel <pkopylov@cloudlinux.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit a1979f9b976a9f0f0505068ce2b4fa057eb7072c)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/bb20b83dbd5d6044886cf68d26b87f80f941fcaf">bb20b83d</a></strong>
<div>
<span> by Kopylov Pavel </span> <i> at 2026-09-14T18:47:19+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>lib:param: Log the right parameter in handle_kdc_supported_enctypes()

The warning emitted for an unparsable token names "kdc default domain
supported enctypes", the parameter handled by the neighbouring
handle_kdc_default_domain_supported_enctypes(). An admin with a bad
value in "kdc supported enctypes" is pointed at the wrong smb.conf
line:

  handle_kdc_supported_enctypes: WARNING: Ignoring invalid value '0Xzz'
  for parameter 'kdc default domain supported enctypes'

Name the parameter the handler actually parses.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16239

Signed-off-by: Kopylov Pavel <pkopylov@cloudlinux.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Sep 11 16:10:09 UTC 2026 on atb-devel-224

(cherry picked from commit b54246e258dd3dbd94a112ac460318b27de1d6fd)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6777ae579d1cf0b33f59db29e2e01efddb27aca">c6777ae5</a></strong>
<div>
<span> by Björn Jacke </span> <i> at 2026-09-14T20:54:41+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>WHATSNEW.txt: fix typo to make codespell and autobuild happy

Signed-off-by: Bjoern Jacke <bjacke@samba.org>

Autobuild-User(v4-24-test): Björn Jacke <bjacke@samba.org>
Autobuild-Date(v4-24-test): Mon Sep 14 20:54:41 UTC 2026 on atb-devel-224
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/341f09fcb58a4f3ff7c2360506ab42eb5a7cb03b">341f09fc</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-10-01T23:34:14+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s3:winbindd: make all struct winbindd_child their own talloc context

Before we had winbindd_child_msg_filter() crashing in this:

  struct winbindd_child *child = talloc_get_type_abort(private_data,
                                         struct winbindd_child);

We could just remove talloc_get_type_abort() there, but
the same problem can come back in other places.

So the domain maintains an array of pointers now.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16081

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 613563e6d22adb82bdeacf72014478324631fab0)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/f203c93231a32e79fde296d2f0769bbcca3ea707">f203c932</a></strong>
<div>
<span> by Anoop C S </span> <i> at 2026-10-01T23:34:14+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>smbd: Fix temporary mkdir name allocation check

Check the talloc_asprintf() result stored in tmp_atname->base_name
instead of rechecking the already validated tmp_atname pointer.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16240

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 523327cce7cf8a977b10c5d57a3477aa2ebac3b8)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/e4e1f2ddac8bb31f7ab0b7a47a2ac39446908b2c">e4e1f2dd</a></strong>
<div>
<span> by Anoop C S </span> <i> at 2026-10-01T23:34:14+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s4/torture: Add smb2 long mkdir name test

Add a regression test that creates a directory with a 255-byte
component. Mark it as a known failure until smbd stops embedding
the complete client name in its longer internal temporary name.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16240

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit b8826db2da7dadf1a56310f523e4cef4374cf98b)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/5c529e6efd25e94128695bf29aadecf5e317575d">5c529e6e</a></strong>
<div>
<span> by Anoop C S </span> <i> at 2026-10-01T23:34:14+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>smbd: Use bounded temporary names for mkdir

mkdir_internal() appends the complete client name to the temporary
directory prefix. A valid client name near NAME_MAX therefore becomes
too long after Samba adds its internal prefix, and mkdirat() fails
with ENAMETOOLONG.

Use a fixed size GUID suffix while retaining the server ID needed for
stale name detection. This preserves the existing atomic create, setup
and rename behavior without reducing the filename space available to
clients. Also update the parameter documentation and remove the
regression test from knownfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16240

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Sun Sep 13 06:08:46 UTC 2026 on atb-devel-224

(cherry picked from commit 86c7c3ed32b4d38cd3aa75b3c5bb065380c0319f)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/583d854ffc1481c79426a561c9a7f5b8307b41f3">583d854f</a></strong>
<div>
<span> by Anoop C S </span> <i> at 2026-10-01T23:34:14+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s3/g_lock: Create the stack frame before the fast path

The fast path calls talloc_tos() before a stack frame exists when
invoked by callers such as the smbconf Python bindings. Allocate the
frame before this path and route exits through a common label.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16258

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit fdf6726c1c6f7274675f070c0d0761ea5101fd4b)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/761ed8a77adc576bfc356a8268e0568bbf677448">761ed8a7</a></strong>
<div>
<span> by Anoop C S </span> <i> at 2026-10-01T23:34:14+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>s3/smbconf: Avoid leaking a stack frame for a NULL share name

Allocate the stack frame after the NULL servicename check so the
early return in smbconf_reg_create_share() does not leak it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16258

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Sep 30 21:26:41 UTC 2026 on atb-devel-224

(cherry picked from commit c670e4fce53c04d3d41a47af403e771f34250fe1)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/37b5184cba3a6e29ea3fa31eab481182746cdf0b">37b5184c</a></strong>
<div>
<span> by Martin Schwenke </span> <i> at 2026-10-01T23:34:14+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>ctdb-daemon: Modernise a DEBUG

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16254

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 792942b7e9cfb51dac3ec1c406f40570098d429c)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac2e896c5a2d61cd8f1df9b9b3dd5914a500c7a8">ac2e896c</a></strong>
<div>
<span> by Martin Schwenke </span> <i> at 2026-10-01T23:34:14+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>ctdb-server: Apply some README.Coding, improve comments

Some comments in the same function aren't changed now because they
will be changed in a subsequent commit when the behaviour changes..

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16254

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 6420aba887c09590bbd46706b0a8ebdd4b848a96)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/e9f87255c3d575fcb81e52667116d415da5e607c">e9f87255</a></strong>
<div>
<span> by Martin Schwenke </span> <i> at 2026-10-01T23:34:14+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>ctdb-daemon: Fix conditions for choosing persistent traverse node

The local node doesn't have to be in the VNN map, since it might have
the lmaster capability disabled.  It just needs to be active.

Otherwise, still prefer the first node in the VNN map.  Be defensive
about selecting it even though the VNN map should never be empty.

Fall back to selecting the first active node (which won't have been
found in the VNN map if it has the lmaster capability disabled).

If there is no active node then fail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16254

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 65d55e410bc217e8ba02c7194a53412366dc8443)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/6906c87444fc4bfd777a178a16f40d81b2377f7f">6906c874</a></strong>
<div>
<span> by Martin Schwenke </span> <i> at 2026-10-01T23:34:14+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>ctdb-daemon: Persistent transactions go to all active nodes

The VNN map only contains active nodes with the lmaster capability.
However, transactions on persistent databases should involve all
active nodes.  So, don't use the VNN map, use the nodes list instead.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16254

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit a8b99d264b87d96fe4af377ac127e64920d9ad1f)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/6550b97465b76b3bded074c5096b4e82d617d4a8">6550b974</a></strong>
<div>
<span> by Martin Schwenke </span> <i> at 2026-10-02T00:37:48+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>ctdb-tests: Add a persistent transaction test

Test that a persistent transaction also writes to nodes with the
lmaster capability disabled.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16254

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit f2fba08c1d7fc616ded2690b10ebefe86a17a5c0)

Autobuild-User(v4-24-test): Björn Jacke <bjacke@samba.org>
Autobuild-Date(v4-24-test): Fri Oct  2 00:37:48 UTC 2026 on atb-devel-224
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/5143a84076acd4cef5d2c5a9185395ef36823418">5143a840</a></strong>
<div>
<span> by Shweta Sodani </span> <i> at 2026-10-05T14:50:11+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>lib/util: backend file level log is not respected to "logging" option.

With the help of "logging" option, we can set the each logging backend
with different level, this is working fine for all backend logging
except file level logging. This change is respecting the file level
logging as well.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15857

Signed-off-by: Shweta Sodani <ssodani@redhat.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Oct  1 22:32:48 UTC 2026 on atb-devel-224

(cherry picked from commit 019e7e304e4d9cb053341ebec9e801b852164481)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/132c18f8925bbe0efbae538c536436e098c30719">132c18f8</a></strong>
<div>
<span> by Volker Lendecke </span> <i> at 2026-10-05T14:50:11+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>selftest: Add regression test for rename ReplaceIfExists case-only collision

Add samba.tests.libsmb-basic.LibsmbTestCase.test_rename_replace_case,
which renames a temporary file over an existing target differing only
in case with ReplaceIfExists set. The existing target must be replaced,
not left in place alongside a second, duplicate directory entry.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16261

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
(cherry picked from commit a798b16fc76b968d8af64409e6365791bbd62419)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/31e9fe26a360a41e28c7f448de84c5f81d6de919">31e9fe26</a></strong>
<div>
<span> by Volker Lendecke </span> <i> at 2026-10-05T15:53:29+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>smbd: Fix rename with ReplaceIfExists to a target differing only in case

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16261

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Sep 29 19:34:05 UTC 2026 on atb-devel-224

(cherry picked from commit 15f64c46c935b428d1827a170ee4082694464c19)

Autobuild-User(v4-24-test): Björn Jacke <bjacke@samba.org>
Autobuild-Date(v4-24-test): Mon Oct  5 15:53:29 UTC 2026 on atb-devel-224
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/cace7d01ce30fca55e6151a0137d06bfec30d7bc">cace7d01</a></strong>
<div>
<span> by Martin Schwenke </span> <i> at 2026-10-10T20:50:02+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>ctdb-recoverd: Avoid recovery race on lost cluster lock

The following was seen while running
ctdb/tests/INTEGRATION/simple/cluster.015.reclock_remove_lock.sh:

  726102 node.0 ctdbd[2655369]: ctdb_mutex_fcntl_helper: lock lost - lock file "tests/var/INTEGRATION/simple/shared/.ctdb/cluster.lock" open failed (ret=2)
  726937 node.0 ctdb-recoverd[2655437]: Cluster lock helper terminated
  726971 node.0 ctdb-recoverd[2655437]: Start election
  727053 node.0 ctdbd[2655369]: Recovery mode set to ACTIVE
  727071 node.1 ctdbd[2655392]: Recovery mode set to ACTIVE
  727071 node.2 ctdbd[2655407]: Recovery mode set to ACTIVE
  727161 node.0 ctdb-recoverd[2655437]: Attempting to take cluster lock (! /m/martins/aMASTER/b1443461/ctdb/ctdb/bin/ctdb_mutex_fcntl_helper tests/var/INTEGRATION/simple/shared/.ctdb/cluster.lock 5)
  727198 node.1 ctdb-recoverd[2655480]: Attempting to take cluster lock (! /m/martins/aMASTER/b1443461/ctdb/ctdb/bin/ctdb_mutex_fcntl_helper tests/var/INTEGRATION/simple/shared/.ctdb/cluster.lock 5)
  727212 node.2 ctdb-recoverd[2655503]: Attempting to take cluster lock (! /m/martins/aMASTER/b1443461/ctdb/ctdb/bin/ctdb_mutex_fcntl_helper tests/var/INTEGRATION/simple/shared/.ctdb/cluster.lock 5)
  727885 node.0 ctdb-recoverd[2655437]: Received leader broadcast, leader=0
  731562 node.0 ctdb-recoverd[2655437]: Unable to take cluster lock - contention
  731579 node.2 ctdb-recoverd[2655503]: Unable to take cluster lock - contention
  731587 node.1 ctdb-recoverd[2655480]: Cluster lock taken successfully
  731602 node.1 ctdb-recoverd[2655480]: Took cluster lock, leader=1
  731976 node.0 ctdb-recoverd[2655437]: Node:0 was in recovery mode. Start recovery process
  732006 node.0 ctdb-recoverd[2655437]: Node:1 was in recovery mode. Start recovery process
  732022 node.0 ctdb-recoverd[2655437]: Node:2 was in recovery mode. Start recovery process
  732029 node.0 ctdb-recoverd[2655437]: do_recovery: Starting do_recovery
  732035 node.1 ctdb-recoverd[2655480]: Node:1 was in recovery mode. Start recovery process
  732050 node.1 ctdb-recoverd[2655480]: Node:0 was in recovery mode. Start recovery process
  732059 node.1 ctdb-recoverd[2655480]: Node:2 was in recovery mode. Start recovery process
  732062 node.0 ctdb-recoverd[2655437]: Cluster lock not held - abort recovery, ban node
  732063 node.1 ctdb-recoverd[2655480]: do_recovery: Starting do_recovery
  732067 node.0 ctdb-recoverd[2655437]: Banning node 0 for 300 seconds
  732082 node.0 ctdbd[2655369]: SET BAN STATE
  732090 node.0 ctdbd[2655369]: Banning this node for 300 seconds
  732094 node.0 ctdbd[2655369]: Making node INACTIVE
  732096 node.1 ctdb-recoverd[2655480]: do_recovery: Recovery initiated due to problem with node 0

Note that the date/time has been trimmed to just show microseconds for
readability.

The problem here is that the node that lost the cluster lock still
has itself recorded as leader.  By the time it attempts to run
recovery, it hasn't received a leader broadcast from the new leader
so it passes all the checks allowing it to run recovery, except for
the cluster lock one.

Clearing the leader on this node will avoid the problem because
do_recovery() will notice it is no longer the leader and will abort
recovery.

Improve the associated message in do_recovery() to avoid printing the
confusing value of CTDB_UNKNOWN_PNN when this occurs.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16273

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>

Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Fri Oct  9 18:47:25 UTC 2026 on atb-devel-224

(cherry picked from commit a01ade983b71640332798a97e7d6bcaa454b78ca)

Autobuild-User(v4-24-test): Björn Jacke <bjacke@samba.org>
Autobuild-Date(v4-24-test): Sat Oct 10 20:50:02 UTC 2026 on atb-devel-224
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/a0910e9c9b04f71095f27201e68610d10c23b465">a0910e9c</a></strong>
<div>
<span> by Stefan Metzmacher </span> <i> at 2026-10-12T16:42:16+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>lib/util: make generate_unique_u64() more robust

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16200

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 89968416949541e547bc1eb7605b8f3e5f893e0b)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/af2c38e01a324e1c78519fdb26a10529ad4aa95e">af2c38e0</a></strong>
<div>
<span> by Volker Lendecke </span> <i> at 2026-10-12T16:42:16+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>tests: The fix for Bug 16200 causes a locking corruption bug

smbd caches share_mode_data and reuses it as long as the
unique_content_epoch of the locking.tdb record is unchanged.

Right now a fresh smbd hands out the same epochs as the smbd that
created a record before. Make c2's smbd cache the share_mode_data of a
record created by c1, remove the record and let a third connection
recreate it with a different share mode. c2 then uses its cached
share_mode_data and misses the sharing violation.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16200

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit f92b40e9ce29c70b970d932b962d25ccfe2d2cc3)
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/4086da33fb6c21db07ac11295da43136778505a8">4086da33</a></strong>
<div>
<span> by Volker Lendecke </span> <i> at 2026-10-12T17:45:16+00:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>lib: seed generate_unique_u64() per process again

Since commit 89968416949 ("lib/util: make generate_unique_u64() more
robust") the first call in a process sets next_value to veto_value and
increments it before the veto check. So the random nonce is never
generated, and every process continues counting from the value it was
passed. Processes that start from the same value, for example the
unique_content_epoch of the same locking.tdb record, hand out the same
"unique" values. New g_lock records get unique_lock_epoch 1 and
unique_data_epoch 2 in every fresh process.

share_mode_memcache_fetch() relies on unique_content_epoch being unique
across processes to detect stale cached share_mode_data, g_lock relies
on unique_data_epoch to detect data changes for watchers. With
colliding epochs an smbd can use outdated share_mode_data or miss a
change of g_lock data.

Start every process at a random value as documented in samba_util.h.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=16200

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Oct  9 09:42:26 UTC 2026 on atb-devel-224

(cherry picked from commit 67eeb79811e57038a38d7272ee98064938b27b06)

Autobuild-User(v4-24-test): Björn Jacke <bjacke@samba.org>
Autobuild-Date(v4-24-test): Mon Oct 12 17:45:16 UTC 2026 on atb-devel-224
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/511acb9a900824fd0d850161db46dde75934db32">511acb9a</a></strong>
<div>
<span> by Björn Jacke </span> <i> at 2026-10-12T20:32:25+02:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>WHATSNEW: Add release notes for Samba 4.24.8.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/24570872bc143798e657745924e46b0427cbe599">24570872</a></strong>
<div>
<span> by Björn Jacke </span> <i> at 2026-10-12T20:33:30+02:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>VERSION: Disable GIT_SNAPSHOT for the 4.24.8 release.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://salsa.debian.org/samba-team/samba/-/commit/34922153456f9e2426a086293f53d10feb1d80c4">34922153</a></strong>
<div>
<span> by Michael Tokarev </span> <i> at 2026-10-14T10:02:14+03:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #3a383f; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>New upstream version 4.24.8+dfsg</pre>
</li>
</ul>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
64 changed files:
</h4>
<ul>
<li class="file-stats">
<a href="#b33892fbddeffc3368077b4904ad0b3d562a7312">
VERSION
</a>
</li>
<li class="file-stats">
<a href="#3277e12b5a9f9ff632d229e2629d34ad21dd93fc">
WHATSNEW.txt
</a>
</li>
<li class="file-stats">
<a href="#d056e21e759ed265effccd6df1e7979f7588f879">
ctdb/server/ctdb_persistent.c
</a>
</li>
<li class="file-stats">
<a href="#83364e6cb4542630ffc8a02500ad781175c71225">
ctdb/server/ctdb_recoverd.c
</a>
</li>
<li class="file-stats">
<a href="#fe2d0b266a3aed212a7e2eba4ccd74f2d2ff68b4">
ctdb/server/ctdb_traverse.c
</a>
</li>
<li class="file-stats">
<a href="#0b22fa902e1b2b3c5ba7e6eba63b8bd108a39d7f">
<span class="new-file">
+
ctdb/tests/INTEGRATION/database/transaction.005.ptrans_lmaster.sh
</span>
</a>
</li>
<li class="file-stats">
<a href="#c25a6613c93b552bb6e8830c3c3e4652ed58ae7f">
docs-xml/smbdotconf/vfs/vfsmkdirusetmpname.xml
</a>
</li>
<li class="file-stats">
<a href="#fbb3f1718cad69fee6aae7b7b8aaf112fb9cb234">
lib/param/loadparm.c
</a>
</li>
<li class="file-stats">
<a href="#70d55393229a9437f3575103542381d064e377b4">
lib/param/param.h
</a>
</li>
<li class="file-stats">
<a href="#94de78728a7e30beb06828a0ed0c676b10d657fa">
lib/util/debug.c
</a>
</li>
<li class="file-stats">
<a href="#edfd1803e5e79a533be54bba1dfc13e9ff6aa65e">
lib/util/genrand_util.c
</a>
</li>
<li class="file-stats">
<a href="#716d80f7301747945a1f1035af9dd5f856b3bbc0">
libcli/dns/dns.c
</a>
</li>
<li class="file-stats">
<a href="#c59ca9b649f74ee8c4c7fb00aca81b29f4aeb05c">
libcli/dns/dns_lookup.c
</a>
</li>
<li class="file-stats">
<a href="#bd2c6ed42e4d9f5519d48231d340137db6cca8a3">
libcli/dns/libdns.h
</a>
</li>
<li class="file-stats">
<a href="#17bf1773931ec4e9a03d02f74afafc39bfc7136e">
libcli/dns/wscript_build
</a>
</li>
<li class="file-stats">
<a href="#539418c456f889bc9d19d60ff9020cd8dce0592a">
libcli/smb/smbXcli_base.c
</a>
</li>
<li class="file-stats">
<a href="#d78efc6932063df574a37ecf2fbddb43f797ca46">
libcli/smb/smbXcli_base.h
</a>
</li>
<li class="file-stats">
<a href="#b153c0d0b0801608b23aa55e0d45d1a2808c4998">
python/samba/tests/dns.py
</a>
</li>
<li class="file-stats">
<a href="#70cb337529a1ac4e24ea69724d4f71018bde7358">
python/samba/tests/libsmb-basic.py
</a>
</li>
<li class="file-stats">
<a href="#9272ec2f236b975d8e2e0b9c15cee6422f97e825">
python/samba/tests/param.py
</a>
</li>
<li class="file-stats">
<a href="#9fb20d4fbe1d566187f0467c00153412b3f3a1ce">
python/samba/tests/samba_tool/dnscmd.py
</a>
</li>
<li class="file-stats">
<a href="#981b2120f786cca0922eb45175f62e3b0c280a5a">
script/autobuild.py
</a>
</li>
<li class="file-stats">
<a href="#db2cba25837b031ecd705dae7afc81ea09f83375">
selftest/flapping
</a>
</li>
<li class="file-stats">
<a href="#e463cde4e5d6f160478af6539df4619d9d5529f7">
selftest/knownfail
</a>
</li>
<li class="file-stats">
<a href="#0e22be94683697d11163ca608753d00e0feafd86">
selftest/knownfail.d/dns
</a>
</li>
<li class="file-stats">
<a href="#47197e968c7d5c42c6289b20480caa1ac37ceb11">
source3/lib/g_lock.c
</a>
</li>
<li class="file-stats">
<a href="#fc8fd6fede86d700aa1e2f062dfb33a06ff20160">
source3/lib/smbconf/smbconf_reg.c
</a>
</li>
<li class="file-stats">
<a href="#c008a303960603f2093a196c77c70a165023d1bb">
source3/modules/vfs_streams_xattr.c
</a>
</li>
<li class="file-stats">
<a href="#75bc75497231bbcc74880ae0917386d44729c127">
source3/selftest/tests.py
</a>
</li>
<li class="file-stats">
<a href="#cb35322cba274bba745ad976e2f2b6e72579b505">
source3/smbd/open.c
</a>
</li>
<li class="file-stats">
<a href="#861a3e110f3feb31bb8aa40610087db06a7931f9">
source3/smbd/posix_acls.c
</a>
</li>
<li class="file-stats">
<a href="#ca9c4077621dd2b56e68c2e9a4b2125f514a1b78">
source3/smbd/smb2_reply.c
</a>
</li>
<li class="file-stats">
<a href="#6e11d2c1de3ab8d9248906d69f0412e7c22b0375">
source3/smbd/smb2_server.c
</a>
</li>
<li class="file-stats">
<a href="#d4fed7e47a973229a3e2f0ef1bf906e800a054f8">
source3/smbd/smb2_trans2.c
</a>
</li>
<li class="file-stats">
<a href="#01c71eb67913c7a9493ec7ca630397c6cd00dd1d">
source3/torture/test_smb2.c
</a>
</li>
<li class="file-stats">
<a href="#ecb88926e519371a03e0d98456ef6a6519915096">
source3/winbindd/winbindd.h
</a>
</li>
<li class="file-stats">
<a href="#58caabcd9a4e99efeba5cefe4b6a3deb0f448a3b">
source3/winbindd/winbindd_domain.c
</a>
</li>
<li class="file-stats">
<a href="#f21fdbf79c4a3c2a401452415b05d5dff4ad93b8">
source3/winbindd/winbindd_dual.c
</a>
</li>
<li class="file-stats">
<a href="#6b78067d2a80f4b9c78b99b8ce1df107ce6b8ffe">
source3/winbindd/winbindd_idmap.c
</a>
</li>
<li class="file-stats">
<a href="#e8d87baf7406757482517667ee0b1ec2f1c48206">
source3/winbindd/winbindd_locator.c
</a>
</li>
<li class="file-stats">
<a href="#00e131b5b59c09d6c14cd7b7b014e29427ab923a">
source3/winbindd/winbindd_ndr.c
</a>
</li>
<li class="file-stats">
<a href="#5b1991b4e9d83cbc66244d16ba87c97835aa12a3">
source3/winbindd/winbindd_proto.h
</a>
</li>
<li class="file-stats">
<a href="#3e088ca6181fe0ec57ad73b496eb4ed4a99a5dc3">
source3/winbindd/winbindd_util.c
</a>
</li>
<li class="file-stats">
<a href="#55fc476df9f99f19ba1ad91c47c99ab81b42c26d">
source4/dns_server/dns_query.c
</a>
</li>
<li class="file-stats">
<a href="#8a9af8a7b4a6cc7f0aabdee45a1f62e503ebfa43">
source4/dns_server/dns_server.c
</a>
</li>
<li class="file-stats">
<a href="#4108b0a25db3a650c7fcaf3633aaa88577f879d2">
source4/dns_server/dns_server.h
</a>
</li>
<li class="file-stats">
<a href="#54f6a863c30ed676508ecddd9d7fa99e6d395dda">
source4/dns_server/dnsserver_common.c
</a>
</li>
<li class="file-stats">
<a href="#a65db99fd4d2110b4b3a6df29682b36fb80ace04">
source4/dns_server/dnsserver_common.h
</a>
</li>
<li class="file-stats">
<a href="#b2a7cc60750c909093022c3f7c0b332deda9c3ce">
source4/rpc_server/dnsserver/dnsutils.c
→
source4/dns_server/dnsserver_utils.c
</a>
</li>
<li class="file-stats">
<a href="#b93bfdfd31430a4da089d607696af201c23f7547">
source4/dns_server/wscript_build
</a>
</li>
<li class="file-stats">
<a href="#ffacc863de2e08949ea315345725a1dee0a54f88">
source4/dsdb/kcc/kcc_periodic.c
</a>
</li>
<li class="file-stats">
<a href="#e76eeda6190325dbd58132e271954c72f0fa11d3">
source4/dsdb/kcc/scavenge_dns_records.c
</a>
</li>
<li class="file-stats">
<a href="#6fb6fd058cc5fd770a131bf18687b491a7f651e6">
source4/libcli/smb2/session.c
</a>
</li>
<li class="file-stats">
<a href="#3a3e23862b5fd7a59084a34941fcbb31ce3e18c2">
source4/rpc_server/common/common.h
</a>
</li>
<li class="file-stats">
<a href="#e6d2a6fc08d27432dabe5afe7a05b915a9ce6223">
<span class="deleted-file">
−
source4/rpc_server/common/loadparm.c
</span>
</a>
</li>
<li class="file-stats">
<a href="#9c372a794cca89a943bfa791b7d11397bb2576e3">
source4/rpc_server/dnsserver/dnsdb.c
</a>
</li>
<li class="file-stats">
<a href="#f651d8bac7ae4eef8d7f708e271053781a809dce">
source4/rpc_server/dnsserver/dnsserver.h
</a>
</li>
<li class="file-stats">
<a href="#c331f3df665ee6a7e4e56f3d61f20c6880e457c5">
source4/rpc_server/tests/rpc_dns_server_dnsutils_test.c
</a>
</li>
<li class="file-stats">
<a href="#4393a8b6817bd4458838504a26bc9e545f94a7c1">
source4/rpc_server/wscript_build
</a>
</li>
<li class="file-stats">
<a href="#0635c86c9c5a6cc36e4c08f3ef3009bbf50b05c6">
source4/torture/smb2/acls.c
</a>
</li>
<li class="file-stats">
<a href="#648b9d32c47c338ac0f2287aea2c6a00f832474e">
source4/torture/smb2/mkdir.c
</a>
</li>
<li class="file-stats">
<a href="#911552681214e3d7ffb5b586f0f61d09dbb2db5b">
source4/torture/smb2/session.c
</a>
</li>
<li class="file-stats">
<a href="#9df4b95c3b7a2ae1a26a0eff2942e353ffb247c4">
source4/torture/smb2/smb2.c
</a>
</li>
<li class="file-stats">
<a href="#9b176a5533f2fd6e584197964162c1464440c9a6">
source4/torture/smb2/streams.c
</a>
</li>
</ul>
<h5 style="margin-top: 10px; margin-bottom: 10px; font-size: .875rem;">
The diff was not included because it is too large.
</h5>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #626168;">
—
<br>
<a href="https://salsa.debian.org/samba-team/samba/-/compare/8a42272116df66345d0ce66ea3833c62d396ed79...34922153456f9e2426a086293f53d10feb1d80c4">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://salsa.debian.org">salsa.debian.org</a>. <a href="https://salsa.debian.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://salsa.debian.org/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<span style="color: transparent; font-size: 0; display: none; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0;">
Notification message regarding https://salsa.debian.org/samba-team/samba/-/compare/8a42272116df66345d0ce66ea3833c62d396ed79...34922153456f9e2426a086293f53d10feb1d80c4 at 1791961700
</span>



</p>
</div>
</body>
</html>