<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>



<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<h3>
Michael Tokarev pushed to branch master
at <a href="https://salsa.debian.org/samba-team/samba">Debian Samba Team / samba</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7b99d0bc41e41d2e3e19bc1ce5a32a17e88391f1">7b99d0bc</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2020-07-09T07:19:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version to 4.14.0pre1...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/92b1078e1e0ff89e190e9ee9941de778f7bc6d27">92b1078e</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2020-07-09T08:43:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Start release notes for Samba 4.14.0pre1.

Signed-off-by: Karolin Seeger <kseeger@samba.org>

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Thu Jul  9 08:43:25 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/60b0928945c9be3785b5e2855b066f9f97beb2df">60b09289</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-07-09T20:16:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/ldap: Test decoding an exop response

ldap-starttls-response.dat is a reply to a starttls extended
operation. Right now ldap_decode() does not handle this correctly.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0bb1488d315e93162eae433f869c1ddabea722c0">0bb1488d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-07-09T20:16:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/ldap: Fix decoding struct ldap_ExtendedResponse

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/89d21f507288408ca366350d13c1c106662f5941">89d21f50</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-07-09T20:16:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture3: Silence two signed/unsigned warnings

A longer fix would be to change the callbacks to use "int" instead of
"unsigned". Arguably that might be cleaner, but as this is torture
code I opted for the minimum necessary change.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/10ea0e0b3cf6cb4479f12cf85e1ae7fc7b217bd6">10ea0e0b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-07-09T20:16:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture3: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/04eafce653afcff517317d2b190acc4f0cbf4c61">04eafce6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-07-09T20:16:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Add test for lookuprids cache problem

When reading entries from gencache, wb_cache_rids_to_names() can
return STATUS_SOME_UNMAPPED, which _wbint_LookupRids() does not handle
correctly.

This test enforces this situation by filling gencache with one wbinfo
-R and then erasing the winbindd_cache.tdb. This forces winbind to
enter the domain helper process, which will then read from gencache
filled with the previous wbinfo -R.

Without having the entries cached this does not happen because
wb_cache_rids_to_names() via the do_query: path calls deep inside
calls dcerpc_lsa_lookup_sids_noalloc(), which hides the
STATUS_SOME_UNMAPPED that came in as lsa_LookupSids result value.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14435
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cd4122d91e942ca465c03505d5e148117f505ba4">cd4122d9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-07-09T21:40:52+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Fix lookuprids cache problem

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14435
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Jul  9 21:40:52 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4c74db6978c682f8ba4e74a6ee8157cfcbb54971">4c74db69</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-07-10T09:40:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Fix documentation for require_membership_of of pam_winbind

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Jul 10 09:40:37 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/10f61cd39b9e03e7bb781edf04022ea6ae1f1cac">10f61cd3</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-07-13T10:41:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add tests for net-ads over TLS

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

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9ec83caeb51e85ef9a217d5017d5844389d48513">9ec83cae</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-07-13T10:41:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Decouple ldap-ssl-ads from ldap-ssl option

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

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b3af1d334d6159dca75c2a74e7c6f909952c31af">b3af1d33</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-07-13T10:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix ads_set_sasl_wrap_flags to only change sasl flags

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

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/39b293c2d0bb64f11f63a41fbbc5031e5a2922e2">39b293c2</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-07-13T10:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ads: set sasl-wrapping to plain when over TLS

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

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/965d18880081296ed7189daa0eeef6024c308db1">965d1888</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-07-13T12:06:06+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net: ignore possible SIGPIPE upon ldap_unbind when over TLS

>From local tests with strace:

socket(AF_UNIX, SOCK_STREAM, 0) = 12
write(2, "Connecting to 10.53.57.21 at por"..., 38) = 38
...
write(2, "ads_domain_func_level: 3\n", 25) = 25
write(12, "\27\3\3\0\37\0\0\0\0\0\0\0\16nl[\374\375i\325\334\25\227kxG@\326\311R\225x"..., 36) = 36
write(12, "\25\3\3\0\32\0\0\0\0\0\0\0\17Hh\304\254\244\17\342<\334\210L&\20_\177\307\232P", 31) = -1 EPIPE (Broken pipe)
--- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=12089, si_uid=1000} ---
+++ killed by SIGPIPE +++

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

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Isaac Boukris <iboukris@samba.org>
Autobuild-Date(master): Mon Jul 13 12:06:07 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa4d135710e0fdcf92f522b3c6228717105c0775">aa4d1357</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-07-14T07:42:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: Fix missing TALLOC_FREE in error code path.

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

Reported by Alexander Pyhalov <apyhalov@gmail.com>

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Jul 14 07:42:54 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3fa9c3d5bb835d3f512a0a93bf971d8ae54600a0">3fa9c3d5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-07-14T13:38:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: split replay_smb3_specification into durable handle and multichannel

It's better to have durable handles and multichannel tested separate:
1. we test both cases in the server
2. it makes it easier to deal with knownfail entries if only one
   of these features is active on the server.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8fbb7ad275dea54b1d331ec9c591ec4e50778922">8fbb7ad2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-07-14T13:38:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: make smb2.durable-v2-delay tests more robust

We should not crash when the test fails, so we use a 2nd independent
connection to unlink the file at the end.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5a8b16a11f7286b88e3ea2057c26aa558b9f74a">e5a8b16a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-07-14T13:38:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: move exit_firsttime checking to the start of exit_server_common()

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d23e2678e93362b03df21b6fc26835ad8efdcc9f">d23e2678</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-07-14T14:59:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: stop accepting multichannel connections early in exit_server_common()

This is just a step in the correct direction, but there's still a
possible race...

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Tue Jul 14 14:59:19 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2162d50316fce9a2015121642013902eeffa2367">2162d503</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-07-16T01:29:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove code inside #ifdef NEXT2

This is dead code, the define is never set.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/268994f514a8fe7f3831f78ac3b0fc2bc6133157">268994f5</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-07-16T01:29:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:client: Remove code inside #ifdef NEXT2

This is dead code, the define is never set.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eecd65d475dc39af65f4284acddb11d0573b2008">eecd65d4</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-07-16T01:29:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: Remove code inside #ifdef NEXT2

This is dead code, the define is never set.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee6b31ad9b0f54e3d19e1c64033dec357d9f5b0d">ee6b31ad</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-07-16T01:29:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: Remove code inside #ifdef HAVE_BROKEN_READDIR_NAME

This is dead code, the define is never set.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6fc0a48626206d5964ed04acbbf86f81e51b34c3">6fc0a486</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-07-16T01:29:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove code inside #ifdef HAVE_BROKEN_READDIR_NAME

This is dead code, the define is never set.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cfd34eef58577480ff546df44a210c8b98936387">cfd34eef</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-16T01:29:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Fix some signed/unsigned comparisons

[207/389] Compiling lib/tdb/tools/tdbdump.c
../../../lib/tdb/tools/tdbrestore.c: In function ‘read_linehead’:
../../../lib/tdb/tools/tdbrestore.c:43:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
   43 |  for (i=0; i<sizeof(prefix); i++) {
      |             ^
../../../lib/tdb/tools/tdbrestore.c: In function ‘read_data’:
../../../lib/tdb/tools/tdbrestore.c:95:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
   95 |  for (i=0; i<size; i++) {
      |             ^

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d8f1d267cde21b75dd8652a0d5c98cf0890e1996">d8f1d267</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-16T04:00:52+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util: Fix a signed/unsigned comparison

[107/390] Compiling lib/util/time.c
../../../lib/util/time.c: In function ‘timespec_string_buf’:
../../../lib/util/time.c:416:10: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  416 |  if (len == -1) {
      |          ^~

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Jul 16 04:00:52 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bc174243d789e95f9f4487f08a0998787e64f0d4">bc174243</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-16T05:28:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Drop undocumented ONNODE_SSH_OPTS variable

Options can be set in ONNODE_SSH, so this variable is unnecessary.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/00eb88b241c1451b23fdd86ec8a391c07a20fa2a">00eb88b2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-16T05:28:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Whitespace fixups

Drop some unnecessary whitespace and re-indent push().

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f217d60376226d323e9d86ed094a27b7e7fa4b8">5f217d60</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-16T05:28:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Allow onnode -P to respect ONNODE_SSH

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0e287127cb8d8ce93abb99ea32b146b9392b56bc">0e287127</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-16T06:51:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Improve onnode's ShellCheck credibility

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Thu Jul 16 06:51:47 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/527d7df08eef1ab8a3ecbed3e16d4ffcbd93db1c">527d7df0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-07-16T06:52:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: Cleanup - all the ipstr_XXX() functions are only used in namecache.c.

Move them there. Will remove from the global namespace next.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2371c45f11c91ef16b02d86cdc6f6d4f7624b356">2371c45f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-07-16T06:52:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: Cleanup - nothing uses ipstr_list_free(). Remove it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c7e8c3d427d39f275588c495c92f3e2eeca2b832">c7e8c3d4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-07-16T06:52:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: Cleanup - make ipstr_list_make() and ipstr_list_parse() private to the only user.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be41035127d3cc7f8144b10dcbc1894dff4d587f">be410351</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-07-16T06:52:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup modern coding standards. 'True/False' -> 'true/false'.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/67ea64d27e6ede6993025e9598162f385d2937f7">67ea64d2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-07-16T06:52:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - move talloc frame out of inner scope.

Make it available thoughout the function. Prepare to use
talloc for namecache_key().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/06f0a7e911da4f3279066f5ffaf4e03d01b354af">06f0a7e9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-07-16T06:52:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - namecache_store() initialize stack variables.

Preparing for common out: exit.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/df0e54bea307b459433e1fdf9dc547875ee494cc">df0e54be</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-07-16T06:52:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - namecache_store() - use common out.

Prepare for moving malloc values to talloc.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/56d5cbe8bf6f4cd65b673b7923f955a457f8e0c7">56d5cbe8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-07-16T06:52:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - make namecache_key() use talloc.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd205f2a6cc6ca23bab8eb15d57c16994641d711">bd205f2a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-07-16T06:52:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - make namecache_status_record_key() use talloc.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d712add994f8426a90589788be53c1ce2e54c17">1d712add</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-07-16T06:52:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - Move DEBUG -> DBG_XXX() macros.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8ea51f4135d21f0cf70215521818eeb55e7bdbaa">8ea51f41</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-07-16T08:16:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - Make ipstr_list_make() talloc rather than malloc.

Remove the excessive and unneeded ipstr_list_add() function,
fold it into ipstr_list_make() to make it much clearer what
we're doing.

The only use of MALLOC now is in ipstr_list_parse() returned
by namecache_fetch(). We need to fix the caller before
we can move that to talloc. As that is used inside internal_resolve_name()
which is designed to return a MALLOC'ed ip list from all
name resolution mechanisms leave that fix for another day.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Jul 16 08:16:31 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d67e9149a612044e247e7a4d78913ecf396c69fc">d67e9149</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-07-16T10:41:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libads: Pass timeout to open_socket_out in ms

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

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Jul 16 10:41:40 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/57badc4638a6f626d0a6821d0a82b27d036bdc47">57badc46</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-07-17T05:54:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Namecache. Fix bug missed by me in previous cleanup.

In ipstr_list_make() we need to look at the correct array entry
to determine the ss_family for the sockaddr_storage.

Otherwise we are always storing the type of the first entry.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Jul 17 05:54:31 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5e4e18d0c0619fb407a12768caa8c7125ab30d42">5e4e18d0</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-07-17T05:55:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture/smb2/oplock: fix compilation by initialising variable

With gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0:

../../source4/torture/smb2/oplock.c:2709:2: error: variable 'h2' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
        torture_assert_ntstatus_ok_goto(tctx, status, ret, done, "Incorrect status");
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/torture/torture.h:734:3: note: expanded from macro 'torture_assert_ntstatus_ok_goto'
                torture_assert_ntstatus_equal_goto(torture_ctx,expr,NT_STATUS_OK,ret,label,cmt)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../lib/torture/torture.h:302:6: note: expanded from macro 'torture_assert_ntstatus_equal_goto'
        if (!NT_STATUS_EQUAL(__got, __expected)) { \
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../source4/torture/smb2/oplock.c:2730:25: note: uninitialized use occurs here
        smb2_util_close(tree1, h2);
                               ^~
../../source4/torture/smb2/oplock.c:2709:2: note: remove the 'if' if its condition is always false
        torture_assert_ntstatus_ok_goto(tctx, status, ret, done, "Incorrect status");
        ^
../../lib/torture/torture.h:734:3: note: expanded from macro 'torture_assert_ntstatus_ok_goto'
                torture_assert_ntstatus_equal_goto(torture_ctx,expr,NT_STATUS_OK,ret,label,cmt)
                ^
../../lib/torture/torture.h:302:2: note: expanded from macro 'torture_assert_ntstatus_equal_goto'
        if (!NT_STATUS_EQUAL(__got, __expected)) { \
        ^
../../source4/torture/smb2/oplock.c:2652:2: note: variable 'h2' is declared here
        struct smb2_handle h, h1, h2;
        ^
1 error generated.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e1d72b7132763705a84f34d7cba9e3952514f2e">8e1d72b7</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-07-17T07:16:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture: fix compilation in smb2/multichannel

GCC 9.3.0 doesn't like a true array being compared to NULL.

[3628/3972] Compiling source4/torture/smb2/multichannel.c
../../source4/torture/smb2/multichannel.c:1077:7: error: comparison of array 'trees2' equal to a null pointer is always false [-Werror,-Wtautological-pointer-compare]
                if (trees2 == NULL || trees2[i] == NULL) {
                    ^~~~~~    ~~~~
../../source4/torture/smb2/multichannel.c:1284:7: error: comparison of array 'trees2' equal to a null pointer is always false [-Werror,-Wtautological-pointer-compare]
                if (trees2 == NULL || trees2[i] == NULL) {
                    ^~~~~~    ~~~~
../../source4/torture/smb2/multichannel.c:2337:7: error: comparison of array 'trees2' equal to a null pointer is always false [-Werror,-Wtautological-pointer-compare]
                if (trees2 == NULL || trees2[i] == NULL) {
                    ^~~~~~    ~~~~
3 errors generated.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Jul 17 07:16:31 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5a078bc961a71258833cdd2517b1ea1177081fce">5a078bc9</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-07-17T07:17:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: omit unused argument in err_wrong_default_sd

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/65b49259f5a1ae40a8527b43f53cda5be79a1e85">65b49259</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-07-17T07:17:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/ms_forest_updates_markdown: avoid implicit global variable

out_dict would have been shared across all calls, aggregating values as it went.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e15ee51ef58c5adfd5d4b943be03362ddf18ec31">e15ee51e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-07-17T07:17:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/scripting/samba_dnsupdate: remove unreachable code

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/78383dd8fc34356859f5c77c919ce2bd7949b024">78383dd8</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-07-17T07:17:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool ntacl: remove unused imports and variables

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/820b3d82fa8298d3f100c295bd931eef20108d3d">820b3d82</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-07-17T07:17:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/upgradehelpers: remove unused imports and variables

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/98f6ece5ad03a822180796873197383c17c3c6d9">98f6ece5</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-07-17T07:17:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/join: use the provided krbtgt link in cleanup_old_accounts

Before we were putting it in an otherwise unused variable, and
deleting the previous krbtgt_dn, if any.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/914226bf526093ffb795994c3434dff702ee4aca">914226bf</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-07-17T07:17:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: wrap 'import dckeytab' in an explanatory function

The samba.dckeytab module has magic effects on samba.net, but never
appears to be used. That can be confusing, both to people and to
linters. Here we wrap that confusion up into a well-commented
function, so we never again have to wonder why the unused import is
there.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d05fc858bf7820aaf651fd0855305dc99fbf9136">d05fc858</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-07-17T08:39:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: samba.compat rejects Python 2

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Jul 17 08:39:38 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/71b7140fd0a33e7e8c5bf37c2897cea8224b3f01">71b7140f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-07-17T13:07:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Fix documentation for require_membership_of of pam_winbind.conf

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Jul 17 13:07:44 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd364b01e2defb5f48238db64d3ef7f6d828c517">fd364b01</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-07-17T17:12:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pam_winbind: Fix CID 242274 Time of check time of use

Always issue the mkdir call to avoid the TOCTOU issue. Only if there is
already an object with the requested name, check whether it is a
directory.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0b1bec434d1017216f4dd281db3fa3504b1039e4">0b1bec43</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-07-17T17:12:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_vfs_posixacl: Add unit test for Linux POSIX ACL mapping

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/63b9b2a103a6762e18d0bf0f820f42bd85a8bdcc">63b9b2a1</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-07-17T18:33:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_posixacl: Remove unnecessary call to acl_set_permset

After the initial acl_get_permset, the permset is alreadying pointing to
the ACL entry and all changes are done on the ACL entry. There is no
need to overwrite the permissions in the ACL entry again with the same
value in the acl_set_permset call.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Fri Jul 17 18:33:41 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4523a0b47d56423216a052df765e39a2389e80e2">4523a0b4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-07-18T05:58:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: ensure we do a base open for internal stream deletes

Otherwise we're not opening the basefile so fsp->base_fsp remains NULL for fsp
handles on streams. As there are some places that use the check (fsp->base_fsp
!= NULL) to check for stream handles, eg streams_xattr_fstat(), we must ensure
it is set otherwise we open a pretty big window for undefined behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/916ebade769a55eb6d87bf9078533e41d3497683">916ebade</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-07-18T05:58:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove unused NTCREATEX_OPTIONS_PRIVATE_STREAM_DELETE

The previous commit removed the only consumer of the flags.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6ab75d2c629969f1b654c7228eb7fb050eeb615d">6ab75d2c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-07-18T05:58:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use a helper variable in open_file()

No change in behaviour, this just prepares for changes to come.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a929644b28c6dc71594c1000cfaeeb0fde094184">a929644b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-07-18T05:58:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: check for conn->cwd_fsp in file_free()

This avoids doing the check in all callers.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/afdeba88194bc1b2ae66dd5e598211801698c189">afdeba88</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-07-18T05:58:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: check for conn->cwd_fsp in fd_close()

This avoids doing the check in all callers.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6e40dbf9bd5a35bfe98fbe7e570d6742722dc57">b6e40dbf</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-07-18T05:58:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use (global) POSIX pathname state in non_widelink_open()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1508d661cbd84bbe7d72b764c529a6214da03bdd">1508d661</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-07-18T05:58:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove a nested block in non_widelink_open()

No change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/92d8b5f5ed3910546183b5663e31d6b6c44ad6cc">92d8b5f5</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-07-18T05:58:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove errno saving from fd_open()

This is not needed anymore since 97d061237b0f2e07ae9c8e893734e222e58cfa4e..

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8c2c749157aac80317e9de34cf99e779c0af87fe">8c2c7491</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-07-18T05:58:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use helper variable for fd in fd_open()

No change in behaviour. Fwiw, no need to set fsp->fh->fd to -1 in the error case,
as that is initialized to -1 in fsp_new().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/567f7987e39ffc73ef30e5ef0da0ffdc990b3907">567f7987</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-07-18T05:58:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib: fsp_str_dbg() doesn't show a possible stream name

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9c187e2900915b106af15da0dd7a2189877f0acb">9c187e29</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-07-18T05:58:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: don't mess with smb_dname->base_name in call_trans2findfirst()

Create a fresh name instead. Needed to proper support for path-ref fsps in the
future.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/09cfac6565c42d97d9d8cde6a3bf255c41158c4f">09cfac65</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-07-18T05:58:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: factor out fsp_bind_smb()

Needed for path-ref fsps in the future.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f31108cd7dc043b7094041363275f92b4390e0fc">f31108cd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-07-18T05:58:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: consolidate fsp allocation for open_directory() and open_file_ntcreate()

...at one place in the caller create_file_unixpath().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da1103dbdc9d9901ff1e95d6a0d81db53c6ebcec">da1103db</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-07-18T07:21:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: build smb_fname per file to delete in unlink_internals()

Make sure to pass fresh smb_fname's to do_unlink(). Needed for path-ref fsps in
the future.

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Jul 18 07:21:11 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/91c36c16c8516359380a00ee3d2229422b048d9f">91c36c16</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-build: Don't build/install tests in top-level build by default

The standalone build still includes tests, as does the top-level build
when --enable-selftest is used.  The latter is consistent with the use
of --enable-selftest in the rest of the tree.

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9694ba6fe4d073c653f49080127ee9efa21a8e9e">9694ba6f</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Enable SOCKET_WRAPPER_DIR_ALLOW_ORIG

This will allow local daemons to be used in more contexts, especially
in tests run by Jenkins where the directory names for some targets can
be very long.

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c78de201f84f9fae9916af9592d42cbc71f805c5">c78de201</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Show hung script debugging output

The output in a test failure appears to contain no pstree output
because "00\.test\.script,.*" does not match.  However, this is just a
guess because the output is not shown.

Showing the output makes it easier to understand test failures.

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/847aa0e367c721944650aa34d67f8073461ae272">847aa0e3</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Redirect stderr too when checking for shellcheck

Avoid:

  .../UNIT/shellcheck/scripts/local.sh: line 14: type: shellcheck: not found

The "type" command in dash prints the "not found" message to stdout
but the bash version prints to stderr, so redirect stderr too.

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a55dd6f17b6d65db77bcd4f5a011e9aef64729e5">a55dd6f1</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Drop unreachable line

ctdb_test_skip() will exit.

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/65f56505e29c01d5891e5bc1050b6c37b8cbdee7">65f56505</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Update preamble for INTEGRATION tests

* Use "#!/usr/bin/env bash" for improved portability

* Drop test_info() definition and replace it with a comment

  The use of test_info() is pointless.

* Drop call to cluster_is_healthy()

  This is a holdover from when the previous test would restart daemons
  to get things ready for a test.  There was also a bug where going
  into recovery during the restart would sometimes cause the cluster
  to become unhealthy.  If we really need something like this then we
  can add it to ctdb_test_init().

* Make order of preamble consistent

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9a7cabd342d0aed450ed3305931702a7351f814a">9a7cabd3</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Use "#!/usr/bin/env bash" for improved portability

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f04b8a70be3b8e157a4a88e9e54e87fa380022e">0f04b8a7</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Make integration.bash pass shellcheck

Apart from the non-constant sourcing of include files.

Mostly avoidance of quoting warnings.

One subtle change is to simply pass "120" to wait_until_ready() to
stop warnings that it expects arguments but none are passed (both
SC2119 and SC2120).  There seems no way to indicate to structure
function argument handling so that shellcheck realises arguments are
optional.  In later shellcheck versions, disabling SC2120 for a
function also silences complaints about its callers... but not all of
our testing uses "later" shellcheck versions.

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/30293baae5f22628405d327fc0b6bae993e96cd8">30293baa</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Make unit.sh pass shellcheck

Mostly avoidance of quoting warnings.

Silencing warnings about unquoted $CTDB_TEST_CAT_RESULTS_OPTS is
handled by passing '-' to cat when that variable's value is empty.

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/44e05ac8515be3220a334ae8001db83b06bec59f">44e05ac8</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Do not trigger ctdb_test_error() from ctdb_init()

The only caller calls ctdb_test_error() on failure and nesting this
calls can be confusing.  A future change will make this even more
confusing.

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e9df17b500146e62539feac66d0cd4b3ef7aa47a">e9df17b5</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Separate custom cluster startup from test initialisation

Separate cluster startup from test initialisation for tests that start
the cluster with customised configuration.  In these cases the result
of the cluster startup is actually the point of the test.
Additionally, pubips.013.failover_noop.sh claims to have completed
test initialisation twice, which just seems wrong.

The result is:

* ctdb_test_init() takes one option (-n) to indicate when it should
  not configure/start the cluster

* New function ctdb_nodes_start_custom() accepts options for special
  cluster configuration, only operates on local daemons and triggers a
  test failure rather than a test error on failure.

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/58f9f699f181ac217cda8de512b8385da173f884">58f9f699</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Don't bother shutting down daemons in ctdb_init()

They'll never be up here...

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa5b214eaa88414c87410fd068fe7624e9790185">aa5b214e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Drop uses of "onnode any ..." in testcases

It would be nice to get rid of "onnode any".  There's no use making
tests nondeterministic.  If covering different cases matters then they
should be explicitly handled.

In most places "any" is replaced by "$test_node".  In some cases,
where $test_node is not set, a fixed node that is already used
elsewhere can be reused.

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1079d6e3ae5805ef65a3628edf0a3ac2cd7fac1c">1079d6e3</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Improve test portability

"wc -l" on some platforms (e.g. FreeBSD) contains leading spaces and
stops "$num from being a number.  Create a more portable solution and
put it in a function instead of repeating the logic.

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea1cbff624383fb9d5b83b863fa6bd00a8fb77fa">ea1cbff6</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Improve test quality

Select test node with IPs instead of using a fixed node.  Remove
unnecessary code, use more modern commands, code
improvements (shellcheck).

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f6556916e7f3a731d7d760fa6fd857e7f571541">1f655691</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Improve test portability

"wc -l" on some platforms (e.g. FreeBSD) contains leading spaces, so
strip them.

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a308f2534d3991866efa2c662921ec63b4238888">a308f253</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Improve test quality

Simplify code, use more modern commands, code improvements (shellcheck).

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d2f8cd835da39784f2d99231f9a1067ae56ede7a">d2f8cd83</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T02:42:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Improve test portability/quality

Avoid use of non-portable md5sum by constructing database names using
index.  Improve indentation, use more modern commands, code
improvements (shellcheck).

Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5707781ccf682d95a5a05a7c3e00a43003dbe62e">5707781c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T04:10:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Stop cat command failure from causing test failure

In certain circumstance, which aren't obvious, cat(1) can fail when
attempting to write a lot of data.  This is due to something (probably
write(2)) returning EAGAIN.

Given that the -v option should only really be used for test
debugging, ignore the failure instead of spending time debugging it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14446
Signed-off-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Wed Jul 22 04:10:47 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5948a57920c5c439802150b2b894b3d27a68d671">5948a579</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Stop cat command failure from causing test failure"

Fix missing Reviewed-by: tag.

This reverts commit 5707781ccf682d95a5a05a7c3e00a43003dbe62e.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d035b69b53560083ca7ede2410c2c24e6fe21156">d035b69b</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Improve test portability/quality"

Fix missing Reviewed-by: tag.

This reverts commit d2f8cd835da39784f2d99231f9a1067ae56ede7a.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/979a6c8c5fe3891f8003de60e7d345029f905368">979a6c8c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Improve test quality"

Fix missing Reviewed-by: tag.

This reverts commit a308f2534d3991866efa2c662921ec63b4238888.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cf3b1fb39003e30c0c5e66d272da09022273238f">cf3b1fb3</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Improve test portability"

Fix missing Reviewed-by: tag.

This reverts commit 1f6556916e7f3a731d7d760fa6fd857e7f571541.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c83ece42e5b2e12e9a1305476d89522742201ba9">c83ece42</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Improve test quality"

Fix missing Reviewed-by: tag.

This reverts commit ea1cbff624383fb9d5b83b863fa6bd00a8fb77fa.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/635d5cfa31a8e890f4ae43b465b26a416d96d2bc">635d5cfa</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Improve test portability"

Fix missing Reviewed-by: tag.

This reverts commit 1079d6e3ae5805ef65a3628edf0a3ac2cd7fac1c.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c9dfdeaddc95bb278a23e43476e1af2a19cd783d">c9dfdead</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Drop uses of "onnode any ..." in testcases"

Fix missing Reviewed-by: tag.

This reverts commit aa5b214eaa88414c87410fd068fe7624e9790185.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/941a2d0a3b714085b58b1501cc18fd466db961b6">941a2d0a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Don't bother shutting down daemons in ctdb_init()"

Fix missing Reviewed-by: tag.

This reverts commit 58f9f699f181ac217cda8de512b8385da173f884.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e11526ad5420f2d062a2703244db6151fac2eab2">e11526ad</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Separate custom cluster startup from test initialisation"

Fix missing Reviewed-by: tag.

This reverts commit e9df17b500146e62539feac66d0cd4b3ef7aa47a.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da654f97951317391154d715c15e064490c1d1c9">da654f97</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Do not trigger ctdb_test_error() from ctdb_init()"

Fix missing Reviewed-by: tag.

This reverts commit 44e05ac8515be3220a334ae8001db83b06bec59f.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/548f2021df65250480fe3f0724a91c0dd1a3fada">548f2021</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Make unit.sh pass shellcheck"

Fix missing Reviewed-by: tag.

This reverts commit 30293baae5f22628405d327fc0b6bae993e96cd8.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/60d999ad94155da080982c18ab51af187c7d85f2">60d999ad</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Make integration.bash pass shellcheck"

Fix missing Reviewed-by: tag.

This reverts commit 0f04b8a70be3b8e157a4a88e9e54e87fa380022e.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/271ad95e2359b1c4fc6d73c0c8e941bafb85c97c">271ad95e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Use "#!/usr/bin/env bash" for improved portability"

Fix missing Reviewed-by: tag.

This reverts commit 9a7cabd342d0aed450ed3305931702a7351f814a.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4438e44f880249164bb33d783f9a773f44ba1a99">4438e44f</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Update preamble for INTEGRATION tests"

Fix missing Reviewed-by: tag.

This reverts commit 65f56505e29c01d5891e5bc1050b6c37b8cbdee7.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a694c07126e0dacb3bd30502e83264ffef98e0c0">a694c071</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Drop unreachable line"

Fix missing Reviewed-by: tag.

This reverts commit a55dd6f17b6d65db77bcd4f5a011e9aef64729e5.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e4b1cdc7090212c8b2f37b9ba8303439348e00b8">e4b1cdc7</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Redirect stderr too when checking for shellcheck"

Fix missing Reviewed-by: tag.

This reverts commit 847aa0e367c721944650aa34d67f8073461ae272.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6a3372e8958bf268c1a229076c3b5273e03fb655">6a3372e8</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Show hung script debugging output"

Fix missing Reviewed-by: tag.

This reverts commit c78de201f84f9fae9916af9592d42cbc71f805c5.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bdd89d52761ea4c1ad22d5ca1252f84544ee2622">bdd89d52</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T05:07:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-tests: Enable SOCKET_WRAPPER_DIR_ALLOW_ORIG"

Fix missing Reviewed-by: tag.

This reverts commit 9694ba6fe4d073c653f49080127ee9efa21a8e9e.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6436c74ebf6adcbf21abf76567c7b87e61abfaf0">6436c74e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T06:29:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-build: Don't build/install tests in top-level build by default"

Fix missing Reviewed-by: tag.

This reverts commit 91c36c16c8516359380a00ee3d2229422b048d9f.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Wed Jul 22 06:29:43 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3ff8765d04c0fb950b7be4f9a049999aeb08223b">3ff8765d</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Stop cat command failure from causing test failure

In certain circumstance, which aren't obvious, cat(1) can fail when
attempting to write a lot of data.  This is due to something (probably
write(2)) returning EAGAIN.

Given that the -v option should only really be used for test
debugging, ignore the failure instead of spending time debugging it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14446
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/066c205e5fb0e28bb5cab61a583889bb85607fb9">066c205e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-build: Don't build/install tests in top-level build by default

The standalone build still includes tests, as does the top-level build
when --enable-selftest is used.  The latter is consistent with the use
of --enable-selftest in the rest of the tree.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/70c38d404b480c0b63621bd1faf002485faac531">70c38d40</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Enable SOCKET_WRAPPER_DIR_ALLOW_ORIG

This will allow local daemons to be used in more contexts, especially
in tests run by Jenkins where the directory names for some targets can
be very long.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1565446508fcf2bdd1ae9c39cc3822417cd91dc8">15654465</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Show hung script debugging output

The output in a test failure appears to contain no pstree output
because "00\.test\.script,.*" does not match.  However, this is just a
guess because the output is not shown.

Showing the output makes it easier to understand test failures.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/29a3fce28f380e3b5c2e44a697fbf35be2a139da">29a3fce2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Redirect stderr too when checking for shellcheck

Avoid:

  .../UNIT/shellcheck/scripts/local.sh: line 14: type: shellcheck: not found

The "type" command in dash prints the "not found" message to stdout
but the bash version prints to stderr, so redirect stderr too.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f201dd67a019d4d64011b894ebf542b109afef4">0f201dd6</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Drop unreachable line

ctdb_test_skip() will exit.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8b24cae630306870de9c9c7bdfac8da3fef489fd">8b24cae6</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Update preamble for INTEGRATION tests

* Use "#!/usr/bin/env bash" for improved portability

* Drop test_info() definition and replace it with a comment

  The use of test_info() is pointless.

* Drop call to cluster_is_healthy()

  This is a holdover from when the previous test would restart daemons
  to get things ready for a test.  There was also a bug where going
  into recovery during the restart would sometimes cause the cluster
  to become unhealthy.  If we really need something like this then we
  can add it to ctdb_test_init().

* Make order of preamble consistent

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6673528050cd66b215cd6153df9015fca1396f2">d6673528</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Use "#!/usr/bin/env bash" for improved portability

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be3065ea958b27ec297078008c2ce33b4a419820">be3065ea</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Make integration.bash pass shellcheck

Apart from the non-constant sourcing of include files.

Mostly avoidance of quoting warnings.

One subtle change is to simply pass "120" to wait_until_ready() to
stop warnings that it expects arguments but none are passed (both
SC2119 and SC2120).  There seems no way to indicate to structure
function argument handling so that shellcheck realises arguments are
optional.  In later shellcheck versions, disabling SC2120 for a
function also silences complaints about its callers... but not all of
our testing uses "later" shellcheck versions.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a369bedf8c5eee75748cdbd6a1a900ca9ac4da9e">a369bedf</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Make unit.sh pass shellcheck

Mostly avoidance of quoting warnings.

Silencing warnings about unquoted $CTDB_TEST_CAT_RESULTS_OPTS is
handled by passing '-' to cat when that variable's value is empty.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a766136df459df33becd05726253b83d32993a94">a766136d</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Do not trigger ctdb_test_error() from ctdb_init()

The only caller calls ctdb_test_error() on failure and nesting this
calls can be confusing.  A future change will make this even more
confusing.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/37c26a9590b2d6712b38cf249538b512c6f6b546">37c26a95</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Separate custom cluster startup from test initialisation

Separate cluster startup from test initialisation for tests that start
the cluster with customised configuration.  In these cases the result
of the cluster startup is actually the point of the test.
Additionally, pubips.013.failover_noop.sh claims to have completed
test initialisation twice, which just seems wrong.

The result is:

* ctdb_test_init() takes one option (-n) to indicate when it should
  not configure/start the cluster

* New function ctdb_nodes_start_custom() accepts options for special
  cluster configuration, only operates on local daemons and triggers a
  test failure rather than a test error on failure.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce3de3989470d186ce73e6e74aa7f16111e2a6fa">ce3de398</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Don't bother shutting down daemons in ctdb_init()

They'll never be up here...

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/41ff58338a0b36dfccc19579c8edfa5939cd5978">41ff5833</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Drop uses of "onnode any ..." in testcases

It would be nice to get rid of "onnode any".  There's no use making
tests nondeterministic.  If covering different cases matters then they
should be explicitly handled.

In most places "any" is replaced by "$test_node".  In some cases,
where $test_node is not set, a fixed node that is already used
elsewhere can be reused.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/760c3039b0752204090b493132ad32bad4140064">760c3039</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Improve test portability

"wc -l" on some platforms (e.g. FreeBSD) contains leading spaces and
stops "$num from being a number.  Create a more portable solution and
put it in a function instead of repeating the logic.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/244eaad76a83f13399c3fffbde4783ecb1bc9f85">244eaad7</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Improve test quality

Select test node with IPs instead of using a fixed node.  Remove
unnecessary code, use more modern commands, code
improvements (shellcheck).

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6c81ea287924c2924aebc6dc0cdea1dc4322ae2">c6c81ea2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Improve test portability

"wc -l" on some platforms (e.g. FreeBSD) contains leading spaces, so
strip them.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f4c2c77ff726dd7d28a7d8c3cd815c802a8a6cfa">f4c2c77f</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T07:53:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Improve test quality

Simplify code, use more modern commands, code improvements (shellcheck).

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/484a764e832bcfcaf15a1c6f157643bd0e0df5d1">484a764e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-22T09:14:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Improve test portability/quality

Avoid use of non-portable md5sum by constructing database names using
index.  Improve indentation, use more modern commands, code
improvements (shellcheck).

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Wed Jul 22 09:14:35 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6982fcb3e6c940d0047aac3b6bfbc9dfdc8d7214">6982fcb3</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-24T04:41:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Drop unused nodemap argument from update_flags_on_all_nodes()

An unused argument needlessly extends the length of function calls.  A
subsequent change will allow rec->nodemap to be used if necessary.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb3a3147b7a3a29d7806733791e1fa6ba2e46680">cb3a3147</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-24T04:41:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Change update_flags_on_all_nodes() to take rec argument

This makes fields such as recmaster and nodemap easily available if
required.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f681c0e947741151f8fb95d88edddfd732166dc1">f681c0e9</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-24T04:41:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Introduce some local variables to improve readability

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/915d24ac12d27c21649d9e64d201d9df9d583129">915d24ac</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-24T04:41:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Use update_flags_on_all_nodes()

This is clearer than using the MODFLAGS control directly.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b1e631ff929fd87392a80895d1c8d265d9df42dc">b1e631ff</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-24T04:41:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Improve a call to update_flags_on_all_nodes()

This should take a PNN, not an array index.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a88c10c5a9afcf0a3dcadef07dd95af498bfa47a">a88c10c5</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-24T04:41:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Move ctdb_ctrl_modflags() to ctdb_recoverd.c

This file is the only user of this function.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0c6a7db3ba84b8355359b0a8c52690b234bb866d">0c6a7db3</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-24T04:41:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Flatten update_flags_on_all_nodes()

The logic currently in ctdb_ctrl_modflags() will be optimised so that
it no longer matches the pattern for a control function.  So, remove
this function and squash its functionality into the only caller.

Although there are some superficial changes, the behaviour is
unchanged.

Flattening the 2 functions produces some seriously weird logic for
setting the new flags, to the point where using ctdb_ctrl_modflags()
for this purpose now looks very strange.  The weirdness will be
cleaned up in a subsequent commit.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9475ab044161e687b9ced3a477746393565b49b1">9475ab04</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-24T04:41:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Do not retrieve nodemap from recovery master

It is already in rec->nodemap.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3654e416770cc7521dcc3c15976daeba37023304">3654e416</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-24T04:41:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Correctly find nodemap entry for pnn

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ce6133a75107abdcb9fcfd93bc7594812dc5055">5ce6133a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-24T06:03:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Simplify calculation of new flags

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Jul 24 06:03:23 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/16b848553da47f0716d74c13bbbfba50ef5d2cd1">16b84855</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-24T08:37:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Change NAT gateway to use leader/follower

Instead of master/slave.

Nearly all of these are simple textual substitutions, which preserve
the case of the original.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f37b3cf2a64e066d4f261d453233dc9a0988aed7">f37b3cf2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-24T08:37:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Change LVS to use leader/follower

Instead of master/slave.

Nearly all of these are simple textual substitutions, which preserve
the case of the original.    A couple of minor cleanups were made in the
documentation (such as "LVSMASTER" -> "LVS leader").

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/db4b52b73e80d0408a6e064ca6623eba0648c8de">db4b52b7</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-24T09:58:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Document CTDB NAT gateway and LVS changes

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Jul 24 09:58:53 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bbcab57955d874cd9ef09c33e207d90693dce4d5">bbcab579</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-26T13:01:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Fix description of CTDB NAT gateway and LVS changes

Oops!  Using parentheses makes it harder to get this wrong.

Reported-by: Volker Lendecke <vl@samba.org>
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Sun Jul 26 13:01:09 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/334dd8cedda6a341e3b89c9adc8102ea5480e452">334dd8ce</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-27T05:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Use nfsconf as a last resort to set NFS_HOSTNAME

If nfsconf exists then use it as last resort to attempt to extract
[statd]:name from /etc/nfs.conf.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14444
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/642dc6ded6426ba2fbf3ac1e5cd71aae11ca245b">642dc6de</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-07-27T07:06:57+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Use nfsconf as a last resort get nfsd thread count

If nfsconf exists then use it as last resort to attempt to extract
[nfsd]:threads from /etc/nfs.conf.

Invocation of nfsconf requires "|| true" because this script uses "set
-e".  Add a stub that always fails to at least test this much.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14444
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Mon Jul 27 07:06:58 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6e496aa3635557b59792e469f7c7f8eccd822322">6e496aa3</a></strong>
<div>
<span>by Khem Raj</span>
<i>at 2020-07-28T10:52:00+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch/nsstest.c: Avoid nss function conflicts with glibc nss.h

glibc 2.32 will define these varibles [1] which results in conflicts
with these static function names, therefore prefix these function names
with samba_ to avoid it

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=499a92df8b9fc64a054cf3b7f728f8967fc1da7d

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Tue Jul 28 10:52:00 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/07399831794e28c7c2cf0140d0f1d1b5538b5f60">07399831</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-07-28T12:40:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add a test with old msDS-SupportedEncryptionTypes

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

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4baa7cc8e473f6b63316b4ae5db34796c0f864c3">4baa7cc8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-07-28T14:04:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc:db-glue: ignore KRB5_PROG_ETYPE_NOSUPP also for Primary:Kerberos

Currently we only ignore KRB5_PROG_ETYPE_NOSUPP for
Primary:Kerberos-Newer-Keys, but not for Primary:Kerberos.

If a service account has msDS-SupportedEncryptionTypes: 31
and DES keys stored in Primary:Kerberos, we'll pass the
DES key to smb_krb5_keyblock_init_contents(), but may get
KRB5_PROG_ETYPE_NOSUPP.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Jul 28 14:04:26 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/05228c4e07013c0e6f78f1330b3b787271282ca8">05228c4e</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-07-29T03:19:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: Allow a dangling forward link outside our known NCs

If we do not have the NC of the target object we can not be really sure
that the object is redundent and so we want to keep it for now
and not (as happened until now) break the dbcheck run made during the
replication stage of a "samba-tool domain backup rename".

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2aace18f170644da9c293342a6df5e5b2ae8da25">2aace18f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-07-29T04:43:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_controls: control_to_string avoids crash

Otherwise a malformed control with unexpected NULL data will segfault
ldb_control_to_string(), though this is not very likely to affect
anyone in practice as converting controls to strings is rarely
necessary. If it happens at all in Samba it is in Python code.

Found by Honggfuzz using fuzz_ldb_parse_control.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Wed Jul 29 04:43:23 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/698d20d39d4eb1a46c8998d0f9be2719890bf803">698d20d3</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-07-29T13:44:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove get_current_vuid()

The last user was removed by 3d09993725412bb0e856cc2ebf6ac68f8e762730.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Jul 29 13:44:47 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/326bc84c0d0f83b4429e78b6c974204116233330">326bc84c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-03T02:51:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">oss-fuzz: use uninstrumented dynamic python

We can't link to the instrumented statically built Python, so instead
we use the system Python in the docker image.

REF: https://github.com/google/oss-fuzz/issues/4223
REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22618
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14451

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9bf331b46a70189f2f63a5223a31eae64a9854db">9bf331b4</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-03T02:51:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ndr: maintain proper talloc tree in pull_string_array

We don't want to leave other parts of the ndr struct hanging off this
string array just because LIBNDR_FLAG_REMAINING is used.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9148f38c203c3481a43ef6d39ea9313dfa1c1bea">9148f38c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-03T02:51:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ndr: avoid excessive reallocing in pull_string_array

Before, talloc_realloc() was being called n times for an array of
length n. This could be very expensive on long string arrays since it
is reasonable to assume each realloc moves O(n) bytes.

This addresses at least one OSS-Fuzz bug, making a timing out test case
100 times faster. Credit to OSS-Fuzz.

REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19706

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/14210c248a9dd313671dcddf443096c17deb052a">14210c24</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-03T02:51:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python tests: drop python 2.6 compatibility functions

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/06f87f14b37e08e6f78892b2f768282a742359df">06f87f14</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-03T04:13:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">README.Coding: target Python 3.6+

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Aug  3 04:13:37 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/611e643d14659be8a63e9ca51d5d05659c4b8b6c">611e643d</a></strong>
<div>
<span>by Samuel Thibault</span>
<i>at 2020-08-03T09:39:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap_server: fix hurd build

There is no hardcoded IOV_MAX iov limitation on GNU/Hurd. We however do
not want unbound allocation, so define it to a reasonable amount.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Aug  3 09:39:02 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/23274717563b19684c52f8a909f528f608dafd7c">23274717</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-08-03T22:21:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: relicense smb_strtoul(l) under LGPLv3

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Aug  3 22:21:04 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12c526f151372fc9a8eac845e0ad92e6e598bd53">12c526f1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T06:30:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: scripts: Selfttest. samba3.blackbox.smbclient_iconv.*

Fix missing 'include' in temporary client smb.conf file.

The current temporary generated smb.conf file for the client, "client_cp850_smbconf"
doesn't include the normal client smb.conf file "client.conf".

This means it's missing the:

interfaces = XXXX,YYYY

line we needed to find the server via socketwrapper. Currently this test is finding the server by accident :-).

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Aug  4 06:30:25 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a4c85116e5cca8b129116315d8efe02a870a7296">a4c85116</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - ensure we don't try and continue resolving names on failure of convert_ss2service().

Logic change, but correct error cleanup - jump to new 'fail:' label.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bfe1b6eee9456d42f597affa901261d01a60e1e6">bfe1b6ee</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - change to early continue in internal_resolve_name() for resolve_hosts().

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e74b323a4e4f5d9ebaf995a7a1a75baf2c33cbda">e74b323a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - change to early continue in internal_resolve_name() for KDC resolve_ads().

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/139d7a73c0e1975225231daf9b15d73d2b3af766">139d7a73</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - change to early continue in internal_resolve_name() for resolve_ads().

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/114fe82343632f13315f544c88fbd55e0235f96a">114fe823</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - change to early continue in internal_resolve_name() for resolve_lmhosts_file_as_sockaddr().

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/02f72478e28dfab98ad1a77b0457b269978099f5">02f72478</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - change to early continue in internal_resolve_name() for 0x1D name in resolve_wins().

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ba656a79504fa71f20d82b2e82ecd7492781a26e">ba656a79</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - change to early continue in internal_resolve_name() for resolve_wins().

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/75469fcfbffdcf2bef83f5814f562de1fed86a48">75469fcf</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - change to early continue in internal_resolve_name() for name_resolve_bcast().

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d4e430635ec7bfb79dce93bded562dc8c5e17b5f">d4e43063</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - use helper 'ok' bool for resolve_hosts().

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e20de549fdec479b31c46f5ffe38e60b50be052">8e20de54</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - use helper 'ok' bool for resolve_lmhosts_file_as_sockaddr().

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d48d60595ac19a4e0bb77ac5e204ec943f2d9d51">d48d6059</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - use helper 'ok' bool for resolve_wins().

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4abcb3001eb3f1a81a3e4b4ac9f999b9d1d7346a">4abcb300</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - use helper 'ok' bool for name_resolve_bcast().

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1499fd8a2e5eee8d515000e4059063215db10e3c">1499fd8a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - use helper 'ok' bool for internal_resolve_name().

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/14433e2afad805a0481ca72c7108232d030919f2">14433e2a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - split allocation and NULL check in internal_resolve_name().

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e07fa9534942869e6f7269a81b85628db480718f">e07fa953</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - modernize DEBUG -> DBG_ in internal_resolve_name()

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2ad488991966ce439830e44ea8012835e14a0630">2ad48899</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - Remove incorrect comment in resolve_ads(). The DNS code copes fine with IPv6 addresses.

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd165b2c96fa91c6bae82ea864e28625b96db7b6">dd165b2c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - reformatting resolve_hosts() parameters inside internal_resolve_name().

No logic changes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cd3cc111a426f03f22754dd254423b0ab21fb493">cd3cc111</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - reformatting resolve_ads() parameters inside internal_resolve_name().

No logic changes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d42ba0b1b68c6566b5ecfb5a01a1a53e922c1246">d42ba0b1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - reformatting 2nd use of resolve_ads() parameters inside internal_resolve_name().

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8db4b0909c8fbf99b33bf8a255880ba79f425f2">e8db4b09</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - reformatting resolve_lmhosts_file_as_sockaddr() parameters inside internal_resolve_name().

No logic changes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1cb67bd31cc1f1effd75ac8c63973985f92ce52a">1cb67bd3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - reformatting resolve_wins() parameters inside internal_resolve_name().

No logic changes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/53474b57e15e205711de447a246f023c750f8983">53474b57</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - reformatting name_resolve_bcast() parameters inside internal_resolve_name().

No logic changes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f12cee236115ed0dc10c02a874ee3aab04781fdd">f12cee23</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - put talloc parameter first in resolve_hosts().

No logic changes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7ad92b3702061a004b82cde88572847f77c2158f">7ad92b37</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/s4: Cleanup. Move TALLOC_CTX * parameter to be first in resolve_lmhosts_file_as_sockaddr() to match modern conventions.

No logic changes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cef158a75c4446e9a087a5f170ba3f91fdc58a1d">cef158a7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - put talloc parameter first in resolve_wins().

No logic changes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eaea3c0a62ba6fa942d22fb7506e201de9076977">eaea3c0a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - put talloc parameter first in name_resolve_bcast()..

No logic changes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2297c883b52ddda7d8a6a143f632ffbef7fe1a10">2297c883</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - ensure ss_list variables are initialized with NULL..

No logic changes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/97781fe0aeb8d5e000954d23543c450322962ab6">97781fe0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Pass in TALLOC_CTX * parameter to resolve_ads() instead of creating one internally.

Pass in talloc_tos() to make it match the other resolve_XXX() functions.

No memory leaks as this is used for transient data and is cleaned up
when the calling frame in internal_resolve_name() is destroyed.

Preparing to have it return a talloc'ed struct sockaddr_storage array
rather than a malloc'ed struct ip_service array.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d0fa32bdcda523df628a7ab96e6598d5f8ea41d4">d0fa32bd</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add in (currently unused) function dns_lookup_list().

This function takes a list of names returned from a DNS SRV
query which didn't have returned IP addresses and returns an
array of struct sockaddr_storage.

Currently synchronous, but this is the function that will
be changed to be asynchronous later.

Compiles but commented out for now so we don't get "unused
function" warnings.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d53ade5beb5d793066c3b57b715da2e8692ecb9f">d53ade5b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Rewrite resolve_ads() to use the previously added dns_lookup_list() function.

Clean up internals - a LOT.

This one needs careful review. Ditch the (unused) port returns from
the SRV replies.

Internally uses talloc'ed arrays of struct sockaddr_storage
which it then convert to MALLOC'ed struct ip_service.

Still returns struct ip_service but this will be
fixed in the next commit.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ecaa424448245057018c51d71035475de1f2eeb0">ecaa4244</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Change resolve_ads() to return a talloc'ed ss_list, matching the other name resolution methods.

Now we can move all the convert_ss2service() calls to one place.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/03112db121367ddbbeee38a1fd2f97159d9d3d38">03112db1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T08:51:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Now all resolution functions return a ss_list on success, we only need one local variable for this.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/860510b196a99cfe491996164264f1a9da44dda0">860510b1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-04T10:13:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Move all calls to convert_ss2service() to one place now all methods return a sockaddr_storage.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>

Autobuild-User(master): Isaac Boukris <iboukris@samba.org>
Autobuild-Date(master): Tue Aug  4 10:13:53 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/182cde4f9ebe3a78de0c83f7cdb4844219910a2b">182cde4f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-08-05T10:17:06+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: fix smb_strtox.[c|h] license header

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Aug  5 10:17:06 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ae56a07ae703ce7315edc27f600f184ff584903c">ae56a07a</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test gpo hourly scripts apply

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/42f043ab5154e4c53a6b940c764ccade688ff439">42f043ab</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy Hourly Scripts

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/63703c9a07d22b6ab881afc6824b5cf4016375ec">63703c9a</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test gpo monthly scripts apply

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1810e4f10c9aa729bb281c04574426d31b14c4c2">1810e4f1</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy Monthly Scripts

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7e5c842cba08911c7b555bd9b37865e38c64c868">7e5c842c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test gpo weekly scripts apply

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b30a604f7353ddc6c3218f1547d56fbc1386a9cf">b30a604f</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy Weekly Scripts

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cd4efb95da2f4fc7644c5345e9a607ca9ff98927">cd4efb95</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Move all scripts to a sub-category in samba.admx

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/edf4b6eb1229bb0c8fdd46edc147376a96fc0a40">edf4b6eb</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Scripts extension use 'gp_' prefix, not 'tmp'

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e387aa937e576116d5487d18a829066ee75eb0b7">e387aa93</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Scripts gpo add warning about generated scripts

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9679ba9577c70756e4bcaf17351fca4dbb1c8f31">9679ba95</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Group Policy Sudo Rights

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/88b6266168ace52f66ded9cedaea1a02eea6e441">88b62661</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy Sudo Rights

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/70a38eb5485bf82bf068aa3fbcb3cf799ff9ddff">70a38eb5</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test proper decoding of utf-16 inf files

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f3066abbb1b65e9cde8df9499483bf0768c273e">0f3066ab</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Properly decode utf-8/16 inf files from bytes

This code was python 2 specific (string handling
has changed dramatically in python 3), and didn't
correctly decode utf-16 in python3. We should
instead read the file as bytes, then attempt a
utf-8 decode (the default), and try utf-16 if
encountering a decode failure.
The existing code actually throws an exception on
the initial file read when the data is utf-16,
since it tries to decode the bytes to a utf-8
string.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f5202c7b551e38946837d8039b12e969d19bdf91">f5202c7b</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Add --rsop option to samba-gpupdate

This command prints the Resultant Set of Policy
for applicable GPOs, for either the Computer or
User policy (depending on the target specified).
Policy specific output must be implemented for
each client side extension.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5361f25800620819187f0294d5baf98131f303e8">5361f258</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test samba-gpupdate --rsop

Test that the rsop command produces the expected
output.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f631030410c8dba0567e651346fc92facd0e22d">1f631030</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Add RSOP output for Security Extension

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf74bf1c4ea11074919a5197c7d8975658291cb1">bf74bf1c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Add RSOP output for Scripts Extension

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/89718761288b3a51a5727b5f8b40f0ade3348ff1">89718761</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Extract Kerberos policy from Security extension

Rewrite the extension to be easier to understand,
and to remove references to gp_ext_setter.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/627fb5471b95595ce99e2effed0fe546ad334048">627fb547</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T16:38:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Extract Access policy from Security extension

Rewrite the extension to be easier to understand,
and to remove references to gp_ext_setter.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d512b1a4bd161431a498a6dab64fae49f77dfcf2">d512b1a4</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-06T18:01:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Remove unused gp_ext_setter code

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Thu Aug  6 18:01:49 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/41beb510bee3c7f1ebaba49ee1ceba07f6de78ba">41beb510</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-06T19:00:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/ldap: Fix CID 1465278 Resource leak

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de2a7574e8a0ed1fd41f707788f3e04647022dff">de2a7574</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-06T19:00:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/ldap: Fix CID 1462696 Resource leak

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1b139de552e162ce6a7673b74b7778dfc5a06b51">1b139de5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-06T19:00:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/ldap: Fix CID 1462695 Resource leak

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/04b2db7d885a233276f271116040ee58669dd69e">04b2db7d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-06T20:23:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Fix CID 1465656 Resource leak

This is very likely a false positive, because Coverity does not see
that we only assign "dns_addrs" when NT_STATUS_IS_OK(status), so we
might not want this. But it is a fresh finding and looks cleaner this
way.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Aug  6 20:23:53 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebaa002270caf0efee95ab26757a0a3bf9920de4">ebaa0022</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-08-07T03:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: run SAMBA_GENERATOR('VERSION') with group='setup'

This means this is the first thing that's done.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4e8f3fdf82ab1ed4ecb8edcc284168dc85dadc49">4e8f3fdf</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-08-07T03:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal: Use #ifdef HAVE_DLOPEN around functions used only by HAVE_DLOPEN

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1687813ec2d2609b2f9d65ef2917983d8f255af9">1687813e</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-08-07T03:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal: Use #ifdef HAVE_DLOPEN around function used by HAVE_DLOPEN

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1663ada9751d35f10c92149801c5b209b0361ac1">1663ada9</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-07T03:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal: Exclude more of plugin.c if HAVE_DLOPEN (which Samba unsets) is not set

This allows us to avoid warnings and errors due to unsued variables
and functions.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb721715b9d7423388ce015c08ef425c6b67a49d">cb721715</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-08-07T03:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Make HEIMDAL_WARN_UNUSED_RESULT_ATTRIBUTE available in krb5.h

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8f5a25fa71e975e2730f4f80ef9427859fec008">e8f5a25f</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-08-07T03:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Include keys.c in the hdb autoproto

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8a148193da0ba801f5302a6a2285b39ab6f4d247">8a148193</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-08-07T03:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: provide a prototype with the dummy afs header-only function stubs

We do not do AFS in Samba

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c51c15144e3fbdd3ebed301a077c687e23882e09">c51c1514</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-07T03:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Compile .l files (flex) with the waf rule at runtime

Other parts of Samba already compile these directly.

This makes these files compile with modern compiler warnings.

The primary difference (other than being built with a newer
flex) is the loss of the #include "config.h" but
this is not used in the other .l files elsewehre and does not
seem to matter on modern systems.

The generated output from compile_et asn1_compile has not changed
(so I think the hx509 case is safe).

The mdssvc case just has changed file locations and line numbers.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fb0412360c299900fe0991bf31a232eb40b480ed">fb041236</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-08-07T03:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Do not allow warnings in the heimdal code!

(const excepted)

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Updated to 2020 requirements since changes in
13a2f70a4dd6dd68e0dbd0379d35409c5f100f06

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d4a9e882f676e965477adf3e8db8cef9e3851569">d4a9e882</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-07T03:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "build: fix the coverage build"

This reverts commit 3e072b3fb78f0d3132b1d3ce719b8f3706e8491a.

This is no longer required now that --noline is set globally
and that is a much nicer solution.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b063bbf8fd67a1d48c66b3526b13a0f0f92c4b6a">b063bbf8</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-07T03:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Add missing dependency on heimbase

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9b7066506eab6b7e4123f6e40420f9395a424834">9b706650</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-07T03:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Work around existing CA certificates to get PKINIT tests working

This could be reverted in the future, but for now the certificate validation is not what
we are testing and this allows the heimdal upgrade to work.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/889c461c009e242fd3ce86b08b87192f21852569">889c461c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-07T03:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: Remind us that these values need to match other values

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf16cd72b285662bcb4367cd2bdd6eac7655254f">bf16cd72</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-07T03:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ndr: fix ndr_pull_string_array() off by one alloc

The correct line should have been

       talloc_realloc(ndr->current_mem_ctx, a, const char *, count + 2);

because if the loop does not increment count on exit (it exits via
break), so count is left pointing at the thing that just got put in.
i.e., if there was one item it is at a[0], count is 0, but we also
need the trailing NULL byte at a[1] and the length is 2. Thus + 2, not
+ 1.

This will not affect ordinary (that is, non-malicious) traffic,
because talloc_realloc will not actually realloc unless it is saving a
kilobyte. Since the allocation grows slowly with the exponent ~1.25,
the actual reallocs will start happening at some point between 512 and
1024 items.

In the example we have, there were 666 pointers, and space for 824 was
allocated.

Rather than doing the +2 realloc, it is simpler to leave it off
altogether; in the common case (<512 items) it is a no-op anyway, and
in the best possible case it reduces the temporary array by 20%.

Credit to OSS-Fuzz.

REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24646

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fc83b470513890c30bbb26ebd3a9ab4438b3d4a4">fc83b470</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-07T04:44:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libprc/test: add pull_string_array large array test

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Fri Aug  7 04:44:17 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/47c1b8742308cd31ed4267379242446ff40eb494">47c1b874</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-07T06:34:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: addns: Add code for asynchronously looking up A records.

Returns an array of struct samba_sockaddr.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a1b90237d6082faccf69b13dec8ddc589fa3b588">a1b90237</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-07T06:34:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: addns: Add code for asynchronously looking up AAAA records.

Returns an array of struct samba_sockaddr.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b3671de4ee70dc56c60d7ea8f5a9b2afdf9dc79f">b3671de4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-07T06:34:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: net: Add new 'net ads dns async <name>' command.

Will test the async DNS lookups in the next commit.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/156f1dfc396799018f4a97657b31f1852bff92a8">156f1dfc</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-07T06:34:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: tests: Add new async DNS unit test - samba4.blackbox.net_ads_dns_async(ad_member:local).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8a140391d6d2bba65275bdc7a85a33cc502dbfb7">8a140391</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-07T06:34:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: Parameters. Add 'async dns timeout' parameter. Default to 10. Minimum value 1.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ffcd883ddd4aef9ded18bee65562a8423e2f6c6">5ffcd883</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-07T06:34:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add dns_lookup_list_async() - not yet used.

Take a list of hostnames and does async A and AAAA (if
supported) lookups on them. Interface compatible with
dns_lookup_list() (with the addition of one extra
parameter returning the query name list, for use inside
dsgetdcname() internals later) and we'll replace it in the next
commit. Waits for lp_get_async_dns_timeout() seconds to complete.

Commented out as not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bc307f1e3704a2fbe839bba0ef310877ed2e5ee0">bc307f1e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-07T06:34:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Use dns_lookup_list_async() instead of dns_lookup_list().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f87ce5b08a31b3b2254c33d87faa539676879608">f87ce5b0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-07T06:34:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Remove dns_lookup_list(). No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6411c64d066c117c8631ac2f315583250e58f865">6411c64d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-07T06:34:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Make dns_lookup_list_async() available to other Samba callers.

This allows the async DNS lookups to be re-used inside the dsgetdcname() internals
code as previously described.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d882add695bbd5ea03961c08ac2c0380fbf2947b">d882add6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-07T06:34:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Make discover_dc_dns() use async DNS.

Change to call dns_lookup_list_async(). This is
doing the samba SRV lookup followed by A and AAAA
record host lookup as resolve_ads() does and so
benefits from the same changes to make it async.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b13d4d65a92f988891f7c237e39b6c2d2d0c3f5">3b13d4d6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-07T06:34:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add utility function sockaddr_storage_to_samba_sockaddr().

As requested by Andreas and Metze, ensure new code uses
struct samba_sockaddr. This is part of changing dns_lookup_list_async()
and callers to use struct samba_sockaddr.

Currently putting this into namequery.c even though it's
used inside dsgetdcname.c as I have future patches that
heavily make use of this to convert sockaddr_storage -> samba_sockaddr..

I'm not committed to putting it here, it may fit better
in lib/util/util_net.[ch]. It just needs to be somewhere
other functions inside source/libsmb/*.c can get to it,
and currently namequery.h exports the most stuff.

Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eb5a4738643c5fdef92851f4474d4eeb1e7b106f">eb5a4738</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-07T06:34:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Change dns_lookup_list_async() and associated functions to return a struct samba_sockaddr * array.

This fullfills the promise to Andreas and Metze
of all new code using struct samba_sockaddr.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1b42b79cc8930a02150c561bc507a4da0d32ff95">1b42b79c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-07T06:34:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - Move dsgetdcname.c to using struct samba_sockaddr internally.

Mostly renames of ss -> sa and access union members. No logic changes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6a9c78592814543e69e39f4451c8d0ef7e4dcf6b">6a9c7859</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-07T07:58:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - Remove the last use of a struct sockaddr_storage variable in dsgetdcname.c

Remove from process_dc_netbios().

This is a logic change, but as all the logic did was force a round-trip
through converting an already guaranteed numeric hostname printed by
print_sockaddr() inside discover_dc_netbios() to a struct
sockaddr_storage and then discard the result (!) I think it's harmless.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Aug  7 07:58:14 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/19ef9c40f14f91fcae6874d9f94540dd850e308b">19ef9c40</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-08-08T09:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_client: reverse rpccli_{is_connected,set_timeout}() and rpccli_bh_{is_connected,set_timeout}()

rpccli->transport should never be used directly,
everything should go via the binding handle.

Internal pipes don't have a transport, so p->transport is always
NULL. rpccli_is_connected() checks this and this causes all SAMR and LSA
requests for the local domain to be processed a second time by the triggered
retry logic.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f50987df038846f0052d4c33bb534af9f2c79061">f50987df</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-08-08T10:59:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: directly use dcerpc_binding_handle_is_connected() in reset_connection_on_error() SAMR code

In the end we should avoid rpccli_is_connected(), rpccli_set_timeout() and the
whole rpc_pipe_client concept.

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

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Aug  8 10:59:38 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a97c78fb221a2f1aaca2effdb44c51e4f78ddd93">a97c78fb</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-08-09T00:30:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lzxpress: add bounds checking to lzxpress_decompress()

lzxpress_decompress() would wander past the end of the array in
numerous locations.

Credit to OSS-Fuzz.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14190
REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19382
REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=20083
REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22485
REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22667

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Sun Aug  9 00:30:26 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/08909e66ef0c7ef1dc627ce8a8daf6e4a779ada6">08909e66</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-08-11T09:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "selftest: add tests for net-ads over TLS"

As we are removing the option.

This reverts commit 10f61cd39b9e03e7bb781edf04022ea6ae1f1cac.

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

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/32eb7f3966703582f2f8f2c75b2f960c5e4eb492">32eb7f39</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-08-11T10:53:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Remove depracated "ldap ssl ads" smb.conf option

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

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Isaac Boukris <iboukris@samba.org>
Autobuild-Date(master): Tue Aug 11 10:53:05 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/323073f4e0feadcaaf0978604741660b6ef02a16">323073f4</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-11T16:37:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python compat: remove integer_types

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9cc65a552b0270db0ea08509ee6e9a3d5b9a1f10">9cc65a55</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-11T16:37:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python compat: remove string_types

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d9d63b000db28c3b718f7f1dbddac5a94685687">4d9d63b0</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-11T16:37:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python compat: remove StringIO

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bcaf076d30f38cea4465be57d5270e9431951161">bcaf076d</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-11T16:37:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python compat: reduce use of 'if PY3:'

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ace5038031f3b7f7017da2ad0076b9f8fca59d10">ace50380</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-11T16:37:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python compat: remove binary_type

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f0860de5bb2e12ad0f91f5428410ea0346286c1e">f0860de5</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-11T16:37:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python compat: remove text_type

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9aa6b0cd2e1936dd8ca68bbeec233fd42b89b98f">9aa6b0cd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-11T18:00:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Fix CID 1465860 Control flow issues (DEADCODE)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Tue Aug 11 18:00:26 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9f7ef21e008f15e2ad8049230aeede1f72fe45a3">9f7ef21e</a></strong>
<div>
<span>by Matthew DeVore</span>
<i>at 2020-08-15T07:30:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: Fix unneeded relative path in #include.

Signed-off-by: Matthew DeVore <matvore@google.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/53a1d034f3e47ed3c5ec4f9b6ca0d2d695e8d873">53a1d034</a></strong>
<div>
<span>by Matthew DeVore</span>
<i>at 2020-08-15T08:51:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: Standardize use of st_[acm]time ns

Commit 810397f89a10, and possibly others, broke the build for macOS and
other environments which don't have st_[acm]tim fields on 'struct stat'.

Multiple places in the codebase used the config.h values to determine
how to access the nanosecond or microsecond values of the stat
timestamps, so rather than add more, centralize them all into
lib/util/time.c.

Also allow pvfs_fileinfo.c to read nanosecond-granularity timestamps on
platforms where it didn't before, since its #if branches were not
complete.

Signed-off-by: Matthew DeVore <matvore@google.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Sat Aug 15 08:51:09 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/672212cecdd7a7de40acdc81c56e2996ea82c090">672212ce</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-08-16T05:45:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util: Allow symlinks in directory_create_or_exist

Commit 9f60a77e0b updated the check to avoid having files or other
objects instead of a directory. This missed the valid case that there
might be a symlink to a directory. Updated the check accordingly to
allow symlinks to directories.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e89ec78e9a262a6e7bb9082323083eb5f1609655">e89ec78e</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-08-16T07:06:59+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util: Add cmocka unit test for directory_create_or_exists

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Sun Aug 16 07:06:59 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/971c20e9dc264c076b3fdfbeda71e4430919e7e4">971c20e9</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-17T04:51:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Drop "ctdb isnotrecmaster" command

This isn't used anywhere and can easily be checked via "ctdb pnn" and
"ctdb recmaster" commands.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8baf47916a24deda23787662f44f872ea8d427ec">8baf4791</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-17T04:51:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Document removal of "ctdb isnotrecmaster" command

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0cb61c6fb6a11836dfd35e5e45858ea395b13087">0cb61c6f</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-17T06:13:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-doc: Link to CTDB page in wiki

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Mon Aug 17 06:13:11 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/86ab46766768dd3fee40f6c61431395fb099fb73">86ab4676</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T09:46:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap_server: Avoid talloc_memdup() for ldap_decode()

Slight optimization for the ldap server: We don't need to copy the
client PDU into the ASN1 struct, the decoding process happens
immediately in the same routine.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3514e4100cc87c840dba43715f84f0b04162c354">3514e410</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T11:10:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap_server: Do an early TALLOC_FREE()

We don't need the asn1 struct after this point anymore

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Aug 17 11:10:04 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e7f3e5e650b31c5cdd89dfa703844053b4e4885">2e7f3e5e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Move send_keepalive() to smbd/smb1_utils.c

This is a SMB1-only packet sent from smbd only

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2ccc9df4b313e8ff07a6c6ee34ab52c5c283c2c9">2ccc9df4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Move read_udp_v4_socket() to nmbd

This is the only consumer of it

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/630f228fc631f259b68c4bf082d60bf40a856996">630f228f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove unused open_udp_socket()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de03dba413e5612f0411eb10c7ee3cb4dea1576e">de03dba4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove unused client_addr()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d5cca8d0fcb063d39572ca88903a4582c2425175">d5cca8d0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove unused client_socket_addr()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b0d270d934b89cc491833b23c2183b7aa21be858">b0d270d9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Align integer types in same_net()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f3c43c6595042beeb5aec36bcb13f9df1cbfc6d3">f3c43c65</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove unused client_socket_port()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/753b6cc572e4de46f9d1d74bce70f943a9b27d8e">753b6cc5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Move get_socket_port() to its only consumer

This is only used in netbios_session_retarget()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d29bb42c736e639e4812eaef9c3106f2e09123a">2d29bb42</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/acd8de28ac140453efa49d2ceff68175422473d2">acd8de28</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth_log_test: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/af34a411b90fe29dcf8d47fb7e5266d8190205f0">af34a411</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gensec: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5416fd2ce3e0946ab601620c8eb1b025c072c34f">5416fd2c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a6e506afd88ce2491380f315c3dc77f43c877f7c">a6e506af</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/07c64844330adc8b6f99fbe3dacede662052dbb5">07c64844</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Align a few integer types

Also move a variable closer to its use

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f3ab0e9cad8b8a4ce429f1ed13b9eddefff062b">4f3ab0e9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap_server: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f05f40316dd95a01d765095f431a652cb548894e">f05f4031</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix a comment typo copied around

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6c42bc48f467c0b469c386649f80cd7a67cc436e">6c42bc48</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T19:35:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Fix typos

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/546a0f99e8636fa390ef269eb8a21cb7981d16a1">546a0f99</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-17T20:59:51+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Aug 17 20:59:51 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d3ff49f48507d8a64b9c4847f79d7939f647e6f0">d3ff49f4</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-18T00:10:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add test for suppression of deprecation warnings

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d14cc45c98a77fb8a6ac96181eec33f368b8dbd8">d14cc45c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-18T00:10:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">param: Allow tests to silence deprecation warnings

This helps make output sensitive tests more reliable.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9e212dd15e6c484d69f236f3c6d7186f0e6353b4">9e212dd1</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-18T00:10:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Do not let deprecated option warnings muck this test up

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6aa710f8da9ef92b388f1c0c59b2dd3c602ad2d">c6aa710f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-18T00:10:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Deprecate NT4-like domains and SMBv1-only protocol options

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1b85db57e53533ce14beb79f6d949a08f6ef9f91">1b85db57</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-18T00:10:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: deprecate "client use spnego"

This parameter is appicable only to SMBv1 and we are deprecating SMBv1 specific
authentication options for possible removal.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac8e5ea22d9f9b16a79f519f69852b46ac798541">ac8e5ea2</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-18T00:10:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: deprecate "client lanman auth"

This parameter is appicable only to SMBv1 and we are deprecating SMBv1 specific
authentication options for possible removal.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5543c11c8b007b49641758428af7ba3976683438">5543c11c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-18T00:10:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: deprecate "client NTLMv2 auth"

This parameter is appicable only to SMBv1 and we are deprecating SMBv1 specific
authentication options for possible removal.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/37583b19d2c3dbf3e9d0498a39b8b9d9c727e1d4">37583b19</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-18T00:10:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: deprecate "client plaintext auth"

This parameter is appicable only to SMBv1 and we are deprecating SMBv1 specific
authentication options for possible removal.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8c9d9441edce2e8d7f0428d0ec5e209ed8a55dbc">8c9d9441</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-18T00:10:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: deprecate "raw NTLMv2 auth"

This parameter is appicable only to SMBv1 and we are deprecating SMBv1 specific
authentication options for possible removal.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/20606fd0a4c4697ff99da59f748af6908d929901">20606fd0</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-18T01:32:21+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: list deprecated parameters

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Aug 18 01:32:21 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/52f520d39cd92e1cf2413fd7e0dd362debd6f463">52f520d3</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-18T05:02:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Basic cleanups for get_remote_nodemaps()

Don't log an error on failure - let the caller can do this.  Apart
from this: fix up coding style and modernise the remaining error
message.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14466
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d2d90f250214582d7124b8137aa2cf5032b2f285">d2d90f25</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-18T05:02:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Fix a local memory leak

The memory is allocated off the memory context used by the current
iteration of main loop.  It is freed when main loop completes the fix
doesn't require backporting to stable branches.  However, it is sloppy
so it is worth fixing.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14466
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3324dd272c7dafa92cd9c3fd0af8f50084bcdaaa">3324dd27</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-18T05:02:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Change signature of get_remote_nodemaps()

Change 1st argument to a rec context, since this will be needed later.
Drop the nodemap argument and access it via rec->nodemap instead.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14466
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2eaa0af6160588b6e3364b181d0976477d12b51b">2eaa0af6</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-18T05:02:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Move memory allocation into get_remote_nodemaps()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14466
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a079ee31690cf7110f46b41989ffcfb83b7626d6">a079ee31</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-18T05:02:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Add an intermediate state struct for nodemap fetching

This will allow an error callback to be added.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14466
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/10ce0dbf1c11eaaab7b28b6bbd014235a36d1962">10ce0dbf</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-18T05:02:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Add fail callback to assign banning credits

Also drop error handling in main_loop() that is replaced by this
change.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14466
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/368c83bfe3bbfff568d14f65e7b1ffa41d5349ac">368c83bf</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-18T05:02:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Fix node_pnn check and assignment of nodemap into array

This array is indexed by the same index as nodemap, not the PNN.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14466
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/762d1d8a9605f97973a2c1176de5d29fcc61d15a">762d1d8a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-18T05:02:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Change get_remote_nodemaps() to use connected nodes

The plan here is to use the nodemaps retrieved by get_remote_nodes()
in update_local_flags().  This will improve efficiency, since
get_remote_nodes() fetches flags from nodes in parallel.  It also
means that get_remote_nodes() can be used exactly once early on in
main_loop() to retrieve remote nodemaps.  Retrieving nodemaps multiple
times is unnecessary and racy - a single monitoring iteration should
not fetch flags multiple times and compare them.

This introduces a temporary behaviour change but it will be of no
consequence when the above changes are made.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14466
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d50919b0cb28f299c9b6985271b29d4f27c5f619">d50919b0</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-18T05:02:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Do not fetch the nodemap from the recovery master

The nodemap has already been fetched from the local node and is
actually passed to this function.  Care must be taken to avoid
referencing the "remote" nodemap for the recovery master.  It also
isn't useful to do so, since it would be the same nodemap.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14466
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/910a0b3b747a987ba69b6a0b6256e964b7d85dfe">910a0b3b</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-18T05:02:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Get remote nodemaps earlier

update_local_flags() will be changed to use these nodemaps.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14466
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/702c7c4934e79a9161fdc59df70df30ae492d89f">702c7c49</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-18T05:02:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Change update_local_flags() to use already retrieved nodemaps

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14466
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4aa8e72d60e92951b35190d2ffcfdb1bfb756609">4aa8e72d</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-18T05:02:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Rename update_local_flags() -> update_flags()

This also updates remote flags so the name is misleading.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14466
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8bb6a6607da22903be2e8f5ed2360d01a08555e9">8bb6a660</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-08-18T06:24:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Broadcast takeover run message when verifying IPs

This makes it consistent with the monitoring code.  If the master has
changed then this means the master will always get the message.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Tue Aug 18 06:24:11 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0535a265f94e0f828d0b8408c05d59a0dff3dbce">0535a265</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-18T08:25:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Add utility function ads_zero_ldap().

When initializing or re-initializing the ldap part of the ADS_STRUCT,
we should call this to ensure that ads->ldap.ss is correctly recognized
as a zero IPaddr by is_zero_addr(). It zeros out the ads->ldap but
then adds zero_sockaddr() to initialize as AF_INET. Otherwise it's
left by accident as AF_UNSPEC (0).

Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/61895749f54abc44dd793bc4d0abf179c0d02987">61895749</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-18T08:25:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Where we implicitly zero out ads->ldap in ads_init() or ads_destroy() ensure we call ads_zero_ldap() after.

For ads_destroy(), this has a mode where the memory is not destroyed
but is being re-initialized. Horrid, but that's the way it works right
now.

This clears out the memory, but also leaves ads->ldap as a valid (zero) IPaddr.
Otherwise it's left by accident as AF_UNSPEC (0).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6b47f3dbbcdb692e46237aa1d9aeeb944a78b308">6b47f3db</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-18T08:25:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: In ads_connect(), and ads_disconnect(), replace ZERO_STRUCT(ads->ldap) with calls to ads_zero_ldap(ads)

This clears out the memory, but also leaves ads->ldap as a valid (zero) IPaddr.
Otherwise it's left by accident as AF_UNSPEC (0).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c863cc2ba34025731a18ac735f714b5b888504da">c863cc2b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-18T08:25:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: ads_connect can be passed in an ADS_STRUCT with an existing IP address.

ads_connect can be passed in a reused ADS_STRUCT
with an existing ads->ldap.ss IP address that
is stored by going through ads_find_dc()
if ads->server.ldap_server was NULL.

If ads->server.ldap_server is still NULL but
the target address isn't a zero ip address,
then store it off before zeroing out ads->ldap
so we don't keep doing multiple calls to
ads_find_dc() in the reuse case.

If a caller wants a clean ADS_STRUCT they
will re-initialize by calling ads_init(), or
call ads_destroy() both of which ensures
ads->ldap.ss is a correctly zero'ed out IP address
by using ads_zero_ldap().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d066f37b9217a475b6b84a935ad51fbec88fe04">1d066f37</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-18T08:25:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Don't re-do DNS lookups in ads_current_time() if not needed.

ADS_STRUCT may be being reused after a
DC lookup from ads_find_dc(), so ads->ldap.ss may already have a
good address (even if ads->server.ldap_server == NULL).
Only re-initialize the ADS_STRUCT and redo the ads_find_fc()
DNS lookups if we have to.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cf0cfa03ac6fd4c4e2c7d86079796079754f3cf2">cf0cfa03</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-18T09:46:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Don't re-do DNS lookups in ads_domain_func_level() if not needed.

ADS_STRUCT may be being reused after a
DC lookup from ads_find_dc(), so ads->ldap.ss may already have a
good address (even if ads->server.ldap_server == NULL).
Only re-initialize the ADS_STRUCT and redo the ads_find_fc()
DNS lookups if we have to.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Aug 18 09:46:28 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/53b6dd951249052772e1ffcf651b7efd0963b931">53b6dd95</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T05:21:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:tests: Add test for 'valid users = DOMAIN\%U'

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5de7c91e6d4e98f438157a7675c8582cabdd828d">5de7c91e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T06:43:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Fix %U substitutions if it contains a domain name

'valid users = DOMAIN\%U' worked with Samba 3.6 and broke in a newer
version.

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

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): Wed Aug 19 06:43:10 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cf432bd4527a1605e48783c54c01b0ff518ba371">cf432bd4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb2: Do not leak ptext on error

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/46142d8398dac98046866ab06ff3185f4311ab8d">46142d83</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb2: Use talloc NULL context if we don't have a stackframe

If we execute this code from python we don't have a talloc stackframe
around and segfault with talloc_tos().

To fix the crash we use the NULL context as we take care for freeing the
memory as soon as possible.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e9135035400494ed198e2a1964463c42db7a00c2">e9135035</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-08-19T16:22:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Introduce CRED_SMB_CONF

We have several places where we check '> CRED_UNINITIALISED',
so we better don't use CRED_UNINITIALISED for values from
our smb.conf.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd5a888746e15eff0a3f24e2a3e8e853fab0993b">bd5a8887</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">param: Add 'server smb encrypt' parameter

And this also makes 'smb encrypt' a synonym of that.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f03bb8ad8a0f7238492542a2b2d8f196a79bc161">f03bb8ad</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">param: Create and use enum_smb_encryption_vals

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/58e31f78745906e8657d5ebd97c6f8f389911a62">58e31f78</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Use 'enum smb_encryption_setting' values

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5a733c3c1ba7bb7ca7770bd0edb648b461f03cd9">5a733c3c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Add 'client smb encrypt'

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/93e97d5afd309a8acf8217381f14f3dde4456a06">93e97d5a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:param: Add lpcfg_parse_enum_vals()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e524719010bf69e85681295358aeec6844c0748f">e5247190</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Add smb_signing_setting_translate()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4bf8a667310d74561a0535655ece8745d19d1864">4bf8a667</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Add smb_encryption_setting_translate()

Add encryption enum and function to avoid confusion when reading the
code.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b0ae876a6c8733441a9ea806458eadfb3d695a78">b0ae876a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Use smb_signing_setting_translate for cmdline parsing

The function will be removed soon.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/59a1272a6c8f53ebfa1749ba26edfd40a11b6383">59a1272a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Remove unused credentials autoproto header

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/58e0abc58f77fdfc8cee3616eac44ed6c0c0523f">58e0abc5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Add cli_credentials_(get|set)_smb_signing()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/098774b2441679ef77d5eb29d638d07f7987c7c3">098774b2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Add python bindings for (get|set)_smb_signing

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/71d65278e1644628f9419008ed47bb475ff07b55">71d65278</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Add cli_credentials_(get|set)_smb_ipc_signing()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef12caea07350e83676ab863c02620bf054607a5">ef12caea</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Add python bindings for (get|set)_smb_ipc_signing

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/836c5e01e653549b8aada13b9ef8c44d79c3411a">836c5e01</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Add cli_credentials_(get|set)_smb_encryption()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/66c9c68badff8e5957960c489b0139359ab6d550">66c9c68b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Add python bindings for (get|set)_smb_encryption

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/84f1e4683e602954b0c259c81bee45926d1d5e3e">84f1e468</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Add python bindings for cli_credentials_set_conf()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0188885a4995198a4b573a7cbde736827f496846">0188885a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Bump library version

We added new functions so bump the version.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be9e60efad95b96b64e5ec2db927e0f92a941437">be9e60ef</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Use cli_credential_(get|set)_smb_signing()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/34a81eca0da3d572992954fdbc12d97837ffd03b">34a81eca</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Set smb encryption also via cli creds API

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d55950b8408acf48a4a0761b906ac4e2a596b2cc">d55950b8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Remove unused sign argument from smb_connection()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/946e43f0ccf3bc39d65d9b096f0a40fb12726ebb">946e43f0</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Set smb signing via the creds API

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c58a301c273c24531e798cd7c1b2af9be1364af9">c58a301c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Introduce CLI_FULL_CONNECTION_IPC

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8c06dc1365125dea3dd78ba1eba7586cdc640dfb">8c06dc13</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:pylibsmb: Add ipc=True support for CLI_FULL_CONNECTION_IPC

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1a74c790bfe00d6ea1bdc02c52436f60f46ef32d">1a74c790</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:tests: Mark libsmb connection as an IPC connection

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/67323b1ffaa019150691bcb4d859c32cd5a36cf1">67323b1f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:tests: Set smb ipc signing via the creds API

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62a4705dbcff71b7885db18a0005b29ecf8a2c03">62a4705d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Use 'enum smb_signing_setting' in cliconnect.c

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f552204d4614ad97310fb4ab81a06d21d4b9af7">6f552204</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:client: Turn off smb signing for message op

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/886f245ace9024d4ceb72f72c251e5e8d3904e0c">886f245a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Remove signing_state from cli_full_connection_creds_send()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ba04151a01b31cd29ccc4133e0a8631297154a34">ba04151a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Remove signing_state from cli_full_connection_creds()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8a5bc0a6a182d33fc4aee9d76c69aedd2b80ff65">8a5bc0a6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-08-19T16:22:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Add encryption support to cli_full_connection_creds*()

Pair-Programmed-With: Andreas Schneider <asn@samba.org>

Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5bff7a061f695d7a9a90414d4393833345a193bf">5bff7a06</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Add a test for SMB encryption

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1acc6408be11bf1a161750bb510170dae3448849">1acc6408</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:net: Use cli_credentials_set_smb_encryption()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d0062d312cbbf80afd78143ca5c0be68f2d72b03">d0062d31</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Use cli_credentials_set_smb_encryption()

This also adds a SMBC_ENCRYPTLEVEL_DEFAULT to 'enum
smbc_smb_encrypt_level' in order to use the smb.conf default value.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5698fb41bb4c0aa14955fff81f903500b333eb4c">5698fb41</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:client: Remove unused smb encryption code

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0d0a3bbc83a06e262b4ae16ba0e09eccda17a01f">0d0a3bbc</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Remove obsolete force encryption from smbacls

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/85e2660b94cc066b7f0deeec2a72d4fddc3463e7">85e2660b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Remove obsolete force encryption from mdfind

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2bf58f182b1bfd39a5f549c5b539be58deddfe6b">2bf58f18</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Remove obsolete force encryption from smbcquotas

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/29504508041c018a8601979085d04e7ed290a286">29504508</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Remove obsolete force encryption from rpcclient

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d7c3d86f017068d72c9fab3406453fdee4f516ec">d7c3d86f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">examples: Remove obsolete force encryption from smb2mount

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd1cacb6a28233d0a00b376f6bdc2164a0656bb0">dd1cacb6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Make cli_cm_force_encryption_creds() static

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e2287011f4b654e085b9ddaa694b8ccdf8bfad30">e2287011</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli: Return NTSTATUS errors for smb_composite_connect_send()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7387c1da31c29c4da912328ebb18c7332ebd9dd1">7387c1da</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli: Return if encryption is requested for SMB1

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6454ed761ad00198d51e4aca008a69a825189e38">6454ed76</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libcli: Split out smb2_connect_tcon_start()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d546dd1e5b8d2fccb1e8cd4d84ef2a6209e9c23c">d546dd1e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli: Add smb2_connect_enc_start()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/81052e41da82041cd32f3f7f3f20fd52ffb7e491">81052e41</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T16:22:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli: Require signing for SMB encryption

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7e3ceaec449a06e9646f5543a617b3b866a720aa">7e3ceaec</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-19T17:46:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:tests: Add test for SMB encrypted DCERPC connection

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Aug 19 17:46:28 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a9b6a8378e5db19d5d5ecd42f08ec3abd49ad5b8">a9b6a837</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2020-08-20T12:55:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Add missing winexe manpage

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

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Aug 20 12:55:23 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0a5264838e9c4b7e748660c08a11bf54efacd844">0a526483</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-20T17:20:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Add subunit output to ldap.basic test

The next commit will make this fail, and we need to detect this in
knownfail.d/ldap. Without subunit output filter-subunit won't find it.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0c36316ecb1473273d03136ae46a4fbd448e7fdb">0c36316e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-20T17:20:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Pass DN and password to ldap.basic test

Without this, test_multibind() only gets NULL for userdn and password,
not doing what the test claims. This now fails, because our LDAP
server does not allow plain text binds.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c5e85f4b0840925a0495bb446cd1dea5ebf36932">c5e85f4b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-20T17:20:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Inline test_bind_simple()

Avoid losing the specific error code with this simple wrapper function

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef57bc6d4b55c6f5428b9b9363a9989356deab3e">ef57bc6d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-20T18:44:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Fix ldap.basic multibind test

It gets LDAP_STRONG_AUTH_REQUIRED from current AD servers

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Aug 20 18:44:49 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7dc535995bbdb42b1b053c22acff5978cb5da516">7dc53599</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-20T22:49:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Fix spelling of README.md

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0573c13da2c7f4ac67f4b17c278fa42d65ac857b">0573c13d</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-20T22:49:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Fix python dependencies

Python2 dependencies are removed and the RPM name of python-iso8601
is added to allow removal from third_party.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/091e11260d66a6a038aee08f2fed4fc1711aa03b">091e1126</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-20T22:49:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Remove pyiso8601 from third_party

The trend has been to remove widely available packages from third_party/

This module is both widely available, and only needed for --enable-selftest

It is, strangely enough, a BuildDependes in the RHEL/Fedora packages
just to stop it being installed in third_party.

The check for iso8601 being available is moved to python/wscript

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2420b7c6d2038aca33759ca3a7d41240c5f19bf7">2420b7c6</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-20T22:49:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Add checks for some more required python packages

This catches the most important packages we require, but
this may not be the full list.

python-gpg is not listed as we have a big workaround handler
for this in samba-tool.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4dbe8d11316891f7275a7a37e04e11abb1b3706d">4dbe8d11</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-21T00:12:51+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Remove remaining references to third_party python libs

For now at least we do not have any in third_party.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Aug 21 00:12:52 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c8c2f8ba73324ba43ccef9f6d1c0c726d7ec0d25">c8c2f8ba</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-21T19:14:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Wrap a long line

There will be another entry in the next commit

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/35c4bb0b0c55a65490fe199edb1a534548104e95">35c4bb0b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-21T19:14:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Test ldap session expiry

LDAP connections should time out when the kerberos ticket used to authenticate
expires. Windows does this with a RFC4511 section 4.4.1 message (that as of
August 2020 is encoded not according to the RFC) followed by a TCP disconnect.

ldb sees the section 4.4.1 as a protocol violation and returns
LDB_ERR_PROTOCOL_ERROR.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/77f72fb01faba45babfe6080f805361492ce49e5">77f72fb0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-21T19:14:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap_server: Add the krb5 expiry to conn->limits

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eb72f887b0bf91c050fd5d911f58a1b3ff9b8bcc">eb72f887</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-21T19:14:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap_server: Terminate LDAP connections on krb ticket expiry

See RFC4511 section 4.4.1 and

https://lists.samba.org/archive/cifs-protocol/2020-August/003515.html

for details: Windows terminates LDAP connections when the krb5 ticket
expires, Samba should do the same. This patch slightly deviates from
Windows behaviour by sending a LDAP exop response with msgid 0 that is
ASN1-encoded conforming to RFC4511.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b85dbc9ccf80d8c19aff33c1da83954e5d6a37ef">b85dbc9c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-21T19:14:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tldap: Only free() ld->pending if "req" is part of it

Best reviewed with "git show -U10". We need to check that "req" is
actually the last request that is being freed before freeing the whole
array.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f816ccb8f4d212fe7f6bf36f90cbb9297c899786">f816ccb8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-21T19:14:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tldap: Fix tldap_msg_received()

The callback of "req" might have destroyed "ld", we can't reference
this anymore after calling tevent_req_done(req). Defer calling the
callbacks, which also means that the callbacks can't have added
anything to ld->pending.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/14f6d1996ec38620b1c05a3b6c0e26dd21801fac">14f6d199</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-21T19:14:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tldap: Always remove ourselves from ld->pending at cleanup time

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb852c9dc0d0fa1d3e7473082ad6b460106b314b">cb852c9d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-21T19:14:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tldap: Maintain the ldap read request in tldap_context

Required for proper connection rundown, we need to TALLOC_FREE() the
read request before shutting down the tstream

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f745f5b12560dbcb7be6f3ffb3bc10704c87149c">f745f5b1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-21T19:14:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tldap: Centralize connection rundown on error

Whenever send or recv return -1, we have to cancel all pending
requests and our transport stream is no longer usable: Discard it upon
such an error.

To avoid duplicate state, tldap_connection_ok() now looks at whether
we have a tstream_context around.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a2a6b27cccb2409d321c7e03feb8baa047d1bf4">2a2a6b27</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-21T19:14:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tldap: Make sure all requests are cancelled on rundown

Put messages into the ld->pending array before sending them out, not
after they have been sent.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a2b281bed022c04427ef478529462ff84fe42908">a2b281be</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-21T19:14:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tldap: Add PRINTF_ATTRIBUTE declaration to tldap_debug()

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7af2df01dff62d6d9ca572f320ef60dea41d6064">7af2df01</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-08-21T19:14:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idmap_ad: Pass tldap debug messages on to DEBUG()

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a4ecd112e7754ab25bcae749594952a28c4c8905">a4ecd112</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-21T19:14:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test: Test winbind idmap_ad ticket expiry behaviour

We need to make sure that winbind's idmap_ad deals fine with an
expired krb ticket used to connect to AD via LDAP. In a customer
situation we have seen the RFC4511 section 4.4.1 unsolicited ldap exop
response coming through, but the TCP disconnect that Windows seems to
do after that did not make it. Winbind deals fine with a TCP
disconnect, but right now it does not handle just the section 4.4.1
response properly: It completely hangs.

This test requests a ticket valid for 5 seconds and makes the LDAP
server postpone the TCP disconnect after the ticket expiry for 10
seconds. The tests that winbind reacts to the ticket expiry exop
response by making sure in this situation the wbinfo call running into
the issue takes less than 8 seconds. If it did not look at the expiry
exop response, it would take more than 10 seconds.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ccaf661f7c75717341140e3fbfb2a48f96ea952c">ccaf661f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-08-21T20:37:24+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tldap: Receiving "msgid == 0" means the connection is dead

We never use msgid=0, see tldap_next_msgid(). RFC4511 section 4.4.1
says that the unsolicited disconnect response uses msgid 0. We don't
parse this message, which supposedly is an extended response: Windows
up to 2019 sends an extended response in an ASN.1 encoding that does
not match RFC4511.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

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 Aug 21 20:37:25 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7afe449e7201be92bed8e53cbb37b74af720ef4e">7afe449e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-23T22:55:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: dns: Ensure variable initialization with NULL.

Ensure no use after free.

Based on patches from Francis Brosnan Blázquez <francis@aspl.es>
and Jeremy Allison <jra@samba.org>

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/df98e7db04c901259dd089e20cd557bdbdeaf379">df98e7db</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-24T00:21:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/dns: do not crash when additional data not found

Found by Francis Brosnan Blázquez <francis@aspl.es>.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Mon Aug 24 00:21:41 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d64886f3e5e6a9e25bc4510150fdc3ee38fab7c6">d64886f3</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-24T01:46:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/vlv: remove redundant assignments

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3c026ba492a9d58a03884101b54deb3892e4a706">3c026ba4</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-24T01:46:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/vlv: attempt to cause trouble by changing sort attribute

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4a252f6e0f5b0dab44e50db4a93e5c9a9a2d4ff1">4a252f6e</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-24T01:46:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python compat: remove ConfigParser

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7dabe5acdfac9b43356e2e3678ffb657e659ef7c">7dabe5ac</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-08-24T01:46:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: Remove unnecessary semicolon from wscript_build

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40afb0bbcdd5813235bf0697c091c8cac755f587">40afb0bb</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-08-24T01:46:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: Fix cleanup in unit test

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c057586fc85e84a51c9611714df454b188da2da5">c057586f</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-08-24T01:46:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: Remove wrong return statement in unit test

Fixes CID 1466195

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d3109a11c8dbfbe3afec8fdfe44371ab13780dc6">d3109a11</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-08-24T03:10:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: Move cleanup for unit test in teardown function

Where to call rmdir does not matter, but that should avoid the TOCTOU
warning from CID 1466194 and might be slightly cleaner.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Aug 24 03:10:09 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d935795ea5a3294f82fe65cca17c79a7b6589f0">9d935795</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2020-08-25T04:23:19+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix FTBFS / Increase the over-estimation for sparse files

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14418
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Aug 25 04:23:19 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/928fb8927398ac8d4afc7e2276ff190ff33e72d1">928fb892</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-25T16:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - Remove one call to set_socket_addr_v4().

The stack variable sockaddr_storage ss wasn't being used at all.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fbc65a2433848061a1a4a303c3e59a2391a520ca">fbc65a24</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-25T16:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - change parameter and callers of set_socket_addr_v4() to samba_sockaddr.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e3d9962ed3bd732f6adb3609984660f1e2be1173">e3d9962e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-25T16:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - Longlines cleanup for README.Coding standards.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa6d5bb3c97f124187f326d408e1fed02bf85ba1">fa6d5bb3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-25T16:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - make node_status_query_send() use samba_sockaddr internally.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d67c4a84dd978b388c7d26de7f4119f22a594f0e">d67c4a84</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-25T16:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - make name_status_lmhosts() use samba_sockaddr internally.

Use existing utility function instead of direct memcmp.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0ef885c02d0450eb5c0bb44616ae6d10fc12d1dd">0ef885c0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-25T16:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - make name_query_send() use samba_sockaddr internally.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a559eebc145fabdfd1053ac1985654e8116792cc">a559eebc</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-25T16:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - convert addr_compare() to using samba_sockaddr internally.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2056b0d9c3feb553882e598042c5b56be4974412">2056b0d9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-25T16:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - Use samba_sockaddr as intended in resolve_name() to make ugly casts go away.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/54454b30ff7da2af857b3fcc31ece6f2b39cfb09">54454b30</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-25T16:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - Remove two more sockaddr casts inside remove_duplicate_addrs2().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/189c741052f09ec2fd1aff52cdd006ae5a42af20">189c7410</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-25T16:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - Remove the last two sockaddr casts in namequery.c in name_query_validator().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5151278ccc1d36ec8a62ecc7a55de50bd591c3d3">5151278c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-25T16:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - Remove a union in sock_packet_read_got_socket() that was an early attempt a samba_sockaddr.

Just use samba_sockaddr.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a388f7915039b4e3d698b1ae9746678d03358003">a388f791</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-25T16:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - Pass samba_sockaddr directly to nb_trans_send().

Saves an ugly internal cast. We know this must be AF_INET.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce84521c7c0889c847a4d0a8b0c622333b7ca0da">ce84521c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-25T16:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Cleanup - Remove two more ugly const struct sockaddr * casts in get_kdc_ip_string().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/102e2a26d3c48c67a9b1e63de132786cb2cf8b4e">102e2a26</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-25T17:43:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - remove an ugly sockaddr_in cast inside resolve_wins_send().

Use samba_sockaddr for its intended purpose.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Aug 25 17:43:17 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/49f58b2b093b962e2f3e060b1322a4e61be678a1">49f58b2b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-26T01:57:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">oss-fuzz: Try harder to ensure we always fail fast

During a previous attempt to fix the LANG= issue I changed
the script invocation to be via a shell, so the set -x et al
ensures these are always in place and we fail fast
rather than failures only being detected by lack of output.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/830c0206453b41bef87bdc9b309b968f5abd6200">830c0206</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-08-26T03:20:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">oss-fuzz: Ensure a UTF8 locale is set for the samba build

This ensures that LANG=en_US.UTF8 is set, which
Samba's build system needs to operate in UTF8 mode.

The change to use flex to generate code meant that this
difference between GitLab CI and oss-fuzz was exposed.

REF: https://github.com/google/oss-fuzz/pull/4366

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Aug 26 03:20:46 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e9137a9e9dd600ef1f34f82cf8301883ea9c045c">e9137a9e</a></strong>
<div>
<span>by Rowland Penny</span>
<i>at 2020-08-26T04:44:51+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: pam_winbind manpage: grammar and typos

Signed-off-by: Rowland Penny <rpenny@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Aug 26 04:44:51 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/09fba1f3e32e0a5c406882b36bfa5901f9df92a8">09fba1f3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-26T08:39:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Catch exception from dns_hub.py

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Noel Power <npower@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fbe58531a20cbbe0906f13e370329f3030d4ce96">fbe58531</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-26T09:59:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party: Update resolv_wrapper to version 1.1.7

This fixes some Samba tests which redirect stderr to stdout and then get
more messages than expected.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Aug 26 09:59:28 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/42d01987d3d5e90360e0ad63da08cf0994983f68">42d01987</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-27T06:52:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Inside get_dc_list() move one more sockaddr_storage -> samba_sockaddr.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f8b7ee024ba6ecabe75180047222335b6a970dda">f8b7ee02</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-08-27T08:16:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Remove one more ugly sockaddr cast in resolve_name_list() by converting to samba_sockaddr.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Aug 27 08:16:37 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5249727f90215ef83fc7233a5e721c752b3b223d">5249727f</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add WHATSNEW section on Client Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4148af125be5d690682602976f525460e386330e">4148af12</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test rsop output for Sudoers policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bc38d3afe380c0892e6d5b791cbb19624b43d612">bc38d3af</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Add rsop output for Sudoers policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0a7e2e39847e89ed62e4ba8e4094f224bc627dc3">0a7e2e39</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Clarify the contents of deleted_gpo_list in process_group_policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0544237ea2c1cf7d507e60e2757653711be5e308">0544237e</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Avoid using distutils since it will be deprecated

We shouldn't use distutils.spawn.find-executable
here, since its use is discouraged:
https://docs.python.org/3/library/distutils.html

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7acbb4404006fa24ef6c66d324f20a7fbe3bf4b9">7acbb440</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Cleanup script policy test

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7c6969e9c9cccc1fdf0a668389bc9b3eaa6d2831">7c6969e9</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Cleanup sudoers policy test

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/87fe86270e16cc06d4d4d6462705b2c3c93a473c">87fe8627</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Script ext should not crash if script missing

If a user has manually removed a script, the
extension should not crash in an unapply removing
it.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8626910c0eaaac57d95d2b2f8583ee0c732d98c6">8626910c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Sudoers ext should not crash if policy missing

If a user has manually removed a policy, the
extension should not crash in an unapply removing
it.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7e507dd8865a5108c31782fb8e603fc4dca627d9">7e507dd8</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test multiple extention unapply

Verify that an unapply of multiple extentions
deletes the script files and policy settings.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c887f7a7d2303121a3a59fa7161ddf08053c31da">c887f7a7</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Fix unapply failure when multiple extensions run

When multiple Group Policy Extensions are present,
only the last executed extension saves it's
changes to the Group Policy Database, due to the
database being loaded seperately for each
extension.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d6d160a8ed74ae44e3bbb01818fcf54d18e1fa6">7d6d160a</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Display Security Extension RSOP on ADDC only

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5128dc7db324c08d036475e46f8edcc99565fed3">5128dc7d</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Move gp_sec_ext conversion functions to top

These functions don't actually use self, so can
be moved to top level functions.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ab347c861ce670d29773599c9d2572a42db0bdcb">ab347c86</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: gp_krb_ext always uses set_kdc_tdb to update

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb994befb0c89c8a1182919348540d94c60543ee">cb994bef</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Add admx files for smb.conf parameters

Administrative Template (admx) files are
installed to the sysvol central store, and
apply Group Policy settings to the sysvol, via
the Group Policy Management Console (gpmc).
These admx files add smb.conf settings to the
gpmc.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/37661d1aacaa7b761134c3f21a241ee0c1539d21">37661d1a</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Group Policy smb.conf Extension

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3303869c4b8659904e490e4ca1bc8bbcd340138d">3303869c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Add CSE for applying smb.conf

Add an extension that applies smb.conf params
applied via the smb.conf admx files.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/101b5f17f129cbbc2689de2dcc8d6e6cb164e270">101b5f17</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">GPO: Test rsop output for smb.conf policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fee00231f6971014ec1c00e5104148e52acf31f3">fee00231</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">GPO: Add rsop output for smb.conf policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8757e0d36c56d18c8597832dddfd0a7214772f5">e8757e0d</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Group Policy Message of the day

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a4f598fde8cfa564613108397b0a645277cf0ace">a4f598fd</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy Message of the day

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b76d55cc9087c6f75b25cc42d862a26b2579d3e0">b76d55cc</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Group Policy Login Prompt Message

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1544929feecd4062b5f684226717a639a74cdd52">1544929f</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy Login Prompt Message

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2ef88466f49d9c50f37b6e68e08fcda136050ec1">2ef88466</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T15:59:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">GPO: Test rsop output for Messages policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/811e2f55290dc1af2439954f690b8b3c3749b607">811e2f55</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-08-27T17:19:48+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">GPO: Add rsop output for Messages policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Thu Aug 27 17:19:48 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/afb5cee6e783048fccc1f2d8fed462adecce4d9a">afb5cee6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-08-27T21:59:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Fix strict aliasing in get_socket_port()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Aug 27 21:59:17 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/87bf6aa7168a6e44d52d91fb804b210a5fadbce6">87bf6aa7</a></strong>
<div>
<span>by Matthew DeVore</span>
<i>at 2020-08-28T00:56:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: safe_string: remove unnecessary include

safe_string.h is only included by source3/include/includes.h, which
already includes ntstatus.h, so it is not necessary to include it
from within safe_string.h.

Signed-off-by: Matthew DeVore <matvore@google.com>
Reviewed-by: David Mulder <dmulder@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d485f369e92b5eb5c6482989c397a4eec29cd824">d485f369</a></strong>
<div>
<span>by Matthew DeVore</span>
<i>at 2020-08-28T00:56:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: do not make string_wrappers.h public

string_wrappers.h is a collection of macros. All but one of the macros
rely on symbols not defined in public headers, so it is not useful as a
public header.

For instance, fstring is defined in includes.h. PTR_DIFF is defined in
lib/util/memory.h, which is not public.

checked_strlcpy is actually self-contained and is usable outside of a
Samba build, but without a Samba config.h, it is just aliased to
strlcpy.

Signed-off-by: Matthew DeVore <matvore@google.com>
Reviewed-by: David Mulder <dmulder@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1fde7db3bc51b1f9a13388315b09ab3ce7f20b80">1fde7db3</a></strong>
<div>
<span>by Matthew DeVore</span>
<i>at 2020-08-28T00:56:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">string_wrappers: include replace.h

To ensure we always get the right value for the config.h macro
`HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS`, #include "lib/util/replace.h"
rather than rely on it being included by the API user.

Signed-off-by: Matthew DeVore <matvore@google.com>
Reviewed-by: David Mulder <dmulder@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c2ac923c6a5d089fe110eb3eb6cf78298b46992d">c2ac923c</a></strong>
<div>
<span>by Matthew DeVore</span>
<i>at 2020-08-28T00:56:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: safe_string: do not include string_wrappers.h

Rather than have safe_string.h #include string_wrappers.h, make users of
string_wrappers.h include it explicitly.

includes.h now no longer includes string_wrappers.h transitively. Still
allow includes.h to #include safe_string.h for now so that as many
modules as possible get the safety checks in it.

Signed-off-by: Matthew DeVore <matvore@google.com>
Reviewed-by: David Mulder <dmulder@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/232054c09b1932b3940f08aa818703b51d29d968">232054c0</a></strong>
<div>
<span>by Matthew DeVore</span>
<i>at 2020-08-28T02:18:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: remove extra safe_string.h file

lib/util/safe_string.h is similar to source3/include/safe_string.h, but
the former has fewer checks. It is missing bcopy, strcasecmp, and
strncasecmp.

Add the missing elements to lib/util/safe_string.h remove the other
safe_string.h which is in the source3-specific path. To accomodate
existing uses of str(n?)casecmp, add #undef lines to source files where
they are used.

Signed-off-by: Matthew DeVore <matvore@google.com>
Reviewed-by: David Mulder <dmulder@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Aug 28 02:18:40 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/560fe7b38f0c8d53079fabf3f984b11748270035">560fe7b3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-08-31T11:57:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:selftest: also run durable_v2_reconnect_delay_msec in samba3.blackbox.durable_v2_delay

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/444f2bedf723b89bb9f493c47812bff2154c4113">444f2bed</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-08-31T11:57:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:share_mode_lock: reproduce problem with stale disconnected share mode entries

This reproduces the origin of "PANIC: assert failed in get_lease_type()"
(https://bugzilla.samba.org/show_bug.cgi?id=14428).

share_mode_cleanup_disconnected() removes disconnected entries from
leases.tdb and brlock.tdb but not from locking.tdb.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/deb2f782c95a5e59a0a5da4272239c2d31bc2b6d">deb2f782</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-08-31T11:57:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:share_mode_lock: let share_mode_forall_entries/share_entry_forall evaluate e.stale first

It's not really clear why e.stale would be ignored if *modified is set
to true.

This matches the behavior of share_mode_entry_do()

This also makes sure we see the removed entry in level 10 logs again.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d740ac2084a68c6d4836cd83ea5d5f1ee9d37a2">4d740ac2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-08-31T11:57:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:share_mode_lock: consistently debug share_mode_entry records

share_mode_entry_do(), share_mode_forall_entries() and
share_entry_forall() print the record before the callback is called
and when it was modified or deleted.

This makes it much easier to debug problems.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1aa1ac97082f81f6dc62f345823d2dd345e0afd7">1aa1ac97</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-08-31T11:57:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:share_mode_lock: add missing 'goto done' in share_mode_cleanup_disconnected()

When cleanup_disconnected_lease() fails we should stop,
at least we do that if brl_cleanup_disconnected() fails.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b5c0874fd5d31e252cf9ac8b84bde5c536b1e8ef">b5c0874f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-08-31T11:57:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:share_mode_lock: make sure share_mode_cleanup_disconnected() removes the record

This fixes one possible trigger for "PANIC: assert failed in get_lease_type()"
https://bugzilla.samba.org/show_bug.cgi?id=14428

This is no longer enough to remove the record:

   d->have_share_modes = false;
   d->modified = true;

Note that we can remove it completely from
share_mode_cleanup_disconnected() as
share_mode_forall_entries() already sets it
when there are no entries left.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b02f1d676f6e62a0a4b33b9b08f8f51a68b561ca">b02f1d67</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-08-31T13:34:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:share_mode_lock: remove unused reproducer for bug #14428

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

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): Mon Aug 31 13:34:17 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/05de29a4d08da37fc73ac4a297e43304240a3eb5">05de29a4</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-08-31T17:44:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/samba/tests/blackbox: Fix undetected deltree fail

With msdfs root share smbclient deltree command can fail without
setting the errorcode (e.g. when do_list encounters an error it will
log a warning message and continue rather than error out fatally)

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8826d74ae8cd807af84213abde5292b6f5ff293e">8826d74a</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-08-31T17:44:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/samba/tests:blackbox: Fix local file delete test tree fallback

Wrong indentation ensures the fallback where we use file system removal
of test files if the test's tearDown method fails.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c681f5bfe3669f913a6e592844458e1fd6a9fa13">c681f5bf</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-08-31T17:44:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/samba/tests/blackbox: Preparatory change to support custom share

tearDown method doesn't handle local file deletion fallback if a share
other than 'tmp' is used

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0248fdd09a68925e3720f67724463f0bce0d631a">0248fdd0</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-08-31T17:44:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">add new '--propagate-inheritance' option for smbcacls

smbcacls now can take a '--propagate-inheritance' flag to indicate that the
add, delete, modify and set operations now support automatic propagation of
inheritable ACE(s)

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8c581758f65ff60ba7fe0385c68137a6d62e5934">8c581758</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-08-31T17:44:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: describe smbcacls --propagate-inheritance

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c4707e1dd8e01d9d91e4b75c347c5e616c945aef">c4707e1d</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-08-31T17:44:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: describe smbcacls --propagate-inheritance expanding INHERITANCE section

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7faab75b4777ce886edf1422a901d3e75c132b6c">7faab75b</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-08-31T17:44:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/samba/tests/blackbox: python smbcacls '--propagate-inherit' test

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/28719f3edc9dc3ba13c3cd5382b4fb04a30af260">28719f3e</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-08-31T17:44:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/utils: If dfs path is an ordinary path then really just return it

In cli_resolve_path if the share was a root dfs share then any self
hosted dfs paths end up not being returned as is but being decorated
with fileserver and share. This file path is not suitable for
passing to cli_list so we adjust it here.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5b04affc73f75d6b3e85eafb3fed0fe29c9c03db">5b04affc</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-08-31T17:44:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/utils: restore client share connection after call to sec_desc_parse

This normally isn't a problem *except* for when the share is a dfs root
(which results in cli_resolve_patch creating an incorrect path)

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e3079c53877e48defe384efe713e8cfeb9d8fa86">e3079c53</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-08-31T19:09:24+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/samba/tests/blackbox: Tests with nested DFS container

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Aug 31 19:09:24 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e37d2249916e959a79fd09af73b3e94a4be2b79">2e37d224</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-08-31T21:06:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix clang 9 format-nonliteral warning

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9c3ff1b9554905ad03fcd22afb832936073b2c31">9c3ff1b9</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-31T21:06:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util/asn1: avoid technically undefined shift

UBSAN says

 runtime error: left shift of 255 by 24 places cannot be represented in type 'int'

Credit to OSS-Fuzz.

REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22889

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0c461f3bd589764c496b530f698e313df50667e6">0c461f3b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-08-31T22:31:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lzxpress: avoid technically undefined shift

UBSAN:

  runtime error: left shift of 1 by 31 places cannot be represented in type 'int'

Credit to OSS-fuzz.

REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22283

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Aug 31 22:31:13 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38fcad60a8ea80bda70a82a3c7f9bf50a9754a8e">38fcad60</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-09-02T09:11:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test creating unix user with modified template homedir

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/07ce48088824bba2054e029edfa6fbae972c1921">07ce4808</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-09-02T09:11:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Create unix user with modified template homedir

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dff01a5edf69b10e72c64ab63de1d4aeedb747ce">dff01a5e</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-09-02T09:11:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test rsop function for success

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/11f97148bb57eecdb3e34e33901a4bb7a2dd7755">11f97148</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-09-02T09:11:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Pass necessary parameters to rsop

These parameters were missed by mistake when exts
were modified to be initialized within the rsop
command. Fixes an exception thrown when executing
samba-gpupdate --rsop:

Traceback (most recent call last):
  File "/usr/sbin/samba-gpupdate", line 99, in <module>
    rsop(lp, creds, gp_extensions, opts.target)
  File "/usr/lib64/python3.8/site-packages/samba/gpclass.py", line 512, in rsop
    ext = ext(logger, lp, creds, store)
NameError: name 'logger' is not defined

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1ba15c459b9b99fec905533ca8c34f55b3a7e99c">1ba15c45</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-09-02T09:11:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">GPO: Update the samba-gpupdate man page

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/50d900b6f9b8c35e673fc280efd505121a7579d3">50d900b6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-02T10:35:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Make sure that idmap_ad retrieves unix nss attributes

Make sure that unix_primary_group and unix_nss_info idmap_ad options
work. We have two domains here and test wbinfo -i for both domains, so
we also run the test without those options for the trusted domain.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Sep  2 10:35:53 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6805d5e0bcf1716f87e84bcbb2fd8f93c38a8a3">b6805d5e</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-09-02T16:24:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: toggle vfs_snapper using --with-shared-modules

7ae03a19b3c ("build: add configure option to control vfs_snapper build")
added new --enable-snapper and --disable-snapper configure parameters to
control whether the vfs_snapper module was built.
The new parameters conflicted with existing
--with-shared-modules=[!]vfs_snapper behaviour.

This change reinstates working --with-shared-modules=[!]vfs_snapper
functionality. vfs_snapper stays enabled by default, but only on Linux.
Linux systems lacking the dbus library and header files should
explicitly disable the module via --with-shared-modules=!vfs_snapper as
documented.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14437

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Wed Sep  2 16:24:50 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff39211d43296be546bc9615a2ad06664281412b">ff39211d</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-09-03T12:10:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: avoid unnecessary TO_LIST() calls for static strings

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12fbd5dcb1e86ae4217c29ed641f8e111082b425">12fbd5dc</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-09-03T13:33:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: avoid some unnecessary list.extend() calls

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Thu Sep  3 13:33:54 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd9f64d19dc9e7c2ddbfff6b956c2ec0ea5951b1">bd9f64d1</a></strong>
<div>
<span>by Hezekiah</span>
<i>at 2020-09-04T16:57:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fixed arrow keys typo to the computer move command utility

Signed-off-by: Hezekiah <hezekiahmaina3@gmail.com>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Fri Sep  4 16:57:30 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9cf1aecd73e011ad03ddb072760454379b3f0a32">9cf1aecd</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-09-07T08:03:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Remove DES legacy types for Kerberos

We already removed DES support for Kerberos in Samba 4.12.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a5303967287cef0c3d0b653e2aca73d25d438cf7">a5303967</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-09-07T08:03:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Only add RC4 if weak crypto is allowed

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6444a743525532c70634e2dd4cacadce54ba2eab">6444a743</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-09-07T09:25:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Also add a realm entry for the domain name

This is required if we try to authenticate as Administrator@DOMAIN so it
can find the KDC. This fixes 'net ads join' for ad_member_fips if we
require Kerberos auth.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Sep  7 09:25:33 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b716dbc9768bd6a0ef7d016a9c79e8759e383732">b716dbc9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-07T12:02:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/tests/gpo: this should fix a Popen deadlock

It is inspired by commit 5dc773a5b00834c7a53130a73a48f49048bd55e8
   Author: Joe Guo <joeg@catalyst.net.nz>
   Date:   Fri Sep 15 16:13:26 2017 +1200

      python: use communicate to fix Popen deadlock

      `Popen.wait()` will deadlock when using stdout=PIPE and/or stderr=PIPE and the
      child process generates large output to a pipe such that it blocks waiting for
      the OS pipe buffer to accept more data. Use communicate() to avoid that.

      Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
      Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
      Reviewed-by: Andrew Bartlett <abartlet@samba.org>

      Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
      Autobuild-Date(master): Thu Oct 19 09:27:16 CEST 2017 on sn-devel-144

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e0e51632cf77be439ebcbcba025a42e8558fa824">e0e51632</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-07T12:02:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: document git push -o ci.variable='SAMBA_CI_REBUILD_IMAGES=yes'

This is much easier than going through the web interface.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/896b7bbcf25b336a970441396d8e60c3d115a1b9">896b7bbc</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-07T12:02:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: install perl-JSON on on rpm distributions

This will be needed for the next heimdal import.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5fc3a71d0f54b176d3cb2e399718d0468507e797">5fc3a71d</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-09-07T12:02:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: upgrade to 2.0.20

This contain an important change:
"Fix gccdeps.scan() returning nodes that no longer exist on disk."
https://gitlab.com/ita1024/waf/-/merge_requests/2293

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b34e8dc8982b625d946e2ac8794ee41311bc41c2">b34e8dc8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-07T12:02:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Add gensec_security_sasl_names()

Pair-Programmed-With: Andreas Schneider <asn@samba.org>

Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5e3363e0b82193700f91a9bae5080aae0b744e5c">5e3363e0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-07T12:02:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:ldap_server: Use samba_server_gensec_start() in ldapsrv_backend_Init()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2186d4131ad4c7961d0c830bf9d48f3d06d27924">2186d413</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-07T12:02:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Make gensec_use_kerberos_mechs() a static function

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a33a40bbc848e5691869cf264009d23a03128f31">a33a40bb</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-07T12:02:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Pass use_kerberos and keep_schannel to gensec_use_kerberos_mechs()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/515cffb1f20eacb041ff7b3d43f8a122a82ddfbd">515cffb1</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-07T12:02:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: If Kerberos is required, keep schannel for machine account auth

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c00bea2aefdcc69608dffdafa7ce581d31f9354">2c00bea2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-09-07T12:02:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Add cli_credentials_init_server()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6c94ebf77fdb7383be2042f5e20ba2ef598cd4a4">6c94ebf7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-09-07T12:02:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server: Use cli_credentials_init_server()

Signed-off-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0b742ec6a0558397d5cf01b99a401f8e2bc0e2e0">0b742ec6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-09-07T13:22:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:smb_server: Use cli_credentials_init_server() for negprot

Signed-off-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Sep  7 13:22:26 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f11dce99cc3a3e0b13fcb0d41d2db5cce07240db">f11dce99</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: discover_dc_netbios(). Remember to free on error return.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c4c00d626cd9ebe118e6f9c16ef1b0575d29f39b">c4c00d62</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - ensure we initialize all stack variables to 'safe' values when calling get_kdc_list() that may not touch returns on error.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/13acac25cb48ec39a0b35abb272de727f19bb236">13acac25</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - ensure we initialize all stack variables to 'safe' values when calling get_sorted_dc_list() that may not touch returns on error.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b95eea6b292dd0c11feb7921af33329711918655">b95eea6b</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-09-07T13:23:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - ensure we initialize all stack variables to 'safe' values when calling resolve_name_list()

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6c28d7151160e64a3f449e4dc34ade4fcb3e1298">6c28d715</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - correctly error on sockaddr_storage_to_samba_sockaddr() fail.

Instead of jumping out and leaking the memory onto ctx,
skip bad conversions and error out if there are no addresses
to return (and cleanup the memory there).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a4073ae55c37e85891255073b4c162eb23c382f6">a4073ae5</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-09-07T13:23:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup in resolve_name_list().

Don't modify out params (unless successful result).

Signed-off-by: Noel Power <npower@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6bee431be3ce005b5ae547ffb50e4bdfb5aca902">6bee431b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - Use helper variable for return from namecache_fetch() in internal_resolve_name().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/02016acb2d8b7b5432406942e49d229fe1d024b5">02016acb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add utility funtion dup_ip_service_array().

Preparing to return ip_service arrays as talloc, not
malloc. Commented out as not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8a491691dad5c30228e90f5702115befbe3da00">e8a49169</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add get_kdc_list_talloc().

Talloc version of get_kdc_list(). Makes use of dup_ip_service_array().
Now to move the callers.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e1b6602f51f9599a46ad62a9796ed7a2bfcdfc6">8e1b6602</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Make get_kdc_ip_string() use get_kdc_list_talloc().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d62c3e98197d0c73c26a10545c39026b38f0fb7">9d62c3e9</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-09-07T13:23:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libads: Only set result to kdc_str on success

Prior to this change result was set even when any or all errors
occured in the function.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5307b0e319a08220c02f6eacfdac45d4af2bb19a">5307b0e3</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-09-07T13:23:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libads: Cleanup() get_kdc_ip_string, free kdc_str on error

kdc_str will be cleaned up when the passed ctx is freed,
it just seems odd that we now return NULL without cleaning up allocated mem.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/11226af33e1570bc4a54a951981bba29c8a912a4">11226af3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: utils: net_lookup. Convert to use get_kdc_list_talloc().

No more users of get_kdc_list().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b7182c4417675721a73fc543d88312cda60af988">b7182c44</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Remove now unused get_kdc_list() (non-talloc version).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6deb23c6187da770b03ebe313138506fb6cde0e7">6deb23c6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Rename get_kdc_list_talloc() -> get_kdc_list().

It's the only version now.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f305a140d103caea589f969d7cf087f53cd7e846">f305a140</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add get_sorted_dc_list_talloc().

Talloc version of get_sorted_dc_list_talloc().
Makes use of dup_ip_service_array().
Now to move the callers.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fbc2031800c1dafce5080ec527547345286f0c93">fbc20318</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Move callers of get_sorted_dc_list() -> get_sorted_dc_list_talloc().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b4164093cfe8c2fd527e8c3e264025cc4e4790e3">b4164093</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Move callers of get_sorted_dc_list() -> get_sorted_dc_list_talloc().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d6c3c2dea223f22c3c3166de1a2d100376ee02a">1d6c3c2d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: net lookup: Move callers of get_sorted_dc_list() -> get_sorted_dc_list_talloc().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8b7162415d0869eb302847cf4ce31e45438999f">e8b71624</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: winbindd: Move callers of get_sorted_dc_list() -> get_sorted_dc_list_talloc().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a0984e5064216edafe4b83011dc1042ca64d5194">a0984e50</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Remove get_sorted_dc_list().

No more callers.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/23fb64f35a6a888538ebbfcff78ad8e30451f123">23fb64f3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Rename get_sorted_dc_list_talloc() -> get_sorted_dc_list()

There are no non-talloc callers.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b3f92a2fa7bdf528009576cc8c1bf0905d9008a">3b3f92a2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - rename ctx -> frame for a talloc_stackframe to match modern coding standards.

We will be passing in a real TALLOC_CTX soon.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b9bc1e59bd84b35dcb98de73be2e13bb3254415b">b9bc1e59</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Change to an early return in get_dc_list().

No logic change. Will make later code changes clearer.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/46f7ab8f37046fadd86573b396b8c485255ab928">46f7ab8f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Change get_dc_list() to return a size_t count parameter.

Remove paranoia checks and casts from callers, move internally.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/973ca8a5c01afef49a774cca49d4b0000b29f366">973ca8a5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - use early return in get_dc_list().

No logic change. Makes later code changes clearer.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c0ccdd7038ac85cdbad0a39bedcbee0a08c39896">c0ccdd70</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Make get_dc_list() internal to namequery.c return talloc'ed ip_service array.

Moving closer to the target of making internal_resolve_name()
use talloc.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6fc75a73bd630f03842e9a39805d58c59422ce3">c6fc75a7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: namequery - Add internal_resolve_name_talloc().

This is a wrapper function for internal_resolve_name()
that converts the replies from malloc() -> talloc().

Now to move the callers, and I can move the talloc
code down one level again.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e18eb94f427de874c0b094189d8a3f0316b6430a">e18eb94f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: namequery - Make resolve_name() use internal_resolve_name_talloc().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/505272a893dc3bc3bf177b8a11cc2cd8be33bad0">505272a8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Make resolve_name_list() use internal_resolve_name_talloc().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12e346d9d8019a149c765ea92463919f91aca16a">12e346d9</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-09-07T13:23:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libsmb: resolve_name_list don't update out params except for success

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/55b589e9b04a7db97c3d344c90da846f3b8509d1">55b589e9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Make find_master_ip() use internal_resolve_name_talloc().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/37eaee03e0e48ec5e7b5a4704cfa93e8ab95f78f">37eaee03</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Make get_pdc_ip() use internal_resolve_name_talloc().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fed4b6341c96316251e5384fa96ad60ae7b28261">fed4b634</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Make get_dc_list() use internal_resolve_name_talloc().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a16d023c15aa00aa12a927f6a3c3b5876022c988">a16d023c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Make discover_dc_netbios() use internal_resolve_name_talloc().

No more external users of internal_resolve_name().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5fd57d6e578c9b46088ebe548e4d24ee61fd2ac">e5fd57d6</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-09-07T13:23:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libsmb: Cleanup, don't modify out params except on success

All callers don't use out params on failure.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a68d329b4079dadef0dd2ca27c3a5bb697a040db">a68d329b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Remove internal_resolve_name() externally. All callers now use internal_resolve_name_talloc().

Make the wrapped internal_resolve_name() function static as _internal_resolve_name().

Now we can rename the callers back from internal_resolve_name_talloc() -> internal_resolve_name()
as all external callers are talloc-based.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f5bb322e66d9d9475dda8ac6aef39b7912b6dbad">f5bb322e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Rename internal_resolve_name_talloc() -> internal_resolve_name().

No more non-talloc callers.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e065fc8e2840ec7af07228641b89fb772f96ca9d">e065fc8e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Move talloc_stackframe() initialization to the front of _internal_resolve_name().

Ensure we free correctly on all exit paths.
This will allow us to move the internal calls to
talloc more easily.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa20df217c4601ce8243f4d51eeed12c4d6cfb1d">aa20df21</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Change remove_duplicate_addrs2() to take and return size_t, not int.

Will make converting _internal_resolve_name() to return a size_t easier.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9ffb18856bf128de635af4d9dd1e1582295778c2">9ffb1885</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup the code to do one address return given an IP address to _internal_resolve_name().

Will make easier to move to talloc later.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d4bf8eedbefad4fa27a33e4b51b943e3d4acd08">4d4bf8ee</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Convert namecache_fetch() and it's only caller to return a talloc'ed array of struct samba_sockaddr.

Eventually everything will be talloced arrays of samba_sockaddr.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f39ff1367a191d71f54f6184e848537b7c309c10">f39ff136</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: _internal_resolve_name(). Remove unused free(s).

*return_iplist is guaranteeded to be always NULL here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb01b5e433dacec1217281e69041b322e37a18a3">cb01b5e4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Make namecache_store() take an unsigned count.

Counts can never be negative.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9e4b5349f23464846da7b57fd36a5597b41e51c8">9e4b5349</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Change convert_ss2service() and it's one caller to take and return unsigned counts.

Getting closer to making _internal_resolve_name() return a pointer to size_t
for a count.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6b0b726105e5a239c7c638d5e58f10c3f5f4678f">6b0b7261</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup coding in convert_ss2service().

Will make it easier to return a talloc'ed array.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e68e0402cce7a370512dbbd1da5e4b3a7a828eb2">e68e0402</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-09-07T13:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libsmb: Cleanup coding in convert_ss2service()

Don't update out params when unsuccessful

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5e819231b3a7b518ef44c0477fcb01b152a7d842">5e819231</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: _internal_resolve_name() code cleanup.

Only set *return_count just before success return.
Preparing to move all counts to size_t.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/31674946b777fbadaf892f4b2e988990053e0fd0">31674946</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: _internal_resolve_name() code cleanup.

Only set *return_iplist just before success return.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/863ab1af625291d809d7e5e721145e46a18d863d">863ab1af</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Make _internal_resolve_name() return a size_t pointer for count.

Getting closer to being a idential to the wrapper function
internal_resolve_name() which we can then remove.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/68e12688f2b4986ad4b4e222ae4340d4e4e10a5b">68e12688</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Finally change _internal_resolve_name() to return a talloc'ed ip_service array.

The wrapper internal_resolve_name() is now functionaly identical to _internal_resolve_name()
so we can remove it and rename _internal_resolve_name() back to internal_resolve_name().

dup_ip_service_array() is now no longer used, so comment it
out as it's a staic function.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/57349b65cc4323ae757a48b7a878bf9861728cd1">57349b65</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Remove now unused dup_ip_service_array().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f36a0be9a7628e212c7bbad1889cfc50a32ba472">f36a0be9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Comment out wrapper function internal_resolve_name(). Rename _internal_resolve_name() -> internal_resolve_name().

We can now remove the wrapper.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6cc05f5976913ab3c4f47396775769c7dc07902">c6cc05f5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Remove commented out wrapper for internal_resolve_name().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/39ecff712f0aa6f8c86c3dcad12b068d7b8ccdb7">39ecff71</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - resolve_name() get names from internal_resolve_names() which is guaranteed not to return zero addresses.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7835e2cb480d3749a3ebbd4ab69188743df5277b">7835e2cb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add internal ipstr_list_make_sa().

Duplicates ipstr_list_make() with samba_sockaddr, but doesn't store
ports. The duplication is temporary as the ipstr_list_make() function
will go away once namecache_store is converted to samba_sockaddr.

Compiles but commented out as not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0e59fee2917f0fbd9c2c8fc04d0161af486beb64">0e59fee2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add namecache_store_sa(). Doesn't store ports and takes a samba_sockaddr array.

Now uses ipstr_list_make_sa(). Now convert
the callers, remove namecache_store() and
then rename namecache_store_sa() back to namecache_store().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1593231e0ef0d36fad7779f2f22b40a284706b9b">1593231e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Use namecache_store_sa() instead of namecache_store().

Removes one more struct ip_service usage.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4c81f39012c5a1858161ba8f9a61393eb2ab3c9f">4c81f390</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: winbindd: Use namecache_store_sa() inside dcip_check_name().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3dad456d8cb4fa2b03396cce9c04c07d6c3c96c7">3dad456d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add internal conversion function ip_service_to_samba_sockaddr().

Compiles but commented out as not yet used. Next commit will
change that.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9da8d26fe069189ca920b23ae541da9848515749">9da8d26f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Remove the last caller of namecache_store().

Convert to a struct samba_sockaddr array and use namecache_store_sa().

We can now remove the use of 'struct ip_list' from
the namecache code.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2989d736c4a95c73ccb6d828362425b30d580337">2989d736</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Remove use of struct ip_service from the namecache code.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/170051d61eb17955d93db88ab729dc53a60604b1">170051d6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-07T13:23:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Now we only have namecache_store_sa(), rename it back to namecache_store().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7a3c368d787b9a7e203d29de184dff5a4d241052">7a3c368d</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-09-07T14:46:58+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup in get_dc_list()

Don't modify out params (unless successful result),

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Mon Sep  7 14:46:58 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c760ed61907d5ea67b18dc4fa92ff8e287ff48da">c760ed61</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-09-07T23:57:48+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Fix the sha1sum

The images where build with an invalid sha1sum.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Sep  7 23:57:48 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0022cd94587b805a525b0b9ef71ff0f15780424a">0022cd94</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-08T13:59:58+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/replace: move lib/replace/closefrom.c from ROKEN_HOSTCC_SOURCE to REPLACE_HOSTCC_SOURCE

This is where it really belongs and we avoid the strange interaction
with source4/heimdal_build/config.h. This a follow up for commit
f31333d40e6fa38daa32a3ebb32d5a317c06fc62.

This fixes a build problem if libbsd-dev is not installed.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Sep  8 13:59:58 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/99565d2a8d9fa22433698d6c2af87ea5b7fae5e6">99565d2a</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-09-08T21:35:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wscript: Make list of shared modules available in STRING_SHARED_MODULES

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/80add26b5f6866210d6a2c63d1086e92d83ca3df">80add26b</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-09-08T21:35:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add function for checking whether a module is enabled

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd7b77f4d29f3306f08f25e1f4a62f3bd89dc6e9">fd7b77f4</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-09-08T21:35:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add unit test for vfs_gpfs

The mapping functions of the vfs_gpfs module can be easily unit tested.
Begin a cmocka test to cover those.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5cfe884b39327d5208d4d7059b242e9c3dd881e5">5cfe884b</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-09-08T21:35:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_vfs_gpfs: Add test for lease mapping function

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c94ea50b24141ae79a606c353f66eed1eea68b26">c94ea50b</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-09-08T21:35:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_vfs_gpfs: Add test for winattr mappings

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b65fbade02fa128c80cc5cd7ba6dd5b53ded0e20">b65fbade</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-09-08T22:57:03+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_vfs_gpfs: Add test for file id generation

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Tue Sep  8 22:57:03 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/21de9077a52d4f0ff6e85710d26e971e2d3866d4">21de9077</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-09T10:31:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Fix bug in get_dc_list() introduced by ip-service cleanup.

Do an early return on error. On success assign to the correct
variables that are going to get copied into the 'out' parameters.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Wed Sep  9 10:31:17 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/53a368c58d006e50309127dd1e1c5adde47368bb">53a368c5</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-09-10T23:19:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idmap_ad: Honor "client ldap sasl wrapping" config setting

Instead of hard-coding SIGN and SEAL for the connections from this idmap
module, query the desired wrapping from "client ldap sasl wrapping".

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Sep 10 23:19:56 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e60df214998afc145ca482cab184691b3ddc3bb2">e60df214</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-09-11T03:43:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">oss-fuzz: standardise on RUNPATH for the static-ish binaries

We use ld.bfd for the coverage builds, rather than the faster ld.gold.

We run the oss-fuzz autobuild target on Ubuntu 16.04 to more closely
mirror the environment provided by the Google oss-fuzz build
container.

On Ubuntu 16.04, when linking with ld.bfd built binaries get a RPATH,
but builds in Ubuntu 18.04 and those using ld.gold get a RUNPATH.

Just convert them all to RUNPATH to make the check_build.sh test (run
by the oss-fuzz autobuild target) easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f5b0fef59850477ad30c2b5063b431725716056">6f5b0fef</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-09-11T03:43:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Prevent man page duplication

The new waf detects a duplicate instance of
ctdb_mutex_ceph_rados_helper.7.xml, which is due
to manpages_extra being a pointer to
manpages_misc, therefore each call to build()
added duplicate entries to the manpages_misc
global entry.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/671fe10f212b013af844ad4e3291322082b05619">671fe10f</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-09-11T03:43:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/rpc: run tests in the order that they're added

torture_rpc_tcase_add_test*() uses DLIST_ADD(), which sees them executed
in reverse order to which they're added. Use DLIST_ADD_END() instead to
fix this.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9bbfdb11858fd6cdecdfedb3fcbf7cde219e3dd9">9bbfdb11</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-09-11T03:43:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/rpc: flip order of netlogon tests

The previous change to not run rpc tests in reverse order results in
the following failure:
  Testing netr_LogonGetDomainInfo
  UNEXPECTED(failure): samba4.rpc.netlogon with
                       seal,padcheck.netlogon.GetDomainInfo(ad_dc)
  REASON: Exception: ../../source4/torture/rpc/netlogon.c:320:
              Expression `plain_pass != ((void *)0)' failed: plain_pass

Restore the dependent order of netlogon tests by reversing the
torture_rpc_tcase_add_test*() calls for the suite.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/47ee0c81f65108216234f738c3ada6782931dc47">47ee0c81</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-09-11T03:43:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/rpc: move test_fsrvp_seq_timeout as last

test_fsrvp_seq_timeout may see share snapshots left-over, which can
cause problems if subsequent tests expect a clean slate
(i.e. enum_created).

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ed9abf94b3167a1a61b5da163e9b07b06c8a457b">ed9abf94</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-09-11T05:05:59+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils/asn1: avoid undefined behaviour warning

UBSAN does not like an int >= 1<<24 being shifted left.
We check the overflow in the very next line.

Credit to OSS-Fuzz.

REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25436

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Sep 11 05:05:59 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d9d8bf8c54c248f14133332444a065f0daeae196">d9d8bf8c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-09-11T05:06:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Simplify comment in large database recovery test

The older style controls mentioned are being removed.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f9685766421690ee2d47f63579af21a955cb64b2">f9685766</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-09-11T05:06:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recovery: Remove use of old pull and push controls

Removes use of the old controls without cleaning up the code.  Clean
up can be done later.

After this change the CTDB_CAP_FRAGMENTED_CONTROLS capability is no
longer checked.  This capability can be removed along with the
controls.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/595c1a7c0fd7b6069f1bbbd055d5efe4d8eb1869">595c1a7c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-09-11T05:06:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recovery: Simplify database pull function names

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/225a699633b81568635ba18999db8088b978c56f">225a6996</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-09-11T05:06:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recovery: Drop passing of capabilities into database pull

This is no longer necessary because the capability new style database
pull is assumed to always be available.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f4e2206e88bbe0bc55d5b5e8071c0f70f75fa6cb">f4e2206e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-09-11T05:06:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recovery: Drop unnecessary database push wrapper

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2efce7d4774d4af1330722f039caaaec49cc4855">2efce7d4</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-09-11T05:06:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recovery: Simplify database push function names

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/289869547383c4b243aedd0f0e2256c94abe53fb">28986954</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-09-11T05:06:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-client: Drop unused synchronous functions for database pull/push

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3bbb4a85357ce9dcf62f0efab7c6b3cdbd21f6c7">3bbb4a85</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-09-11T05:06:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Drop client functions for old-style database pull/push

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d826731d484f79443635feb0eb9e989d893b068">7d826731</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-09-11T05:06:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Drop marshalling functions for old-style database pull/push

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d98f68f9182632aa1a086084d90b745ddeaed3d7">d98f68f9</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-09-11T06:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Drop implementation of old-style database pull/push controls

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Sep 11 06:29:32 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d63a1a79f372d4be6633bb1053a1934629da1df">4d63a1a7</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-09-11T07:05:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Fix the spelling of README.md (again) and get a new GnuTLS

We re-run ./bootstrap/template.py --render to get a new GnuTLS on Fedora 32

This was missed with 7dc535995bbdb42b1b053c22acff5978cb5da516
and so caused e0e51632cf77be439ebcbcba025a42e8558fa824 to
break the sha1sum and so require 7077be01a3cc860ce1fcfafd9e5028829f0c1887
to fix it.

The sha1sum changes because we fixed the bug about the spelling of
README.md, which is helpful because otherwise we would not get a
new image.

This provides a GnuTLS 3.6.15 so that we still test using GnuTLS's
gnutls_aead_cipher_encryptv2() for the SMB encryption codepath.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/94808cc50e4350a8c3bc250a886e8d4e7802dd12">94808cc5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-09-11T08:27:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: Only use gnutls_aead_cipher_encryptv2() for GnuTLS > 3.6.14

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Sep 11 08:27:26 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff40135a7cbc39a26436a6c35a6b3f32d912e555">ff40135a</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-09-12T06:29:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:VFS: Remove function declaration for vfs_posixacl_init

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d34b6735f81cc21a1f6c364bd2c2804ff77d67c">8d34b673</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-09-12T06:29:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Make get_share_security_default static

Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8b4c6fb7c84e12498a799d155ef6dd439c3fc222">8b4c6fb7</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-09-12T07:53:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbclient: Remove unused reference to extern override_logfile

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Sat Sep 12 07:53:56 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f868b0ea0b4795668f7bc0b028cd85686b249fb">8f868b0e</a></strong>
<div>
<span>by Laurent Menase</span>
<i>at 2020-09-14T13:33:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Fix a memleak

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14388
Signed-off-by: Laurent Menase <laurent.menase@hpe.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Sep 14 13:33:13 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/923648b0c42388b00eb8b46dcf4f0d7d4f18684d">923648b0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Convert node_status_query() and associated functions and callers to expect a size_t * return.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dbab4626ef9198326e27bbadb45bc125edaf7b93">dbab4626</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-09-15T10:09:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libsmb: Cleanup parse_node_status() only set out params on success

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/af6aaf624377b5cc53a827e76a1773a7694e3876">af6aaf62</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Convert the WINS and broadcast name functions to return size_t * num addresses.

Have to do both at once as they are intimately related.
The uglyness inside internal_resolve_name() will go away
once all the resove_XXX() functions return size_t values.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da9c7b193804b6f5259ca13482660f04b7c5dc1b">da9c7b19</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: nbt: cleanup resolve_lmhosts_file_as_sockaddr() - don't change return values on fail.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e034072c96962754a222b5d4d436db4c4256a7f3">e034072c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: nbt: Fix resolve_lmhosts_file_as_sockaddr() to return size_t * count of addresses.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f5dda19dd4a4dbff95669b48f4e31e1cdd43cf12">f5dda19d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: cleanup resolve_hosts() - don't change return values on fail..

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a1c57f6fc95cabea788fa39d9b6dd0e8a762441">2a1c57f6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Fix resolve_hosts() to return size_t * count of addresses.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1fc49be483c2bc31affe70151edfec2ef1193205">1fc49be4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Make resolve_ads() return a size_t * address count.

All resolve_XXXX() functions inside internal_resolve_name()
now use size_t and we can clean this up.

Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Noel Power<npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8e0d46ead768b669e373b407a5b5339dee3ef0f">a8e0d46e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: internal_resolve_name() - get rid of the icount variables.

Plus the paranoia check. Everything now uses size_t * returns.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2ebf3191f2b87e5402df7faaf590116cfdbb46de">2ebf3191</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: addns: Fix ads_dns_lookup_srv() and functions to return size_t * num servers.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62e99efa3d2dc738060140802e0a52569c8aa07e">62e99efa</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: addns: Fix ads_dns_lookup_ns(), ads_dns_query_dcs(), ads_dns_query_gcs(), ads_dns_query_kdcs(), ads_dns_query_pdc() to return size_t *.

Easier to do all callers at once.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ed1e1e0b462917efbf46cda4fe644a5b0975515d">ed1e1e0b</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-09-15T10:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libsmb: cleanup discover_dc_dns, only set out params on success

Signed-off-by: Noel Power <npower@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1a10a430eb6aeb82e692b7017bb1daa82fd123a4">1a10a430</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-09-15T10:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libsmb: cleanup discover_dc_dns() Fix potential leak

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d8ff36520f3e3914a6f5c7cc8d569e863023bcfc">d8ff3652</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Fix the count returns in discover_dc_netbios(), discover_dc_dns(), process_dc_dns() to return size_t * counts.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ced8fbc705380782c4317b8ab4eaee3ea2201cc8">ced8fbc7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Make prioritize_ipv4_list() use size_t counts.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d044d20c6fbc7b8b40095c3400e49ba03d6bef17">d044d20c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Reformat args to cldap_ping_list().

Pure reformatting.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/76beee812904fa2e2e1c91f5fc8bcd174873d7bc">76beee81</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Use size_t counts inside cldap_ping_list().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/78b191c4a0a1240cac0c943a36125085da5549c0">78b191c4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Make sort_addr_list() and sort_service_list() take size_t counts.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/afd83fa5e17d0035f8bae1f5a553555b49ab7aaf">afd83fa5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add sort_sa_list() compare function. Not yet used.

Ready for when we start returning ordered samba_sockaddr arrays.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/47e104c496abe54576ddc6bbab864dcb802e7f0b">47e104c4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add get_kdc_list_sa() returns samba_sockaddr array.

Not yet used, but uses the previous utility functions.
Now to convert the get_kdc_list() callers and remove
one more external use of ip_service.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0a347683d12058f0fb158dbe4569506800edad6e">0a347683</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: utils: Make net_lookup_kdc() use get_kdc_list_sa().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/516d8734c725e69b4341b2f704aabfda885fbd3c">516d8734</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Convert get_kdc_ip_string() to use get_kdc_list_sa().

No more callers of get_kdc_list().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0562154afadf9dcb9327f4019d58a166f85e7adf">0562154a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Remove get_kdc_list(). No more callers.

Next we can rename get_kdc_list_sa() -> get_kdc_list().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1eecdd9401fc2adcc5b09fee8553db34344c7959">1eecdd94</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Rename get_kdc_list_sa() back to get_kdc_list().

The samba_sockaddr interface is now the only one.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2b7629f3f39c5bbf217d40d89c0c413303e66289">2b7629f3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add function get_sorted_dc_list_sa(). Returns samba_sockaddr array.

Now to fix callers.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1fb56f3f4f637a179bfe90b8fefeb159b54d74c2">1fb56f3f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: utils: Make net_lookup_dc() use get_sorted_dc_list_sa().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b6fc2b034e5fac4914ac1ee6f778dc0222d6e0c">4b6fc2b0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Add an alternate version of cldap_ping_list() that takes an array of samba_sockaddrs.

Preparing for get_sorted_dc_list() returning such an array.
ifdef'ed out as not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6be32826d7a09c0c0f337eae36d3e0a8448c202a">6be32826</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Make resolve_and_ping_netbios() use get_sorted_dc_list_sa().

Now we use cldap_ping_list_sa() so uncomment it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5a448e96ace9a6f42f09d1e9915580f3557e21cd">5a448e96</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Make resolve_and_ping_dns() use get_sorted_dc_list_sa().

We no longer use cldap_ping_list(), comment it out
for removal.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bef9ebd8c9768816b14ecf70062e6cf2104c79b9">bef9ebd8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Remove cldap_ping_list().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a57e7ede3d1f2bbff26b991c9265fde643710df">2a57e7ed</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libads: Rename cldap_ping_list_sa() -> cldap_ping_list().

The old cldap_ping_list() is now gone.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb5b69fb6f121b62482bc8d94c165eaee4710ede">cb5b69fb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: winbind: Fix get_dcs() to use get_sorted_dc_list_sa().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ffed032bf09a27c039e8a6a4db024d3ba5ef3d85">ffed032b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Remove last caller of get_sorted_dc_list() from rpc_dc_name().

Now only get_sorted_dc_list_sa() left.
Now we can remove get_sorted_dc_list() and rename
get_sorted_dc_list_sa() back to get_sorted_dc_list().

One more external user of struct ip_service gone.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8ae5408d1f86770de5c6627c4591605934f723dd">8ae5408d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Remove get_sorted_dc_list(). No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b59de9e5eeb3f2f1c33e65604f8ea3fd00cdcdae">b59de9e5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Rename get_sorted_dc_list_sa() -> get_sorted_dc_list().

Everyone now uses samba_sockaddr arrays.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1cb9611b7b9d7a00efd917c84f1f1d804248cfad">1cb9611b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Convert internal function get_dc_list() to return a samba_sockaddr array.

Callers now don't need to convert. Getting closer to making internal_resolve_name()
return samba_sockaddr array.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
`
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1181e5e1fe55bd218c986a9fbb0a543a0a0369d3">1181e5e1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add remove_duplicate_addrs2_sa() - uses samba_sockaddr.

Not yet used, will be used when we migrate internal_resolve_name()
to samba_sockaddr.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5bb632006c3f355443bbd3a5eb4f78ee4fddcceb">5bb63200</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">3: torture: Use remove_duplicate_addrs2_sa() instead of remove_duplicate_addrs2() in LOCAL-remove_duplicate_addrs2 test.

Spoiler, still passes :-).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c5b1d4ffc59ab211ef18911b91bf09e1bae1c3fc">c5b1d4ff</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add prioritize_ipv4_list_sa().

Re-arranges a samba_sockaddr array in IPv4 preference.

Not yet used so compiles but ifdef'ed out. Needed for conversion
of internal_resolve_name().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fb8acf1717ba60e8285d310a8d4602d2cc08531c">fb8acf17</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add internal_resolve_name_sa(). A wrapper for internal_resolve_name().

Not yet used. Now to fix the callers, and convert internal_resolve_name()..

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8ec446d9da87f57a6cd69c66629a9afaa022b44">a8ec446d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Fix discover_dc_netbios() to call internal_resolve_name_sa()..

All callers of internal_resolve_name() are now internal to namequery.c

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/489102b044f1297dfa1555c48cf6e21609b3e513">489102b0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Remove the internal_resolve_name() external interface.

Change the internal version from internal_resolve_name() -> _internal_resolve_name().
Only external caller calls internal_resolve_name_sa().

After this we can rename internal_resolve_name_sa() back to internal_resolve_name()
as all internal use in namequery.c is via _internal_resolve_name().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/185f3027f0f0a9dd88d6ef33c20ff8b583c37c6d">185f3027</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Rename internal_resolve_name_sa() -> internal_resolve_name()

That's now the only external interface to it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/178bd3847b3a7ba1bfaa6c9b5c4c4d8cf4e49b82">178bd384</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Convert resolve_name() to call internal_resolve_name() not _internal_resolve_name().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b1542a1e9f41865ecbb15519a44f00b76721a89">3b1542a1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Convert resolve_name_list() to call internal_resolve_name() not _internal_resolve_name().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be85a463f45fd62d9f4e904f41388780c1f27f7a">be85a463</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Convert find_master_ip() to call internal_resolve_name() not _internal_resolve_name().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e6c581f0e1294b1530a76ab7d71bdc177a857c79">e6c581f0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Convert get_pdc_ip() to call internal_resolve_name() not _internal_resolve_name().

NB. sort_service_list() and ip_service_compare() are now no
longer used so comment them out for removal.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5b8f5971e0ad360f2e1a9642fa130a2d261c63a1">5b8f5971</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Remove now unused internal functions ip_service_compare() and sort_service_list().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f03a6ef66b8ba5e261645092219a53951622d658">f03a6ef6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Convert get_dc_list() to call internal_resolve_name() not _internal_resolve_name().

prioritize_ipv4_list() is no longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e0d060c632c2a61cfe5c61b2ad9ee5b09be02855">e0d060c6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Tidy up the talloc heirarchy allocation in get_dc_list().

Always allocate the return_salist off the frame pointer.
Only talloc_move() to return ctx on successful return.

Cleans up a nasty else in the exit path that caused
problems in the past - we can now always TALLOC_FREE(return_salist)
without remembering if we need to return it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5a2b5c74c9b85fa303236f9151b6d024c47ca5f9">5a2b5c74</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Remove unused prioritize_ipv4_list().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef62fa93be5e0d768542958ea7bdceb578de0f1e">ef62fa93</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Rename prioritize_ipv4_list_sa() -> prioritize_ipv4_list() now it's the only use.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d3f6eccc98b73cb65389a3621e031941b2f047dc">d3f6eccc</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: namequery: Add utility function sockaddr_array_to_samba_sockaddr_array().

Not yet used. Will help convert _internal_resolve_name() to internal_resolve_name().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/757934e8644436f26c1ce52dc22b3c212bae49ea">757934e8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">3: libsmb: namequery: Convert _internal_resolve_name() -> internal_resolve_name() returning talloced samba_sockaddr arrays.

Wrapper function internal_resolve_name() is now commented out,
along with the now unused ip_service_to_samba_sockaddr() and
convert_ss2service() functions.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d37b8ba1b000e292d3866dafb47881dc438db96">7d37b8ba</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: namequery.c: Remove now unused ip_service_to_samba_sockaddr().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a679c6c5a1f962d8132e5b773607d0722f9a9303">a679c6c5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: namequery.c: Remove now unused convert_ss2service().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5b6245d14b090162321d21e21a5f6da9c2f0cb77">5b6245d1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: namequery.c: Remove now unused internal_resolve_name() wrapper.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d627ef14885b7ab16b1d40b3954c1aa92e313330">d627ef14</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: namequery.c: Remove unused remove_duplicate_addrs2().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/526fdaa747e2c03b644d1581e27af7a44dcd1b1d">526fdaa7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: namequery. Rename remove_duplicate_addrs2_sa() to remove_duplicate_addrs2()

It's now the only function.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c1d39295fb0e501f2ace47921b03cb0086c421a7">c1d39295</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T10:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: Remove struct ip_service.

                           ---------------
                          /               \
                         /      REST       \
                        /        IN         \
                       /        PEACE        \
                      /                       \
                      |                       |
                      |   struct ip_service   |
                      |                       |
                      |                       |
                      |       9 August        |
                      |   In the year of the  |
                      |        pandemic       |
                      |          2020         |
                     *|     *  *  *           | *
            _________)/\\_//(\/(/\)/\//\/\////|_)_______

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/67498ffd78799a658991092186a3886204302947">67498ffd</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-15T11:33:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Cleanup - in internal_resolve_name() only write the out parameters on success.

All callers already correctly initialize them.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Tue Sep 15 11:33:35 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebada816dedf5ea86fdb17b78998890114344b6d">ebada816</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2020-09-16T22:45:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Create client directories in a loop

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/63b0d2dc7608ba30b1269a1937da1ac3ba3e40d3">63b0d2dc</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2020-09-16T22:45:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: set pid directory in client's smb.conf

Set a pid file directory to avoid the following testparm error:

ERROR: pid directory /usr/local/samba/var/run does not exist

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ed625d669437bb940a98a0e51c67a85d947dc2d5">ed625d66</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2020-09-17T00:05:51+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Disable kerberos for weak crypto test

Otherwise the test fails because the client is authenticated using
spnego and gse_krb5, not triggering the weak crypto restrictions.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Thu Sep 17 00:05:51 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7651c0268199010b3950c200a7ee2bba9e4cb442">7651c026</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-09-18T00:35:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">srv_spoolss_nt.c: fix wrong value in debug message

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/787d7756b99f182cc91c4c4215b8a5657a6d25d7">787d7756</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-09-18T00:35:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">cli_winreg_spoolss: handle also printer sharename

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/380938b00fb9fdb5b100e77000a059199695f43a">380938b0</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-09-18T01:58:22+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nt_printing_ads: add missing printShareName attribute when publishing printers

Without printShareName attribute in LDAP, Windows doesn't list the pinters at all.

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Sep 18 01:58:22 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b813cdcac377210c3ab18e0d0a0c1a76870b1d74">b813cdca</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-18T12:48:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): libcli/auth: add netlogon_creds_random_challenge()

It's good to have just a single isolated function that will generate
random challenges, in future we can add some logic in order to
avoid weak values, which are likely to be rejected by a server.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/355efadc6a18ffaaef2e4786e35e89780b10bccc">355efadc</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-18T12:48:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): s4:torture/rpc: make use of netlogon_creds_random_challenge()

This will avoid getting flakey tests once our server starts to
reject weak challenges.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/46642fd32d91b008615b859cfdf946f63b1ca0aa">46642fd3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-18T12:48:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): libcli/auth: make use of netlogon_creds_random_challenge() in netlogon_creds_cli.c

This will avoid getting rejected by the server if we generate
a weak challenge.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/caba2d8082d4b038aa59954b6e812612c2ecc0e1">caba2d80</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-18T12:48:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): s3:rpc_server:netlogon: make use of netlogon_creds_random_challenge()

This is not strictly needed, but makes things more clear.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/74eb448adf7fb638fe925eab87a2dbfe9c002cc0">74eb448a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-18T12:48:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): s4:rpc_server:netlogon: make use of netlogon_creds_random_challenge()

This is not strictly needed, but makes things more clear.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/53528c71ffdb3377c4e73ac596c8507bc3898e83">53528c71</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-18T12:48:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): libcli/auth: add netlogon_creds_is_random_challenge() to avoid weak values

This is the check Windows is using, so we won't generate challenges,
which are rejected by Windows DCs (and future Samba DCs).

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d3123858fb59046e826cf2c7ec2a3839e6508624">d3123858</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-18T12:48:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): libcli/auth: reject weak client challenges in netlogon_creds_server_init()

This implements the note from MS-NRPC 3.1.4.1 Session-Key Negotiation:

 7. If none of the first 5 bytes of the client challenge is unique, the
    server MUST fail session-key negotiation without further processing of
    the following steps.

It lets ./zerologon_tester.py from
https://github.com/SecuraBV/CVE-2020-1472.git
report: "Attack failed. Target is probably patched."

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d8a6e6549c185daa26852d6d85f475cddfb3083a">d8a6e654</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-18T12:48:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): s4:rpc_server/netlogon: protect netr_ServerPasswordSet2 against unencrypted passwords

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9ec8b59bdea19c99099a718ff9e04cd854563e11">9ec8b59b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-18T12:48:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): s3:rpc_server/netlogon: Fix mem leak onto p->mem_ctx in error path of _netr_ServerPasswordSet2().

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/82d41977a8bef426396e3e00833d55711a55f372">82d41977</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-18T12:48:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): s3:rpc_server/netlogon: protect netr_ServerPasswordSet2 against unencrypted passwords

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

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be8e63949908d8c10d490c8cd0119df4fb917eeb">be8e6394</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-18T12:48:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): s4:rpc_server/netlogon: refactor dcesrv_netr_creds_server_step_check()

We should debug more details about the failing request.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f9b772bf286b7bde6a29cb8d7bbd241638daf5e7">f9b772bf</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-18T12:48:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): s4:rpc_server/netlogon: support "server require schannel:WORKSTATION$ = no"

This allows to add expections for individual workstations, when using "server schannel = yes".
"server schannel = auto" is very insecure and will be removed soon.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca8a0098ac207123a47b8b8f8602599d71d739db">ca8a0098</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-18T12:48:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): s4:rpc_server/netlogon: log warnings about unsecure configurations

This should give admins wawrnings until they have a secure
configuration.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9ef5b63e7a169154401e58f7a29ed25443e5318f">9ef5b63e</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2020-09-18T12:48:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): s3:rpc_server/netlogon: refactor dcesrv_netr_creds_server_step_check()

We should debug more details about the failing request.

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

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Günther Deschner <gd@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b74017d2dd15006f4bec899aa38191a3b44800e4">b74017d2</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2020-09-18T12:48:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): s3:rpc_server/netlogon: support "server require schannel:WORKSTATION$ = no"

This allows to add expections for individual workstations, when using "server schannel = yes".
"server schannel = auto" is very insecure and will be removed soon.

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

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Günther Deschner <gd@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b8e4b0f4306e2d0b4b7c7c443d97abf46d7f9aca">b8e4b0f4</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2020-09-18T12:48:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): s3:rpc_server/netlogon: log warnings about unsecure configurations

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

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Günther Deschner <gd@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d1790a0b5ae7160f6707c6c4fbf2217b251584ea">d1790a0b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-09-18T12:48:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): docs-xml: document 'server require schannel:COMPUTERACCOUNT'

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b262b03e1e8285c399338895832a115953d3f23">4b262b03</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-09-18T12:48:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): s4 torture rpc: Test empty machine acct pwd

Ensure that an empty machine account password can't be set by
netr_ServerPasswordSet2

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

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9945f3e3548657c33cc2e5ef97eedd1dfe2edf71">9945f3e3</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-09-18T14:13:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): s4 torture rpc: repeated bytes in client challenge

Ensure that client challenges with the first 5 bytes identical are
rejected.

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

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Sep 18 14:13:17 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/454ccd986b61799908a6898a55d0480911f15306">454ccd98</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-09-21T07:26:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: fix fcntl waf configure check

RN: Fix fcntl waf configure check
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14503

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Sep 21 07:26:54 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e31c4e69c24445d5bb961c5e476f99478f0e577">8e31c4e6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-23T16:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use direct struct initialization

Give the compiler more hints

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ed263ef47cf754e38a92cf600006e1a6b2f21b36">ed263ef4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-23T16:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: README.Coding for resolve_hosts()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a3572821530063b842da26af29babfca8c51b4cc">a3572821</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-23T16:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Protect against rogue getaddrinfo result

Probably a "won't happen", but to me this looked fishy

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6a11d8dcda60e0854b6cd667a4f40a057256eb7">c6a11d8d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-23T16:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use talloc_realloc() correctly in resolve_hosts()

On realloc failure the old value is still around

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/08c4dd586fc69051ab121071a95d6e18f85c290b">08c4dd58</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-23T18:20:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Fix CID 1467087: Resource leaks

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Sep 23 18:20:36 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/56f022c3f8b7e7bc6052fc5159972598c892b1fa">56f022c3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-23T20:40:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Propagate reload-config message to all worker smbds

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Sep 23 20:40:48 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff36cb740251e64661f3877397b7c97efc4f2b4d">ff36cb74</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-09-23T23:29:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb/ceph: register recovery lock holder with ceph-mgr

The Ceph Manager's service map is useful for tracking the status of
Ceph related services. By registering the CTDB recovery lock holder,
Ceph storage administrators can more easily identify where and when a
CTDB cluster is up and running.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/55dbd1080d876c92eebf31c50b8b38a11bb7a8de">55dbd108</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-09-23T23:29:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb/doc: mention ctdb_mutex_ceph_rados_helper mgr registration

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/68b981ee8a1f2feb39ea679ac504f398ad5d71e8">68b981ee</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-09-24T00:52:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb/test_ceph_rados_reclock: check for service registration

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Thu Sep 24 00:52:42 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cdb6c5d1eca1c0f6967941dbd1da07be6b53d302">cdb6c5d1</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2020-09-24T04:32:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bind9-dlz: Bind 9.13.x switched to using bool as isc_boolean_t instead of int.

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

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Rowland Penny <rpenny@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/95278618829227632b2bcb29fc272e600607ea41">95278618</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2020-09-24T04:32:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision: BIND 9.13.x is not supported

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

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Rowland Penny <rpenny@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a167a2154d4909e8e1f97d9f36d0e4c947f2d944">a167a215</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2020-09-24T04:32:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bind9-dlz: Add support for BIND 9.14.x

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

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Rowland Penny <rpenny@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/016c1174ef783990f93e348ee82f5c989c43cbbf">016c1174</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2020-09-24T04:32:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision: Add support for BIND 9.14.x

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

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Rowland Penny <rpenny@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d09797652059c3ed5b2a4f94f2181ce14d39972">4d097976</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2020-09-24T04:32:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision: BIND 9.15.x is not supported

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

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Rowland Penny <rpenny@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca3c18a236dedfdfbf225dcfcd0418f1634d8759">ca3c18a2</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2020-09-24T04:32:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bind9-dlz: Add support for BIND 9.16.x

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

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Rowland Penny <rpenny@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5b2ccb1c7cad5cded5dad37a18a7d42c1680b2f7">5b2ccb1c</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2020-09-24T04:32:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision: Add support for BIND 9.16.x

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

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Rowland Penny <rpenny@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1bccc67ce7c6364a95fbfeb095938522671578a8">1bccc67c</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2020-09-24T05:55:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision: BIND 9.17.x is not supported

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

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Rowland Penny <rpenny@samba.org>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Thu Sep 24 05:55:43 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d53c91db3c7daac7ae7a1622bd00ddef43f6e8ec">d53c91db</a></strong>
<div>
<span>by Andrew</span>
<i>at 2020-09-24T21:41:12+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:util:net_conf - allow empty path for [homes]

Validation for "net conf addshare" is overly strict. Empty string for
path for homes share is valid.

Signed-off-by: Andrew <awalker@ixsystems.com>
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Sep 24 21:41:12 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fca8cb63762faff54cda243c1ed8217b36333131">fca8cb63</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T11:18:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Don't overwrite contents of fsp->aio_requests[0] with NULL via TALLOC_FREE().

They may have been carefully set by the aio_del_req_from_fsp()
destructor so we must not overwrite here.

Found via some *amazing* debugging work from Ashok Ramakrishnan <aramakrishnan@nasuni.com>.

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

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Sep 30 11:18:43 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6ee90adf737db320095c82ebc8e582769fde9eba">6ee90adf</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-30T15:58:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make cli_list() prototype more descriptive

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f67c8f95626518ac478513c2f7998655371e325c">f67c8f95</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-30T15:58:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make cli_smb2_list() prototype more descriptive

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2915522da472311f86a7cdb0eb1fa77ecebdd1ae">2915522d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-30T15:58:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Align integer types in gid_in_use()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62237e6b97c3e8ec27804966ce568c47faab5bc5">62237e6b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-30T15:58:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: process.c does not need libsmb.h

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/44fd74476d15344ff133c458226694a6254b5337">44fd7447</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-30T15:58:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">spoolss: Align some integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c04e9a6f245c60b25f21b022bc50b24901c58a0">2c04e9a6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-30T15:58:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">spoolss: Align some integer types

SPOOLSS_NOTIFY_MSG_CTR->num_groups is defined as uint32_t

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d14187c95920670c0db5ccb47bdfe790482a3a7">9d14187c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-30T15:58:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove an optimization in string_replace()

Why? This simplifies the code.

Why do I believe we can do this? I don't think this is a very common
operation in critical code paths. Also, next_codepoint() already has
the same optimization. If this turns out to be a measurable
performance issue, we should turn next_codepoint() into a static
inline function doing the 7-bit optimized code path inlined the same
way we did it for tdb_oob(). This way all callers would benefit from
this optimization.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8fa451d2b052223a11b24ffc2a956b80d03aaa7c">8fa451d2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-30T15:58:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbclient: Remove the "abort_mget" variable

This was never set to true anywhere in the code

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14517
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/71bc4d4b8d94458ac2e40d659f06110d434fd5c9">71bc4d4b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-30T15:58:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbclient: Slightly simplify do_mget()

Put the prompt query into a separate if-statement, move the "quest"
variable closer to its use

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14517
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/254a5b034e5a081c9d3f28717a4b54d2af0180fc">254a5b03</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-30T15:58:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test3: Add a test showing that smbclient recursive mget is broken

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14517
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9f24b5098f796f364a3f403ad4e9ae28b3c0935a">9f24b509</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-09-30T17:23:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbclient: Fix recursive mget

Make do_mget rely on do_list() already doing the recursion in a
breadth-first manner. The previous code called do_list() from within
its callback. Unfortunately the recent simplifications of do_list()
broke this, leading to recursive mget to segfault. Instead of figuring
out how this worked before the simplifications in do_list() (I did
spend a few hours on this) and fixing it, I chose to restructure
do_mget() to not recursively call do_list() anymore but instead rely
on do_list() to do the recursion. Saves quite a few lines of code and
complexity.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14517
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Sep 30 17:23:45 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b8653f4ee7ae4afe5391df4f68399858614d8145">b8653f4e</a></strong>
<div>
<span>by Simo Sorce</span>
<i>at 2020-09-30T20:45:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Restrict GSSAPI query to the krb5 mechanism

Otherwise GSSAPI will consult other mechanisms if available and we can
only cope with krb5 credentials here.

Signed-off-by: Simo Sorce <idra@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Sep 30 20:45:23 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/33fffcd2702f4559f093a3253a3d06c98c47cfdc">33fffcd2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: dptr_create() doesn't need a separate wcard_has_wild parameter..

It can figure this out by itself.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/93fcb44961c78c0850cf8815ad10e64336230d35">93fcb449</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_unlink() - the UCF_COND_ALLOW_WCARD_LCOMP makes no sense.

There's either a wildcard in the last component or not. Always use
UCF_ALWAYS_ALLOW_WCARD_LCOMP for calls that can take a wildcard.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38bdb082b897e1b8e0fb3e36e815b6c447e42b84">38bdb082</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_mv() - the UCF_COND_ALLOW_WCARD_LCOMP makes no sense.

There's either a wildcard in the last component or not. Always use
UCF_ALWAYS_ALLOW_WCARD_LCOMP for calls that can take a wildcard.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/10e034ec21fc2fe1a3a23a769f17623b330c83e4">10e034ec</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_copy() - the UCF_COND_ALLOW_WCARD_LCOMP makes no sense.

There's either a wildcard in the last component or not. Always use
UCF_ALWAYS_ALLOW_WCARD_LCOMP for calls that can take a wildcard.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5082423f182c32f71cda2ec1e0f1edb5526b5b86">5082423f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_ntrename() - the UCF_COND_ALLOW_WCARD_LCOMP makes no sense.

There's either a wildcard in the last component or not. Always use
UCF_ALWAYS_ALLOW_WCARD_LCOMP for calls that can take a wildcard.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d11a87ea13101962420e38a5cf96bf03f8ca0b6">8d11a87e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: MS-DFS - We no longer ever set UCF_COND_ALLOW_WCARD_LCOMP so don't check for it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e188b74aa9bea5ab443d7c96d9b108c1268aa52e">e188b74a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 Remove the crazy semantics in filename_convert_internal() using UCF_COND_ALLOW_WCARD_LCOMP.

In the places where wildcards are allowed in SMB1
we always pass in UCF_ALWAYS_ALLOW_WCARD_LCOMP.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5547cc803c1c6d94d1b6352e613a1dfbe00e64f9">5547cc80</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 comment out unused UCF_COND_ALLOW_WCARD_LCOMP flag.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b7ca811ef53955d4e931bd258f47d677070afa2c">b7ca811e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_ntrename() - the source cannot have a wildcard.

Simplify the wildcard processing of the source name.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/71c4c96d97888588b78bddee495106ac08745fb2">71c4c96d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_ntrename() - Move the call to get_original_lcomp() to before filename_convert() for the destination name.

Simple code re-arrangement to make the next change clear.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c518111e1178e55fcb1f66d974b7a37a4cdbe05e">c518111e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_ntrename() - set dest_has_wcard from the parsed last component.

We eventually want to remove the last_component_has_wcard out of the srvstr_get_pathXXX()
calls and just use srvstr_get_path_req().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f43c04164db3a93b4eb5715d6626ff3dd18d806a">f43c0416</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_ntrename() - now we set dest_has_wcard separately we can use srvstr_get_path_req() instead of srvstr_get_path_req_wcard().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/db20ef392e7ca820e370e27c61c7a528bbc8f2eb">db20ef39</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_ntrename() - now we set dest_has_wcard separately we don't need to pass it to filename_convert().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/525ccadd641260f8c8f3229341927de04a4fe046">525ccadd</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: srvstr_get_path_req_wcard() is now static to reply.c

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/078f2d94563922cdba01d609efad3d668e2115d8">078f2d94</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In SMB2 query directory we don't need to do full path resolution of the mask component.

get_original_lcomp() does all the name canonicalization required for the mask.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/97a4dfbd4a3184cac49dceb1ef0b016e891f96d2">97a4dfbd</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_search() doesn't actually care if the mask contains a wildcard or not.

Don't pass to filename_convert().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e3611cc05f8ffcaa2a955aa2c2754d2ae6bff8d9">e3611cc0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_search(). The dptr already knows if the mask has a wildcard.

Get the value from the dptr instead.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/edee7198d9745899408bdb9de3153fc5484892f0">edee7198</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_search(). Use srvstr_get_path_req() not srvstr_get_path_req_wcard()

If we have a wildcard is found by other means now.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/49be6d38671c00e1d818d92dfda36f74cfd1a2e4">49be6d38</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_fclose() doesn't need wcard, use srvstr_get_path_req() not srvstr_get_path_req_wcard().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/96b9842e31f975500f37373af1543214f078188e">96b9842e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: unlink_internals() can figure out if the mask has a wildcard on its own.

Doesn't need a parameter for that.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ed0c07e298c2122fc2ef0ded9833bd5a6592eb9e">ed0c07e2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 call_trans2findfirst(). Don't need the wildcard status of the mask here.

dptr_create() can work this out all on its own.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0fbce9486311f6ef710c747169b03560f3c4cc1d">0fbce948</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 call_trans2findnext() doesn't need the mask_contains_wcard bool.

dptr already knows this.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/83b17f4f3e11cb47b57e10569a5f2cc18730e361">83b17f4f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_unlink() - use srvstr_get_path_req() not srvstr_get_path_req_wcard()

Now unlink_internals() checks its own wildcard on the mask.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b89c0a6d3f456fe597949b660a3c2ddbbad2be42">b89c0a6d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 rename_internals() can figure out the wildcard status of the paths by itself.

No need to pass them as parameters.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/079aec9d09ee0be72a635ce17aa97686239df4f4">079aec9d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_mv() no longer needs the XX_has_wcard variables.

Use srvstr_get_path_req() not srvstr_get_path_req_wcard().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9269e9c232f0ef9e402f70875381e47ca3a1c9c9">9269e9c2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_copy() - set the xxx_has_wild flags from the processed names.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/08d029c2902dd70fe64e08e6fb212ae7cbb0882c">08d029c2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_copy(). Use srvstr_get_path_req() not srvstr_get_path_req_wcard()

Now we check the wildcard status elsewhere. Don't pass to filename_convert() either.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf966dc2ca0a96e6ef6e35483dfeebef5e0f9090">bf966dc2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 call_nt_transact_rename() never needs wcard bool.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9c16729a7b8ba7d958d85dba300fedcec9098a1d">9c16729a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: smb_file_rename_information() doesn't need to use the wildcard status of the destination.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f0ecc7dcc61dce7f99fbb11fcdbb20fb6e02b40">4f0ecc7d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: srvstr_get_path_wcard_posix() is no longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/26e8bd7e1eee76917e039783ed43ac5b02e5b89c">26e8bd7e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove srvstr_get_path_wcard() - no longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9392b13dff69effb0f76fff4074d20e06f249feb">9392b13d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove the wrapper srvstr_get_path_req_wcard().

Rename srvstr_get_path_req_wcard() -> srvstr_get_path_req()
as it no longer gets ward status.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7a1839ab7350f502383da0040778ccee6243382f">7a1839ab</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: All callers to srvstr_get_path_wcard_internal() pass 'ignore' as the last parameter.

Move it internal to srvstr_get_path_wcard_internal().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ea69c262dde34c2b107477c171ab0b948fe800d">5ea69c26</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Rename srvstr_get_path_wcard_internal() -> srvstr_get_path_internal().

It now does nothing with wildcards.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d7cdefb9d1454fa5975def03d40910b606c4d99">4d7cdefb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: As srvstr_get_path_internal() ignores the wcard parameter, use check_path_syntax() instead of check_path_syntax_wcard()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff4e8b2c841ac2d901faeac42f8625110440b56a">ff4e8b2c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: All callers to filename_convert() pass in NULL for the 'bool *ppath_contains_wcard' parameter.

Remove it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eb60ed6b5ed12f144642b58203d5d37ab81fe20b">eb60ed6b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: The only caller of filename_convert_with_privilege() passes in NULL for the 'bool *ppath_contains_wcard' parameter.

Remove it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b3334eb9d86ea146e5ae6eb7ced59ad564d88ba5">b3334eb9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove the 'bool *ppath_contains_wcard' parameter from filename_convert_internal()

It's always ignored.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e59c810f2654fdd34f78376d46f559d17d86ec06">e59c810f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove unused 'bool *ppath_contains_wcard' parameter from resolve_dfspath_wcard()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e7bb8075d2404c3dd798447b79842c0a8e2af898">e7bb8075</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove unused 'bool *ppath_contains_wcard' parameter from dfs_redirect()

resolve_dfspath_wcard() is now a tranparent wrapper for dfs_redirect().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b7bb348bfe7a2cfda52a9c4ef8b64bb9f057b0a0">b7bb348b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove wrapper resolve_dfspath_wcard(). Just call dfs_redirect() directly.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/25ef25528e698976ada97e71ecb021cac201aaf1">25ef2552</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Implement the 'allow_wcards' parameter inside parse_dfs_path()..

Previously this didn't actually restrict wildcards here, as check_path_syntax_wcard()
returns the fact there was a wildcard in the last component, but doesn't
return an error. Just use check_path_syntax() instead and check
for wildcards separately.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f9321ed7dd77e48af5c8707b843a2c93082d3ba1">f9321ed7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T20:46:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove unused 'bool *ppath_contains_wcard' parameter from parse_dfs_path().

check_path_syntax_wcard() is now unused.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a9186829eb2b2365a91d870d8c04fe3506366f18">a9186829</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-09-30T22:08:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove unused check_path_syntax_wcard().

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Sep 30 22:08:01 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8557a52937e3a3319fa4bd9b18af792cee9ec528">8557a529</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-01T01:18:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild.py: Combine samba-static and samba-nopython

We expect these will complete in under an hour and reduce the number of
parallel jobs.  Hopefully there will be some ccache hits between these
as well.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e488255074da8dd3284bd9c8255fd1eff5133a9">3e488255</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-01T01:18:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Remove Python2 support from the build

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40511af091b6b3f138af930affab67865e33f81d">40511af0</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-01T01:18:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Remove Python2 handling in SAMBA_CHECK_PYTHON_HEADERS()

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5edc004f95cfcf314dcd935cdf7d4141844f664a">5edc004f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-01T01:18:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: Set interuptable: true

This should reduce some CI costs, avoiding spending CPU time on jobs that are
already out of date because a new branch has been pushed.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/21197bb57d36771f772cb28221edf4b12b5f7b33">21197bb5</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-01T01:18:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Move some more tests from the samba-o3 job

These tests do not need to be repeated over and over on multiple
distributions.  This just wastes CI resources.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5419774b23ef231216fd9c37c63ff83620c9faf3">5419774b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-01T01:18:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Remove the os.getpid() from the autobuild directory

This might help our CI runners get a ccache hit by keeping the path constant.

Otherwise, we only get a good ccache hit rate if the docker container gives
us the same pid each time.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5b236d41767c066a1380c398cbca7bb1f1ef2ba">e5b236d4</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-01T01:18:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: Remove echo of (incorrect due previous commit) command

The command is now echoed by the gitlab interface now anyway,
so avoid having to keep these in sync.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/584f5106cdaec3b117f3874054e094b0f00bebb6">584f5106</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-01T01:18:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Remove more "make install" steps

Running a "make install" involves a full re-link which takes quite some time
we really only need to test this in a couple of basic combinations, so remove
from a few more targets.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/88663eb949a4cd097d3cdadd960251542ccb6064">88663eb9</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-01T01:18:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Merge no-modules test with the library --disable-python build

This avoids another full compile cycle.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a22a80ed6e8494b3edb717c3b288c7adde5092ee">a22a80ed</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samdb: add prepare_attr_replace() method

Add a method to prepare a given Message to replace the given attribute.
If the given new value is None or the old value and the new value are
the same, do nothing.
If the new value is empty, prepare to replace the given attribute with
[].
Else prepare to replace the given attribute with the new value.

Use this for samdb.modify(msg).

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/899e66d47ff08a299cb12b33b987e7f98692a3b8">899e66d4</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samdb: add fullname_from_names() method

Add a method to construct the fullname, using the given name, the initials
and the surname.
If one of this values is empty, try to use the old one, given by an
attributs set.
If the combination is empty, the method will return the fallback-default
parameter.

Use this method to construct the CN or the displayName of users or
contacts.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/efa9889acb23e2962ab28f74db9ba4424ea046e9">efa9889a</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: add test suite for samba-tool contact commands

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/891af2405421778dc49e24256cd258819758f48c">891af240</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2020-10-01T01:18:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool user: add new user 'rename' command

Usage: samba-tool user rename <username> [options]

Rename a user and related attributes.

This command allows to set the user's name related attributes. The user's
CN will be renamed automatically.
The user's new CN will be made up by combining the given-name, initials
and surname. A dot ('.') will be appended to the initials automatically.
Use the --force-new-cn option to specify the new CN manually.

The username specified on the command is the sAMAccountName.

Example1:
samba-tool user rename johndoe --surname='Bloggs'

Example1 shows how to change the surname of a user 'johndoe' to 'Bloggs' on
the local server. The user's CN will be renamed automatically, based on
the given name, initials and surname.

Pair-Programmed-With: Jule Anger <ja@sernet.de>

Signed-off-by: Björn Baumbach <bb@sernet.de>
Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/06997d1558bced6b2baf71048739f5a97c99ef2e">06997d15</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: add samba-tool user rename command to samba-tool man page

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea8b3f928ec9283723db4ade5d8dcb07a58c46a0">ea8b3f92</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool tests: add test-cases for 'user rename'

Tests the following options:
--surname
--given-name
--initials
--force-new-cn
--reset-cn
--display-name
--mail-address
--samaccountname
--upn

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b06ff7ffcec32d8382a807c0c538fbca17721ae">4b06ff7f</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool group: add new group 'rename' command

Usage: samba-tool group rename <groupname> [options]

Rename a group and related attributes.

This command allows to set the group's name related attributes.

Use an empty attribute value to remove the specified attribute.

The groupname specified on the command is the sAMAccountName.

Example1:
samba-tool group rename employees --samaccountname=staff

Example1 shows how to change the sAMAaccountName of a group 'employees' to
'staff' on the local server.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3ff79e81fb83cf466063ed3e8ac986a58430dafe">3ff79e81</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: add samba-tool group rename command to samba-tool man page

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac283a96e774b67cf6da05e8bcc9247444be851b">ac283a96</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool tests: add test-cases for 'group rename'

Tests the following options:
 --samaccountname
 --force-new-cn
 --reset-cn
 --mail-address

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf04cb3b7a9182b07e8eee7c0626cb0c2cf0b7e6">bf04cb3b</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool contact: add new contact 'rename' command

Usage: samba-tool contact rename <contactname> [options]

Rename a contact and related attributes.

This command allows to set the contact's name related attributes.

Use an empty attribute value to remove the specified attribute.

The contactname specified on the command is the CN.

Example1:
samba-tool contact rename "John Doe" --surname=Bloggs \\
    --force-new-cn=John

Example1 shows how to change the surname ('sn' attribute) of a contact
'John Doe' to 'Bloggs' and change the CN to 'John' on the local server.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/66b6d90c6105dcd27fb5722fbce40e02fa12941d">66b6d90c</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: add samba-tool contact rename command to samba-tool man page

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b83b4c92df5e779b68214820d1ab0940acd83f41">b83b4c92</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool tests: add test-cases for 'contact rename'

Tests the following options:
 --surname
 --given-name
 --initials
 --force-new-cn
 --reset-cn
 --display-name
 --mail-address

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/419e75cc38706102cc3d52779962e002c3439aee">419e75cc</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool ou: rename 'ou create' to 'ou add'

Keep 'ou create' for compatibility reasons.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b8ed676cc836da2b5cc477e0849526ff211ec96">3b8ed676</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: rename 'ou create' to 'ou add'

And add 'ou create' as synonym for 'ou add'.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6315deaa671561684eac792b2956a78fb0690625">6315deaa</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool tests: rename 'ou create' to 'ou add'

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/95ba8a3f8cc320f84c9e63140dc2d799ef0c2060">95ba8a3f</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool user: rename 'user create' to 'user add'

Keep 'user create' for compatibility reasons.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d93a7e21204fb4d9f1be36c3a524d8eb687a2634">d93a7e21</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: rename 'user create' to 'user add'

And add 'user create' as synonym for 'user add'.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/051364487cab82864fe05b46101cbe54769a3a1d">05136448</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool tests: rename 'user create' to 'user add'

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1703ca113619d08ea1f364ab79fd297cd5cf0232">1703ca11</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool computer: rename 'computer create' to 'computer add'

Keep 'computer create' for compatibility reasons.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f657d55f870ec30ec5586447b3d660dabd663c9">5f657d55</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: rename 'computer create' to 'computer add'

And add 'computer create' as synonym for 'computer add'.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f61ef204d9ddfc09296dbf075b5d65006b98ae5">1f61ef20</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool tests: rename 'computer create' to 'computer add'

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/90988ff69f85454307fb83564e5136bf1d33c3a6">90988ff6</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool group: add 'group create' as synonym for 'group add'

Add 'group create' command for a symmetric set of
samba-tool subcommands

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee1c8126fc07127737c5b337a12e6970d3a22e66">ee1c8126</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: add 'group create' as synonym for 'group add'

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6686235819bc68fa47dcce0138b76263fc3ff9e5">66862358</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool tests: rename 'group create' to 'group add'

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f38336ac0ebc3246464c0f975b430c7b73cf329d">f38336ac</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool contact: rename 'contact create' to 'contact add'

Keep 'contact create' for compatibility reasons.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b7cf5f5dd99f55404848d2eb6c4b2ecb02607e7">3b7cf5f5</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T01:18:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: rename 'contact create' to 'contact add'

And add 'contact create' as synonym for 'contact add'.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ab0e5e3c43165747d436269d5706e3736589c395">ab0e5e3c</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-01T02:44:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool tests: rename 'contact create' to 'contact add'

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Thu Oct  1 02:44:09 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/91dc9bb6594ae78fa5109719b66e4c644339e1b7">91dc9bb6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-10-01T21:21:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove the ignored last parameter 'bool *p_last_component_contains_wcard' from check_path_syntax_internal().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/234957a2e4408537c5722edf04dfe03dd31bd1b1">234957a2</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2020-10-01T22:45:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix build after removal of an extra safe_string.h

Move of strcasecmp redefine to lib/util/safe_string.h in
https://gitlab.com/samba-team/samba/-/merge_requests/1507 broke build on
Fedora 33 with GCC 10.2.1 for those compilation units that use
ldb_att_cmp().

The reason for that is that ldb_attr_cmp() defined as

   #define ldb_attr_cmp(a, b) strcasecmp(a, b)

because attribute names restricted to be ASCII by RFC2251 (LDAPv3 spec).

A solution is to add

   #undef strcasecmp

to all source code files which use ldb_attr_cmp().

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Oct  1 22:45:29 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/85d2ff2f0003b106ca84866b7e7893723f1dd93c">85d2ff2f</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-10-02T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Move dsdb_Dn to samdb

The import dsdb needed for dsdb_Dn causes import
errors when trying to import get_bytes/get_string
in some places.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a3cd31532125ccb537af6cd9d27c761b7da4b03a">a3cd3153</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-10-02T14:49:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python2 reduction: Merge remaining compat code into common

The remaining compat code (get_string, get_bytes,
cmp) are useful helper routines which we should
simply merge into common (especially since there
is some duplication here).

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Fri Oct  2 14:49:36 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/80ac7fa7c4c728bef4f947872c090fec35fb26f0">80ac7fa7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-02T19:39:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: remove smbd_conn private library

This is not needed anymore since 6822baa2920f30374ec84363497d97e24f359fab..

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/089d8f443814af1620982d6834fba74e03933ad1">089d8f44</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-02T19:39:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: add and use vfs_fake_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/176290eb68f57f953821b33130f595d2cdb79089">176290eb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-02T19:39:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: realign vfswrap_fgetxattr() args

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/616b64c3627bfee4f4f8541c0b5e6a675c24a643">616b64c3</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-02T19:39:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture: use unique filename for torture_samba3_hide() test

The filename "test.txt" is also used by other tests and without O_PATH the file
can't be removed at the end of this tests: open_smb_fname_fsp() fails with
ACCESS_DENIED because the POSIX mode of the file is 0000 and become_root() used
in the #ifndef O_PATH fallback case doesn't work in CI.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4389ae9ca0ceed6c56d315c57ac1e8590ab7f699">4389ae9c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-02T19:39:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: ensure the buffer passed to file_lines_parse() is 0-terminated

Otherwise valgrind complains...

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/187353d91cb9ffe441b84dccb4a8a5a5ce6281af">187353d9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-02T19:39:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: switch caller of fd_openat() to fd_open()

fd_openat() was added to be used with real dirfsp, but after adding pathref fd
support we will never use this.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d196cf4604208b158a6872ece20be6014a0198f9">d196cf46</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-02T19:39:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: use VFS ftruncate function in fruit_ftruncate_rsrc_adouble()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7ccaff48575b1a94a778f43409505f149b6bdcb8">7ccaff48</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-02T19:39:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove dirfsp arg from mkdir_internal()

Prepares for removing the dirfsp arg from SMB_VFS_CREATE_FILE() again. In the
future mkdir_internal() will open the dirfsp itself as needed.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a7544661816a3d06cdc67e1e08a9afca81d7cf9b">a7544661</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-02T19:39:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove dirsp arg from open_directory()

Prepares for removing the dirfsp arg from SMB_VFS_CREATE_FILE() again. In the
future open_directory() will open the dirfsp itself.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d84a2356b1000b222f303e8cfd20badc998c8fb">9d84a235</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-02T19:39:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove dirfsp arg from create_file_unixpath()

Prepares for removing the dirfsp arg from SMB_VFS_CREATE_FILE() again. In the
future dirfsp has to opened as needed within create_file_unixpath() and below.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a366b756a1e0118295eb94b7393e3f476f39862c">a366b756</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-02T19:39:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: avoid using fsp->dirsp

fsp->dirfsp will eventually go away again.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b133b81d8d18b998ee8e01ef034732c36169bf98">b133b81d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-02T19:39:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: avoid using dirfsp arg in create_file_default()

This is not used anymore in the callees.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1c444f9c37c01f986cbe880f0a6d4abdd8c34a0b">1c444f9c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-02T19:39:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove fsp->dirfsp

This was supposed to be a shortcut to avoid passing dirfsp around as an explicit
function argument throughout the whole codebase when the new VFS design idea was
based on using *AT functions throughout the VFS.

Now that we've opted for basing the VFS on handles and *AT functions will only
be used in a much more limitted extent, it makes sense to remove this internal
dirfsp reference, otherwise the combination of internal fsp->dirfsp and
smb_fname->fsp is going to be a tough to wrap your head around.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/322574834f1e71bc01f21be9059ca4d386517c84">32257483</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-02T21:00:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: remove dirfsp arg from SMB_VFS_CREATE_FILE()

This was supposed to be a shortcut to avoid passing dirfsp around as an explicit
function argument throughout the whole codebase when the new VFS design idea was
based on using *AT functions throughout the VFS.

Now that we've opted for basing the VFS on handles and *AT functions will only
be used in a much more limitted extent, it makes sense to remove this internal
dirfsp reference, otherwise the combination of internal fsp->dirfsp and
smb_fname->fsp is going to be a tough to wrap your head around.

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct  2 21:00:05 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f02e76d0237dc574c4eb732f420217e2ab886d27">f02e76d0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libads: Improve a debug message

"kdc_str" is a multi-line string starting with a tab. It looks
better in the debug message when starting in a new line.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4c1f61cb800da80e2f8844a66ac7fa201f87b8c4">4c1f61cb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libads: Improve a debug message

"kdc_ip_string" is a multi-line string starting with a tab. It looks
better in the debug message when starting in a new line.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9b453f475fe08db369c5dec6446b988f92d58951">9b453f47</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Remove a pointless if-expression

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bb8d3330704cc3e411a9b1805a042b02d3d80a93">bb8d3330</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Don't leave a pointer uninitialized

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6d369438b886fcbb8b480092c8b19b1db94b06d2">6d369438</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f58ae505a24f8c8d4957d67244b27d46628282a0">f58ae505</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture3: Fix a cut&paste error in a printf message

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/818103c8250fedd4dae82f8eb40e9f7b97a8f611">818103c8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/552ceb5b41deb44e7ba1f827d9d5ff22745489c1">552ceb5b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use ISDOT/ISDOTDOT instead of strcmp

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bcbe736300e974662017f820d636d5e3b749889a">bcbe7363</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: Fix typos

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5a143c09316f2984be3988805176163fb278ee2f">5a143c09</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Avoid a use of includes.h

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a61ed4df0e050e3558820945808c5b67caac0ccb">a61ed4df</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Align some integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dfc870b6cd5ccaad7a14af04f455ac9d77566962">dfc870b6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mdssvc: Slightly simplify dalloc_size()

talloc_get_size() and thus talloc_array_length() deals fine with a
NULL pointer

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bbb017637e85d9700c4f6ed8f43d47b40f38711a">bbb01763</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Add GUID_to_ndr_buf()

Avoids talloc

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/29e3c0cdb787d8316287413c09d4584dda87b621">29e3c0cd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Use GUID_to_ndr_buf() in GUID_to_ndr_blob()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/77877cfed19ea98bfac3ba43529589f4cdd33714">77877cfe</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Use GUID_to_ndr_buf() in ldap_encode_ndr_GUID()

Avoid a talloc/free

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bc6388712458ae4a278ac98b0a2f2bb286840923">bc638871</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use GUID_to_ndr_buf() in smbXsrv_client_global_id_to_key()

Avoid a talloc/free

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f1161f441c74f09dd5af3954fc28b0d3534822e">5f1161f4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use GUID_to_ndr_buf() in fsctl_validate_neg_info()

Avoid a talloc/free

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b1fa3e2bcc5fc2e08d335d2eb470c37f744cb5ab">b1fa3e2b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Use GUID_to_ndr_buf() in smbcli_push_guid()

Avoid two talloc/free

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/39180ca2d8932946aee3327668966098b9f229e0">39180ca2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Use GUID_to_ndr_buf() in smb2_create_send()

Avoid talloc/free

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/63ab004e38b24929b3f578e5db0574938c63aeb5">63ab004e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T21:30:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Use GUID_to_ndr_buf() in smbXcli_negprot_smb2_subreq()

Avoid a talloc/free

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/666d2a38fcf62eda3529ae21575381e43b2c046f">666d2a38</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-02T22:50:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Use GUID_to_ndr_buf() in smb2cli_validate_negotiate_info_send()

Avoid a talloc/free

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct  2 22:50:43 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/83ab59d929a6319c18341cb69d5084b563fb59bb">83ab59d9</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-10-05T12:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "vfs_ceph: drop fdopendir handler"

This reverts commit 76d7d05b1da6c0703b1c2bade0c4467c7cc1adec.
OpenDir_fsp() no longer falls back to regular open, so this hook is
required.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14519

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Mon Oct  5 12:38:34 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5cfc9271e4ec67c4ec2ec67d3989b8a96b6d621f">5cfc9271</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2020-10-05T20:06:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party: Update gpfs.h to 5.0.5.3 version

4.2.3 went out of support, so update the header file to the oldest
currently supported GPFS version. Going forward, this will allow usage
of newer API calls.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Mon Oct  5 20:06:04 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3ab52b528673e08caa66f00e963528c591a84fe1">3ab52b52</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-10-06T03:12:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Drop unnecessary code

This has already been done in update_flags().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14513
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b01f54041dee469971f244e64064eed46de2ed5">4b01f540</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-10-06T03:12:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Drop unnecessary and broken code

update_flags() has already updated the recovery master's canonical
node map, based on the flags from each remote node, and pushed out
these flags to all nodes.

If i == j then the node map has already been updated from this remote
node's flags, so simply drop this case.

Although update_flags() has updated flags for all nodes, it did not
update each node map in remote_nodemaps[] to reflect this.  This means
that remote_nodemaps[] may contain inconsistent flags for some nodes
so it should not be used to check consistency when i != j.

Further, a meaningful difference in flags can only really occur if
update_flags() failed.  In that case this code is never reached.

These observations combine to imply that this whole loop should be
dropped.

This leaves potential sub-second inconsistencies due to out-of-band
healthy/unhealthy flag changes pushed via CTDB_SRVID_PUSH_NODE_FLAGS.
These updates could be dropped (takeover run asks each node for
available IPs rather than making centralised decisions based on node
flags) but for now they will be fixed in the next iteration of
main_loop().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14513
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b68105b8f7c20692d23d457f2777edcf44f12bb8">b68105b8</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-10-06T04:32:06+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Strengthen node state checking in ctdb disable/enable test

Check that the desired state is set on all nodes instead of just the
test node.  This ensures that node flags have correctly propagated
across the cluster.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14513
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Tue Oct  6 04:32:06 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c587685dde2448d1f68ada47ce5ad42b02a118ce">c587685d</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-10-06T23:06:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: fix default value of spoolss:architecture

"Windows x64" is the default here since a couple of years already.

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Oct  6 23:06:50 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/728dd396f81a4a9e48c4828586574c3743db0d5c">728dd396</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-10-08T15:07:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: Add an async DNS kerberos locator plugin.

Used in production on a large customer site.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f3281e0befb43224010f2940230a5a2b54fea4c4">f3281e0b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-10-08T15:07:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: selftest: Add new SMB1-only wildcard unlink regression test.

samba3.smbtorture_s3.crypt_client.SMB1-WILD-MANGLE-UNLINK(nt4_dc_smb1)
samba3.smbtorture_s3.plain.SMB1-WILD-MANGLE-UNLINK(fileserver_smb1)

knownfail for now.

The recent wildcard changes broke something that used to work.

Consider a directory with 2 files:

dir/
         a
         *

The '*' file has a mangled name of _2X68P~X.

SMB1unlink("_2X68P~X") will delete *both* files
as the new 'unlink has wildcard' check is done after
the name unmangle.

SMB2 doesn't suffer from this problem, as it doesn't
allow wildcard unlinks.

Fix to follow.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/43d30ddb1bd8b3638f48758a3d2a8eebcbef77fd">43d30ddb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-10-08T15:07:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: selftest: Add new SMB1-only wildcard rename regression test.

samba3.smbtorture_s3.crypt_client.SMB1-WILD-MANGLE-RENAME(nt4_dc_smb1)
samba3.smbtorture_s3.plain.SMB1-WILD-MANGLE-RENAME(fileserver_smb1)

knownfail for now.

The recent wildcard changes broke something that used to work.

Consider a directory with 2 files:

dir/
        foo
        fo*

The 'fo*' file has a mangled name of FSHCRD~2.

SMB1rename("dir/FSHCRD~2", "dir/ba*") will rename *both* files
as the new 'rename has wildcard' check is done after
the name unmangle.

SMB2 doesn't allow wildcard renames so doesn't have this problem.

Fix to follow.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e4fd7bc70641d94fa7fc1178b06a717b4ea75d14">e4fd7bc7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-10-08T15:07:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_copy. Check untouched last component for wildcards in src and dst.

Not doing a test for this as wildcard SMB1copy() is evil and
should be removed. It's the same fix I'm doing for unlink
and rename, so this shouldn't be an issue.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4ba1428334cfaa33c72c68947ed1afb1b985cb9e">4ba14283</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-10-08T15:07:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Pure reformatting of unlink_internals() to make it obvious when I add a parameter.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/90bce2c0920d0f2dc2e3aebef0f563eda99fdaac">90bce2c0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-10-08T15:07:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix SMB1 reply_unlink() to handle wildcards.

Add a 'bool have_wcard' to unlink_internals().
Move the wildcard detection out of unlink_internals() as it
was looking at the wrong thing.

This is now correctly set only from the unmangled last component
of the path sent to reply_unlink().

We now pass:

Samba3.smbtorture_s3.crypt_client.SMB1-WILD-MANGLE-UNLINK(nt4_dc_smb1)
samba3.smbtorture_s3.plain.SMB1-WILD-MANGLE-UNLINK(fileserver_smb1)

so remove the knownfail.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f75e633fde8dcc8662f1949b0f81d605d7d44ef6">f75e633f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-10-08T15:07:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add a 'const char *src_orginal_lcomp' (last component) parameter to rename_internals().

Not yet used. Passing as NULL means explicitly no wildcards
in the source name. There's only one place where we have to handle
wildcards here and that is from SMB1 reply_mv().

Could have used a bool here as in unlink_internals() but
using a string here makes the parameters more symmetrical
around src and destination values.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f696d29fcca81ccd6a8ad3296a6ffc1780e560b4">f696d29f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-10-08T16:29:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix SMB1 reply_mv() to handle wildcards.

Pass in the original source last component to rename_internals()
from reply_mv().

Change the wildcard detection in rename_internals() to
look at the correct thing for the source path.

This is now correctly set only from the unmangled last component
of the source path sent to reply_mv().

We now pass:

Samba3.smbtorture_s3.crypt_client.SMB1-WILD-MANGLE-RENAME(nt4_dc_smb1)
samba3.smbtorture_s3.plain.SMB1-WILD-MANGLE-RENAME(fileserver_smb1)

so remove the knownfail.

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Oct  8 16:29:27 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8fbda54e4d075fc49f024bc1faa95e9760386e53">8fbda54e</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-10-08T17:52:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nt_printing_ads: support more attributes for AD published printers

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Oct  8 17:52:46 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c75e8ff47b4d79b37240f9461ddae10a4f03c892">c75e8ff4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Rename 'smb encrypt' to 'server smb encrypt'

This makes it more clear what we want. 'smb encrypt' is a synonym for
'server smb encrypt'.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1b67943f938ae774360dc3db73db940f9982243b">1b67943f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Move enc_desired to provision to have it in 'fileserver' too

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e7577ab6cbc83b496ac091c3e425c7c7fea29cdb">e7577ab6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:tests: Add smbclient tests for 'client smb encrypt'

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1189b20cb7ea09cfed5c246cf977442a51ef72cb">1189b20c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:client: Remove global smb_encrypt

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a9fbc8dae878ddfa54153e91cc1128c307816b76">a9fbc8da</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Remove force_encrypt from cli_cm_open()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d27e237cf37fb254646d94827935d9c302c379ff">d27e237c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Remove force_encrypt from cli_cm_connect()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/615a9a68166bdeb0ab7dbacf395c6125ec70f288">615a9a68</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Remove force_encrypt from clidfs do_connect()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4ddec1ca257fff418847c5d1e83a3fb7cb5ade1a">4ddec1ca</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Remove force_encrypt from cli_check_msdfs_proxy()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/276563de06f2071ec2ed9a8b73f92215ab621bba">276563de</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Pass cli_credentials to clidfs do_connect()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c8349111243fec81a2b95484e56a6d6bebaba80e">c8349111</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Pass cli_credentials to cli_cm_connect()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/df1623abd7267916696e2e60c146ef8fa6c9dfc9">df1623ab</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Pass cli_credentials to cli_cm_open()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5245ab3c4dacc88d5cbe3bb1e3e339e4fb77a4db">5245ab3c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Pass cli_credentials to cli_resolve_path(), using helper variables.

Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d07f28645f37c1f976017d5b89864791a18d1943">d07f2864</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:client: Remove global max_protocol

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4aac9daf095e7c2de6a27697a13385ee87a4b634">4aac9daf</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Remove max_protocol from cli_cm_open()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2159582610ecc932047b85a77ec321b3d3ac806f">21595826</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libcmb: Remove max_protocol from cli_cm_connect()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/50b59b4c28bc816094a4ca97f64450860e2495b2">50b59b4c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Remove max_protocol from clidfs do_connect()

The if check for max_protocol == 0 is part of lp_client_max_protocol().

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d4d8218b9618dd289f54b41f13d7015f1b3994fd">d4d8218b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T19:16:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:include: Move loadparm prototypes to own header file

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/925cc9aafbe17cb2cbd89f468fac70f96ae89475">925cc9aa</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-09T20:36:12+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Move interface prototypes to own header file

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct  9 20:36:13 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/74fbe0b987a0333cca28bb6a547e5b4b4f2e706d">74fbe0b9</a></strong>
<div>
<span>by Anoop C S</span>
<i>at 2020-10-14T10:08:24+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_shadow_copy2: Avoid closing snapsdir twice

As per man page for closedir(3):

. . .
The  closedir() function closes the directory stream associated with
dirp.  A successful call to closedir() also closes the underlying file
descriptor associated with dirp.
. . .

Therefore we don't have to attempt an additional close of file
descriptor after closedir().

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

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Oct 14 10:08:24 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b78ff5717654064c8a4facc54a8e9833e5843c21">b78ff571</a></strong>
<div>
<span>by Jones Syue</span>
<i>at 2020-10-14T11:07:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">interface: fix if_index is not parsed correctly

Replace probed_ifaces[i] with ifs.

In SDC 2020 SMB3 Virtual IO Lab,
run Windows Protocol Test Suite to test FileServer multichannel test cases.
Samba server has 2 virtual interfaces for VPN connection:
> name=tun2001, ip/mask=192.168.144.9/22
> name=tun2002, ip/mask=192.168.144.10/22
test suite client can ping these 2 ip addresses and browse shares.
Then client try to use IOCTL FSCTL_QUERY_NETWORK_INTERFACE_INFO to get the
virtual ip addresses of samba server, but samba server responded it
without the virtual ip addresses. My VPN setup is point-to-point and the
virtual interfaces 'tun2001' & 'tun2002' are without flag IFF_BROADCAST.
So edit smb.conf and add
"interfaces = ${virtual_ip}/${mask_length};if_index=${id}", like this:
> interfaces = eth4 eth8 eth11 eth10 qvs0 "192.168.144.9/22;if_index=50" "192.168.144.10/22;if_index=51"
then samba server IOCTL response could return the virtual ip addresses,
but found a issue:
the interface index of virtual ip addresses is always 4294967295
(0xFFFFFFFF, -1).

Quote Metze: https://gitlab.com/samba-team/devel/samba/-/commit/6cadb55d975a6348a417caed8b3258f5be2acba4#note_419181789
This looks good, I think that also explains
the possible memory corruption/crash I mentioned in the bug report.
As 'i' is most likely the same as 'total_probed' and
probed_ifaces[i] is not valid, so we overwrite unrelated memory.
Later I see 'realloc(): invalid pointer' and this backtrace:
  BACKTRACE:
   #0 log_stack_trace + 0x29 [ip=0x7f2f1b6fffa9] [sp=0x7ffcd0ab53e0]
   #1 smb_panic + 0x11 [ip=0x7f2f1b700301] [sp=0x7ffcd0ab5d10]
   #2 sig_fault + 0x54 [ip=0x7f2f1b7004f4] [sp=0x7ffcd0ab5e20]
   #3 funlockfile + 0x50 [ip=0x7f2f17ce6dd0] [sp=0x7ffcd0ab5ec0]
   #4 gsignal + 0x10f [ip=0x7f2f1794970f] [sp=0x7ffcd0ab6b90]
   #5 abort + 0x127 [ip=0x7f2f17933b25] [sp=0x7ffcd0ab6cb0]
   #6 __libc_message + 0x297 [ip=0x7f2f1798c897] [sp=0x7ffcd0ab6de0]
   #7 malloc_printerr + 0x1c [ip=0x7f2f17992fdc] [sp=0x7ffcd0ab6ef0]
   #8 realloc + 0x23a [ip=0x7f2f17997f6a] [sp=0x7ffcd0ab6f00]
   #9 _talloc_realloc + 0xee [ip=0x7f2f1a365d2e] [sp=0x7ffcd0ab6f50]
   #10 messaging_filtered_read_send + 0x18c [ip=0x7f2f1a10f54c] [sp=0x7ffcd0ab6fb0]
   #11 messaging_read_send + 0x55 [ip=0x7f2f1a10f705] [sp=0x7ffcd0ab7000]
   #12 smb2srv_session_table_init + 0x83 [ip=0x7f2f1b3a6cd3] [sp=0x7ffcd0ab7040]
   #13 smbXsrv_connection_init_tables + 0x2d [ip=0x7f2f1b373f4d] [sp=0x7ffcd0ab7060]
   #14 smbd_smb2_request_process_negprot + 0x827 [ip=0x7f2f1b38cb47] [sp=0x7ffcd0ab7080]
   #15 smbd_smb2_request_dispatch + 0x19db [ip=0x7f2f1b38921b] [sp=0x7ffcd0ab71d0]
   #16 smbd_smb2_process_negprot + 0x298 [ip=0x7f2f1b38bb38] [sp=0x7ffcd0ab7260]
   #17 process_smb + 0x2ca [ip=0x7f2f1b37537a] [sp=0x7ffcd0ab72b0]
   #18 smbd_server_connection_read_handler + 0xd0 [ip=0x7f2f1b376420] [sp=0x7ffcd0ab7350]

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

Signed-off-by: Jones Syue <jonessyue@qnap.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/55dad704116b31249bd8004241ea4e1d0b481512">55dad704</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-10-14T11:07:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_ioctl_network_fs: fix minor leak in error path

The struct fsctl_net_iface_info array needs to be cleaned up.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0253ba159b9a5017a11c63e362d70c9fea637ca2">0253ba15</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-10-14T11:07:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: rename has_ctdb_public_ip to has_cluster_movable_ip

This provides a little more detail to what's actually being tracked
with this boolean.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6b9564c1084d8dc7319857fac984808571ef0eb9">6b9564c1</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-10-14T12:29:55+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:ctdbd_conn: simplify get_public_ips() / find_in_public_ips() API

These calls are used to check whether an IP address is static to the
host, or whether it could be migrated by ctdb.

Combine the calls into a simple ctdbd_public_ip_foreach(cb) function,
which avoids the need to expose struct ctdb_public_ip_list_old.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Oct 14 12:29:56 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f763b1e43640082af80c855a4a519f7747a6c87c">f763b1e4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-15T19:07:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_zfsacl: use handle based facl() call to query ZFS filesytem ACL

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

Pair-Programmed-With: Andrew Walker <awalker@ixsystems.com>
Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c10ae30c1185463eb937f69c1fc9914558087167">c10ae30c</a></strong>
<div>
<span>by Andrew Walker</span>
<i>at 2020-10-15T19:07:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_zfsacl: Add new parameter to stop automatic addition of special entries

Prevent ZFS from automatically adding NFSv4 special entries (owner@, group@,
everyone@). ZFS will automatically add these these entries when calculating the
inherited ACL of new files if the ACL of the parent directory lacks an
inheriting special entry. This may result in user confusion and unexpected
change in permissions of files and directories as the inherited ACL is
generated. Blocking this behavior is achieved by setting an inheriting
everyone@ that grants no permissions and not adding the entry to the file's
Security Descriptor.

This change also updates behavior so that the fd-based syscall facl() is
used where possible.

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

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a182f2e6cdded739812e209430d340097acc0031">a182f2e6</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-15T19:07:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_zfsacl: README.Coding fix

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

Pair-Programmed-With: Andrew Walker <awalker@ixsystems.com>
Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/13b4f913b06457d8e1f7cf71c85722bbecabd990">13b4f913</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-15T19:07:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_zfsacl: use a helper variable in zfs_get_nt_acl_common()

No change in behaviour.

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

Pair-Programmed-With: Andrew Walker <awalker@ixsystems.com>
Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c1a37b4f31d5252ce074d41f69e526aa84b0d3b3">c1a37b4f</a></strong>
<div>
<span>by Andrew Walker</span>
<i>at 2020-10-15T19:07:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_zfsacl: only grant DELETE_CHILD if ACL tag is special

When ZFS aclmode is set to "passthrough" chmod(2)/fchmod(2) will result
in special entries being modified in a way such that delete, delete_child,
write_named_attr, write_attribute are stripped from the returned ACL entry,
and the kernel / ZFS treats this as having rights equivalent to the desired
POSIX mode. Historically, samba has added delete_child to the NFSv4 ACL, but
this is only really called for in the case of special entries in this
particular circumstance.

Alter circumstances in which delete_child is granted so that it only
is added to special entries. This preserves the intend post-chmod behavior,
but avoids unnecessarily increasing permissions in cases where it's not
intended. Further modification of this behavior may be required so that
we grant a general read or general write permissions set in case of
POSIX read / POSIX write on special entries.

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

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2b8b0139fcc51a86a29879df220b6b8ca7eda66d">2b8b0139</a></strong>
<div>
<span>by Andrew Walker</span>
<i>at 2020-10-15T20:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_zfsacl: add zfs configuration guidance to manpage

Provide minimal background information on recommended ZFS settings
for a samba share.

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Oct 15 20:27:34 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e721dfc833a84a83158bee1182336b2502a9a57d">e721dfc8</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-10-16T04:45:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzz: add fuzz_dcerpc_parse_binding

We parse a binding and do a few tricks with it, including turning it
into a tower and back.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2541f67c67eda0f772bd3fd3980be20265d6186e">2541f67c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-10-16T04:45:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzz: add fuzz_cli_credentials_parse_string

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2889baeec4a1c66a1ffd78469ed916e3b292f4d0">2889baee</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-10-16T04:45:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">talloc: also use portable __has_attribute macro to check for "deprecated" attribute

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de748864201167ac1b4ecf4f121fbe2b110103e5">de748864</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-10-16T04:45:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">replace: also use portable __has_attribute macro to check for "deprecated" attribute

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c56c5c17fd4f5764935ee6a4cd90b9c0a2c525b4">c56c5c17</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-10-16T04:45:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tevent: also use portable __has_attribute macro to check for "deprecated" attribute

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b9b6abf18b873ee83194405719fe993b8fb2073a">b9b6abf1</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-10-16T04:45:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): rpc_server/netlogon: Fix confounder check

Add check for zero length confounder, to allow setting of passwords 512
bytes long. This does not need to be backported, as it is extremely
unlikely that anyone is using 512 byte passwords.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f59a5fd8416bd648265b909ca45de6376747548">6f59a5fd</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-10-16T04:45:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): Add zerologon test suite

Add a ZeroLogon test suite, to allow the ZeroLogon tests to be run against
the s3 and s4 netlogon servers.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/07c316346ae3e7778d5d6809245480f2b30275bd">07c31634</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-10-16T04:45:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): torture: Move existing tests

Move the existing ZeroLogon tests into the ZeroLogon testsuite.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f47e3734158c108f2ea3e875f87085649dc0704e">f47e3734</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-10-16T04:45:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): torture: ServerSetPassword2 all zero enc req

Check that a request that encrypts to all zeros, is rejected if the length
encrypts to itself.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e790f9d20a123859ed687ae1d5af6159c0fed61a">e790f9d2</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-10-16T04:45:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): torture: ServerSetPassword2 all zero password

Check that a password buffer containing all zeros is rejected.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b2f4a556715119da526bf67ae4ee7b444ed7c9f5">b2f4a556</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-10-16T04:45:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): torture: ServerSetPassword2 confounder

Test that a confounder that encrypts to itself is rejected

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/56297c70890287d800e30cf057e4702314261d0b">56297c70</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-10-16T04:45:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): torture: ServerSetPassword2 all zero password

Check that an all zero password is rejected, Note this test user ARC4
encryption so that it passes the self encryption test.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/61f216dc89669be2641bba678cf6e1c69788364d">61f216dc</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-10-16T04:45:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): torture: ServerSetPassword2 max len password

Ensure that a maximum length password (512) is still accepted

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6bf1b9885b7ca8f6164e5d9065aceb15a363ea90">6bf1b988</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-10-16T06:09:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-1472(ZeroLogon): torture: ServerSetPassword2 zero password

Ensure that a password of all zeros shorter than the maximum length is
rejected.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Oct 16 06:09:06 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4c5a0cab9d4b82940d738fa2355e2603671c1ca8">4c5a0cab</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-16T17:10:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test: Use the smb2-based deny2 test in clusteredmember_smb1

There is no reason to use the SMB1-based ntdeny2 test. It was just
an arbitrary test that depends on clustering to work.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c7a3e5503d8d97a8ae625553778ecaaeb9ab03cb">c7a3e550</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-16T17:10:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test: Lift clusteredmember_smb1 to use smb2

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/570c425dba7f9ccb36d63c560a172573571728af">570c425d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-16T18:30:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test: Get the clusteredmember environment out of its smb1 corner

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Oct 16 18:30:18 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9b6e2393f7f8fbcdc38fe1889a06fbd487af5491">9b6e2393</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-10-17T09:22:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">spoolss.idl: add some missing PROCESSOR_ARCHITECTURE defines

information from wine's winnt.h and MSDN

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9212357236010101d1bd54c6320d1bec6e5ad10f">92123572</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-10-17T09:22:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">spoolss.idl: add some missing processor defines

information from wine's winnt.h

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca1a301461d3075ee1903296d08a2668a9a2f75f">ca1a3014</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-10-17T09:22:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">spoolss.idl: add spoolss architecture defines, that we require

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62c514c29cb8472b77d795cde70938cfb0f91afa">62c514c2</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-10-17T09:22:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: move archi_table declarations into nt_printing.h

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38391ccc5d05c26b0d2d0df9aec20a5dff7fba16">38391ccc</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-10-17T09:22:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing/spoolss: add ARM64 support

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40a4dd286278aa1eeb609adccfee4ae13ca1ca08">40a4dd28</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-10-17T10:46:12+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">spoolss.idl: remove obviously bogous PROCESSOR_ARM 0 define

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Sat Oct 17 10:46:12 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/67c437bf11caf6b9ec1ead62fbc5ba0f0f10d77a">67c437bf</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-19T21:14:21+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:tests: Improve test_force_close_share test

This fixes the test with fast disks where 20MB transfers are done in
less than a second.

This also cleans up the code to have less sleeping time!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Oct 19 21:14:21 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/930695b04d2c3984c4e335ff25471b2432885884">930695b0</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-10-20T02:26:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzz_dcerpc_parse_binding: don't leak

Also, by not tallocing at all in the too-long case, we can short
circuit quicker.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Oct 20 02:26:40 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a6ff80cdc1b16f32716bc54c052e8fa8b149b4f9">a6ff80cd</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-10-20T07:22:08+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:ctdbd_conn: Fix the build on FreeBSD

Commit 6b9564c1084d8dc7319857fac984808571ef0eb9 broke the build on
FreeBSD:

[2321/3909] Compiling source3/smbd/process.c
../../source3/smbd/process.c:2797:10: error: use of undeclared identifier 'EREMOTEIO'
                return EREMOTEIO;
                       ^
../../source3/smbd/process.c:2833:14: error: use of undeclared identifier 'EREMOTEIO'
                if (ret == EREMOTEIO) {
                           ^
2 errors generated.

Use one of the POSIX error codes instead.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: David Disseldorp <ddiss@samba.org>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Tue Oct 20 07:22:08 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e32846f0692df44b4ee929c5ed6ba1de88ec4bd2">e32846f0</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2020-10-20T08:50:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb.conf.5: add clarification how configuration changes reflected by Samba

Users of Linux distributions know to read smb.conf(5) manual page but
apparently not many of them read smbd(8) and winbindd(8) to understand
how changes to smb.conf file are reflected in the running processes.

Add a small section that makes it clear where to find relevant
information. Also correct the information in smbd, nmbd, and winbindd
manual pages.

The interval at which smbd does check for smb.conf changes was increased
from 60 seconds to 180 seconds in 1999 with commit 3db52feb1f3b.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Tue Oct 20 08:50:13 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c15c40e0183ab04d9fbf05ed579738f694cd81ac">c15c40e0</a></strong>
<div>
<span>by Bradley M. Kuhn</span>
<i>at 2020-10-20T18:10:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Update Samba's DCO license in compliance with CC-BY-SA 4.0

The text of "Samba's Developer Certificate of Origin" is copyrighted
and licensed CC-BY-SA.  Add notice for compliance with CC-BY-SA 4.0.

Signed-off-by: Bradley M. Kuhn <bkuhn@sfconservancy.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Simo Sorce <idra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Oct 20 18:10:50 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5fa89897af25f9b61ed36573f80b501939a3b5fa">5fa89897</a></strong>
<div>
<span>by Bradley M. Kuhn</span>
<i>at 2020-10-20T22:54:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Rename Samba's DCO to Samba Developer's Declaration

In an effort to reduce any confusion about the differences
between the Samba DCO and the Linux DCO, and as a favor to the
Linux community, rename the Samba DCO to the Samba Developer's
Declaration.

Signed-off-by: Bradley M. Kuhn <bkuhn@sfconservancy.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Simo Sorce <idra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Oct 20 22:54:01 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e246976b676bff0e7672da80fbcebe3e900dd6b0">e246976b</a></strong>
<div>
<span>by Denis Karpelevich</span>
<i>at 2020-10-21T01:17:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:tests: Add tests for 'valid users'.

Extending testsuite for option 'valid/invalid users' from smb.conf.

Signed-off-by: Denis Karpelevich <dkarpele@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Oct 21 01:17:05 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be51499f7deb4551e2a81f77582f3828d6652681">be51499f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-10-21T02:28:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzzing/README: link to wiki

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6d388da765e0ac1df3e5ba1eab055558838497e6">6d388da7</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-10-21T02:28:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzz/oss-fuzz/build-samba: note the calling site

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9dfeb81d08cd5883c9dc1aaecaf0ce03f2812efc">9dfeb81d</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-10-21T03:47:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzz/oss-fuzz/build_samba: fetch fuzz seeds

There is a git repository at
https://gitlab.com/samba-team/samba-fuzz-seeds that contains the
seeds. When the master branch of that repository is updated, a CI job
runs that creates a zip file of all the seeds as an artifact. That zip
file is downloaded and unpacked by oss_fuzz/build_samba. The contents
of that zip are further zips that contain the seeds for each fuzzing
binary; these are placed next to the binaries in the manner that
oss-fuzz expects.

That is, beside 'fuzz_foo', we put 'fuzz_foo_seed_corpus.zip' which
contains a pile of fuzz_foo seeds.

There may be times when a new fuzz target does not have a seed corpus,
and times when a removed fuzz target leaves behind a seed corpus.
This is OK, so we don't insist on an exact match between the target
names and the zip names, only that there is some overlap.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Oct 21 03:47:35 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6aa396b0cd1f83f45cb76a4f3123d99135e8dd8c">6aa396b0</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2020-10-21T05:52:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Avoid aliasing errors during code optimization

When compiling with GCC 10.x and -O3 optimization, the IP checksum
calculation code generates wrong checksum.  The function uint16_checksum
gets inlined during optimization and ip4pkt->tcp data gets wrongly
aliased.

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

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Wed Oct 21 05:52:28 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/80347deb544b38be6c6814e5d1b82e48ebe83fd1">80347deb</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-21T07:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/tests: add DynamicTestCase setUpDynamicTestCases() infrastructure

This can be used in order to run a sepcific test (coded just once)
with an autogenerated set of arguments.

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

Pair-Programmed-With: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/06d134406739e76b97273db3023855150dbaebbc">06d13440</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-21T07:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb:tests: add AclVisibiltyTests

This tests a sorts of combinations in order to
demonstrate the visibility of objects depending on:

- with or without fDoListObject
- with or without explicit DENY ACEs
- A hierachy of objects with 4 levels from the base dn
- SEC_ADS_LIST (List Children)
- SEC_ADS_LIST_LIST_OBJECT (List Object)
- SEC_ADS_READ_PROP
- all possible scopes and basedns

This demonstrates that NO_SUCH_OBJECT doesn't depend purely
on the visibility of the base dn, it's still possible to
get children returned und an invisible base dn.

It also demonstrates the additional behavior with "List Object" mode.
See [MS-ADTS] 5.1.3.3.6 Checking Object Visibility

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d2dd7c2a5c1f8ee30f0f3b41f933d082b0c75f7c">d2dd7c2a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-21T07:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb:acl_read: introduce aclread_check_object_visible() helper

In future this will do more than aclread_check_parent(),
if we implement fDoListObject and SEC_ADS_LIST_OBJECT handling.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c4a3028de726d6708f57d02f9162a4d62d1b6ae7">c4a3028d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-21T07:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb:acl_read: fully set up 'struct aclread_context' before the search base acl check

This makes further change much easier.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/faff8e6c89777c38443e561235073c336cfb2e9c">faff8e6c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-21T07:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb:acl_read: make use of aclread_check_object_visible() for the search base

We should only have one place to do access checks.

Use 'git show -w' to see the minimal diff.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e1529bedb2b6c8553e69a42537ac0cffd03af6d6">e1529bed</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-21T07:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb:acl_read: defer LDB_ERR_NO_SUCH_OBJECT

We may need to return child objects even if the base dn
is invisible.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ffc0bdc6d49e88da1ee408956365da163ff3e1b2">ffc0bdc6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-21T07:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb:util: add dsdb_do_list_object() helper

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7223f6453b1b38c933c9480c637ffd06d9f39b97">7223f645</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-21T08:48:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb:acl_read: Implement "List Object" mode feature

See [MS-ADTS] 5.1.3.3.6 Checking Object Visibility

I tried to avoid any possible overhead for the common cases:

- SEC_ADS_LIST (List Children) is already granted by default
- fDoListObject is off by default

Overhead is only added if the administrator turned on
the fDoListObject feature and removed SEC_ADS_LIST (List Children)
from a parent object.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Oct 21 08:48:02 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac20617c87bfa29fb163cc0a434ff82fd1215441">ac20617c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T19:04:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b64949d544ec02ec7de9087c3316476f35b6e30f">b64949d5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T19:04:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/051967d9435b3f6ae1e40ed8aa98f55de9439238">051967d9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T19:04:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove an unused anonymous struct definition

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c71d52b9f5e84fb0b5383c2d49aaf9244c95fd72">c71d52b9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T19:04:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">notifyd: Modernize DBG statements

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ad7e2cf6260efa99f0fdbebdb03165c79af13afc">ad7e2cf6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T19:04:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Modernize DBG statements in notify_msg.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2ae42bebe388e8a5871e04a46c3bb70768a30f3d">2ae42beb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T19:04:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f11ef354d274d10c2931856c1c8c6d5a42521465">f11ef354</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T19:04:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbcacls: Use ISDOT[DOT] instead of strequal

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1cca034c7ece4c9e4ccd8664beaacc35620fa2c6">1cca034c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T19:04:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbcacls: Use direct struct initialization

Use implicit NULL/false initialization

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8a61f0eb2b5e9ed3f589eb8a35562036888ca00e">8a61f0eb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T19:04:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use "struct" in self-references

Don't go via the typedefs for next and prev pointers

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/41c78d1888b059db12c5116b23fc300c69c0e535">41c78d18</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T19:04:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use ZERO_STRUCTP

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7ce22e2f57489bff26bb1e5e379d5081d46710f2">7ce22e2f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T19:04:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use a direct struct initialization to avoid a memset

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4ad0e4d210b4be59195d73760f31e07c38b71a3f">4ad0e4d2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T19:04:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f05020df6b854632b3727ccce2dc0828e0627993">f05020df</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T19:04:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">includes: nt_printing.h does not need client.h

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d93e0f0978685f4d2b133a470345888105ce29a5">d93e0f09</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T19:04:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Factor out cli_conn_have_dfs() from cli_resolve_path()

This also does the checks from cli_dfs_check_error(), which can be
removed in the next step.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d845e90e0e30d6a0fcee320abf2e8dc49951acff">d845e90e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T19:04:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Simplify cli_resolve_path()

The additional conditions in cli_dfs_check_error() were covered
earlier in cli_resolve_path() via cli_conn_have_dfs(). Without those
it's more obvious to directly call NT_STATUS_EQUAL here.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a01dfc29c1f5e7ebc34d5e0e5db725ab9c4a0393">a01dfc29</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-21T20:27:57+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Add tevent_req_received() to messaging_filtered_read_recv()

Early talloc_free() for the msg_rec if it's not picked up

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Oct 21 20:27:57 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d031391bed0d3c23b602816d968417267535c746">d031391b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-21T23:07:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzzing: Fix the oss-fuzz coverage build

It was long thought that the issue here was that no seed corpus was
provided, but actually the issue is that to obtain coverage output
just as we already know for gcc gcov, you must provide fuzzing flags
to both the compile and link phase.

Thankfully clang as a linker does not mind the strange non-linker options
from $COVERAGE_FLAGS.

REF: https://stackoverflow.com/questions/56112019/clang-does-not-generate-profraw-file-when-linking-manually
REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19495#c48

Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Oct 21 23:07:37 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b2a9083f8ea7758ab545ff82578ba35e1f05679">3b2a9083</a></strong>
<div>
<span>by Andrew Walker</span>
<i>at 2020-10-21T23:08:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util:loadparm - fix leak in lpcfg_dump_a_parameter

This function calls talloc_strdup() for the parm_name passed into
it so that we can check whether it's a parametric entry. It's
allocated under the loadparm context passed into the function.
Primary consumer of this is "testparm" and so context short-lived in
typical use-case, but this is also exposed via pyparam and so the
loadparm context may be somewhat longer-lived depending on how it is
being used.

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

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7b52c2db264a92ea77bcb7e45e016ea03f699393">7b52c2db</a></strong>
<div>
<span>by Andrew Walker</span>
<i>at 2020-10-22T00:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:param:service - ensure registry shares loaded before home check

Registry shares should be loaded and checked prior to checking home
directories. This ensures that an explicitly defined service takes
priority over home directories (same behavior as non-registry shares).

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

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Jeremy Alison <jra@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Oct 22 00:30:38 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/048725080b608d0d714f133a15e09dda6b6dd8ca">04872508</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-22T12:47:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzzing: Improve robustness and documentation of the ldd-base library copy

This tries to make progress towards understanding why we sometime see errors like
Step #6: Error occured while running fuzz_reg_parse:
Step #6: /workspace/out/coverage/fuzz_reg_parse: error while loading shared libraries: libavahi-common.so.3: cannot open shared object file: No such file or directory

in the previously failing coverage builds.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c03a265030fefb1652469ff98a8b895b8f61b771">c03a2650</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-22T14:10:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">oss-fuzz: standardise on RPATH for the static-ish binaries

This includes a revert of commit e60df214998afc145ca482cab184691b3ddc3bb2..

We strictly require RPATH, not the modern RUNPATH for the behaviour
we need in oss-fuzz, which is that not just the first line of dependencies
but the full set of libraries used by the program are looked for in the
'$ORIGIN/lib' directory.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Thu Oct 22 14:10:04 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1262b13f4db9502c36579b7dd740d8002e0baac9">1262b13f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-10-22T15:34:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add VFS-License-clarification.txt as discussed on the Team list.

Update WHATSNEW.txt with a copy for the next release.

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Oct 22 15:34:54 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4cd195aafefb02b6921ea8439dd3897f8c74b012">4cd195aa</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2020-10-22T16:05:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libndr: Avoid assigning duplicate versions to symbols

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

Symbols _ndr_push_error and _ndr_pull_error keep getting redefined as
they are included without wildcard in abi_match.  Apparently on linux ld
does not complain about duplicate symbols, but on freebsd ld fails to
link with following error:

  [ 918/3912] Linking bin/default/librpc/libndr.so
  ld: error: duplicate symbol '_ndr_pull_error' in version script
  ld: error: duplicate symbol '_ndr_push_error' in version script
  clang: error: linker command failed with exit code 1 (use -v to see invocation)

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/76db796181419967a483bcd71fe0cca313ccaf82">76db7961</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-22T16:05:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Create targetdir recursively

This fixes `make test` in a release tarball.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3770f28c6289a9328b81968a4548bfaeb8bd40aa">3770f28c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-22T16:05:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Add remove_directory to common test functions

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e58ccdaa1a1e5943aa02ecba88d1de0323777041">e58ccdaa</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-22T16:05:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Fix and improve demote-saveddb test

This fixes running `make test` in a release tarball!

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e4194355f4c346179ceafe5086897c0c50c108d6">e4194355</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-22T16:05:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Fix and improve tombstones-expunge test

This fixes running `make test` in a release tarball!

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a9765084f11eae991516f150d1cd1c2370854ec7">a9765084</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-22T16:05:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Fix and improve runtime-links test

This fixes running `make test` in a release tarball!

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d8fe4315c85811ef3c5a1cfa42bf416bc1c8109e">d8fe4315</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-22T16:05:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Fix and improve dbcheck-links test

This fixes running `make test` in a release tarball!

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/28720d66df017bfaadd44378dfffaaab4e30cf22">28720d66</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-22T16:05:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Fix and improve functionalprep test

This fixes running `make test` in a release tarball!

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/32305d607f43a84fa862f9f97c0dc1ea51b45ab7">32305d60</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-22T16:05:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Fix and improve dbcheck-oldrelease test

This fixes running `make test` in a release tarball!

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1432d225b0426e366649cde4837eff58ee95b0c8">1432d225</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-22T17:28:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Fix and improve upgradeprovision-oldrelease test

This fixes running `make test` in a release tarball!

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Oct 22 17:28:39 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b5f8073431c3c518108c2477aa566694d79454a3">b5f80734</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-22T23:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">oss-fuzz: update comment to reference RPATH for the static-ish binaries

We strictly require RPATH, so fix the comment to avoid mentioning
the modern RUNPATH which is almost but not entirely similar.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a57702db1dee0aaf3bfea5f9e00d31963df0fe24">a57702db</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-22T23:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">oss-fuzz: Always run the check, even on the oss-fuzz platform

It is much harder to determine why we get messages like
    Step #6: Error occured while running fuzz_reg_parse:
    Step #6: /workspace/out/coverage/fuzz_reg_parse: error while loading shared libraries: libavahi-common.so.3: cannot open shared object file: No such file or directory
instead this detects the failure to use RPATH (which is
strictly required instead of the modern RUNPATH)
otherwise.

We do this by creating a new build_samba.sh after renaming
build_samba.sh to do_build.sh because this is what oss-fuzz
runs, meaning we don't need to coordinate a MR there as well.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f66ce0a3d106082c9580f359f581a9e3e70ff18">8f66ce0a</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-23T00:33:57+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">oss-fuzz: Add very verbose explaination for RPATH vs RUNPATH

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Fri Oct 23 00:33:57 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/895c729ce36107af44ce8564f8ef9bcf46d98b70">895c729c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-10-23T03:25:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Add is_ad_dc_built option to python glue

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/48c9b699065bd4d8a02048b4492237a36e81b497">48c9b699</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-23T03:25:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: Run the coverity submission job in parallel with the builds

This avoids a flapping test elsewhere delying the submission of the code to coverity
for checking.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/09479bf0ee12b8187736b0d6f4dcf0303569169a">09479bf0</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-10-23T03:25:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: Ensure we compile before we start the main parallel testing

This build can be as fast as 10mins if the ccache matches and there
are few tests.  Therefore put it first as a sentinal.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/302098c3259c3709f61e5f2859785dbb62a393e5">302098c3</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-10-23T03:25:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc: avoid undefined behaviour when parsing bindings

If the binding string ends with "[", we were setting options to an
empty string, then asking for 'options[strlen(options)-1]', which
UBSan dosn't like because the offset evaluates to (size_t)0xFFFFF...
causing pointer overflow.

I believe this is actually well defined in practice, but we don't want
to be in the habit of leaving sanitiser warnings in code parsing
untrusted strings.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1576421dbdd2cfe9a47516224cb54bf15ba51132">1576421d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind.idl: rename wbint_TransID.type to wbint_TransID.type_hint

This makes it clear that it's a hint from the parent to the
child.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/58e9b62222ad62c81cdf11d704859a227cb2902b">58e9b622</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:passdb: use ID_TYPE_* instead of WBC_ID_TYPE_*

Currently these enums have the same values, but that will
change in future.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f5eec89011cf7b577375d83247524587f170b592">f5eec890</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_idmap_tdb_common: correctly initialize the idmap domain with an init function

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/95b0dac0af5bc7ee85c6c8099dda135c36c9684b">95b0dac0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd/idmap: apply const to struct idmap_methods pointers

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7518a0ca32cade2b8b9eac0e2b5416ae685ffcff">7518a0ca</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd/idmap: apply const to struct nss_info_methods pointers

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7dbe5b4897448aa71b5a8a2175850b4010316b88">7dbe5b48</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_queryuser: avoid idmap_child() and use idmap_child_handle() instead

This is the only aspect we need here.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5cc21a9d319e00397ad98900d81ffb9d1d70514f">5cc21a9d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_xids2sids: avoid idmap_child() and use idmap_child_handle() instead

This is the only aspect we need here.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1694de1ae6ce63377d0afc47e84e55e4745905d7">1694de1a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_sids2xids: avoid idmap_child() and use idmap_child_handle() instead

This is the only aspect we need here.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2103543629004a3a22e7bf60305bb15bf3b316be">21035436</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: add and use idmap_child_pid()

We should avoid calling idmap_child() as much as possible.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cd9a9702c1f97c47bd3447e2014eeff3e56268cf">cd9a9702</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: add and use is_idmap_child()

We should avoid calling idmap_child() as much as possible.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/209e81a2ea8c972ee57e2f0c9579da843c0e2ac7">209e81a2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: add generic wb_parent_idmap_setup_send/recv() helpers

This is more or less a copy of wb_xids2sids_init_dom_maps_send/recv,
but it's more generic and doesn't imply global state.

It also closes a initialization race by using a tevent_queue to
serialize the calls.

In the next commits we'll replace wb_xids2sids_init_dom_maps_send/recv.

We'll also use the new function in the wb_sids2xids code.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8f57c94fc2294c309ecb18ea79d0acac86c495b">a8f57c94</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_xids2sids: make use of the new wb_parent_idmap_setup_send/recv() helpers

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d42aaeba6e0820acd17f204ff7ab6d1aede1b303">d42aaeba</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_sids2xids: call wb_parent_idmap_setup_send/recv as the first step

This isn't really used yet, but it will in the next commits.

Also idmap_child_handle() will soon assert that
wb_parent_idmap_setup_send/recv() was called before it's used.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/82fd07793f065e150729848566e7c30f4f4d472e">82fd0779</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_queryuser: explain why wb_parent_idmap_setup_send/recv is not needed

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b8c74b7b46d1c7f6b66e565ee08f8c88d6dc2cc4">b8c74b7b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: assert wb_parent_idmap_setup_send/recv() was called before idmap_child_handle()

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/28e020c0a863411cfa95e3b1ed943d922b8635bd">28e020c0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: defer the setup_child() from init_idmap_child()

At startup we trigger a wb_parent_idmap_setup_send() and make
sure setup_child() is called just before wb_parent_idmap_setup_recv()
finished.

This makes sure our view of the idmap config in the parent matches
what we have in the child.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/79c1d3aaf6d465a8edd1871edb85211f8715fea1">79c1d3aa</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T03:25:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_sids2xids: split out wb_sids2xids_next_sids2unix()

Put the code that calls the per-domain idmap backend
in its own function.

This makes further reconstruction easier.

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

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/04956350a5725325954b2caba662ecd6dace7829">04956350</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_sids2xids: maintain struct wbint_TransIDArray all_ids as cache

Entries with domain_index == UINT32_MAX are valid cache entries.

In the following commits we'll fill in missing entries step by step
until all entries are marked as filled.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/797b11f198e819300007997ce536bc6d05f19843">797b11f1</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_sids2xids: rename 'non_cached' to 'lookup_sids'

This array is used to pass to wb_lookupsids_send()
and that will be the only reason to have this in future.

For now it's used for all non cached sids, but that will
also change in the next commits.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/231c8d04b19a1c17937f988d142ca5c0f889d4e0">231c8d04</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_sids2xids: move more checks to wb_sids2xids_next_sids2unix()

For the first run this is a no-op, but it simplified the caller.

We'll call wb_sids2xids_next_sids2unix() in a few more places in future
and it's easier to have this all within wb_sids2xids_next_sids2unix().

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f6bb0ed21f82f2cf1f238f9f00cd049ecf8673af">f6bb0ed2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_sids2xids: inline wb_sids2xids_extract_for_domain_index() into wb_sids2xids_next_sids2unix()

Instead of re-creating the dom_ids element,
we just use a pre-allocated map_ids_in array.

This is a bit tricky as we need to use map_ids_out as a copy of
map_ids_in, because the _ids argument of dcerpc_wbint_Sids2UnixIDs_send()
in [in,out], which means that _ids->ids is changed between
dcerpc_wbint_Sids2UnixIDs_send() and dcerpc_wbint_Sids2UnixIDs_recv()!

If the domain doesn't need any mappings, we'll move to the next domain
early, for now this can't happend but it will in future.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cda61f592a0b33d36da8da9b6837312396cceec4">cda61f59</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_sids2xids: refactor wb_sids2xids_done() a bit

Here we don't change the logic.

It will make the following changes easier.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/19c8b6a8b188e45a6342a3d1308085800388a38e">19c8b6a8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_sids2xids: change 'i' to 'li' in wb_sids2xids_lookupsids_done()

With all the indexes we have into various array, this makes clear
'li' is the index into the state->lookup_sids array.

This makes the following changes easier to review.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/374acc2e5fcc3c4b40f41906d0349499e3304841">374acc2e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_sids2xids: directly use state->all_ids to collect results

In order to translate the indexes from state->lookup_sids[]
for wb_lookupsids_send/recv() and state->map_ids.ids[]
for dcerpc_wbint_Sids2UnixIDs_send/recv() back to
state->all_ids.ids[] or state->sids[] we have state->tmp_idx[].

This simplifies wb_sids2xids_recv() a lot and make further
restructuring much easier.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3f4626ea6d235470195918b77af35ac2cfeb227c">3f4626ea</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_sids2xids: fill cache as soon as possible

After adding entries to the cache we can mark them
as filled from the cache by setting its domain_index
to UINT32_MAX.

This will allow further changes to fill the results
into state->all_ids in steps.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c55f4f37589130a0d8952489da175bbcf53f6748">c55f4f37</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_sids2xids: build state->idmap_doms based on wb_parent_idmap_config

In future we'll try to avoid wb_lookupsids_send() and only call
it if needed.

The domain name passed should be only relevant to find the correct
idmap backend, and these should all be available in
wb_parent_idmap_config as it was created before the idmap child was forked.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/493f5d6b078e0b0f80d1ef25043e2834cb4fcb87">493f5d6b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T03:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: allow idmap backends to mark entries with ID_[TYPE_WB_]REQUIRE_TYPE

This must only be used between winbindd parent and child!
It must not leak into outside world.

Some backends require ID_TYPE_UID or ID_TYPE_GID as type_hint,
while others may only need ID_TYPE_BOTH in order to validate that
the domain exists.

This will allow us to skip the wb_lookupsids_send/recv in the winbindd parent
in future and only do that on demand.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/54b4d2d3cb307019a260d15c6e6b4a3fb7fc337c">54b4d2d3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T04:47:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wb_sids2xids: defer/skip wb_lookupsids* unless we get ID_TYPE_WB_REQUIRE_TYPE

We try to give a valid hint for predefined sids and
pass ID_TYPE_BOTH as a hint that the domain part of the sid is valid.

In most cases the idmap child/backend does not require a type_hint
as mappings already exist.

This is a speed up as we no longer need to contact a domain controller.

It's also possible to accept kerberos authentication without reaching
out to a domain controller at all (if the idmap backend doesn't need a
hint).

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Oct 23 04:47:26 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c4cbe0610cfa275581332c156963301e8c6d013b">c4cbe061</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T07:56:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: make dirfsp arg to SMB_VFS_READLINKAT() const

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3df5f851c67fcbac01a214ede9bffd3e20231de3">3df5f851</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T07:56:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: fix order of smb_fname flags and twrp args in unlink_internals()

As snapshots are read-only by design, this bug was likely not a real issue so
I'm not creating a BUG for this.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3caf53a0546a1e05bd1ce7e07b987585ebe0ad71">3caf53a0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T07:56:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: fix order of smb_fname flags and twrp args in call_trans2findfirst()

Also not creating a BUG for this one as I've not seen any reports from the field
that this is causing issues.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac45ce0227d0bdc704b95f650b57da0bdb651251">ac45ce02</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T07:56:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_streams_xattr: only assert AT_FDCWD for streams

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/219a44ee5fff168c40c0f26b29a54453c3017674">219a44ee</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T07:56:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_streams_depot: only assert AT_FDCWD for streams

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5161edbdb28fcfe44abac8c0caf5ad592c638405">5161edbd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T07:56:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: remove POSIX test from planned tests for ad_dc_ntvfs environ

Just don't run the tests instead of retrofitting them to the skiplist.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0d6d53a9209715fb019000f253d79d718fa7c026">0d6d53a9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T07:56:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: allow dirfsps in the link VFS functions

The functions work just fine with real dirfsps.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/42b8a431f04afcd487d3c4c6280ccce06359b508">42b8a431</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T07:56:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: base POSIX semantics in call_trans2findfirst() on req->posix_pathnames

This will require a SMB1 client to enable SMB1 POSIX extensions, just sending
POSIX info-level requests without first enabling them won't cut it.

As discussed with Jeremy, SMB1 POSIX extensions is a global thing and the client
that wants to use it is expected to enable them explicitly before making use of
POSIX info-levels.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e5e49e41dc9c4f134db7c98c244237ea3c403cf">2e5e49e4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T07:56:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: let directory entries inherit the smb_fname->flags from the directory

If the listed directory has SMB_FILENAME_POSIX_PATH set, this change causes the
smb_fname of directory entries to inherit the flag so subsequent operations on
the directory entry can correctly implement POSIX semantics.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/71a57596239e0c9ff307235e4777ffe2bcf92004">71a57596</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T07:56:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: base POSIX semantics of call_trans2findfirst() on SMB_FILENAME_POSIX_PATH flag

We really want to apply POSIX semantics in this place whenever the client has
enabled UNIX extensions, not only when using UNIX find info-levels.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/29e212dd6a46a5e69ee3ae4ee1a444cf606b0f9e">29e212dd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T07:56:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use UCF_POSIX_PATHNAMES flag for path validation logic in filename_convert_internal()

This change means that if a client path is a symlink, we *always* only call
check_veto_path() for POSIX clients using a POSIX pathname, not just when a
POSIX info-level was used in an SMB request.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/df92b06f5beba89d1394bb38f6ab6d354cfc88e2">df92b06f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T07:56:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove use of UCF_UNIX_NAME_LOOKUP

This is now handled by SMB_FILENAME_POSIX_PATH.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/537069b6e05fafbf7103405e755d8bbb69eafdae">537069b6</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T07:56:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: mark UCF_UNIX_NAME_LOOKUP as unused

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/63a4e8835824f0f0696223c0a3b0afb207595078">63a4e883</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T09:19:12+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: split out POSIX info_levels from smbd_do_setfilepathinfo() into own function

smbd_do_setfilepathinfo() can be made fully handle based for all non-POSIX
infolevels with pathref fsps, but for a POSIX create we may not have a fsp if
the path points at a symlink.

Splitting the POSIX from the non-POSIX logic allows for cleaner handling of this
in the future with pathref fsps.

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 Oct 23 09:19:12 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9bc9f8ce66ef02d7d77cfd31dc2a72102d546d75">9bc9f8ce</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-23T14:09:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:script: Fix test_dfree_quota.sh

source3/script/tests/test_dfree_quota.sh: line 200: [: missing `]'

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8fa0d3331b2b2c450d86bffec0a6f39320fcb8c0">8fa0d333</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-23T14:09:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">buildtools: Do not install binaries which are for selftest

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d89ddb012d1d84871da10a61a0449f88d4eba5e">2d89ddb0</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-23T14:09:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">unittests: Mark test binaries for selftest

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6e25613a3141000ac1b7e8edb146dfc320972e8b">6e25613a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-23T14:09:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules: Do not install vfs modules only used for testing

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b5b23ea848d82ec0a6d01d4e1cbb62c4c3cbb3b">3b5b23ea</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-23T15:32:08+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">examples:auth: Do not install example plugin

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Oct 23 15:32:08 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7c8a7e8a15b433cd151afff0b52e9e5096a2c230">7c8a7e8a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T16:02:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc/dcesrv_core: move two rpcint_dispatch() copies into dcesrv_call_dispatch_local()

We only need this function once, so that we need to fix bugs only once...

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/42e79cee3d306a92243cc6c4898c5e280535d67b">42e79cee</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T16:02:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc/dcesrv_core: make use of dcerpc_fault_to_nt_status() in dcesrv_call_dispatch_local()

The caller wants to get a useful NTSTATUS instead of a generic
NT_STATUS_NET_WRITE_FAULT.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7bd321e71b7f38994236d84795e08d3818b69dc1">7bd321e7</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T16:02:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc/dcesrv_core: assert that dcesrv_call_dispatch_local() never gets async.

This is just not supported for now...

We would need a dcesrv_call_dispatch_local_send/recv in order to
support async calls.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d08a6b4200411114c0b9a8fa46dd6acd91d47476">d08a6b42</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-10-23T17:24:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc/dcesrv_core: let dcesrv_call_dispatch_local() call context->iface->reply()

This is needed in order to get NDR_PRINT_FUNCTION_DEBUG(..., NDR_OUT) called.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>

Autobuild-User(master): Samuel Cabrero <scabrero@samba.org>
Autobuild-Date(master): Fri Oct 23 17:24:37 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6da16727e119243a25072c4a2dcf211235edbc62">6da16727</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T17:44:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb: rename NTCREATEX_OPTIONS_PRIVATE_DENY_DOS to NTCREATEX_FLAG_DENY_DOS

Just a shorter name, no change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c2f0fd40da0caefdf410531a38c858f7a0f8af10">c2f0fd40</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T17:44:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb: rename NTCREATEX_OPTIONS_PRIVATE_DENY_FCB to NTCREATEX_FLAG_DENY_FCB

Just a shorter name, no change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4481259f78aea0a69a936bf1c57c4453423cf1c1">4481259f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T17:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb: rename NTCREATEX_OPTIONS_PRIVATE_DELETE_ON_CLOSE to NTCREATEX_FLAG_DELETE_ON_CLOSE

Just a shorter name, no change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/45017205c34c83272638c3f235eef0ebc0aaa3ca">45017205</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T17:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb: rename NTCREATEX_OPTIONS_PRIVATE_STREAM_BASEOPEN to NTCREATEX_FLAG_STREAM_BASEOPEN

Just a shorter name, no change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d9b32c8814ace1bf0599980a6d61fbc8d2711b5">7d9b32c8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T17:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb: update comments on the NTCREATEX_FLAG_* flags

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b53e5834045e58704b0ec3e48c35626a168cd81">4b53e583</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T17:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: add and use MS-FSCC Codes from 2.4 and 2.5

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f33b91a932abbe0c52710e3582f8ef141d97d079">f33b91a9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T17:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add and use SMB2_FILE_FULL_EA_INFORMATION

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0dad9a31cb70a45e2c5afc4c9c4885cab008b4d6">0dad9a31</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-10-23T19:06:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add and use SMB2_FILE_ALL_INFORMATION

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct 23 19:06:40 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5bb796cb259052e5ea5dc9c3c322e96373bbe4d3">5bb796cb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-24T05:57:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix includes for messages.h

It references struct tevent_context

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/79b0829ea2da2c18934dbc95cc5fe83a4c48d1f6">79b0829e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-24T05:57:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">notify: Remove an unused structure definition

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4dac4859db22e632b9f16783155d2befee8c5924">4dac4859</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-24T05:57:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">notifyd: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e648e9d616ab7943adcb3b5f0fcf9b03f420313">3e648e9d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-24T05:57:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">notifyd: Factor out notifyd_parse_entry() into its own file

The next step will be to factor out notifyd_parse_db() and and
notify_walk() for consumption outside of smbd. notifyd_parse_db()
needs access to the internal representation of notifyd's database, so
move it into a commonly usable file.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/49859ac11d682e46ec79266395b0abe2083f2cdd">49859ac1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-24T05:57:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">notifyd: Factor out notify_walk() into its own file

To be used in smbtorture, avoid having to include almost all of smbd
just for this

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/741428eaedeaf16edb7ecf3a367fe107d3631bc7">741428ea</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-24T05:57:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">notifyd: Add fcn_wait_send()/recv()

tevent_req based functions to listen for file change
notifications. Mainly right now for testing purposes, but it could be
used to also implement smbd's file change notify in a more tevent_req
based fashion than it is implemented now.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/609867ef7c76265a422ade6819ad98288c2d6257">609867ef</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-24T05:57:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test: Add a first unit test for notifyd

Use the notifyd "messaging" protocol to check if notifyd works at all

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bbc065da6eaf17ace3beb6715aef6105fc2c36bc">bbc065da</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-24T07:20:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test: Check that notifyd messages actually change the database

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Oct 24 07:20:17 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/183d5d63f4b40accda3b3ffc980fea391612f964">183d5d63</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2020-10-26T18:33:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">DNS Resolver: support both dnspython before and after 2.0.0

`dnspython` 2.0.0 has many changes and several deprecations like:

```
> dns.resolver.resolve() has been added, allowing control of whether
search lists are used. dns.resolver.query() is retained for backwards
compatibility, but deprecated. The default for search list behavior can
be set at in the resolver object with the use_search_by_default
parameter. The default is False.

> dns.resolver.resolve_address() has been added, allowing easy
address-to-name lookups.
```

The new class `DNSResolver`:
- provides the compatibility layer
- defaults the previous behavior (the search list configured in the
  system's resolver configuration is used for relative names)
- defaults lifetime to 15sec (determines the number of seconds
  to spend trying to get an answer to the question)

The compatibility shim was developed by Stanislav Levin for FreeIPA and
adopted for Samba by Alexander Bokovoy.

Signed-off-by: Stanislav Levin <slev@altlinux.org>
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e27dc4847bd35ca8914be087d5a8ca096510399">3e27dc48</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2020-10-26T19:58:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">daemons: report status to systemd even when running in foreground

When systemd launches samba services, the configuration we have in
systemd service files expects that the main process (/usr/sbin/*)
would use sd_notify() to report back its status. However, we only use
sd_notify() when running become_daemon().

As a result, samba/smbd/winbindd/nmbd processes never report back its
status and the status updates from other childs (smbd, winbindd, etc)
are not accepted as we now have implied NotifyAccess=main since commit
d1740fb3d5a72cb49e30b330bb0b01e7ef3e09cc

This leads to a timeout and killing samba process by systemd. Situation
is reproducible in Fedora 33, for example.

Make sure that we have required status updates for all daemons in case
we aren't runnning in interactive mode.

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

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Oct 26 19:58:18 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/341adfdf66bdfcdcf8c127430211873750e6a4ee">341adfdf</a></strong>
<div>
<span>by Mikhail Novosyolov</span>
<i>at 2020-10-28T14:04:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: fix running genmsg in pure git

xgettext wants pam_winbind.po to exist.
Without this running ./genmsg in cloned git fails.

Signed-off-by: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>
Reviewed-by: Björn Jacke <bjacke@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7958abe324ff6428c1eef2591ce366b9c8ee9a15">7958abe3</a></strong>
<div>
<span>by Mikhail Novosyolov</span>
<i>at 2020-10-28T14:04:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: update paths in genmsg of pam_winbind

Signed-off-by: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>
Reviewed-by: Björn Jacke <bjacke@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c218ad1a0a165380ab711a95cfe61420f9596aba">c218ad1a</a></strong>
<div>
<span>by Mikhail Novosyolov</span>
<i>at 2020-10-28T14:04:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: update list of languages in genmsg of pam_winbind

Removed languages for which translations do not exist.

Signed-off-by: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>
Reviewed-by: Björn Jacke <bjacke@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c69d710f20f121975b15a2a240084666d30a6256">c69d710f</a></strong>
<div>
<span>by Mikhail Novosyolov</span>
<i>at 2020-10-28T14:04:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: Rerun genmsg to update pam_winbind after 10 years

Previous run was in 2010 (10 years ago!), a lot of strings have changed.

Also removed all fuzzies because many strings do not exist any more in nterr.c
and then regenerated pos to restore strings that do exist.

I ran:
$ ./genmsg (with previous commits applied)
$ for i in *.po ; do mv -v $i ${i}.t && msgattrib --no-fuzzy -o $i ${i}.t && rm -fv ${i}.t ; done
$ ./genmsg

bjacke edited: don't remove old nterr.c translations, we should keep those
translatins and translate the mappings to the new strings coming from
nterr_gen.c, see b7b289f372535dc479a9c9b7ea80da4711edf4f8 for the related
change.

Signed-off-by: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>
Reviewed-by: Björn Jacke <bjacke@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d619a57804d200e351b509d67a8c76042cb9daa8">d619a578</a></strong>
<div>
<span>by Mikhail Novosyolov</span>
<i>at 2020-10-28T15:31:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: update Russian translation of pam_winbind

Signed-off-by: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>
Reviewed-by: Björn Jacke <bjacke@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Wed Oct 28 15:31:05 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f92ec6988d2f4c20eab9449cbe17317588f6634">5f92ec69</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-28T17:52:19+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Pass buffer correctly to write()

../../source4/torture/basic/denytest.c: In function ‘torture_createx_specific.isra’:
../../source4/torture/basic/denytest.c:2372:9: error: ‘write’ reading 56 bytes from a region of size 8 [-Werror=stringop-overflow=]
 2372 |   res = write(data_file_fd, &cxd, cxd_len);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Oct 28 17:52:19 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cc4901123daff9da1e0872dbd38575770e3a68d6">cc490112</a></strong>
<div>
<span>by Andrew Walker</span>
<i>at 2020-10-29T03:31:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient fix NULL - deref caused by misuse of chgpasswd3

Passing wrong number of arguments to chgpasswd3 will cause rpcclient to crash.

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Oct 29 03:31:56 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a380f19d570003c0134e5a9618fbeee524ca332a">a380f19d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-29T10:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-14323 winbind: Fix invalid lookupsids DoS

A lookupsids request without extra_data will lead to "state->domain==NULL",
which makes winbindd_lookupsids_recv trying to dereference it.

Reported by Bas Alberts of the GitHub Security Lab Team as GHSL-2020-134

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14436
Signed-off-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40f23c24598aee5456e41c813a37ccdc759ed000">40f23c24</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-10-29T10:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-14323 torture4: Add a simple test for invalid lookup_sids winbind call

We can't add this test before the fix, add it to knownfail and have the fix
remove the knownfail entry again. As this crashes winbind, many tests after
this one will fail.

Reported by Bas Alberts of the GitHub Security Lab Team as GHSL-2020-134

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14436
Signed-off-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6e143d9c7a6a68fa8c99708ec01fbfd389327426">6e143d9c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-10-29T10:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: Add smb2.notify.handle-permissions test.

Add knownfail entry.

CVE-2020-14318

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

Signed-off-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3076566d6565113edce9c330b196c93f8cc5aa11">3076566d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-10-29T11:47:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Ensure change notifies can't get set unless the directory handle is open for SEC_DIR_LIST.

Remove knownfail entry.

CVE-2020-14318

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

Signed-off-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Thu Oct 29 11:47:35 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/56879ec5876625346df89110f62d52e3fd5b8934">56879ec5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-29T14:19:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idl: Add SID_SAMBA_SMB3

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/905c2b9722a64ee57f3fbcff51e6bb591c6e3edc">905c2b97</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-29T14:19:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Add SMB3 connection information to session info

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8bbe5c8c94aaf75d715f558c363e5b2de49f7bf9">8bbe5c8c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-29T14:19:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Add dcerpc helper dcerpc_is_transport_encrypted()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f1a73be6311c68a21a550c0de5078baeb78f4ee">5f1a73be</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-29T14:19:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Use defines to set 'srv_smb_encrypt'

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6a21e1897985f267bcfc681179cea95165c3c57">c6a21e18</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-29T14:19:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server: Allow to use RC4 for setting passwords

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a9c532c6d3e85fbe49b7040254cfc66ab54074bc">a9c532c6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-29T14:19:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server: Allow to use RC4 for setting passwords

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/32d4c75d6cbf9153068a0487347097707afb356a">32d4c75d</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-10-29T14:19:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:crypto: Add py binding for set_relax/strict fips mode

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d54e4b49c235dc571f47d15e6b0a6fa63340773">7d54e4b4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-29T14:19:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:param: Add 'weak crypto' getter to pyparam

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9a3ba502d8193b25799ef92917efafd52de2e8c2">9a3ba502</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-29T14:19:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:tests: Add SAMR password change tests for fips

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebd687335b9accfdbae7dbc65c9882ab4d5c0986">ebd68733</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-10-29T15:41:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:tests: Add SAMR password change tests for fips

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Oct 29 15:41:37 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9214fcec349bbda1c9ceb25f835b7aef5024f61a">9214fcec</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2020-10-29T18:54:24+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: avoid returning an already used ID in randomXid()

The error 'uidNumber xxx is already being used.' in the samba tool tests
occurs when the random.randint functions returns the same value twice and
therefore a user or group with an already used gid or uid should be created.

Avoid this error by adding a list that stores the used IDs, so that the randomXid
function can check wheter a value is already used before returning it.

Signed-off-by: Jule Anger <ja@sernet.de>
Reviewed-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Oct 29 18:54:24 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8f31e5c23434ca04c921693376624a44dc36849">e8f31e5c</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-10-29T20:49:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pam_winbind/ro.po: fix error from previous patch merge

fixes up d619a57804d200e351b509d67a8c76042cb9daa8

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Björn Baumbach <bbaumbach@samba.org>

Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Thu Oct 29 20:49:16 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee79d39aa0cfaef8ba8bf6896786fe3bce80bee7">ee79d39a</a></strong>
<div>
<span>by Rowland Penny</span>
<i>at 2020-10-30T17:11:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idmap_nss.8.xml: update manpage as discussed on the samba mailing
list

Signed-off-by: Rowland Penny <rpenny@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Oct 30 17:11:02 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9404f8631ecc028c4e98879fbc67ccd2be09249f">9404f863</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-11-02T08:58:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Clean up socket bind/secure/listen

Obey the coding style, modernise debug macros, clean up whitespace.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/78c3b5b6a83d934c99ac25480fbc01f9aeb198e3">78c3b5b6</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-11-02T08:58:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Clean up call to bind socket

Variable res is only used once and ret is re-used many times.  Drop
res, use ret, which doesn't need to be initialised.  Modernise debug
macro.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/65ab8cb014ca7ac97433ec53d6d163e6da5a3fe7">65ab8cb0</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-11-02T08:58:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Do not attempt to chown Unix domain socket in test mode

If run with UID wrapper and UID_WRAPPER_ROOT=1 then securing the
socket will fail.

Test mode means that local daemons are in use, so securing the socket
is not important.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4bf010309cd747a42069cb5469ccb7711364ef18">4bf01030</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-11-02T10:20:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Drop dummy environment variables for CTDB daemons

This existed to avoid UID_WRAPPER_ROOT=1 causing ctdbd to fail to
chown the socket.  The chown is no longer done in test mode so remove
this confusing hack.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Mon Nov  2 10:20:45 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/08f8f665d409ee7b93840c25a8142f2ce8bacfa1">08f8f665</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2020-11-02T20:18:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml/manpages: Add warning about write-behind translator for vfs_glusterfs

Add warning about data corruption with the write-behind translator.

The data corruption is highlighted by the smbtorture test smb2.rw.rw1.
More information about this data corruption issue is available in the
bz.

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

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a49ccbcf5e3ff0f6833bcb7f04b800125f1783f">2a49ccbc</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2020-11-02T21:40:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-vfs_glusterfs: refuse connection when write-behind xlator is present

s3-vfs_glusterfs: refuse connection when write-behind xlator is present

Once the new glusterfs api is available we will programmtically disable
the translator, for now we just refuse the connection as there is
a potential for serious data damage.

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

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Pair-Programmed-With: Sachin Prabhu <sprabhu@redhat.com>
Pair-Programmed-With: Anoop C S <anoopcs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Nov  2 21:40:33 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6a9d22f4a91e07b8af0f1fb3a7d0cbab2ca0c76f">6a9d22f4</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-11-03T00:33:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/mod/operational: correct comment arithmetic

E + F is not 1F! E + F is 1D!

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d846cd178d653600c71ee4bd6a491a9e48a56da">7d846cd1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-11-03T01:56:59+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: modules: vfs_glusterfs: Fix leak of char **lines onto mem_ctx on return.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Nov  3 01:56:59 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1298280a22ef7494fb85a6a5953bae15d22fa204">1298280a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-03T15:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Rename CRED_USE_KERBEROS values

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1a92994a9513f5e73d30604a1dc217ddeb1ac8d5">1a92994a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-03T15:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds:tests: Migrate test to a cmocka unit test

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/27480333fdc0ee6c35c5b3d3bbd5bb026fc7dba0">27480333</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-03T16:47:57+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:vfs: Document the encryption_required flag in vfs.h

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

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Nov  3 16:47:57 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0bc93500a8bfb268085b02379375741903961f4e">0bc93500</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2020-11-03T22:55:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: add new "user unlock" command

Can be used to unlock a user when the badPwdCount has been reached.

Introduces SamDB error classes, as suggested by
Douglas Bagnall <douglas.bagnall@catalyst.net.nz> - thanks!
This helps to handle expected failures.
Tracebacks of really unexpected failures will not be hidden.

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a1b021200e3d068631798942a1f219b26afadca7">a1b02120</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2020-11-04T00:19:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add test for new "samba-tool user unlock" command

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Wed Nov  4 00:19:25 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eb0474d27bae4592b25ac6bf600da29c6a1cb9f8">eb0474d2</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2020-11-04T14:59:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">cli_credentials_parse_string: fix parsing of principals

When parsing a principal-like name, user name was left with full
principal instead of taking only the left part before '@' sign.

>>> from samba import credentials
>>> t = credentials.Credentials()
>>> t.parse_string('admin@realm.test', credentials.SPECIFIED)
>>> t.get_username()
'admin@realm.test'

The issue is that cli_credentials_set_username() does a talloc_strdup()
of the argument, so we need to change order of assignment to allow
talloc_strdup() to copy the right part of the string.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/00f4262ed0b22f6e333e5a29c5590b62c783905c">00f4262e</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2020-11-04T14:59:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">cli_credentials: add a helper to parse user or group names

cli_credentials_parse_string() parses a string specified for -U option
in command line tools. It has a side-effect that '%' character is always
considered to be a separator after which a password is specified.

Active Directory does allow to create user or group objects with '%' in
the name. It means cli_credentials_parse_string() will not be able to
properly parse such name.

Introduce cli_credentials_parse_name() for the cases when a password is
not expected in the name and call to cli_credentials_parse_name() from
cli_credentials_parse_string().

Test cli_credentials_parse_name() with its intended use in lookup_name()
refactoring.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f901691209867b32c2d7c5c9274eee196f541654">f9016912</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2020-11-04T16:23:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lookup_name: allow lookup for own realm

When using a security tab in Windows Explorer, a lookup over a trusted
forest might come as realm\name instead of NetBIOS domain name:

--------------------------------------------------------------------
[2020/01/13 11:12:39.859134,  1, pid=33253, effective(1732401004, 1732401004), real(1732401004, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:471(ndr_print_function_debug)
       lsa_LookupNames3: struct lsa_LookupNames3
          in: struct lsa_LookupNames3
              handle                   : *
                  handle: struct policy_handle
                      handle_type              : 0x00000000 (0)
                      uuid                     : 0000000e-0000-0000-1c5e-a750e5810000
              num_names                : 0x00000001 (1)
              names: ARRAY(1)
                  names: struct lsa_String
                      length                   : 0x001e (30)
                      size                     : 0x0020 (32)
                      string                   : *
                          string                   : 'ipa.test\admins'
              sids                     : *
                  sids: struct lsa_TransSidArray3
                      count                    : 0x00000000 (0)
                      sids                     : NULL
              level                    : LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY2 (6)
              count                    : *
                  count                    : 0x00000000 (0)
              lookup_options           : LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES (0)
              client_revision          : LSA_CLIENT_REVISION_2 (2)
--------------------------------------------------------------------

Allow this lookup using realm to be done against primary domain when we
are a domain controller. This corresponds to FreeIPA use of Samba as a
DC. For normal domain members a realm-based lookup falls back to a
lookup over to its own domain controller with the help of winbindd.

Refactor user name parsing code to reuse cli_credentials_* API to be
consistent with other places. cli_credentials_parse_name() handles
both domain and realm-based user name variants.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Wed Nov  4 16:23:40 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0851afdffd1591eb71f3aa00158efbcb358ea5ed">0851afdf</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-04T18:55:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Improve wording of a comment in cli_smb2_list

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/669414efacce6f06b6d1c01a16c981b24c3e165f">669414ef</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-04T18:55:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/af49efcde2e69958e94e8e1d82183d5c4ea0cf5d">af49efcd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-04T18:55:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libreplace: Compare a pointer against NULL, not 0

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40cec27636bb283ebc256d10de5a20e561984f7d">40cec276</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-04T18:55:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Align two integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7ea5c1f05d834ace9a12e193f237aa89ff2be486">7ea5c1f0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-04T18:55:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Fix a signed/unsigned warning

"num_bytes" is uint32_t, "received" is uint16_t. The multiplication
seems to implicitly widen "received" to int, leading to a
signed/unsigned warning. This cast makes that warning go away.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/95e235172aa7773d7c9f1135c4181ad2c2519579">95e23517</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-04T18:55:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Show that recursive ls across dfs is broken

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f879c83342865dd4c9c2265fb5ccbea343da7815">f879c833</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-04T18:55:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbclient: Move variable declarations closer to their use

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd4308640ffde8de8fd79491539b01530c24e3c5">fd430864</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-04T18:55:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbclient: Wrap a few long lines

Make the next patch simpler

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/623bc39bb8e54d4f86a524dd281f138a4b703970">623bc39b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-04T18:55:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbclient: Introduce struct do_list_helper_state

We'll pass more information to do_list_helper() soon

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/886665644c9c5fb0c0f36d79db80d0021b829b6b">88666564</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-04T18:55:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbclient: Add "mask" to do_list_helper_state

To me this is simpler to understand than to rely on the cli_list
callback which goes through some function call layers. Also, this
gives more obvious control over what we pass in the next patch.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4cc4938a2866738aaff4dc91550bb7a5ad05d7fb">4cc4938a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-04T18:55:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbclient: Fix recursive "ls" across DFS links

This is an a bit subtle patch: The main trick is that the previous
code a DFS-style \\server\share\dir1\dir2 path ended up in the list of
directories to enumerate. This was then processed by do_list again,
passing it to cli_resolve_path. However, cli_resolve_path always
expects non-DFS style paths as input. This patch passes the original,
non-DFS path to do_list_helper(), so that it ends up without the DFS
style \\server\share prefix in the directory queue.

>From general failure it just fails on the SMB1-based environments,
like the other smbclient_s3 ones in knownfail.d/smb1-tests

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4ebe72b942b1404d131047a407b4aac5af0c349d">4ebe72b9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-04T18:55:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Remove "mntpoint" argument from cli_list() callback

do_list()/do_list_helper() in source3/client/client.c was the only user of this
argument. And that use was wrong.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a7d39ed14334c6a959d68ecd7eb451becf6a35e5">a7d39ed1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-04T18:55:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Remove "mntpoint" argument from cli_list_trans() callback

This was unused in the callers, also do this for symmetry.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e8ce497f3d28cfafcf593dbc0b38707c813b513">3e8ce497</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-04T20:17:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Remove cli_state->dfs_mountpoint

Not used anymore

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Nov  4 20:17:47 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/80ff5a37c7f1516123dc129d023d78323f91d53d">80ff5a37</a></strong>
<div>
<span>by Bradley M. Kuhn</span>
<i>at 2020-11-04T21:29:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS-License-clarification: minor improvements aligning w/ GPLv3 text

The phrase "derived work" and word "derived" don't appear in GPLv3;
instead, GPLv3 uses the phrases "modified version" and "based on" to
implement the strong copyleft clause.  Herein, align the VFS
statement with the phrases as they appear in the GPLv3 since Samba's
license is GPLv3-or-later.

Included are also a few other very minor wording changes as suggested
by legal counsel who is experienced with presenting these sorts of
licensing statements to company lawyers and suggests these changes
will comfort that constituency.

Finally, update both occurrences of the statement in the codebase in
two different files.

Signed-off-by: Bradley M. Kuhn <bkuhn@sfconservancy.org>
Reviewed-by: Jim McDonough <jmcd@samba.org>
Reviewed-by: Karolin Seeger <kseeger@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a51cda69ec6a017ad04b5690a3ae67a5478deee9">a51cda69</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2020-11-04T22:53:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-vfs_glusterfs: always disable write-behind translator

The "pass-through" option has now been merged upstream as of:
https://github.com/gluster/glusterfs/pull/1640

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

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Pair-Programmed-With: Anoop C S <anoopcs@samba.org>
Pair-Programmed-With: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Nov  4 22:53:49 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/04248f5e868d38498bdc8f9705c9a60fcfe79c09">04248f5e</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-11-04T22:54:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add mit kdc specific known fail

Add a MIT kerberos specific known fail, will be needed by subsequent
commits.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b14dca7c1c063e069517ff01b33c63a000d398c3">b14dca7c</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-11-04T22:54:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: Make PrincipalName_create a class method

Make PrincipalName_create a class method, so it can be used in helper
classes.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/41c8aa4b991aad306d731b08d068c480eb5c7fed">41c8aa4b</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-11-04T22:54:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: Add canonicalize flag to ASN1

Add the canonicalize flag to KerberosFlags, so that it can be used in
python based canonicalization tests.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/005435dc4d7de9d442c7513edec8c782fe20fda3">005435dc</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-11-04T22:54:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: Add python kerberos canonicalization tests

Add python canonicalization tests, loosely based on the code in
source4/torture/krb5/kdc-canon-heimdal.c.  The long term goal is to move
the integration level tests out of kdc-canon-heimdal, leaving it as a
heimdal library unit test.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8aebd48698e3d41f3d27a5c4710729387760c6d4">8aebd486</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-05T00:17:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Add Fedora 33

This removes Fedora 31 support.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Nov  5 00:17:55 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/49efe0ca0b07396764f78434989165f941cf5f91">49efe0ca</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2020-11-05T06:30:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "cli_credentials_parse_string: fix parsing of principals"

This reverts commit eb0474d27bae4592b25ac6bf600da29c6a1cb9f8.
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5d80b179a1ae43325dde821fc6a869b6c1a1eeea">5d80b179</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2020-11-05T06:30:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "cli_credentials: add a helper to parse user or group names"

This reverts commit 00f4262ed0b22f6e333e5a29c5590b62c783905c.
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca07dc775cbf0d6736783ced8d0dfb6ddec8520f">ca07dc77</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2020-11-05T07:53:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "lookup_name: allow lookup for own realm"

This reverts commit f901691209867b32c2d7c5c9274eee196f541654.

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Thu Nov  5 07:53:03 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c2fcd83ed7b5cf54b2c5de296a4126ea4e9e155e">c2fcd83e</a></strong>
<div>
<span>by Andrew Walker</span>
<i>at 2020-11-06T04:58:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libnet:py_net - free event context in dealloc fn

Creation of a new Net() object initializes an event context under
a NULL talloc context and then creates a new talloc context as a
child of the event context. The deallocation function for the
net object only frees the child and not the parent. This leaks an
fd for the tevent context and associated memory.

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Nov  6 04:58:31 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f0f8de9d4a4e05445e427f00bb10eb34e1110a97">f0f8de9d</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-11-06T10:02:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add smb2cli_session_get_encryption_cipher()

When 'session->smb2->should_encrypt' is true, the client MUST encrypt
all transport messages (see also MS-SMB2 3.2.4.1.8).

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/339bfcd67af2675d10287946d8f5dabba1022d57">339bfcd6</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-11-06T10:02:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add dcerpc_transport_encrypted()

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eba91f0dfa8e3267689b4076302e257f4cecd63b">eba91f0d</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-11-06T10:02:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add py binding for dcerpc_transport_encrypted

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a77551bea969ce73a3dc27384d94b4126bef04f7">a77551be</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-11-06T10:02:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add a test for py dce transport_encrypted

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c2644032b49b4160517a7c73634cebc54a76f827">c2644032</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-11-06T10:02:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add CreateTrustedDomainRelax wrapper for fips mode

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/baf4e2930ee13b47c23c63c7e945fdc4444f0c69">baf4e293</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-11-06T10:02:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Use the new CreateTrustedDomainRelax()

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cfaad16ff632df83a881fe5d8ec498bab102c9c9">cfaad16f</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-11-06T10:02:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add a test for the CreateTrustedDomainRelax wrapper

Originally copied from 'source4/scripting/devel/createtrust'
(had to drop the TRUST_AUTH_TYPE_VERSION part though, as it
fails against samba DC).

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/604153525afc892f57a1df710c41ffca275b0dd3">60415352</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2020-11-06T11:25:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Remove source4/scripting/devel/createtrust script

We now have the 'samba-tool domain trust' command.

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Isaac Boukris <iboukris@samba.org>
Autobuild-Date(master): Fri Nov  6 11:25:02 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7b479c31983ad819c758176f1824a012095b03a4">7b479c31</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-11-06T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: put quotes around '!vfs_snapper' module instructions

Otherwise the exclamation may get swallowed by shell, leading to further
confusion.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/710196f0cc5ac4f9a5f9b0d2fc11376f21207743">710196f0</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2020-11-06T20:19:22+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: improve --with-shared-modules documentation

Remove statement about lack of support. Add description and example for
how to explicitly disable modules via a '!' prefix.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Nov  6 20:19:22 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/86eb6423bdcedf3433f3dbcf026573a238cf0d87">86eb6423</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-11-09T02:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: talloc: Cleanup. Use consistent preprocessor logic macros.

Match other use of ALWAYS_REALLOC.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6e0aab0b4038255b2d63e8687924a21d77bace91">6e0aab0b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-11-09T02:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: talloc: Fix pool object accounting when doing talloc_realloc() in the ALWAYS_REALLOC compiled case.

tc_alloc_pool() or the fallback malloc can return NULL.

Wait until we know we are returning a valid pointer
before decrementing pool_hdr->object_count due to
reallocing out of the talloc_pool.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/30a8bea8a340dcf9a3120f5ee8041e62fb129d8d">30a8bea8</a></strong>
<div>
<span>by Arran Cudbard-Bell</span>
<i>at 2020-11-09T02:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: talloc: Add more debugging text for existing memlimit + pool tests

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

Signed-off-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4566ee91b8c37f62e8b56242a48230db59cd5ff0">4566ee91</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-11-09T02:46:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: talloc: Fix memlimit on pool realloc.

We only have to do the memlimit check before any
real malloc or realloc. Allocations out of a
memory pool have already been counted in the
memory limit, so don't check in those cases.

This is an application-visible change (although
fixing a bug) so bump the ABI to 2.3.1 -> 2.3.2.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a5052c73c3ffdca6b30194223e69a26430f3f989">a5052c73</a></strong>
<div>
<span>by Arran Cudbard-Bell</span>
<i>at 2020-11-09T02:46:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: talloc: More tests for realloc when used with memlimited pools

This requires the previous patch.

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

Signed-off-by: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5cb5134377f099353e0f91c44cc11e45d548d40f">5cb51343</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-11-09T02:46:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add heimdal kdc specific known fail

Add a heimdal kerberos specific known fail, will be needed by subsequent
commits.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1e1d8b9c83f32c06ecab31214a20b77529ee038e">1e1d8b9c</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-11-09T02:46:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: Add python kerberos compatability tests

Add new python test to document the differences between the MIT and
Heimdal Kerberos implementations.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5e1759057a767f517bf480a2172a36623df2799">e5e17590</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-11-09T04:10:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: spoolss: Make parameters in call to user_ok_token() match all other uses.

We already have p->session_info->unix_info->unix_name, we don't
need to go through a legacy call to uidtoname(p->session_info->unix_token->uid).

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Nov  9 04:10:45 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6c11e5f42ba3248c97d85c989d422b256d2465a9">6c11e5f4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-09T08:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server: Use gnutls_cipher_decrypt() in get_trustdom_auth_blob()

It doesn't matter for RC4, but just to be correct.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c93ccebdfedd60c1d19f1b1436ac30062259952a">c93ccebd</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-09T08:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server: Use gnutls_cipher_decrypt() in get_trustdom_auth_blob()

It doesn't matter for RC4, but just to be correct.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4425f2c113a4dc33a8dc609d84a92018d61b4d2e">4425f2c1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-09T08:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server: Allow to use RC4 for creating trusts

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c75dd1ea178325b8f65343cb5c35bb93f43a49a3">c75dd1ea</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-09T08:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server: Allow to use RC4 for creating trusts

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b89134013041e772418c2c8bcfffe8a9ade6db91">b8913401</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-09T10:22:51+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sefltest: Enable the dcerpc.createtrustrelax test against ad_dc_fips

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Nov  9 10:22:51 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be03ce7d8bb213633eedcfc3299b8d9865a3c67f">be03ce7d</a></strong>
<div>
<span>by Anoop C S</span>
<i>at 2020-11-09T13:30:06+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">manpages/vfs_glusterfs: Mention silent skipping of write-behind translator

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

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Mon Nov  9 13:30:06 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/96e2cf7905e146a40f788899e4759691aac6c942">96e2cf79</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">replace/waf: fix libnsl checking on Solaris

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b9e8959c3d585467757ddd050550b0fcd3497157">b9e8959c</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf/texpect: add required nsl dependency for Solaris

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/edb1012536e46a1d2f022ef0f369ecc2cae733a2">edb10125</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">replace: define BOOL_DEFINED to fix header yp_prot header check on Solaris

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/104b3545e08bb79242c659c283bc8ee221dd66d8">104b3545</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: silence warning: macro redefined

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a223c5b5b7f6446d1e52065679c5c26d02b97ef6">a223c5b5</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: use _POSIX_PTHREAD_SEMANTIC on Solaris

Solaris uses POSIX draft function calls by default for a number of functions,
unless you set _POSIX_PTHREAD_SEMANTIC

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bbfd93f7b6322b41cb69a0bab4903d074f3c60b7">bbfd93f7</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: remove a cast, which makes the Solaris Studio compiler unhappy

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a4e90cfec4966b9cebcab65ae26ecbe6d85868c0">a4e90cfe</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">http_conn.c: fix "void function cannot return value" error

this made the studio compiler build break

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cce4e8012c5eafb6d98111b92923d748d72d077b">cce4e801</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth_generic: fix empty initializer compile warning

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6b855429b969a1c30e7a57c3aa139c62abb7c98f">6b855429</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">talloc: fix studio compiler build

Solaris Studio compiler 12.4 is pedantic about prototypes in headers having
the external visibility declarations too. It throws errors like:

redeclaration must have the same or more restrictive linker scoping: ...

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/268fcfdd5aa3adbcd6486090ee56aad6e6902a12">268fcfdd</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">talloc/pytalloc: fix studio compler build

Solaris Studio compiler 12.4 is pedantic about prototypes in headers having
the external visibility declarations too. It throws errors like:

redeclaration must have the same or more restrictive linker scoping: ...

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3c1013caf4b57c6af5a5d210df232c08a1227a17">3c1013ca</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: fix studio compiler build

Solaris Studio compiler 12.4 is pedantic about prototypes in headers having
the external visibility declarations too. It throws errors like:

redeclaration must have the same or more restrictive linker scoping: ...

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa8d6c779ca89d6be1c8b973d3ea60e6073bf899">aa8d6c77</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl: use unused attribute only if supported by feature macro

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e4f3354821a919ec60eb3af55709e7055513cc24">e4f33548</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture/sharemode: fix empty initializer compile warning

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c862ad64aea31d1d5ec66385bb50d9b97e609071">c862ad64</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_kv_index: fix empty initializer compile warning

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/918317124acbb4b0f0d12eeeae79eafdfddaa49c">91831712</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_key_value_test: studio compiler doesn't like empty struct definitions

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c305ab07709bcb5eba11568ac2fd625410f441e2">c305ab07</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_parse_test: studio compiler doesn't like empty struct definitions

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/37b81f9116825e0fc0fcd62aa957655fe5c83f19">37b81f91</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util_net: fix a statement not reached warning

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c32eb006108c69a99c651e11a0a4160359e52145">c32eb006</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: check for pragma init/fini support for constructors/destructors

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f13e1ca54a2a448dd87809496e4b6da5af1589e8">f13e1ca5</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T06:53:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">talloc: alternatively use prama init for constructors if supported

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18fdfe8c10291e04b6a54499d74a6ee15652f5db">18fdfe8c</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-11-10T08:17:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: alternatively use prama fini for destructors if supported

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Nov 10 08:17:53 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6598e00e129bc8b36d6d38345b67aba48b3eb26d">6598e00e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-11-10T19:49:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: talloc: Remove the ALWAYS_REALLOC code paths.

This is now never set, and also never tested, and only makes
the talloc code more complicated.

Once this is gone we can start looking at the memlimit
stuff.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ac44b83ee94741a9bd044f8c4760ef6d8a367ae">5ac44b83</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Move generate_unique_u64_state into generate_unique_u64()

Make clear that generate_unique_u64() is the only function referencing
it.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a342cf2cb894477b3ef76fde35931800ddd6aafa">a342cf2c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">locking: Remove an unused anonymous struct reference

This was used in share_mode_do_locked()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be381fd45471098099309067dab68cebc9ce5b53">be381fd4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use ISDOT[DOT] in can_delete_directory_fsp()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1af086d23cf43742aa497c2a23deb65cadac673c">1af086d2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix a signed/unsigned warning

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/30c917c215c627a8b306c4e245f9443a3b29606d">30c917c2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix a theoretical out-of-bounds write

This routine looked fishy: We do cap_vals[num_cap_vals++] = XXX based
on #ifdefs and capabilities. Then later on we did a check that we did
not overwrite the stack. The change I did is to just count the number
of num_cap_vals++, right now it's 5. I know it is in different switch
branches, but with the #ifdefs it's a bit clumsy to read the exact
number of actual num_cap_vals++ that can happen in one run. On debian
buster, cap_val_t is an int, so this is not really wasting too much.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/76043ccb7f0f73e114776182469da8a96589a826">76043ccb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Slightly optimize smb_fname_str_dbg()

Don't leak "fname"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fc88f2e0e4326519c00b1f6deb34eef9030099e4">fc88f2e0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_error_inject: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/daa9d98cf8057d47b0f22a37d009f227b798f20e">daa9d98c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth: Align an integer type

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/401c5132a40b20e24dc321b6a9f924a53e949dab">401c5132</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">passdb: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4da7de80d566d2e19f4a6c5e219fcad993e0a3a7">4da7de80</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/15e9e2945c2d404a4ba7b26744978ff22b4b7ef5">15e9e294</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Give locking/share_mode_lock.c its own header file

To me this is then easier to figure out what is defined there, and
where it's exactly used.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/13217e6eb9163abcbb9ff3bb4716fd1f453a2bf8">13217e6e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Move share_mode_cleanup_disonnected() to scavenger.c

Reduce the complexity of share_mode_lock.c, scavenger.c is the only
user of this routine.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2fe1e601c90607062418cafb64cf6c063179ebde">2fe1e601</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Move "struct share_mode_lock" to share_mode_lock.h

share_mode_lock.c is where it's created

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/84dba041a35d75657a2738157fdddc83aeb7a2a0">84dba041</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">locking: Make share_mode_watch_send() take "share_mode_lock"

This makes clear that this can only be done under a lock

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3f54fcaffd771c098f1cc587c66d2e171494447c">3f54fcaf</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Move setting d->modified=true to reset_share_mode_entry()

This function is only called from
vfs_default_durable_reconnect(). It is really the lower-level routine
that triggers the write of the locking.tdb record.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a01cb7faa343e974d93ba471aeabd4356a154a8c">a01cb7fa</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">locking: Add share_mode_changed_write_time() accessor function

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/60f24079a904441853aa46e5f97befa21634b7da">60f24079</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use share_mode_changed_write_time() in durable_disconnect()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ec387d048161c84f885c0979d350bcc65ad0df20">ec387d04</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use share_mode_changed_write_time() in smbd/close.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/701da78cc84900f4b61b5d2da0ccc6f18b9099fa">701da78c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">locking: Add share_mode_filename() accessor function

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d2662dff7e03cb4ba97df70d562dc2cbbdfaea58">d2662dff</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbstatus: Use share_mode_filename()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/53059dc6cbfcf70c86074f92f72d8ca5c1d0134b">53059dc6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use share_mode_filename() in scavenger.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3d33eee53663e16f6b7c2e5e1d6632900ad7d6c2">3d33eee5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Avoid share_mode_lock dereference in scavenger

Pass "struct file_id" to callees without accessing share_mode_lock
internals

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5aab299dff2b11607444876624e84cf33833fdf5">5aab299d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">locking: Add share_mode_servicepath() accessor function

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee41ec8afe05779f77a08441e7d283d4ccaf08e1">ee41ec8a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use share_mode_servicepath() in scavenger.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2337c1e3f8021e747a309f30a0d28cf9de351335">2337c1e3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net_tdb: Slightly restructure net_tdb_locking()

Remove the net_tdb_locking_fetch() subroutine. All of net_tdb_locking() is
still very simple, and net_tdb_locking_fetch() did the fetch as such plus
parsing the hex key. With this restructuring it was possible to avoid a direct
reference to lck->data->id.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/affce737dc904f46412e798f9ceaafa59fa377ad">affce737</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net_tdb: Use share_mode_servicepath()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce64b3caf3948459c1edf13896834a34d2a917e8">ce64b3ca</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net_tdb: Use share_mode_filename()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5c3a18e51455c012ab691f00c259014041fb464d">5c3a18e5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">locking: Add share_mode_data_dump() accessor function

This is a special case for net tdb dump. The alternative would be to
change the net tdb dump behaviour.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f6abe33dd1717465c8ef882f2b1e71300899619b">f6abe33d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net_tdb: Use share_mode_data_dump()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/271a369fb94fb4affdd8725c9cce829bb5d85c93">271a369f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Don't set share_mode_lock modified in grant_new_fsp_lease()

A new lease never triggers a retry. Setting d->modified to true just
triggered the watchers needlessly.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d220bae5a9d7f248c3611210c6e79c5ad8f95095">d220bae5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove a variable used just once

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b6f4ee43e376104f6a7f6556c135ff729f5d40b">4b6f4ee4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Avoid references to share_mode_data->id

When calling open_mode_check() we know the file id. We can pass it to
the lower levels without dereferencing struct share_mode_lock.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/df2ffaaa2097676cc1ddfc4239f53aef6afc4869">df2ffaaa</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T19:49:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">locking: move share_mode_flags_[gs]et to share_mode_lock.c

These routines parse and marshall the uint16 summary flag in
share_mode_data. open_file_ntcreate() and open_directory() are the
only real users of this. The user in oplock.c is just the lazy reset
of the "read lease exists somewhere" after asynchronously breaking
read oplocks after a write request.

This moves handling the flags into locking/ to consolidate data
structure handling of "share_mode_data" there.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d762ab558ae6c16ba5007fb38e44c9667d952e2b">d762ab55</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-10T21:12:48+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">locking: hide share_mode_lock definition

This makes "struct share_mode_lock" an opaque data structure opened up
only to the code in locking/. This makes it much safer to modify the
data structure with defined accessor functions in share_mode_lock.c.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Nov 10 21:12:48 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d7f731ed3577b407370d8fe7a62b4c3ee2dd9c75">d7f731ed</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-11-11T01:15:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Send enterprise principals tagged as such

This test passed against Samba but failed against Windows when
an enterprise principal (user@domain.com@REALM) was encoded as
NT_PRINCIPAL.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/579a3c641c72b65f6ba39141a55c765b517bd7f8">579a3c64</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-11-11T01:15:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Fix flipped machine and user constants

This naturally does not change the test, but reduces developer
confusion.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d85e71f449037fa035fa2fae6b64caf695c53cb3">d85e71f4</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-11-11T01:15:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Make as_canonicalization_tests.py easier to run outside "make test"

This takes the realm from the LDAP base DN and so avoids one
easy mistake to make.  So far the NT4 domain name is not
auto-detected, so much be read from the smb.conf.

By using .guess() the smb.conf is read for the unspecified
parts (eg workstation for an NTLM login to the LDAP server if
the target server is an IP address).

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d79218dbba3d0f26d6a0e22b3c91b0731bf641dd">d79218db</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-11-11T01:15:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samdb: Add samdb.domain_netbios_name()

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2693f12fbe321e0f4932b1f74d7006dbac140e8e">2693f12f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-11-11T01:15:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Make as_canonicalization_tests.py auto-detect the NT4 domain name

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ab8c0a181bebe17a597af49790f6e7b17e13c29b">ab8c0a18</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-11-11T01:15:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Fix formatting of failure (traceback and options swapped in format string)

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fc77ece0e2b5fd324809e17a9b208cc7854cee4b">fc77ece0</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-11-11T01:15:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add in encrypted-pa-data from RFC 6806

This comes from Windows 2019 which supports FAST.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f214a3ba5a3e9f129f10062392ae03edd62d8186">f214a3ba</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-11-11T02:38:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Windows 2019 implements the RemoveDollar behaviour for Enterprise principals

This is documented in MS-KILE.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Wed Nov 11 02:38:46 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/31c703766fd2b89737826fb7e9a707f0622bb8cd">31c70376</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2020-11-11T10:59:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lookup_name: allow lookup names prefixed with DNS forest root for FreeIPA DC

In FreeIPA deployment with active Global Catalog service, when a two-way
trust to Active Directory forest is established, Windows systems can
look up FreeIPA users and groups. When using a security tab in Windows
Explorer on AD side, a lookup over a trusted forest might come as
realm\name instead of NetBIOS domain name:

--------------------------------------------------------------------
[2020/01/13 11:12:39.859134,  1, pid=33253, effective(1732401004, 1732401004), real(1732401004, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:471(ndr_print_function_debug)
       lsa_LookupNames3: struct lsa_LookupNames3
          in: struct lsa_LookupNames3
              handle                   : *
                  handle: struct policy_handle
                      handle_type              : 0x00000000 (0)
                      uuid                     : 0000000e-0000-0000-1c5e-a750e5810000
              num_names                : 0x00000001 (1)
              names: ARRAY(1)
                  names: struct lsa_String
                      length                   : 0x001e (30)
                      size                     : 0x0020 (32)
                      string                   : *
                          string                   : 'ipa.test\admins'
              sids                     : *
                  sids: struct lsa_TransSidArray3
                      count                    : 0x00000000 (0)
                      sids                     : NULL
              level                    : LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY2 (6)
              count                    : *
                  count                    : 0x00000000 (0)
              lookup_options           : LSA_LOOKUP_OPTION_SEARCH_ISOLATED_NAMES (0)
              client_revision          : LSA_CLIENT_REVISION_2 (2)
--------------------------------------------------------------------

If we are running as a DC and PASSDB supports returning domain info
(pdb_get_domain_info() returns a valid structure), check domain of the
name in lookup_name() against DNS forest name and allow the request to
be done against the primary domain. This corresponds to FreeIPA's use of
Samba as a DC. For normal domain members a realm-based lookup falls back
to a lookup over to its own domain controller with the help of winbindd.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Wed Nov 11 10:59:01 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/457b49c67803dd95abc8502c2a410fac273f6fba">457b49c6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-11-11T15:02:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: modules: gluster. Fix the error I made in preventing talloc leaks from a function.

file_lines_parse() plays horrible tricks with
the passed-in talloc pointers and the hierarcy
which makes freeing hard to get right.

As we know mem_ctx is freed by the caller, after
calling file_lines_parse don't free on exit and let the caller
handle it. This violates good Samba coding practice
but we know we're not leaking here.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Nov 11 15:02:27 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40079975f71fc5031da87d4c803b794c2c67107a">40079975</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-11-11T21:14:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs/blackbox: make sure subunit.sh always terminates DETAILS with '\n]\n'

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b3ffc61e2fe3011b8447af33fc4a1d095ed05884">b3ffc61e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-11-11T21:14:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">SambaToolCmdTest: let assertCmdSuccess() escape ']\n' lines

This gives a much higher chance to see the actual problem
without having them filtered by various 'filter-subunit' invocations.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3f556d9770a052c6c650183d6ce352d4bc620e53">3f556d97</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-11-11T21:14:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/subunithelper: only let ']\n' lines to terminate

It should not be enough that a line ends with ']\n' is accident,
subunit DETAILS are terminated with '\n]\n'!

This gives a much higher chance to see the actual problem
without having them filtered by various 'filter-subunit' invocations.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dcd5a64ca742aadf922362a4254ed20c2bc5c64d">dcd5a64c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-11-11T22:43:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/subunithelper: also output as much of unterminated DETAILS

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Wed Nov 11 22:43:46 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a8b672652dcbcf55ec59be537773d76f0f14d0a">2a8b6726</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2020-11-12T13:49:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth_sam: use pdb_get_domain_info to look up DNS forest information

When Samba is used as a part of FreeIPA domain controller, Windows
clients for a trusted AD forest may try to authenticate (perform logon
operation) as a REALM\name user account.

Fix auth_sam plugins to accept DNS forest name if we are running on a DC
with PASSDB module providing domain information (e.g. pdb_get_domain_info()
returning non-NULL structure). Right now, only FreeIPA or Samba AD DC
PASSDB backends return this information but Samba AD DC configuration is
explicitly ignored by the two auth_sam (strict and netlogon3) modules.

Detailed logs below:

[2020/11/11 09:23:53.281296,  1, pid=42677, effective(65534, 65534), real(65534, 0), class=rpc_parse] ../../librpc/ndr/ndr.c:482(ndr_print_function_debug)
       netr_LogonSamLogonWithFlags: struct netr_LogonSamLogonWithFlags
          in: struct netr_LogonSamLogonWithFlags
              server_name              : *
                  server_name              : '\\master.ipa.test'
              computer_name            : *
                  computer_name            : 'AD1'
              credential               : *
                  credential: struct netr_Authenticator
                      cred: struct netr_Credential
                          data                     : 529f4b087c5f6546
                      timestamp                : Wed Nov 11 09:23:55 AM 2020 UTC
              return_authenticator     : *
                  return_authenticator: struct netr_Authenticator
                      cred: struct netr_Credential
                          data                     : 204f28f622010000
                      timestamp                : Fri May  2 06:37:50 AM 1986 UTC
              logon_level              : NetlogonNetworkTransitiveInformation (6)
              logon                    : *
                  logon                    : union netr_LogonLevel(case 6)
                  network                  : *
                      network: struct netr_NetworkInfo
                          identity_info: struct netr_IdentityInfo
                              domain_name: struct lsa_String
                                  length                   : 0x0010 (16)
                                  size                     : 0x01fe (510)
                                  string                   : *
                                      string                   : 'IPA.TEST'
                              parameter_control        : 0x00002ae0 (10976)
                                     0: MSV1_0_CLEARTEXT_PASSWORD_ALLOWED
                                     0: MSV1_0_UPDATE_LOGON_STATISTICS
                                     0: MSV1_0_RETURN_USER_PARAMETERS
                                     0: MSV1_0_DONT_TRY_GUEST_ACCOUNT
                                     1: MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT
                                     1: MSV1_0_RETURN_PASSWORD_EXPIRY
                                     1: MSV1_0_USE_CLIENT_CHALLENGE
                                     0: MSV1_0_TRY_GUEST_ACCOUNT_ONLY
                                     1: MSV1_0_RETURN_PROFILE_PATH
                                     0: MSV1_0_TRY_SPECIFIED_DOMAIN_ONLY
                                     1: MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT
                                     0: MSV1_0_DISABLE_PERSONAL_FALLBACK
                                     1: MSV1_0_ALLOW_FORCE_GUEST
                                     0: MSV1_0_CLEARTEXT_PASSWORD_SUPPLIED
                                     0: MSV1_0_USE_DOMAIN_FOR_ROUTING_ONLY
                                     0: MSV1_0_ALLOW_MSVCHAPV2
                                     0: MSV1_0_S4U2SELF
                                     0: MSV1_0_CHECK_LOGONHOURS_FOR_S4U
                                     0: MSV1_0_SUBAUTHENTICATION_DLL_EX
                              logon_id                 : 0x0000000000884ef2 (8933106)
                              account_name: struct lsa_String
                                  length                   : 0x000e (14)
                                  size                     : 0x000e (14)
                                  string                   : *
                                      string                   : 'idmuser'
                              workstation: struct lsa_String
                                  length                   : 0x0000 (0)
                                  size                     : 0x0000 (0)
                                  string                   : *
                                      string                   : ''
                         challenge                : 417207867bd33c74
                          nt: struct netr_ChallengeResponse
                              length                   : 0x00c0 (192)
                              size                     : 0x00c0 (192)
                              data                     : *
                                  data: ARRAY(192)
  [0000] A5 24 62 6E 31 DF 69 66   9E DC 54 D6 63 4C D6 2F   .$bn1.if ..T.cL./
  [0010] 01 01 00 00 00 00 00 00   50 37 D7 60 0C B8 D6 01   ........ P7.`....
  [0020] 15 1B 38 4F 47 95 4D 62   00 00 00 00 02 00 0E 00   ..8OG.Mb ........
  [0030] 57 00 49 00 4E 00 32 00   30 00 31 00 36 00 01 00   W.I.N.2. 0.1.6...
  [0040] 06 00 41 00 44 00 31 00   04 00 18 00 77 00 69 00   ..A.D.1. ....w.i.
  [0050] 6E 00 32 00 30 00 31 00   36 00 2E 00 74 00 65 00   n.2.0.1. 6...t.e.
  [0060] 73 00 74 00 03 00 20 00   61 00 64 00 31 00 2E 00   s.t... . a.d.1...
  [0070] 77 00 69 00 6E 00 32 00   30 00 31 00 36 00 2E 00   w.i.n.2. 0.1.6...
  [0080] 74 00 65 00 73 00 74 00   05 00 18 00 77 00 69 00   t.e.s.t. ....w.i.
  [0090] 6E 00 32 00 30 00 31 00   36 00 2E 00 74 00 65 00   n.2.0.1. 6...t.e.
  [00A0] 73 00 74 00 07 00 08 00   50 37 D7 60 0C B8 D6 01   s.t..... P7.`....
  [00B0] 06 00 04 00 02 00 00 00   00 00 00 00 00 00 00 00   ........ ........
                          lm: struct netr_ChallengeResponse
                              length                   : 0x0018 (24)
                              size                     : 0x0018 (24)
                              data                     : *
                                  data                     : 000000000000000000000000000000000000000000000000
              validation_level         : 0x0006 (6)
              flags                    : *
                  flags                    : 0x00000000 (0)
                         0: NETLOGON_SAMLOGON_FLAG_PASS_TO_FOREST_ROOT
                         0: NETLOGON_SAMLOGON_FLAG_PASS_CROSS_FOREST_HOP
                         0: NETLOGON_SAMLOGON_FLAG_RODC_TO_OTHER_DOMAIN
                         0: NETLOGON_SAMLOGON_FLAG_RODC_NTLM_REQUEST

In such case checks for a workgroup name will not match the DNS forest
name used in the username specification:

[2020/11/11 09:23:53.283055,  3, pid=42677, effective(65534, 65534), real(65534, 0), class=auth] ../../source3/auth/auth.c:200(auth_check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [IPA.TEST]\[idmuser]@[] with the new password interface
[2020/11/11 09:23:53.283073,  3, pid=42677, effective(65534, 65534), real(65534, 0), class=auth] ../../source3/auth/auth.c:203(auth_check_ntlm_password)
  check_ntlm_password:  mapped user is: [IPA.TEST]\[idmuser]@[]
[2020/11/11 09:23:53.283082, 10, pid=42677, effective(65534, 65534), real(65534, 0), class=auth] ../../source3/auth/auth.c:213(auth_check_ntlm_password)
  check_ntlm_password: auth_context challenge created by fixed
[2020/11/11 09:23:53.283091, 10, pid=42677, effective(65534, 65534), real(65534, 0), class=auth] ../../source3/auth/auth.c:216(auth_check_ntlm_password)
  challenge is:
[2020/11/11 09:23:53.283099,  5, pid=42677, effective(65534, 65534), real(65534, 0)] ../../lib/util/util.c:678(dump_data)
  [0000] 41 72 07 86 7B D3 3C 74                             Ar..{.<t
[2020/11/11 09:23:53.283113, 10, pid=42677, effective(65534, 65534), real(65534, 0), class=auth] ../../source3/auth/auth_sam.c:209(auth_sam_netlogon3_auth)
  auth_sam_netlogon3_auth: Check auth for: [IPA.TEST]\[idmuser]
[2020/11/11 09:23:53.283123,  5, pid=42677, effective(65534, 65534), real(65534, 0), class=auth] ../../source3/auth/auth_sam.c:234(auth_sam_netlogon3_auth)
  auth_sam_netlogon3_auth: IPA.TEST is not our domain name (DC for IPA)
[2020/11/11 09:23:53.283131, 10, pid=42677, effective(65534, 65534), real(65534, 0), class=auth] ../../source3/auth/auth.c:249(auth_check_ntlm_password)
  auth_check_ntlm_password: sam_netlogon3 had nothing to say

and overall authentication attempt will fail: auth_winbind will complain
that this domain is not a trusted one and refuse operating on it:

[2020/11/11 09:23:53.283784, 10, pid=42663, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:742(process_request_send)
  process_request_send: process_request: Handling async request smbd(42677):PAM_AUTH_CRAP
[2020/11/11 09:23:53.283796,  3, pid=42663, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_pam_auth_crap.c:110(winbindd_pam_auth_crap_send)
  [42677]: pam auth crap domain: [IPA.TEST] user: idmuser
[2020/11/11 09:23:53.283810,  3, pid=42663, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd_pam.c:409(find_auth_domain)
  Authentication for domain [IPA.TEST] refused as it is not a trusted domain
[2020/11/11 09:23:53.283825, 10, pid=42663, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:810(process_request_done)
  process_request_done: [smbd(42677):PAM_AUTH_CRAP]: NT_STATUS_NO_SUCH_USER
[2020/11/11 09:23:53.283844, 10, pid=42663, effective(0, 0), real(0, 0), class=winbind] ../../source3/winbindd/winbindd.c:855(process_request_written)
  process_request_written: [smbd(42677):PAM_AUTH_CRAP]: delivered response to client

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8036bf9717f83e83c3e4a9cf00fded42e9a5de15">8036bf97</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-12T15:13:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Fix possible null pointer dereference in token_contains_name()

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Thu Nov 12 15:13:47 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e9e06a11daf036abf7a7022ebc8eaefde178aa52">e9e06a11</a></strong>
<div>
<span>by Anoop C S</span>
<i>at 2020-11-12T17:23:19+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_shadow_copy2: Preserve all open flags assuming ROFS

Instead of replacing open flags with just O_RDONLY, filter out all those
flags unrelated to a Read Only File System

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

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Nov 12 17:23:19 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/532c941fbb8fc5fc5da4aa2d0e170229076e9aa7">532c941f</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-11-12T21:30:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: Add constants module

Extract the constants used in the tests into a separate module.
To reduce code duplication

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/97b830cbcac53fcf49bbcd272812d1ba019bac51">97b830cb</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-11-12T21:30:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: Refactor canonicalization test constants

Modify tests to use the constants defined in rfc4120_constants.py

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/82a413f48b7ef71feb68fc34f7ca753d45eb8974">82a413f4</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-11-12T21:30:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: Refactor compatability test constants

Modify tests to use the constants defined in rfc4120_constants.py

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1bab87c50baf0fecb5d4cd09e1a9896730c6377e">1bab87c5</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-11-12T21:30:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: raw_testcase permit RC4 salts

MIT kerberos returns a salt when ARCFOUR_HMAC_MD5, this commit removes
the check that a salt is not returned.  A test for the difference
between MIT and Heimdal will be added in the subsequent commits.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a00a1c9745033dae05eee17cfa4e2c5354a81e68">a00a1c97</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-11-12T21:30:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: Convert kdc-heimdal to python

Implement the tests in source4/torture/krb5/kdc-heimdal.c in python.
The following tests were not re-implemented as they are client side
tests for the "Orpheus Lyre" attack:
       TORTURE_KRB5_TEST_CHANGE_SERVER_OUT
       TORTURE_KRB5_TEST_CHANGE_SERVER_IN
       TORTURE_KRB5_TEST_CHANGE_SERVER_BOTH

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d492355f293e2da400318665035b056dfaba852c">d492355f</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-11-12T21:30:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: refactor compatability tests

Refactor to aid the adding of tests for the inclusion of a salt when
ARCFOUR_HMAC_MD5 encryption selected

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2ba6d596ff0a3580eca9285fd83569bcb147ce77">2ba6d596</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-11-12T22:54:22+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: add arcfour salt tests

MIT kerberos returns a salt when ARCFOUR_HMAC_MD5 encryption selected,
Heimdal does not.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Nov 12 22:54:22 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/61f6672d8bbdbb6889be94591a7dbaeb55ab3d30">61f6672d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-11-13T16:22:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: create a wrapper for file_lines_parse().

Make the internal function file_lines_parse_internal().

Currently file_lines_parse() just wraps file_lines_parse_internal(),
but this allows me to change file_lines_parse() to take
a const char * to make it safe for callers (no talloc tricks).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ae4dd2ab82eae1ddffbb00e7a753521a0879341b">ae4dd2ab</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-11-13T16:22:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix file_lines_parse() to do what people expect. Much safer to use.

Take an incoming const char * pointer and return an allocated
array that must be freed. Don't expose the internal optimization
of file_lines_parse_internal() breaking the passed in string
into lines.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8ec83049176fdebe086be8c03c7d058c58f48d8">a8ec8304</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2020-11-13T17:47:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: test file_line_parse as well

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Fri Nov 13 17:47:33 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/26ba04a4d1987a859152751e6083d9b9aef770ff">26ba04a4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-11-16T09:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: smb2: Never print length if smb2_signing_key_valid() fails for crypto blob.

Blob could be NULL.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Nov 16 09:47:38 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2cff5990daa324226a2c32245eef78019ef1b5bf">2cff5990</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pylibsmb: Add a compatible python-level wrapper

Right now this is empty, but it is the basis for moving complexity out
or pylibsmb.c into python code.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/13aecb22f75f24d47a3163c701018f67e30a1a2c">13aecb22</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pylibsmb: Move deltree to python code

This is much shorter. There's also another aspect: I'm working on
improving cli_list() to not collect all files before starting to call
the callback function. This means that the cli_list cb will be called
from within tevent_loop_once(). In pylibsmb.c's deltree code this
would create a nested event loop. By moving the deltree code into the
python world this nested event loop is avoided. Now the python code
will first collect everything and then start to delete, avoiding the
nesting. A future development should make listing directories a
generator or something like that.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ee42dd0e9c4405b5c8bf58fd16ef0878763a330">5ee42dd0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pylibsmb: Merge unlink_file() into its only caller

Now that delete_tree is in python code, align py_smb_unlink() with the
other functions.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d33cec8d4487129cc29398fb00e1d81ae8ce7fb9">d33cec8d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pylibsmb: Merge remove_dir() into its only caller

Now that delete_tree is in python code, align py_smb_rmdir() with the
other functions.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/25628907241d14913423116a7a6e55eae7670c93">25628907</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pylibsmb: Export a few SMB constants

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6fef155d07f6eb255a21736cf512abc2dd19224">c6fef155</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture3: cli_query_security_descriptor() does smb2 as well

Remove a direct caller

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/207ca06189e1bd3e536dbe35ff0ef0b763c5e152">207ca061</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make cli_query_security_descriptor() async

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/edf26b29cf66f98eb633792f442459b094c22e3b">edf26b29</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Remove unused sync cli_smb2_query_security_descriptor()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/57f8e7eb1131871a782f28e459ccb636fc605036">57f8e7eb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pylibsmb: Add get_sd()

getacl() on a fnum, available asynchronously

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/472c16d55407c9ffa5c36a7041689eb3d987a66c">472c16d5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pylibsmb: Move get_acl() to python

The previous code was not available in threaded environments

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c68943786d3c14e6340e2637746fe8a8c2f0b722">c6894378</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture3: cli_set_security_descriptor() does smb2 as well

Remove a direct caller

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e617cb5fa1d13903abeb068f6fbe98b192bd33f3">e617cb5f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make cli_set_security_descriptor() async

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/97fca81af098dd99a40a15aa181b4b32ed2e874a">97fca81a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Remove unused sync cli_smb2_set_security_descriptor()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b81cc900f5c7f7ee412601f0930aa0390752fbb">3b81cc90</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pylibsmb: Add set_sd()

setacl() on a fnum, available asynchronously

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/42be033b0b0c02413a74f984c8622b5baed2689a">42be033b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pylibsmb: Move set_acl() to python

The previous code was not available in threaded environments

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2ea885f96f98d735246d96fbd0cca99ee637f411">2ea885f9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make get_fnum_from_path() async

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1ce7c596beb0ef539501366a1c79500dbd064922">1ce7c596</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make cli_smb2_rename async

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/db1fa2392d7be0ca433fcd65035985595bbf0c20">db1fa239</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make cli_rename_send()/_recv() a proper tevent_req engine

This will make it more obvious to add SMB2 soon

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1fdcfdcffb91d4f5c89abe0e71abb84c31cb106a">1fdcfdcf</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T19:53:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make cli_rename_send()/recv() smb2-capable

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7bd040f60a070c037d2cbcebb01d5d9869475662">7bd040f6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-16T21:18:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Remove unused sync cli_smb2_rename()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Nov 16 21:18:16 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6ac16232de7c577c081f15759cab65fdef06ba55">6ac16232</a></strong>
<div>
<span>by SATOH Fumiyasu</span>
<i>at 2020-11-16T22:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Encode text/plain into base64 to wrap long-lines

MIMEText(text, 'plain', 'utf-8') encodes the text into
base64 and adds 'Content-Transfer-Encoding: base64' header.

Signed-off-by: SATOH Fumiyasu <fumiyas@osstech.co.jp>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Nov 16 22:43:35 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/41b2beeffb94dac3679abc7b5c1187c1494f4970">41b2beef</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2020-11-17T18:50:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Add OpenSUSE 15.2

Signed-off-by: Samuel Cabrero <scabrero@samba.org>

Autobuild-User(master): Samuel Cabrero <scabrero@samba.org>
Autobuild-Date(master): Tue Nov 17 18:50:05 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d12806d66108b9e2768f465550b1c3f3a9395d6">1d12806d</a></strong>
<div>
<span>by Rowland Penny</span>
<i>at 2020-11-19T00:36:58+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">uptodateness.py: remove what appears to be debugging lines

They do nothing except confuse users.

Signed-off-by: Rowland Penny <rpenny@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Thu Nov 19 00:36:58 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d1269ef9796391a68b1e762a88d159824d78d3eb">d1269ef9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-19T02:48:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make cli_smb2_list() asynchronous

Return directory entries as soon as possible via
cli_smb2_list_recv(). This returns just one entry per call to
cli_smb2_list_recv() right out of the buffer without assembling
potentially thousands of entries in a big array. You must call
cli_smb2_recv() until an error (except NT_STATUS_RETRY) happens. This
reduces our latency for smbclient's "dir" command significantly for
large directories. In the future I hope I can do the same thing also for
SMBC_readdir_ctx() to improve all users of our published libsmbclient.

Initial attempts of this routine issued fresh smb2_query_directory
requests asynchronously while the receivers of the entries did their
processing, for example showing them in smbclient's "dir"
command. However, this breaks because for example the "showacls"
smbclient option needs to do synchronous smb requests to do their job,
which we can't do while async requests are pending. Thus I came up
with a semi-synchronous approach to issue additional
smb2_query_directory requests from within cli_smb2_list_recv() and
return NT_STATUS_RETRY. This means that we will call back our caller
via the tevent_req_notify function when a fresh entry is available.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f11b7b447b38ab065640f30a2410fd3e81ae6fe">1f11b7b4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-19T02:48:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Convert cli_list_recv() to single-recv

This converts the higher-level cli_list_recv() to the new
cli_smb2_list_recv() calling convention to just issue one entry per
recv() call in preparation of using the async cli_smb2_list_send() in
cli_list_send().

For SMB1 this will be a performance degradation, as we have to make
copies out of the arrays that cli_trans_recv() returns, but soon this
will become a performance improvement for the SMB2 directory
listing. And as hopefully most deployments these days are SMB2, I
think we can live with the SMB1 client directory listing
degradation. Also, we can also convert the lowerlevel SMB1 directory
listing routines in case someone actually sees problems from this
here.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8101c18362d9f32cd575c1cc407e56fcc9cbe44e">8101c183</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-19T02:48:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Prepare cli_list_send()/recv() for single-issue subreqs

This prepares cli_list_recv() for the lowerlevel NT_STATUS_RETRY that
will come in once cli_list_send() uses cli_smb2_list_send() as well.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9dde2dc99b5aa8046fbf29ead877e34b235b8134">9dde2dc9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-19T02:48:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use async cli_smb2_list_send() in cli_list_send()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6baceb4de4f2ce8c1dc3b564ecd213212e8b3171">6baceb4d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-19T02:48:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pylibsmb: Remove SMB2 special case for cli_list()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/47b773addc2dafad1198284c536ff788d87053bb">47b773ad</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-19T02:48:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Remove unused sync cli_smb2_list()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a4e3092bd01c03ff795c0f875244bf4caaedcfae">a4e3092b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-19T02:48:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pylibsmb: Remove unused py_cli_state->is_smb1

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8bc77a0f86f32a7fc46cdcdce806e8f130069535">8bc77a0f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-19T04:12:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pylibsmb: Multi-threaded use is now possible with SMB2

No non-async callees are used anymore

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Nov 19 04:12:11 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b694328e43f8c50d2967224db4c424477831468">3b694328</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-11-19T20:00:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: remove selftest/knownfail.d/samba3.smbtorture_s3

This hunk was inadvertently included in 5161edbdb28.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4dbb8fda4ee9a816759e8677ad930cde16413d33">4dbb8fda</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-11-19T20:00:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: add "smbd force process locks"

Avoid a parametric option in a hot codepath.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5604afefb05b376fcc61db99441fd57367881e69">5604afef</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-11-19T20:00:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: avoid OPLOCK-CANCEL flapping on busy gitlab CI

I saw this test fail a few times on gitlab CI with
NT_STATUS_SHARING_VIOLATION:

  Running OPLOCK-CANCEL
  cli_unlink failed: NT_STATUS_SHARING_VIOLATION
  TEST OPLOCK-CANCEL FAILED!

The only possible explanation I could come up for
this flapping test is that the fnum1 filehandle in cli1 is still not closed when
cli2 tries to open the file deletion 5 seconds after cli1 is thrown away. As
fnum1 doesn't have FILE_SHARE_DELELE the open-for-delete fails with a
SHARING_VIOLATION.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ed88f59189cfc3cd4f0492b0812fffc04cfa6a7c">ed88f591</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-11-19T20:00:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use SMB2_INFO_SPECIAL in call_trans2qfilepathinfo()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7f0008a992b60fda8f2eb04553b547029bb421fc">7f0008a9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-11-19T20:00:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: replace calls to check_access() with smbd_check_access_rights()

check_access() is a 1:1 wrapper arounf smbd_check_access_rights().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/458c24fccd86a26710db54589ab67ae60b345576">458c24fc</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-11-19T20:00:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: avoid a smb_fname copy in call_trans2qfilepathinfo()

No point in making a copy here.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c4d82a6b1f31d0601ad4670665cd3105b92f8524">c4d82a6b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-11-19T21:24:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: avoid a smb_fname copy in call_trans2setfilepathinfo()

There's no point in doing a copy here, we can just point smb_fname at
fsp->fsp_name.

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Nov 19 21:24:23 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b948b99c6ca08b436f473781a559e9976c2a4896">b948b99c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-19T22:56:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: fcvt() and fcvtl() are not used

No need to check for them in the configure phase

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7aaefd6f467569c4040592212c8fcf6fb6a1c399">7aaefd6f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-19T22:56:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove unused security_descriptor_append()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/47d93b02807caea5e9c686d95281f800b473f188">47d93b02</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-19T22:56:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: g_lock.h references "struct server_id", add #include

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/74576743969e42ba5424f0989e4e707b4264564a">74576743</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-19T22:56:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make cli_nt_pipes_close() static

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fec5a569b6be94ee7fcc2608be9ce7dbd2976871">fec5a569</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-19T22:56:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Factor out prep_creds()

3 times the same code can be put together

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d680d392685b2501111b1bb9e879f821a348628c">d680d392</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-19T22:56:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pylibsmb: Add rename()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f67dd540fe11f6543ed759d3d947600c265e889">0f67dd54</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-19T22:56:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: SMB2 rename fails to check del-on-close on dst dir

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/382a5c4e7ec08ec9291453ffad9541ab36aca274">382a5c4e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-20T00:20:06+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix failure to check dstdir for delete on close

In smb2_setinfo.c the call to smbd_do_setfilepathinfo() to perform the
rename takes place while holding a share mode lock. The function
check_parent_access() called below tries to query the destination
directory's locking.tdb entry to check whether the delete on close
flag is set on the destination directory. This fails because the
file to be renamed already has the share mode entry locked, we can't
lock two share mode entries simultaneously.

Convert the check to use fetch_share_mode_unlocked(). This might
introduce races, but this whole check is racy anyway. It does not
really matter whether we do the check for delete_on_close under a lock
or not, fetch_share_mode_unlocked() retrieves a consistent status of
the locking.tdb entry at some point in time as well.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Nov 20 00:20:06 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/39536286d458ea27bbef7a3458f8e56a3322f8ba">39536286</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-21T00:11:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Fix MIT KRB5 export keytab with > 1.18

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Nov 21 00:11:02 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/53c39a261973f5e0ea1944c82ec14812187ed03f">53c39a26</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-11-22T01:22:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix misleading comment I added for commit 382a5c4e7ec08ec9291453ffad9541ab36aca274

smbd: Fix failure to check dstdir for delete on close

We're preventing ourselves from holding two locks here,
not protecting from waiting for a lock someone else
holds.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sun Nov 22 01:22:36 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/15609cb91986b3e29c5b1a3b6c69c04829f43eb4">15609cb9</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-11-26T06:52:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool domain backup: Confirm the sidForRestore we will put into the backup is free

Otherwise the administrator might only find there is a problem once they
attempt to restore the domain!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14575
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17a72ab531e6fde04132448b2b7259aca33d3456">17a72ab5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-26T06:52:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Fix a possible null pointer deref in oplock code

Found by cppcheck.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7fa75b699335cb7832d412315ba8a3cdfc29debc">7fa75b69</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-26T06:52:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Check return code of set_blocking()

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d5d968ddef50831ea8e210986b01d5dd1630ffd">8d5d968d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-26T06:52:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Check return code of set_blocking

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c79b3e2e8a77401a094e6c2de3a3182573c6a9fd">c79b3e2e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-26T06:52:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Check return code of set_blocking()

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ef3b6deba421b55b4d84c333e3316d9d024df14">5ef3b6de</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-26T06:52:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Check return code of set_blocking()

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6718b5e6d059e5668fc538be802ebd9fbe5ce9af">6718b5e6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-11-26T06:52:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: upgrade to 2.0.21

This commit message was wrong:

    commit 5fc3a71d0f54b176d3cb2e399718d0468507e797
    Author: David Mulder <dmulder@suse.com>
    Date:   Mon Aug 24 13:12:46 2020 -0600

        waf: upgrade to 2.0.20

        This contain an important change:
        "Fix gccdeps.scan() returning nodes that no longer exist on disk."
        https://gitlab.com/ita1024/waf/-/merge_requests/2293

        Signed-off-by: David Mulder <dmulder@suse.com>
        Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

The fix was in in waf master, but not included in 2.0.20,
but it's now included in 2.0.21.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f226bea5de892e3dbda3c0737edf054399ec0104">f226bea5</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-11-26T06:52:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Do not call destroy_dlz() on uninitialised memory

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

Reviewed-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d49e96bc45ea5e2d3364242dad36fe9094b7cc42">d49e96bc</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-11-26T06:52:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Do not create an empty DB when accessing a sam.ldb

Samba already does this for samba-tool and doing this should make
our errors more sensible, particularly in BIND9 if not provisioned
with the correct --dns-backend=DLZ_BIND9

The old error was like:

 named[62954]: samba_dlz: Unable to get basedn for
 /var/lib/samba/private/dns/sam.ldb
  - NULL Base DN invalid for a base search.

The new error will be like (in this case from the torture test):
 Failed to connect to Failed to connect to
 ldb:///home/abartlet/samba/st/chgdcpass/bind-dns/dns/sam.ldb:
 Unable to open tdb '/home/abartlet/samba/st/chgdcpass/bind-dns/dns/sam.ldb':
 No such file or directory: Operations error

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

Reviewed-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9ec698954d54ddf5ea38439ab335b14181bed34a">9ec69895</a></strong>
<div>
<span>by Heiko Baumann</span>
<i>at 2020-11-26T06:52:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Remove password from samba-tool proctitle

This fix makes sure the password is removed from the proctitle
of samba-tool so it cannot be exposed by e.g. ps(1).
- Moved code to python/samba/getopt.py as suggested by David Mulder
- Except ModuleNotFoundError when trying to load setproctitle module
- Improved code to keep option separator (space or equal sign) while
  removing password from proctitle.

Signed-off-by: Heiko Baumann <heibau@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a31891c7424f22a970c91611e7beb1fa6ee75c49">a31891c7</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-11-26T06:52:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Test password removal via python proctitle

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/53274d114884d85959f268ca89b561ef0c102bf7">53274d11</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-11-26T08:16:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba_upgradedns: Do not print confusing logs about missing .zone files

samba_upgradedns prints confusing logs about upgrading zone files
and automatically creating DNS zones when the zone already exists.

We need to move the logging to later when we know we what we are
using the parsed information for.

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

Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Nov 26 08:16:04 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6123bd25ada0058973fe2ef8a13d59219c39255a">6123bd25</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-26T09:44:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Fix clang warnings that fnum might be used uninitialized

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12b9e4408d7e1edd1741d5afdf359bca82d3f75e">12b9e440</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-26T09:44:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winexe: Fix a possible null pointer derference

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/35e977156c779a1405a7eadba794fb45fb41f625">35e97715</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-26T09:44:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:spoolssd: Fix creating binding string for error message

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b20da08d4135d73548bde1452603108fffc29f6d">b20da08d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-26T09:44:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lsasd: Fix creating binding string for error message

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6d021d64c651b73d4e904240d62dbaf992cf4634">6d021d64</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-26T09:44:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:mdssd: Fix creating binding string for error message

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1a86474912d98dbecd45ee1f85009bcab77ea7b9">1a864749</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-26T11:07:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Return early if dir is NULL

This makes sure we do not dereference a NULL poineter.

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Nov 26 11:07:09 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8ad82ae66157c893a2b84d353ec4d9feb4815ede">8ad82ae6</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2020-11-26T21:15:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Give better error information when the 'domain backup restore' fails with a duplicate SID

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Thu Nov 26 21:15:40 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4142bde7e524e9d5a491b2ff1afa4990e2c89a10">4142bde7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-11-27T10:07:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: rename source4/smbd/ to source4/samba/

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Nov 27 10:07:18 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5c27740aeff273bcd5f027d36874e56170234146">5c27740a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-11-27T13:48:19+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Add a section about weak crypto in testparm manpage

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Nov 27 13:48:20 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/369c1d539837b70e94fe9d533d44860c8a9380a1">369c1d53</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2020-11-27T17:15:07+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_glusterfs: print exact cmdline for disabling write-behind translator

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

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Fri Nov 27 17:15:07 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7f7e2b0e1e17321d800de787098bb2b2c8259ecd">7f7e2b0e</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-11-30T05:21:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: Extra canonicalization tests

Add tests that set the server name to the client name for the machine
account in the kerberos AS_REQ.  This replicates the TEST_AS_REQ_SELF
test phase in source4/torture/krb5/kdc-canon-heimdal.c.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Nov 30 05:21:42 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a613ebc09d22869e47e63e17f687f44264292556">a613ebc0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsgetdcname: Fix talloc hierarchy

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ccb7d44482a3a59f16d06c591e68ce2ff85f1f43">ccb7d444</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">loadparm: Simplify lp_get_async_dns_timeout()

Use MAX, and per README.Coding we don't need the intermediate
variable. This can be inspected in the debugger directly.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5c81a5a0d9833fb57153333e8b7ef7dd5fb540bd">5c81a5a0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Fix "async dns timeout" manpage entry

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a41112fcc984c19d5123e4a49a5f5fd4341e811d">a41112fc</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Align a few integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f53117e03f5f8d523248f537383fa43799aa26e6">f53117e0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Fix a talloc_stackframe() leak

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd12464840e9757c088ebf33e8054f460a332f2e">fd124648</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Make ep_register a bit easier to understand

I found the pointer dereference a bit confusing

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38a0724fd0513e2e88afcfd365940fc52efd78af">38a0724f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: talloc_stackframe() panics on failure

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fce49f4ac21df95c444c49f7bb30dd79f88354c8">fce49f4a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5a0baf4925035f1060c33281efb57d1814a8ef79">5a0baf49</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f85adfb2efae8e0efcf571f944ed29cf7699192c">f85adfb2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7fc62fd11241f044eaa0ccfb0451c4aa42025a74">7fc62fd1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e098610d6a002bde60d645a807e681a27647c11d">e098610d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test: smbtorture3's OPLOCK5 test only available with kernel oplocks

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d1be9eee67412d02169fdef83adca16f37f7e37e">d1be9eee</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samldb: Align two integer types

ARRAY_SIZE is size_t

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d82cd10f954d628d0bf6192bbd3f02f4f900eb08">d82cd10f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Move a variable closer to its use in internal_resolve_name()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f03113582f2ccf50c99d2b5a39e2656248f71d8e">f0311358</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Slightly beautify internal_resolve_name()

We have "goto done;" at the end of every if-branch, we don't need
else.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7bd5121750435c2903ff5539063b0cf92a1d6420">7bd51217</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/05f7558b4c42a0e335d65c9acd4b74701a149523">05f7558b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Change make_file_id_from_itime() prototype

SMB_STRUCT_STAT is defined in includes.h. This way including file_id.h
is possible without including includes.h

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cff22bccf933e1beb46a73f27c77cb73bdb58587">cff22bcc</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wbinfo: Align some integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/efb3c7425e1e63f06fbb1523cadae6482ee8edfb">efb3c742</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T22:24:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix the 32-bit build on FreeBSD

log->rec_index is not size_t, it's uint64_t

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b09f0bb4d40affa3a6b01374174d555b539c4264">b09f0bb4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-11-30T23:48:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test: Fix the FreeBSD build

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Nov 30 23:48:02 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f5a7f11b7732c3efb511e68f6b9d434d59bb3e8">4f5a7f11</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-12-01T19:06:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/script/tests: Fix 'Unrecognized option(s) passed to mkpath()' error

'keep_root' is an unrecognised option for make_path/mkpath

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a250f73366983d2a7397608a611f295f10dbb548">a250f733</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-12-01T19:06:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add a new tarmode shares

samba3.blackbox.smbclient_tar & samba3.blackbox.smbclient_tar
need separate shares with own xattr tdb(s)

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6cb0a00f4ab4bc1a8193d50cc076ec7174a5ece9">6cb0a00f</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-12-01T19:06:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/script/test: Use different testdir for samba3.blackbox.smbclient_tarmode

The other tarmode torture test samba3.blackbox.smbclient_tar now uses a share
'tarmode' which uses the same source path as samba3.blackbox.smbclient_tarmode

Avoid conflicting paths and use a new subdir (of the test share) called
'smbclient_tarmode'

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be8dca68f89f110ef5947e0c2a7258554772cf9a">be8dca68</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-12-01T19:06:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/script/tests: Use tarmode share for samba3.blackbox.smbclient_tar*

After this change both samba3.blackbox.smbclient_tar &
samba3.blackbox.smbclient_tarmode now use the same dedicated share

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fec1f8faffd9eb1aae77e7c515e57897be34a255">fec1f8fa</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-12-01T19:06:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/script: Use smbclient deltree to clean up smbclient_tarmode subdir

Replace rm -rf of local dir (that is hosted remotely)
with smbclient deltree

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4bb3bffa4b7a770d36138c45f717a9048ef82cff">4bb3bffa</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-12-01T19:06:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/script/tests: Fix samba3.blackbox.smbclient_tarmode cleanup

Make sure samba3.blackbox.smbclient_tarmode removes data files
not just before running the test but also after

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f246658cf003f7e2f393f7b7490d9e8ae84e21c">6f246658</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-12-01T19:06:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: make samba3.blackbox.smbclient_tar runnable (even manually)

samba3.blackbox.smbclient_tar is marked as flapping so it
seems we have missed that it has stopped working. The local path
passed to script/tests/test_smbclient_tarmode.pl must point to a
valid share

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/99ffa4a98287f125e45690e87b32616f4d4254e4">99ffa4a9</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-12-01T19:06:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/script/tests: Remove make_path (for remote dir)

LOCALPATH is actually the local path to the share, we should
not need to create the share path (it should already exist)

Note: When we remove the tree located at LOCALPATH we keep the root
      so the share path should always be there

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/363bfa4e1ca10e64057a6d04d6faff7c788db89d">363bfa4e</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-12-01T19:06:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/script/tests: Make smb_client 'die' behaviour configurable

smb_client behaviour is to die if there is an error. This is
a little heavy handed and make it impossible for example to
use smb_client to run a command that might fail (where such
a failure isn't really an error) E.G. Calling deltree and
the directory doesn't exist

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6c7dc4959fd5de4382aee413b4cc711cc6f281f4">6c7dc495</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-12-01T19:06:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/script/tests: call smbclient deltree to remove remote files

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/16ffa17ee28edfc3bc70c66abf41b5518aeab8fe">16ffa17e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-12-01T19:06:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/script/tests: Ensure all remote test files are removed

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/20e0ce508844fec2dd0011423b10484dc7ccfdb7">20e0ce50</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-01T19:06:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">clitar: Use do_list()'s recursion in clitar.c

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

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Aurelien Aptel <aaptel@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/89e2d68bb4d93dc391af97f35ff1148aec7930b0">89e2d68b</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2020-12-01T19:06:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove samba3.blackbox.smbclient_tar from flapping tests

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8457ac3c80e22588e33a343c2306b702734ca88">a8457ac3</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-01T19:06:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_zfsacl: reformatting

No change in behaviour.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/936f74daed0d6221312f651f35c4ed357bbf1414">936f74da</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-01T20:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_zfsacl: add missing inherited flag on hidden "magic" everyone@ ACE

This was an omission in the fixes for bug 14470.

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

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Dec  1 20:29:34 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8a0a7359faba642baf55a8f98ff78c0d0884d0f0">8a0a7359</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-12-04T20:54:06+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Quiet log messages from usershares for an unknown share.

No need to log missing shares/sharenames at debug level zero.

Keep the debug level zero for all other usershare problems.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Rowland penny <rpenny@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Dec  4 20:54:06 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/441fdc1280bc2158a3bc7cf9c9896cf93b7c8be3">441fdc12</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-04T21:08:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3bf9973d21ffb261bbf8cbf257935c6c66855fe6">3bf9973d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-04T21:08:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">clitar: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18146c6285fa5a7f7e17dbe8b5481679ce8b8e2b">18146c62</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-04T21:08:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">spoolssd: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d04b5a705f0e97ae568a40b1d5fb13483e9afab">7d04b5a7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-04T21:08:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Align integer types

full_path_tos() return ssize_t

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8d2654d52bd8539eb73cafe9da5666aad7c7d50">a8d2654d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-04T21:08:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Fix kernel oplock test

In a pure docker environment with overlayfs F_GETLEASE works on /tmp,
but F_SETLEASE does not. This test now correctly detects that.

The effect is that the samba-fileserver environment would run fine in
a shared gitlab runner, at the price of not testing kernel oplocks. We
could move the kernel oplock tests to another environment that for
other reasons can't run on shared gitlab runners.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c7e8e3fc5c04326bae7bd4de69c6a41e5c2bf43">2c7e8e3f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-04T21:08:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Simplify share_mode_memcache_fetch()

Take a struct file_id instead of a locking.tdb key,
share_mode_memcache_store() also operates on the implicit fid in
struct share_mode_data.

To do this, parse_share_modes() also needs to take file_id.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b712bd8173f860be25652420ac94db265003fd62">b712bd81</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-04T21:08:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Simplify open_mode_check()

The call to share_mode_have_entries() was put in before
fresh_share_mode_lock() initialized d->flags to be completely
permissive. With that correct initialization the call to
share_conflict() a few lines down will also make open_mode_check()
pass for any share_access/access_mask.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f40c4ab637cb0f74f0dbdf93611fe55b69c7f35">0f40c4ab</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-04T21:08:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove unused share_mode_have_entries()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/05f9e8f9997a4e72be69ca085db0c6efbffade78">05f9e8f9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-04T21:08:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Simplify share_mode_lock_destructor()

Rely on the truth in the database whether we found share modes or
not, share_mode_data_store() has that information for free.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7677c40fa5587e0ac29427639011ae4e7c562d04">7677c40f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-04T21:08:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove a comment that was not helpful for me

Also avoid an "else" branch

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1ba4672ee909251d41d2edb9af957549a72a1a36">1ba4672e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-04T21:08:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Simplify share_mode_entry_do()

Rely on the truth in locking.tdb wrt existence of share entries

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bbd94522b1e626ed1a4e87c297cfebe982fdbbce">bbd94522</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-04T22:32:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove "have_share_modes" from "struct share_mode_data"

Nobody in share_mode_lock.c looked at that value anymore, so we don't
need to manually maintain it.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Dec  4 22:32:38 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ed21259358e43594b655debb30dfc0e70aa9ed40">ed212593</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-12-05T22:35:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW.txt: fix version to 4.14

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Dec  5 22:35:04 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ab2c712c016f4e4dacd5064b9eb8f6417f4b9b60">ab2c712c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-07T17:54:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">loadparm: setup debug subsystem setting max_log_size from config

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/29cd139a32d5dbf36bef68eb9c7f1160201e3042">29cd139a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-07T17:54:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: pass struct debug_class *config to reopen_one_log()

Pass a pointer to the struct instead of all struct members individually. No
change in behaviour.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b7ee36146458bcc2c944f5670b7632df8281ae61">b7ee3614</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-07T17:54:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: pass struct debug_class *config to do_one_check_log_size()

Pass a pointer to the struct instead of all struct members individually. No
change in behaviour.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3651a51e93b45104323d5db1d5ea704d4f71acf1">3651a51e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-07T17:54:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: detect logrotation by checking inode number

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/68f71f227b17774a12c84575c1eecd82279fac95">68f71f22</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-07T17:54:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: add samba server tevent trace helper stuff

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/516c2a04a242a539f9fbddb2822295fee233644c">516c2a04</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-07T17:54:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: install tevent tracing hooks to trigger logfile rotation

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9f71e6173ab43a04804ba8061cb0e8ae6c0165bf">9f71e617</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-07T17:54:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: replace low-level SIGUP handler with a tevent handler

Replace the low-level signal handler for SIGHUP with a nice tevent signal
handler. The low-level handler sig_hup() installed by setup_signals() remains
being used during early startup before a tevent context is available.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/19413e76a46f07fdd46fde5e60707bb6845a782d">19413e76</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-07T17:54:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: call reopen_logs_internal() in the SIGHUP handler of the prefork process model

With debug_schedule_reopen_logs() the actual reopen only takes place at some
point in the future when a DEBUG message is processed.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/82b64e930b0e2d3b2e5186017d9f8e420994136c">82b64e93</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-07T17:54:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/samba: call force_check_log_size() in prefork_reload_after_fork()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6fa5fb8ef26dab862df5c46bb5e74f19839c30e2">6fa5fb8e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-07T17:54:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/samba: call force_check_log_size() in standard_accept_connection()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/058f96f4c4eda42b404f0067521d3eafb495fe7d">058f96f4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-07T18:54:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/samba: call force_check_log_size() in standard_new_task()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14248
RN: samba process does not honor max log size

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Dec  7 18:54:29 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1b2e67641f2df766d099696a11e7b5122f5851cf">1b2e6764</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-12-07T19:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/wscript: remove unused check for F_NOTIFY

There're no references to F_NOTIFY nor HAVE_KERNEL_CHANGE_NOTIFY in the
code, so the configure check is not needed at all.

We only use the inotify or fam abstractions.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6d4ce53ecdc92cd9693b8e63166ec672209b7268">6d4ce53e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-12-07T19:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/wscript: only check for F_SETLEASE being available at compile time

F_GETLEASE/F_SETLEASE are available (at least) since Linux 2.4.0 from
2002.

We also should not have the configure check depend on the filesystem
we find at build time. It's very common that the build-environment is
much more restricted than the runtime-environment will be.

As a history we had this check on Samba 3.6:

 AC_CACHE_CHECK([for Linux kernel oplocks],samba_cv_HAVE_KERNEL_OPLOCKS_LINUX,[
 AC_TRY_RUN([
 #include <sys/types.h>
 #include <fcntl.h>
 #ifndef F_GETLEASE
 #define F_GETLEASE     1025
 #endif
 main() {
        int fd = open("/dev/null", O_RDONLY);
        return fcntl(fd, F_GETLEASE, 0) == -1;
 }
 ],
 samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes,samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=no,samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=cross)])
 if test x"$samba_cv_HAVE_KERNEL_OPLOCKS_LINUX" = x"yes"; then
    AC_DEFINE(HAVE_KERNEL_OPLOCKS_LINUX,1,[Whether to use linux kernel oplocks])
 fi

which didn't depend on the filesystem.

Then we got a broken check introduced in Samba 4.0 (a copy of the
F_NOTIFY check):

 # Check for Linux kernel oplocks
 conf.CHECK_CODE('''
 #include <sys/types.h>
 #include <fcntl.h>
 #include <signal.h>
 #ifndef F_NOTIFY
 #define F_NOTIFY 1026
 #endif
 main() {
         exit(fcntl(open("/tmp", O_RDONLY), F_NOTIFY, 0) == -1 ?  1 : 0);
 }''', 'HAVE_KERNEL_OPLOCKS_LINUX', addmain=False, execute=True,
        msg="Checking for Linux kernel oplocks")

this got "fixed" in Samba 4.7 (and backports to 4.6, 4.5 and 4.4) into

 # Check for Linux kernel oplocks
 conf.CHECK_CODE('''
 #include <sys/types.h>
 #include <fcntl.h>
 #include <signal.h>
 #ifndef F_GETLEASE
 #define F_GETLEASE 1025
 #endif
 main() {
         exit(fcntl(open("/tmp", O_RDONLY), F_GETLEASE, 0) == -1 ?  1 : 0);
 }''', 'HAVE_KERNEL_OPLOCKS_LINUX', addmain=False, execute=True,
        msg="Checking for Linux kernel oplocks")

Lately it became dependend on the filesystem in the build-environment:

 # Check for Linux kernel oplocks
 conf.CHECK_CODE('''
 #include <sys/types.h>
 #include <fcntl.h>
 #include <signal.h>
 #ifndef F_GETLEASE
 #define F_GETLEASE 1025
 #endif
 main() {
       const char *fname="/tmp/oplock-test.txt";
       int fd = open(fname, O_RDWR|O_CREAT, 0644);
       int ret = fcntl(fd, F_SETLEASE, F_WRLCK);
       unlink(fname);
       return (ret == -1) ? 1 : 0;
 }''', 'HAVE_KERNEL_OPLOCKS_LINUX', addmain=False, execute=True,
        msg="Checking for Linux kernel oplocks")

Now we just check for F_SETLEASE being available in linux/fcntl.h.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/30c1c153650ec23860b59bbcd86bb8e6a1460c42">30c1c153</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-12-07T19:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: remove unused fallback defines in oplock_linux.c

F_GETLEASE/F_SETLEASE/F_SETSIG were all included in the kernel
and glibc in 2002, there's no need to have fallbacks 18 years later.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/14768d0d54420fe19d914fe4e507cbbf5cb84434">14768d0d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-12-07T20:07:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture:smb2: remove unused fallback defines in oplock.c

F_SETLEASE/F_SETSIG were all included in the kernel
and glibc in 2002, there's no need to have fallbacks 18 years later.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Dec  7 20:07:18 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c8d3547c5fa8724198541cb67b60e5c8e212a1ad">c8d3547c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool domain: move timestamp functions to common

Other tools use identical functions, and they too can use common.py

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c48e90fad04db6a78fc4dc1f2cb12154db7f711">2c48e90f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool pso uses common timestamp functions

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/816dee1a132e6b586de8b0123fd8e9572aff4c32">816dee1a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool drs: move attr_default to common

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e253c45c6d1cd76da682f72a0903f01bf094c8a1">e253c45c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool gpo: use common attr_default

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8d1a6c59b4e43869454a3e3528948613e9b0c61">a8d1a6c5</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: remove unused provision.check_install()

Unused for at last 10 years.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/02c3a66cbec2c670d809b186cacc7d075c16ec54">02c3a66c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">drs_utils: remove unused sendRemoveDsServer()

The only caller of this was `samba-tool domain demote` which stopped
using it in 2015 with commit f121173cbf46fe64746d73adf40015c43d5c55fc.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9938a9f7db37283a1e3d2c52e1246c573ecd649b">9938a9f7</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/subunit: python file modernisation

Python idioms for iterating over a line and closing it have improved,
and we should keep up.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3afd594273f659056f15b6e6a1a45b68824bf113">3afd5942</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: fix documentation for err_duplicate_values

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa0350374d3ffdf78e920361315556034730fde8">fa035037</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: fix documentation for err_base64_userParameters

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c7b39f1cea0ef4b27c4897d20ca718c5eb195210">c7b39f1c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: fix documentation and typo for err_utf_userParameters

pseudo, not psudo.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9fabe3aafdb799db31cf222e186b5ac84b1ed024">9fabe3aa</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: fix documentation for err_doubled_userParameters

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/081d12de529ba89e8eb3930dd3e1cbf394783394">081d12de</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: add docstring for err_odd_userParameters

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/713117401c85642dfa9de0772f0a9954a8b8d804">71311740</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: don't try to stringify values list twice

dump_attr_values already turns it into a comma separated list.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/99cdb2191e9ab633579f4e7951c2da042529b95d">99cdb219</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: drop py2 support from dump_attr_values()

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0aec5b930d9ca278c9045e6b58e4de2b34d8c591">0aec5b93</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: improve some duplicate doc strings

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17fb635532dffb51a2237f1291d215d94e433146">17fb6355</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: remove unused fix_incorrect_deleted_objects flag

This was introduced in db15993401f927fd2fcea1687c4155dce2272aa8
but not actually referenced then or since.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c28a3dd6d27e60ca84933dac41f0f696eb963b41">c28a3dd6</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: fix doc for do_rename()

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f1be8813b01227c0c18052b622899026eb4b14d0">f1be8813</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T16:00:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: fix doc for err_normalise_mismatch*

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cc9ff79d86c64cc25c5618866c95f308204716dd">cc9ff79d</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-09T17:04:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: err_normalise-mismatch_replace: no msg if no error

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Wed Dec  9 17:04:23 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f1374844c3bced28ac59633d12f2125a74376db">6f137484</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-09T17:38:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo Sudoers list command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b402c7642c5569bd0d8a6a9df4859f8bd89784b7">b402c764</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-09T17:38:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for listing Sudoers Group Policies

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b0ccebd3ee65b8a9e4d09e1ef9121fc8c6a336b4">b0ccebd3</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-09T17:38:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo Sudoers add command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f9d2456fbaeeb5674edb228a3022ee749376715">5f9d2456</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-09T17:38:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for adding Sudoers Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f67a3644f413dd4c902af6970cd18cf17f469cd2">f67a3644</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-09T17:38:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo Sudoers remove command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f509550f872424a67d4fbc9473c8959e53dffb70">f509550f</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-09T17:38:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for removing Sudoers Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5b49e0ac71c2e10b73c8c67f0cb9547b70b8d021">5b49e0ac</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-09T17:38:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo Security set command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eea46a38ebe3de36063f663068933818cef19ff6">eea46a38</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-09T17:38:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for setting Security Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aba8ece11d21aafbb3b42a3c24b18c5f9c5559f7">aba8ece1</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-09T17:38:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo Security list

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/111f07fd58b7a7f798cc10e40a44e7fcdd8e207f">111f07fd</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-09T17:38:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for listing Security Group Policies

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f74dea08be48dcb194570d9ff0ef2a30c2cf878e">f74dea08</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-09T17:38:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo smb.conf list command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fff3e0eb6afe4ef2d6b74bf80413c74b176bc441">fff3e0eb</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-09T17:38:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for listing smb.conf Group Policies

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2705d39bff3ddb74c78659866079195b921af5ed">2705d39b</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-09T17:38:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo smb.conf set command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef5ea147ddcc81830eec3405c648f2124c9d27cf">ef5ea147</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-09T17:38:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for setting smb.conf Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4fa938e7e5f56b23eb4b3bfa560f50fabdcba8e4">4fa938e7</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-09T18:42:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: samba-tool gpo manage command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Wed Dec  9 18:42:29 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aec02dc92b92cd0487562105f7b01e3834550fa6">aec02dc9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-11T18:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Make dnsquery.h #ifdef align to our conventions

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f25248fe676591c582d514e8c1a574c3f4b8699c">f25248fe</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-11T18:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Add required #includes to libcli/dns/dns.h

Also, make it safe against being included twice

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1812818825947fdbed7d9da343b7759a5eeffaf8">18128188</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-11T18:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Add required #includes to dnsquery.h

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/60b96580d2415ea8048ea6b216cf764727d23879">60b96580</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-11T18:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Wrap a long line

There will be one more .c file

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/31d85404fc2b2e7d4c7d00ac0f8b78e30e3bc089">31d85404</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-11T18:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Add ads_dns_query_srv_send()/recv()

This issues the "query" for SRV records site-aware and siteless. If
there are SRV records returned without IP addresses, it will issue A
and AAAA requests, waiting up to async_dns_timeout seconds. If that
timeout is reached, ads_dns_query_srv_recv() returns whatever is
around.

Superdebug added by Jeremy <jra@samba.org> :-)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b9f9157115869f397a8f284b4dda7151c3680281">b9f91571</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-11T18:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use ads_dns_query_srv() in resolve_ads()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d92a85fb12167060bc2373a207fccfb57f9699a8">d92a85fb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-11T18:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: No need to call dns_lookup_list_async() in resolve_ads()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d7c048e0b1d74bea1fddd712df882445dc5aecc">9d7c048e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-11T18:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use ads_dns_query_srv() in discover_dc_dns()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7614cce0bd654da7768ba93f50347513dcd95861">7614cce0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-11T18:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: No need to call dns_lookup_list_async() in discover_dc_dns()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/61f71f3422086f4e2a9da85a0320c96d40383686">61f71f34</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-11T18:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net: Add "sitename" support to "net lookup ldap"

This will be used in a test later

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef8740ce89661281c8066583441c16261cd5eaae">ef8740ce</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-11T18:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net: Use ads_dns_query_srv() in net_lookup_ldap()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b324e2e1a151f31d8b18298f25098eb77fe18610">b324e2e1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-11T18:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net: Use dns_rr_srv->ss_s in "net lookup ldap"

ads_dns_query_srv() always fills it

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9fa3ce29d6b6280bb2c3ec6e3e30bbb65dbe6f57">9fa3ce29</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-11T18:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test: test site-aware DC lookup via "net lookup ldap"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d327f664cc1e3216afdf3931e2719ba5aa63fce3">d327f664</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-11T18:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Remove unused dns_lookup_list_async()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/49256925996ff5db509364c1c47d0ecd8d79d757">49256925</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2020-12-11T19:30:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Remove unused ads_dns_query_* routines

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Dec 11 19:30:16 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1c59f49aaede8ec1662d4e49aef84fcd902a8a76">1c59f49a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-12-15T11:02:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Cope with case changes in CentOS 8 repo names

RN: Be more flexible with repository names in CentOS 8 test environments

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14594
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6601b3ac544244563a8cd3cdb5a4bc7da1b4a759">6601b3ac</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2020-12-15T12:03:58+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Update distro list in README.md

Update examples to make them valid.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Tue Dec 15 12:03:58 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/25a94fa4743f4bda9924786775aba43bb8c58c0d">25a94fa4</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-15T14:32:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: make rIDSetReferences attr check case-insensitve

Yes, it looks inefficient, but that's because it is just trying to fit
in. Very soon we will fix it it properly.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6b4ff45805550216a47577a2ee2fa04be305fe61">6b4ff458</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-15T14:32:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: check_object() caches of lower case attr names

The construct `'name' in map(str.lower, attrs)` is doubly inefficient,
because not only is it running the lower() function too often, it is
searching linearly in a temporary iterator for membership.

So we make a set, and use that.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b21287c2f4922abb76ead510680bd489c6cf3cf9">b21287c2</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-15T14:32:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: do not add duplicate attrs for checking

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/43530f087deab648708508445d4dea160de46889">43530f08</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-15T14:32:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: add a helper function for attr tracking

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/206a028e1e8c83fa1fc2a7b3bbe4a573eb315ff8">206a028e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-15T14:32:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: split out attr calculations from check_object()

check_object is too long!

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0dd736ff3343ce19f2fef3132285d4595aa54afb">0dd736ff</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-15T14:32:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: better disambiguate 'attrs'

We had too many things called 'attrs'; now we have just one, but we
don't want it to look like it is *the* one.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/22447a5159867729559ae47c6fc20159be8f4c25">22447a51</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-15T14:32:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: reduce useless use of str(attrname)

it's already a string!

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/83371443898aacdc6033ccf20bc67d4033b96767">83371443</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-15T14:32:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: check_object/userparams: use variable for clarity

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9bf9b998088b181955994da2004bf459ef131037">9bf9b998</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2020-12-15T14:32:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: clarify check_object userparams

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7a077f152aa3e1e09b4228ae24780fa613540a68">7a077f15</a></strong>
<div>
<span>by Andrew Walker</span>
<i>at 2020-12-15T15:32:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd:trans2.c - add twrp to tmp smb_fname in smbd_do_qfsinfo

Preserve VSS-related timestamp in temporary smb_filename before
calling vfs_stat_fn() in smbd_do_qfsinfo. Otherwise, we can fail
here on smb2_getinfo requests if file does not exist outside of
shadow copy path.

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Tue Dec 15 15:32:18 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/436903afe2aaf6e3afe794c9ebe22081a55b9bb3">436903af</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CI: add samba-no-opath

Add a job that builds with O_PATH undefined.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/703c18980348add3414f7bb27f3b9c770f5bed6e">703c1898</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CI: skip kernel-oplocks tests on older kernels

The kernel of the gitlab shared runners container host has a bug in the
interaction between kernel oplocks and O_PATH opens which was fixed by
387e3746d01c34457d6a73688acd90428725070b in 5.3.1:

<https://kernel.googlesource.com/pub/scm/linux/kernel/git/jlayton/linux/+/refs/tags/locks-v5.3-1%5E%21/>

Don't actually start the OPLOCK5 test is kernel oplocks are not available,
instead of relying on the #ifdef HAVE_KERNEL_OPLOCKS_LINUX magic in torture.c.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf7ab87877a4572ad2da442c59d1ec9be26ab96f">bf7ab878</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: add "is_pathref" to struct files_struct

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6c65d1fc180e4070f6d3ec031b8dac66f3ab276">c6c65d1f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: add "is_fsa" flag to struct files_struct

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/28f43fdadc89bdc2e3041fe077df2389acd0ceaa">28f43fda</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add fd_handle.[c|h]

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/50ce980902c9bd76bb4e800fb7d142013605e737">50ce9809</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fsp_set_fd()

No change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9db3ff257322a8dd0602cdbf6d3ac4f4f8cfa0e0">9db3ff25</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fsp_get_io_fd() when accessing a file or it's associated metadata

In all places where we access or modify a file or it's associated metadata, we
use fsp_get_io_fd() to fetch the low-level fd from the fsp. This ensures we
don't accidentally use a pathref fsp where the fd would be opened as root on
systems lacking O_PATH.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f5632b43337c04e4c51c952326324fb475646ec3">f5632b43</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fsp_get_pathref_fd() as part of DEBUG and syslog messages

Nothing really dangerous is done with the fds here, so we can safely use
fsp_get_pathref_fd() in these cases.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0208ca6946db7f800977d20cdda0ae7df03ae635">0208ca69</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fsp_get_pathref_fd() when close()ing fds

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bc908ea3f2eb2284b625bc257264235cad0a7951">bc908ea3</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fsp_get_pathref_fd() for *at related directory handles

Obviously correct to use fsp_get_pathref_fd() here.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5648662b2f2b91133d3ec8ece69a32955348fa23">5648662b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fsp_get_pathref_fd() for "internal" xattr functions

We're using xattr data storage for internal reasons in these places, so in all
places it's safe to use a possibly root opened fd.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/450d7f134c7c1e6d88f00a58e83d962be0b0bb09">450d7f13</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fsp_get_pathref_fd() for fstat() calls

If we can access the path to a file, by default we have FILE_READ_ATTRIBUTES
from the containing directory. See the section: "Algorithm to Check Access to an
Existing File" in MS-FSA.pdf.

So it's also safe to use a root opened pathref fd, as the root open is done on
the final component after a chdir() to the parent directory was done while still
impersonating the use. Qed.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/61628adef65eefe21efc358f886af28f68e8c0ce">61628ade</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fsp_get_pathref_fd() for logical fd comparisons

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0d9afd7ab887d57c110a22c6a15241bf03ac0a59">0d9afd7a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fh_[get|set]_pos() and fh_[get|set]_position_information()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/059dee953d6cc443eb2cd81d9d92cdeedc9390ea">059dee95</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fh_[get|set]_gen_id()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da786ccd1d2bf834b75f9a9c067f6ae4911dd5a2">da786ccd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fh_[get|set]_private_options()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fdb91631185978664eaac0b79e3c6ab9ddff9079">fdb91631</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fh_[get|set]_refcount()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/140df3218a547f70354064f7def68d9d2d12b63d">140df321</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fd_handle_create()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd8fe0cfc2627dcdcec140a85eb96b9da5a6dba4">dd8fe0cf</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove redundant initialisation of the fsp fd

This is already set to -1 by fd_handle_create().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b56f554ff00437993ae7fa37dcaebf9a080bf3e9">b56f554f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: make struct fd_handle private

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c39940d81b000a721d70ab9c19787f5bf5716b55">c39940d8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib: add proc fds infrastructure

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d35fc7f5456c91325745d2914d539cd70763ae4">1d35fc7f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_error_inject: ignore path_ref_fd's

This avoids failing opens triggered by filename_convert() ->
openat_pathref_fsp().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f94c3ee7be39433a5518cefa95ecc1392341675">1f94c3ee</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: add struct connection_struct flag "have_proc_fds"

Allows the VFS layer to tell the higher layers if fds opened by the openat() VFS
implementation are visible objects inside a /proc/PID/fd/FD filesystem.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2af46c7fda60780e85a37ff0872a3a8c5b1631ff">2af46c7f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: add fsp flag "have_proc_fds"

This flag is used by the VFS layer to tell the FSA layer that it is allowed to
reopen an fsp by using an exisiting pathref fd with /proc/PID/fd/FD to open a
full fd.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/11e2a8562f8e15c2c24e54cf108bb7beb98852fd">11e2a856</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: fix indentation

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6d16e580905296a8ae9f2dcd499ed63a587485df">6d16e580</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: initialize conn->have_proc_fds

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3105e53f62481624650dd4f5d37920b1a778591a">3105e53f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: support pathref fd's in vfswrap_fgetxattr()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f353bca64a7e64c951ca2c5ba04bdda4333a0d6">0f353bca</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: support pathref fd's in vfswrap_flistxattr()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a46f987ce57ee2e50c80431a53fc3573bc7c22aa">a46f987c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: support pathref fd's in vfswrap_fremovexattr()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9b3c80f8c1cfef77b9e376682065796690cd8e3d">9b3c80f8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: support pathref fd's in vfswrap_fsetxattr()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/011252c6111871e7376450caf7cf7d6f2ff80cde">011252c6</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: skip Netatalk locking checks for path-ref fd's

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b2e6d7b00bc01523631ebbcebaa7f8dbbd626bd0">b2e6d7b0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_posixacl: support pathref fd's in posixacl_sys_acl_get_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c9889c194aa61c20ff91baa14ef4f2d37d292e86">c9889c19</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_posixacl: support pathref fd's in posixacl_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/879d8a3be9f660384f49657b8214168c4b62aee5">879d8a3b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd/posix_acls: support pathref fd's in posix_sys_acl_blob_get_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cf3c48cb08811e45b6d88a4c27b873485321beb0">cf3c48cb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: implement pathref opens in vfswrap_openat()

If the system supports O_PATH we use that, otherwise we fallback to root opens.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd8825742f7cc4acb705fdaec41ddb91967e37c5">fd882574</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_ceph: implement pathref opens in cephwrap_openat()

Ceph supports O_PATH since v0.93 from 2015:

https://ceph.io/geen-categorie/v0-93-hammer-release-candidate-released/

This seems to be old enough so we can hopefully use this without a runtime
version check.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d1e6e83d8a5565f84d3ab72df21d9beb83c081d">7d1e6e83</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_glusterfs: implement pathref opens with become_root() fallback

Until glusterfs supports O_PATH, fallback to become_root().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a14db893c19734f02d89f3b78f0ea75b79abbd72">a14db893</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: add full_path_from_dirfsp_atname()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f89808213015b36b22fbcba8cb26e14f33f8c9cb">f8980821</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_shadow_copy2: deal with real dirfsps in shadow_copy2_openat()

Prepare shadow_copy2_openat() for real dirfsps flying by.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eb6bbb4f0163ce7805b3691236abfb87757ed997">eb6bbb4f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: check for pathref fd's in vfs_set_blocking()

Don't try to set pathref fd's to non-blocking, they're not used with IO.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/abb7ab2c10eef05b54669c7bc947804d34470ee0">abb7ab2c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: already set fsp fd in non_widelink_open()

A subsequent commit will add a consumer of the fd to non_widelink_open() (by
calling SMB_VFS_FSTAT()), so we need to set the fd already here. And it makes
more sense anyway. :)

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a272ca549fc7d2e935c3d3a103f3bd3f65b1960e">a272ca54</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: catch O_PATH opens of symlinks in in non_widelink_open()

Calling openat() with O_PATH|O_NOFOLLOW will open a handle on the symlink
itself. That would be a nice feature if it would be supported on more platforms,
but being a Linux only thing, we have to preserve the behaviour of failing to
open a handle on symlinks.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/abc00b959be9ba5e6ca7535405866d771e76bfb3">abc00b95</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: pass a dirfsp to fd_open() and rename it to fd_openat()

For now no change in behaviour as all callers still pass conn->cwd_fsp. This
just prepared fd_openat() to deal with real dirfsp's pass by callers later on
when adding calls to fd_openat(dirfspm ...) in the directory enumeration loop.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/99f60a74e05d3336dbacadfd7ab3fa64f0a166da">99f60a74</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: pass dirfsp down to non_widelink_open() and process_symlink_open()

Callers still all pass conn->cwd_fsp so no change in behaviour yet.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d680e9aab169cf83b7966df814f33d6a5532c2ab">d680e9aa</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove unused cwdfsp from non_widelink_open()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ade0af788162d96cdc2e79aae8c79fca7a170315">ade0af78</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use orig_fsp_name as variable name in non_widelink_open()

No change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/65c4f6158799374bd125647cd3216ed8fe6523ff">65c4f615</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: simplify setting and resetting fsp->fsp_name in non_widelink_open()

Instead of setting and resetting the name to the relative name every time we
call into the VFS, just set it once and reset it at the end and when recursing
via process_symlink_open().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12d75a83ea85f9b971c03549f2069c6324dde5a5">12d75a83</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: deal with real dirfsps in non_widelink_open()

If we get a real dirfsp, skip the parent-directory logic. Just pass the dirfsp
to SMB_VFS_OPENAT() which by now supports real dirfsps.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/241dd9d9a74970180b60a3521579c2f09ad06b3a">241dd9d9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: pass private_flags to open_file()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/204c7b247b0a256113f873c3e785eada7a550b37">204c7b24</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: maps NT_STATUS_STOPPED_ON_SYMLINK to NT_STATUS_OBJECT_PATH_NOT_FOUND in open_file()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6dfcae0cd0ef8481a2dd00c60ed77021d724cd4">b6dfcae0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: convert non_widelink_open() and process_symlink_open() to return NTSTATUS

non_widelink_open() now also returns NT_STATUS_STOPPED_ON_SYMLINK in case an
attempt was made to either

1. open a symlink from a POSIX client, or

2. open a symlink from a Windows client but any of the symlink behaviour
   configuring options "follow symlink", "wide links" or "allow insecure wide
   links" prevents access to the symlink target

Caller open_file() has already been updated to map NT_STATUS_STOPPED_ON_SYMLINK
to NT_STATUS_NT_STATUS_OBJECT_PATH_NOT_FOUND.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2b45b9a09008b63c3aa0ea062ed3b2c0eafc960b">2b45b9a0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: always fstat in non_widelink_open()

This way we can avoid stating twice: once here and possibly a second time in
the caller open_file().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c1c2dd6c19f0d96648bfb16a2fa4433e7129f9fe">c1c2dd6c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove SMB_VFS_FSTAT() from open_file()

This is now done in non_widelink_open().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7626bba6c1efaeb457d43e8821572f45f6b344ab">7626bba6</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add openat_pathref_fsp()

open_pathref_fsp() opens an "embedded" fsp inside smb_fname as
smb_fname->fsp. We call such an fsp a "pathref" fsp.

On system that support O_PATH the low level openat() is done with O_PATH. On
systems that lack support for O_PATH, we impersonate the root user as a
fallback.

Setting "is_pathref" in the fsp_flags before calling fd_openat() is what
triggers the special low-level behaviour inside the VFS.

The use of pathref fsps allows updating all callers of path based VFS functions
like

  dos_mode(smb_fname)
  -> SMB_VFS_GET_DOS_ATTRIBUTES(smb_fname)
     -> SMB_VFS_GETXATTR(smb_fname)

to use the handle based VFS function like

  fdos_mode(smb_fname->fsp)
  -> SMB_VFS_FGET_DOS_ATTRIBUTES(fsp)
     -> SMB_VFS_FGETXATTR(fsp)

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d764c183eb5704064fdcbeb2903fba06a1481d37">d764c183</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add smb_fname_fsp_unlink()

Remove the link between an smb_fname and it's embedded smb_fname->fsp.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/994f88909dfb7bde4381d547d37f4422ed3d77e2">994f8890</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add move_smb_fname_fsp_link()

Function to move fsps from one smb_fname to another.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d5edf302c9ca1a48927c8a6db780b8e193edfd05">d5edf302</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: maintain correct destructor order in fsp_free()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b2685e28d2ab6b7b68db2bd1f615a848663d5eb5">b2685e28</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use move_smb_fname_fsp_link() in fsp_set_smb_fname()

This ensures that fsp->fsp_name->fsp is again set to the fsp and also preserves
the link fsp->fsp_name->fsp_link.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cff6dff5c2a730bfb4915aa1182c0421e5db680f">cff6dff5</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: README.Coding fixes in file_find_dif()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/05633454f8babf74ee615bd015805ce1e2d96997">05633454</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: reduce indentation in file_find_dif()

No change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24dd647c1c34dc5b09f55f03aef4725c06a185ab">24dd647c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: ignore non FSA fsps in file_find_dif()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/927c297bd6af116758cfb5081523859e0156834d">927c297b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add need_fsa arg and logic to file_find_di_(first|next)

All callers except rename_open_files() can ignore non FSA fsps.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d29ab04d810fa05140b347928872185ae54fff6">4d29ab04</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use common exit in filename_convert_internal()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9a5a1fe148cd82cd00d2ee913ec1ae90b9fb24e0">9a5a1fe1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use open_pathref_fsp() in filename_convert_internal()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/67a73548140b5134a0389e47ad169805ea970641">67a73548</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libadouble: use openat_pathref_fsp() in ad_convert_xattr()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be4a4b511693c75165e7ead599f8652e70ec0155">be4a4b51</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libadouble: use openat_pathref_fsp() in ad_convert_finderinfo()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e70c61874aff29176712274ebf1e721b0d339910">e70c6187</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libadouble: use openat_pathref_fsp() in ad_unconvert_open_ad()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/349c5737734788b4d2725387405b7b4ffd8a6d9a">349c5737</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libadouble: use openat_pathref_fsp() in ad_unconvert_get_streams()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e4bb359a53c64bf2622def547dfc3520d1b5cd67">e4bb359a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libadouble: use openat_pathref_fsp() in ad_collect_one_stream()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/368b8158cb737089fb471019de4bfadf5c0d57e2">368b8158</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libadouble: use openat_pathref_fsp() in ad_open_rsrc()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

As the create_disposition is FILE_OPEN we just return the error if
openat_pathref_fsp() fails

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8a49d0ec9e4fc31e1b2a8f93a3d36b2a3caed50">e8a49d0e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libadouble: use openat_pathref_fsp() in readdir_attr_meta_finderi_stream()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

As the create_disposition is FILE_OPEN we just return the error if
openat_pathref_fsp() fails

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cbe25e1777d0c43c21e8acc2cea79fd03fdaf2ea">cbe25e17</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: use openat_pathref_fsp() in file_version_is_newer()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

As the create_disposition is FILE_OPEN we just return the error if
openat_pathref_fsp() fails

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef5e913bca584f0232d5bfff14df4ccba2dda35c">ef5e913b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: use openat_pathref_fsp() in file_version_is_newer()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

As the create_disposition is FILE_OPEN we just return the error if
openat_pathref_fsp() fails

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a74f0af1a91fe0bbc68e4d41d65f43ec383ae8bf">a74f0af1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: use openat_pathref_fsp() in get_correct_cversion()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

As the create_disposition is FILE_OPEN we just return the error if
openat_pathref_fsp() fails

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5adfe64fc116defaba0aea376f81a31b70e1e4d">e5adfe64</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use openat_pathref_fsp() in get_file_handle_for_metadata()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

As the create_disposition is FILE_OPEN we just return the error if
openat_pathref_fsp() fails

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0bdaba47f4a6cfef6740fda84f983bf316562ed2">0bdaba47</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use openat_pathref_fsp() in open_streams_for_delete()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

As the create_disposition is FILE_OPEN we just return the error if
openat_pathref_fsp() fails

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/14b0cc6b9a1027b4d6d95be58d05f72e375d9f56">14b0cc6b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use openat_pathref_fsp() in reply_search()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

As the create_disposition is FILE_OPEN we just return the error if
openat_pathref_fsp() fails

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/36b03af0ea25ca5f390fcc597ff258e1662d1536">36b03af0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: use openat_pathref_fsp() in driver_unlink_internals()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

As the create_disposition is FILE_OPEN we just return the error if
openat_pathref_fsp() fails

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/492ca5819a40f06d59d670d39c98271b223a5a55">492ca581</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use openat_pathref_fsp() rename_internals()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9bdac4f81242d69fc75705614dbe69cddc7667c4">9bdac4f8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use openat_pathref_fsp() in copy_file()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aedaa97e6942bc76af53fb4535183a574a0e4cac">aedaa97e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: un-const smb_fname in get_posix_fsp()

Avoids making a copy of smb_fname which allows using smb_fname->fsp if there is
one.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/83ecda17a20cf25696698cb7693cea509a642575">83ecda17</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use openat_pathref_fsp() in call_trans2findfirst()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

Also drop pathref fsp from filename_convert() in call_trans2findfirst(), because
the call to filename_convert() is on the path from the client including the
search mask.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/924e7a702f2b9dae563b10969864a2085418be2b">924e7a70</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: unconst smb_fname arg of all setfileinfo worker functions

This allows avoiding making copies of the smb_fname when it needs to be passed
to a function that takes a non-const smb_fname.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf4b1b9b12ec82a0d5b20586e961f8fe6ecf89b2">bf4b1b9b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: avoid a smb_fname copy in smb_set_file_size()

Now that we get a non-const smb_fname we can use that for the call to
SMB_VFS_CREATE_FILE().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e6650c47cf08dc9c95668cd321cc66267318125a">e6650c47</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net: use openat_pathref_fsp() in net_vfs_get_ntacl()

Ensures we have a pathref handle in the smb_fname we pass to
SMB_VFS_CREATE_FILE().

As the create_disposition is FILE_OPEN we just return the error if
openat_pathref_fsp() fails

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dab50f3953259635ba14d166472c3dbe920f1311">dab50f39</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: prevent non-POSIX stat-opens of symlinks in open_file()

Also adjust the test that checks for this.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/94dea7a26c2f4cd4e7ca0a6913cbcbb4b0e6e881">94dea7a2</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: call open_pathref_fsp() in unlink_internals() in wildcard matching loop

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/945bdc7c2350ba2edc6fd40bfcf2d5ac3f451b5c">945bdc7c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: we DO NEED the low level fd

In order to make everything handle based, we will need the basefile handle when
eg the client requests setting any of the filemetadata that is common across all
streams, eg the file's timestamps.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c21890d128d43f6f739051aff61436c9119ba5ab">c21890d1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: replace a stat() with an fstat() in create_file_unixpath()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d00d09fdcf73a5839ae4f82cf8e953bb761bfbfb">d00d09fd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: reuse smb_fname->fsp in create_file_default()

This is the big bang for the internal pathref fsps: up to this point the pathref
fsps were lingering around unused inside smb_fname->fsp.

With this change, the internal fsp will be the one that is going to be returned
from SMB_VFS_CREATE_FILE() if the client requested access mask matches the
criteria in open_file():

        uint32_t need_fd_mask =
                FILE_READ_DATA |
                FILE_WRITE_DATA |
                FILE_APPEND_DATA |
                FILE_EXECUTE |
                WRITE_DAC_ACCESS |
                WRITE_OWNER_ACCESS |
                SEC_FLAG_SYSTEM_SECURITY |
                READ_CONTROL_ACCESS;

As long as the client doesn't request any of the access rights listed above, we
reuse the smb_fname->fsp, otherwise we close the smb_fname->fsp and call
fd_open() to open a new fsp.

In the future we can remove the four non-IO related access rights from the list:

                WRITE_DAC_ACCESS |
                WRITE_OWNER_ACCESS |
                SEC_FLAG_SYSTEM_SECURITY |
                READ_CONTROL_ACCESS

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4bcb3d7a03db4c3346bcb4cb62752aa9930cd3b4">4bcb3d7a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_xattr_tdb: don't leak the fd into the caller

This is subtle: generally fsp_set_fd(fd) is called in the caller of
SMB_VFS_OPENAT() in non_widelink_open().

fsp_set_fd() has a check that asserts certain combindations of the existing
fsp->fh->fd and the new fd. Both being valid fds is not allowed.

Therefor inside the VFS we must reset fsp->fh->fd if we've set it.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/37003ec709041d523bec56ee17034cc6f3d26a09">37003ec7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: disable fd reopening optimisations for the two special macOS streams

I couldn't figure out why the reopen fails a few vfs.fruit tests, so for now
disable the optimisations. It only affects the two special Mac streams, so it's
not *that* bad, but definitely something we would want to improve on in the near
future.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5770cdd7635a018817418f58bd37268aedebd6a9">5770cdd7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: optimisation using pathref fd to open real fd if possible

This is an optimisation that avoids going through the expensive
non_widelink_open() logic a second time. It depends on a usable /proc/%d/fd/%d
filesystem and this is checked and set as "can_reopen" flag by the VFS in the
openat() function in the fsp.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/626b4e5724efe6bde49c112dc31a171854edd180">626b4e57</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/torture: add torture_conn_set_sockopt() wrapper

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0ccd24b41c5c474435031d6d7bc8abbffb898050">0ccd24b4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/torture: add POSIX-LS-WILDCARD test

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c8a2530b8db0e5c9b204577430fe8399bb8ff694">c8a2530b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/torture: add POSIX-LS-SINGLE test

Note that uses SMB2 for the "Windows client" (aka non-POSIX) connection as SMB1
directory listing code translates a directory listing with a search mask that
matches an existing file to a CREATE which won't cut it for our test as we're
targetting the directory listing code.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/562ae8eb2369741e96c85fd22a5b65eb8c1863a4">562ae8eb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/torture: add POSIX-READLINK test

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a63a39729489be073e0fe882a1f470f82dddfce6">a63a3972</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/torture: add POSIX-STAT test

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d075d8072210a9806141021c7758575a411ffcf">9d075d80</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add vfs_stat()

Deals with POSIX paths and either calls lstat() for POSIX or stat().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/37e6783f417a176b264ef6506174c0bbfe74f405">37e6783f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use vfs_stat() in dptr_ReadDirName()

This is subtle: we inherit the smb_fname flags from the directory to its
directory entries while listing a directory. This means if were listing a
directory in POSIX context, we now treat all entries as POSIX paths and
correctly call lstat() on the entries instead of stat().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/985c1be5ccf40d0f5c85f42bc0d9bd0a15a86b59">985c1be5</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use vfs_stat() in more places

This replaces the code in a bunch of places where we choose between stat() and
lstat() based on req->posix_pathname. The new code inside vfs_stat() is based on
checking the smb_fname flag SMB_FILENAME_POSIX_PATH.

req->posix_pathname is inherited from the global POSIX pathnames state and the
smb_fname flags is also inherited from that indirectly via the UCF flags.

Tl;dr: no change in behaviour. :)

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dba8593c6f8c11d18ddc01e54f90c50c44070257">dba8593c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: Add dirfsp arg to SMB_VFS_READDIR()

This allows for optimisations in VFS module: by passing the dirfsp as an
additional arg, the function can check fsp->fsp_name->flags which may include eg
SMB_FILENAME_POSIX_PATH to trigger POSIX pathname processing.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd36847928992ee5dc39f09e12992ab65c138923">dd368479</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: simplify vfswrap_readdir()

No change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/36d72d8a81b9436e067a553d39056de9dc84deec">36d72d8a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: return stat info for symlinks in POSIX context

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/86edc662548661761abbe381d35426ba67bd0576">86edc662</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use get_dosmode in smbd_dirptr_8_3_mode_fn()

Caller currently always passes true, but this will change soonish with a change
to smbd_dirptr_get_entry().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c98d1113f8d2cfd52cbe7592574bbe5425a09471">c98d1113</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: call open_pathref_fsp() in smbd_dirptr_get_entry()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e3798dd22276bc1ac8e96004d0e5e974240a7b9">8e3798dd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: factor out smbd_check_access_rights_sd() from smbd_check_access_rights()

No change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2aac91003ee2212eb25feab6f14d44c7f2759586">2aac9100</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add smbd_check_access_rights_fsp()

Handle based version of smbd_check_access_rights().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/435c0f88286cffafffd77469b29adcd06abea4e4">435c0f88</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: adjust allocation size check across handles in smbd_do_qfilepathinfo()

Check all open files if either we don't have an fsp or if the fsp is not a full
FSA fsp, ie not one which was created by SMB_VFS_CREATE_FILE() but by
openat_pathref_fsp().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1bc943ddf34f59af23ab43890e3672cb944491ad">1bc943dd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: check for valid FSA fsp in smb_query_posix_acl()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9535af3646a3faae48da7dc6cd0e266894b12369">9535af36</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: check for valid FSA fsp in smb_set_posix_acl()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3da8af16146b8fb5f73de37013288f947148ed9a">3da8af16</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: unconst fsp arg of check_access_fsp()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/192897b49bbaaf3dfb3db00f8c0b16c721d669f8">192897b4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: deal with non FSA fsps in check_access_fsp()

For fsps coming out of openat_pathref_fsp() and not SMB_VFS_CREATE_FILE(),
fsp->access_mask will be 0 and we check the requested rights against the
permissions of the object opened by the fsp.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3d8237a87011ff0ab680fc4c609d7455cf843a0f">3d8237a8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: check for non FSA fsps in smb_file_rename_information()

If the fsp is a non FSA fsp created by openat_pathref_fsp(), we can't pass it to
rename_internals_fsp(). We have to go via rename_internals() which internally
uses SMB_VFS_CREATE_FILE() to open an fsp which ensure we go through the lease
checking code.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d9e9f063ddaa5465c97d52e8edf25d957b1bddee">d9e9f063</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use SMB_VFS_CREATE_FILE() in call_trans2mkdir()

Use SMB_VFS_CREATE_FILE() instead of the create_directory() in order to have a
fsp that we can pass to set_ea().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2bcb268b1837371c9b8a384ca310ac6e54a812d6">2bcb268b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use pathref fsp in call_trans2qfilepathinfo()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a716c5569c76d771d07d1e8172fa31be5fa15b39">a716c556</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use pathref fsp in call_trans2setfilepathinfo()

This means we're now passing a valid fsp to all setinfo functions. The only
special case being when dealing with a symlink in POSIX context.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5bec96219b64009fcdd79294c5395cf0cdd79d2d">5bec9621</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use check_access_fsp() in set_ea()

We now always have a fsp.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cc0e740ae0f739968478161b41379d1f12fb25e2">cc0e740a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: in reply_setatr() pass pathref fsp to smb_set_file_time()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/752bc3881cfe31b85e38c04564e384a90a354b94">752bc388</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: always use check_access_fsp() in smb_set_file_basic_info()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef9afe38d08ab8edddd2f7af3a241dce82cc07a1">ef9afe38</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: always use check_access_fsp() in smb_set_info_standard()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4ac20da4b9104fbfb63de09745a89a234441320b">4ac20da4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fsp in smb_set_file_time()

Ensure we have a valid fsp whos name we pass to file_ntimes(). Remember,
file_ntimes() by default ends up calling SMB_VFS_GET_DOS_ATTRIBUTES() under the
hood in order to get/set the creation date.

As any fsp->fsp_name contains a backpointer to the fsp ie

  fsp->fsp_name->fsp == fsp

passing set_fsp->fsp_name to file_ntimes() allows replacing the path based
SMB_VFS_GET_DOS_ATTRIBUTES() with SMB_VFS_FGET_DOS_ATTRIBUTES() under the hoods.

Also use the base_fsp->fsp_name for the base name in case of setting the
timestamps on a stream.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da93d88e30f58d9dfa919982b0625da37c682a27">da93d88e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: fix bogus compiler warning

The next commit adds the first call inside Samba to the VFS function
SMB_VFS_FGET_DOS_ATTRIBUTES() and therefor also to
vfs_gpfs_fget_dos_attributes().  No idea why gcc is generating this warning:

[4127/4716] Compiling source3/modules/vfs_aio_fork.c
../../source3/modules/vfs_gpfs.c: In function ‘vfs_gpfs_fget_dos_attributes’:
../../source3/modules/vfs_gpfs.c:1728:2: error: ‘file_id’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
 1728 |  update_stat_ex_file_id(&fsp->fsp_name->st, file_id);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1: all warnings being treated as errors

This change fixes the error.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ccd3352b171ad4bbe2e4ac1d8030c9dfdd2dac48">ccd3352b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add fdos_mode()

Note that this continues using the braindead dual path/handle based API mistake,
but only in order to reuse the util functions and because this is an
intermediate step to support transitioning to an all handle based flow.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/06906b1d1f6b9c98008ac0480f7fb55befc09929">06906b1d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in smbd_dirptr_lanman2_mode_fn()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/180e0a7d9282826e56b1b496a6c1cb68e00ed248">180e0a7d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in smbd_dirptr_8_3_mode_fn()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/54b4321f6197a82fb0d1fe0263ae950ae9e4379f">54b4321f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in file_set_sparse()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c83516f307a9cbcd1663520f772dd1b81119e988">c83516f3</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfstest: use filename_convert() in cmd_utime()

Ensures we have a pathref fsp when calling SMB_VFS_NTIMES().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea2def330b18d8bfc28f52c80a530a95ba7bd89d">ea2def33</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: un-const smb_fname_dst_in arg of rename_internals_fsp()

A subsequent commit is going to modify smb_fname_dst_in.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e9887c24f7a0706f0e4db5078f5f62845d25fe7">8e9887c2</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: drop pathref from smb_fname_dst_in in rename_internals_fsp()

The pathref is not needed anymore below this point and it conflicts with the
code that checks for open handles on the destination just below.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/147c3f2ef55ba8d54539de5c6c5a9c6fb80efd92">147c3f2e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in set_create_timespec_ea()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bde16030a297e87c81c6b0e5be7b1d93cdd0dd60">bde16030</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in vfs_default_durable_reconnect()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a649ebed44a40822b04620fed34e041978628c05">a649ebed</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in mark_file_modified()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ec9afe04d81dc088922dc32b8355e36e28ec5ccf">ec9afe04</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in reply_ntcreate_and_X()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f432bc56801f8fd8a3f3f944739550bbd1eb98ee">f432bc56</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in call_nt_transact_create()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7386dc737c047a7a8ee63b42d708d557e14ac08d">7386dc73</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in copy_internals()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6e5128356ba2d7ba325791931448c9c8453a7604">6e512835</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in check_base_file_access()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/933577585c3dd48dd17c780babd326dc8160a02b">93357758</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in open_file_ntcreate()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8bdf3f30fd12b261dc15b101baf1b6350f5c8328">8bdf3f30</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in reply_getatr()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/594bfdea81bbf64da0b3eb2dd9aa85c250f1d1f7">594bfdea</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in reply_open()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b3e5feb9ce73dfce498228a248e4f0dd82b44514">b3e5feb9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in reply_open_and_X()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d0c60ffd56d80a986c84dabf1b30cb869f8a269">7d0c60ff</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in can_rename()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/988a838a352fe7a47e3b754020ee6887d3ad27be">988a838a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in do_unlink()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8dbac0d5c7ae3ec3905e0a14069d1c541a230f8e">8dbac0d5</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: call rename_open_files() a bit earlier in rename_internals_fsp()

This prepares for using handle based SMB_VFS_FSTAT() and fdos_mode() a few lines
below. As some VFS modules will use the fsp->fsp_name we have to make sure to
rename it first.

Fwiw, notify_rename() is moved as well as it needs to original name in
fsp->fsp_name.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f19b01a1cbdb1e2047f4c91647e9c82ed6da6acf">f19b01a1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use SMB_VFS_FSTAT() in rename_internals_fsp()

While at it, use the open handle on the renamed file to call fstat() instead of
stat().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/58e103a79161aa4320e6ce64528dbd2669f5ac3b">58e103a7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: README.Coding fixes in rename_internals_fsp()

No change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/812e59c6998cd1c6d877087d1feff8b2aebc0f29">812e59c6</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in rename_internals_fsp()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/96a882655b8e76285f3461ada931fd5a94f2e4a4">96a88265</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in copy_file()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0977f13795e17a584f64c32f4c4a79f6f00cdcf5">0977f137</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in reply_getattrE()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/608085af10d96547d22ff6b997a5dfdb94d4a830">608085af</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in setup_close_full_information()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/05b31b47b1b68f3237143b37520d128fda3e2688">05b31b47</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in smbd_smb2_create_after_exec()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ccb68c56198ce1b135201537565a906a09247a2f">ccb68c56</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in call_trans2open()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/72d19c89285f27dbfdfc29f3f5e281243156448b">72d19c89</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in smbd_do_qfilepathinfo()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24d75b92d0839626cd11797e4458494b7a9d6fb2">24d75b92</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: pass fsp to smb_set_file_dosmode()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8eb561688e1ec62a809dc695c0a22179b3c7defd">8eb56168</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in smb_set_file_dosmode()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62d82326a442bff55af330acd6917545e307e037">62d82326</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in smb_set_file_disposition_info()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e7a90fd7a173d8e3cd5a2bb163df61758b2b973f">e7a90fd7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in dos_mode_at_vfs_get_dosmode_done()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a1bb23288a62097d656e7c273e0164fa8bec261">2a1bb232</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in tsmsm_set_dos_attributes()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/22d9c31a8210e37e62299f06c2c17df24d615daa">22d9c31a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fdos_mode() in tsmsm_fset_dos_attributes()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2317583b5e15a0f355f0a04502edf8791a23e8aa">2317583b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: RIP dos_mode()

          .--. .-,       .-..-.__
        .'(`.-` \_.-'-./`  |\_( "\__
     __.>\ ';  _;---,._|   / __/`'--)
    /.--.  : |/' _.--.<|  /  | |
_..-'    `\     /' /`  /_/ _/_/
 >_.-``-. `Y  /' _;---.`|/))))
'` .-''. \|:  .'   __, .-'"`
 .'--._ `-:  \/:  /'  '.\             _|_
     /.'`\ :;   /'      `-           `-|-`
    -`    |     |                      |
          :.; : |                  .-'~^~`-.
          |:    |                .' _     _ `.
          |:.   |                | |_) | |_) |
          :. :  |                | | \ | |   |
          : ;   |                |           |
          : ;   |                |           |
          : ;   |                | dos_mode()|
        .:| . : ;                |           |
-."-/\\\/:::.    `\."-._'."-"_\\-|           |///."-
" -."-.\\"-."//.-".`-."_\\-.".-\\`=.........=`//-".

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f5a28d6c1cb564653092c085d51c846ba852183">0f5a28d6</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use SMB_VFS_FGET_DOS_ATTRIBUTES() in open_file_ntcreate()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d466ba6d61365f72618dd3093706b8706b8f7c93">d466ba6d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: add and use fget_ea_dos_attribute()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/04b4dc8649cecd1699921c9a98f93b64d7c333dc">04b4dc86</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: RIP SMB_VFS_GET_DOS_ATTRIBUTES()

                (\  _  /)
                ( \ O / )
                 (// \\)
                    X
                   / \
                  /___\
           _____/      \\_____
          |         +         ||
          |                   ||
          |   SMB_VFS_GET_    ||
          | DOS_ATTRIBUTES()  ||
          |                   ||
          |                   ||
          |                   ||
          |  _     ___   _    ||
          | | \     |   | \   ||
          | |  |    |   |  |  ||
          | |_/     |   |_/   ||
          | | \     |   |     ||
          | |  \    |   |     ||
          | |   \. _|_. | .   ||
          |                   ||
  *     * | *   **    * **    |**     **
   \)),.,\(/.,(//,,..,,\||(,,.,\\,.((//

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3db25c1c9b3f0d5ec91905b068a0da3daa581e02">3db25c1c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove unused get_ea_dos_attribute()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a55a2bfb9143002161ef119298891725c6d3c075">a55a2bfb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: SMB_VFS_GET_COMPRESSION() -> SMB_VFS_FGET_COMPRESSION()

Now that handle based fdos_mode() is used everywhere we can be sure that we're
also always getting a handle in SMB_VFS_GET_COMPRESSION() so we can now safely
remove the path parameter. :)

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0049a34b27f385ef18d4c84c993d1364d4dbbb0f">0049a34b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: smb_info_set_ea() can only get fsp==NULL in POSIX mode accessing a symlink.

Ensure this is the case and force-return NT_STATUS_ACCESS_DENIED here.
Remove any race condition if anyone modifies the symlink whilst the
operation is in process.

This now allows us to require a valid fsp for operations on EAs.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/898c537a4319c1ff657394424475fdaaf2b97ad1">898c537a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-12-16T09:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: set_ea() must have an fsp, so remove uses of the smb_fname parameter.

Next we can remove it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/874c5fcf6daaa88eddd374f7c8d5162590b046c8">874c5fcf</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-12-16T10:15:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove the smb_fname parameter from set_ea().

We know we must have a valid fsp.

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Dec 16 10:15:11 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/df73a766ab6841e9e21b84fed230c8063bb43019">df73a766</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-12-16T12:50:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: move clang_compilation_database usage behind an --enable-clangdb option

Writing bin/default/compile_commands.json doubles the total time used
for a noop build. That price should only be paid if someone wants to
use it actually.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e61d1ff31b77a2fc3c2733c90d535a071aab8b5">3e61d1ff</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-12-16T12:50:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild.py: use --enable-clangdb for the "samba-ctdb" task

The key is that we only enable it for just one task.

I plan to restructure the autobuild tasks, but 'samba-ctdb'
will stay the way it works currently.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/93c576dae4a2179a253dea4e8969ac435718bda5">93c576da</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2020-12-16T13:56:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Add cli_credentials_dump()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Dec 16 13:56:49 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d74c9dcf3aaa613abfac49288f427484468bf6e1">d74c9dcf</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-12-16T23:48:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: Add Authorization data ad-type constants

Add constants for the Authorization Data Type values.
RFC 4120 7.5.4.  Authorization Data Types

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f232ed42fb2671d025643cafb19891373562e4a">0f232ed4</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-12-16T23:48:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: add test base class

Add a base class for the KDC tests to reduce the amount of code
duplication in  the tests.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1ed461a142f68f5de5e21b873ebddfcf5ae0ca1e">1ed461a1</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-12-16T23:48:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: initial TGS tests

Initial tests on the KDC TGS

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8004cf7a4aff8f5a8615bc68c0e61d5bd5de039b">8004cf7a</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-12-17T00:54:51+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pep8 tidy up config

Enable the following warnings:

E126: continuation line over-indented for hanging indent
E131: continuation line unaligned for hanging indent
E203: whitespace before ':'
E221: multiple spaces before operator
E501: line too long
E722: do not use bare 'except'

These were originally chosen so that as much of the existing samba code
passed. With the intention of integrating PEP8 checking into build
process.  But the PEP8 output does not integrate into the known fail
mechanism, so this approach was abandoned.

setup.cfg is the default PEP8 config file having these exceptions
enabled means that new code can be added with those issues. Also tools
like pyls (python language server) use setup.cfg.

Disable the following warnings:

E402: module level import not at top of file
      Samba has a significant amount of code setting
      sys.path.insert(0, "bin/python")
W503: Line break before binary operator
      We need to have a preference, and PEP8 expresses a weak preference
      for disabling 503

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Dec 17 00:54:51 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/577d4f1a60c41df82da8711dabde9361780a9144">577d4f1a</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2020-12-17T13:59:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs:smbdotconf: fix a typo in oldpasswordallowedperiod.xml

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/98119189cfe7b76322253d30170528eb0bf33eb7">98119189</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2020-12-17T13:59:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">blackbox/test_samba-tool_ntacl.sh: script requires two arguments

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f40da74e1452e73799f8643d93b8b9e572df1088">f40da74e</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2020-12-17T13:59:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: set min smb protocol when enforcing smb1 on connect

Otherwise the connect fails if the configured client min protocol is
higher than NT1.

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

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/76121ae7cf4967329b9745137999fde00309c987">76121ae7</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2020-12-17T13:59:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: set correct min and max smb protocol when smb2 is enforced on connect

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

Pair-programmed-with: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Björn Baumbach <bb@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/560e4b1b32f56ed4cfffc60efd9199ed435409ba">560e4b1b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-12-17T13:59:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: add smbXcli_conn_send_queue()

This is useful in order to test async requests
tevent_queue_wait_send/recv() can be used to block
the queue between requests or wait for the queue to be flushed.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/084c22403f0042f9cb6c5af6651cc9ef8b5f3bd0">084c2240</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-12-17T13:59:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:pylibsmb: PyErr_NTSTATUS_IS_ERR_RAISE => PyErr_NTSTATUS_NOT_OK_RAISE

We want to raise an exception for everything that's not NT_STATUS_OK.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fde65c2f293ae3038c0052ea9d0dcdf3261d3fbc">fde65c2f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-12-17T13:59:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:pylibsmb: add echo() support

In tests it's sometimes to have a no-op in order to check the
transport is still alive.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3ffb817506c032cdc05064abfbffb9f364e09a22">3ffb8175</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-12-17T13:59:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:pylibsmb: add notify() support

The operation is a bit different from others,
as results are returned in an async fashion.
It returns a request handle.

  notify_req = conn.notify(fnum=fnum,
                           buffer_size=0xffff,
                           completion_filter=libsmb.FILE_NOTIFY_CHANGE_ALL,
                           recursive=True)

  # ... do other operations on conn.*() ...

  changes = notify_req.get_changes(wait=False)
  # changes is likely to be None if no result arrived yet

  # ... do other operations on conn.*() ...

  changes = notify_req.get_changes(wait=True)
  # changes is a list of change dictionaries
  # each containing "name" (a string) and
  # "action" (an integer, e.g. libsmb.NOTIFY_ACTION_REMOVED)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/752a8f870de2bb087802a1287d7fb6c7624ac631">752a8f87</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-12-17T13:59:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:pylibsmb: remove unused SECINFO_DEFAULT_FLAGS

commit 42be033b0b0c02413a74f984c8622b5baed2689a removed the last
reference.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0ccdce67d3adfc06b6d8235b53d677da1526ba4b">0ccdce67</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-12-17T13:59:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb_samba_internal: don't send SECINFO_[UN]PROTECTED_{S,D}ACL by default

We want to get the default behavior.

It's also pointless to set PROTECTED and UNPROTECTED at the same time.
These are defined in MS-DTYP 2.4.7 SECURITY_INFORMATION with a brief
description, but they aren't referenced in anywhere in MS-DTYP itself,
nor in MS-FSA are any other document.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18dd953d83a5d43b243047d9dd622620034ee6c7">18dd953d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-12-17T13:59:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb_samba_internal: calculate the access_mask for {g,s}et_acl() based on the secinfo flags

SEC_FLAG_MAXIMUM_ALLOWED will never result in SEC_FLAG_SYSTEM_SECURITY
being granted. As SECINFO_SACL is part of the default secinfo value
(SECINFO_DEFAULT_FLAGS), {g,s}et_acl() will always return
NT_STATUS_ACCESS_DENIED by default.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b082cf321e4267cc214f2a74550847585275e25a">b082cf32</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2020-12-17T13:59:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/ntacls.py: let SMBHelper.get_acl() use the default values of self.smb_conn.get_acl()

Now that self.smb_conn.get_acl() has sane default values for secinfo and
access_mask we can remove any additional logic in SMBHelper.

The resulting values are the same.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f4e578aa24bc020d87716915ea5037d7677b75e9">f4e578aa</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2020-12-17T13:59:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/ntacls.py: add SMBHelper.set_acl() helper function

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Björn Baumbach <bb@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0133c17c099f6a482e2941a2254c983ec0188592">0133c17c</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2020-12-17T13:59:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/tests: add tests for smb notify and the dependency to the TRAVERSE privilege

The easiest way to run this against Windows was to use a domain
controller and configure an enforce group policy and grant the
"Bypass Traverse Checking" only to the "BUILTIN\Administrators" group.
(Note that "LOCAL SERVICE" and "NETWORK SERVICE" are always added in
the local security policy.

The test runs like this:

  SMB_CONF_PATH=/dev/null \
  SERVER=172.31.9.188 \
  TARGET_HOSTNAME=w2012r2-188.w2012r2-l6.base \
  USERNAME=administrator \
  PASSWORD=A1b2C3d4 \
  NOTIFY_SHARE=torture \
  USERNAME_UNPRIV=ldaptestuser \
  PASSWORD_UNPRIV=a1B2c3D4 \
  python/samba/tests/smb-notify.py -v -f SMBNotifyTests

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Björn Baumbach <bb@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e9f0e97255de1b4235c4dca6912635386328746">3e9f0e97</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2020-12-17T13:59:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add option to pass args to tests to planpythontestsuite()

The logic is basically a copy from planoldpythontestsuite().

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Björn Baumbach <bb@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bcfce0ecd3153d158f712ff548a1ccd005031bc8">bcfce0ec</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2020-12-17T13:59:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add tests for smb notify, using the a special share

That share will get the "honor change notify privilege = yes" option
once it's implemented. For now it's marked as knownfail.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Björn Baumbach <bb@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6c95e467817b246a0eab626cac10b6120f6c88f8">6c95e467</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2020-12-17T15:01:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd/notify: add option "honor change notify privilege"

This option can be used to make use of the change notify privilege.
By default notify results are not checked against the file system
permissions.

If "honor change notify privilege" is enabled, a user will only
receive notify results, if he has change notify privilege or sufficient
file system permissions. If a user has the change notify privilege, he
will receive all requested notify results, even if the user does not
have the permissions on the file system.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Björn Baumbach <bb@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Dec 17 15:01:53 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cbe1485f7b27a598588d42cf1430e74a90ef3e69">cbe1485f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix debugs in file_new() and fsp_new().

Allows grep ' files structure ' in the log
to count up and down the number of files allocated.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8559af63169730e008e838aebfdd63b135a9caf7">8559af63</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: dup_file_fsp() for old DOS style opens also needs to copy the new flags.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e7f1588ee490249204fd730663d2161d6a5fa6e0">e7f1588e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: If an smb_filename already has a pathref fsp don't overwrite it.

That leaks fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12dd02d884df84b9e6ea14e67c13a86482cf9cc5">12dd02d8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: On error exit in create_file_unixpath(), we can't call close_file() on uncompleted opens.

We can't call directly into close_file(), as that cannot deal
with regular file and directory opens where fsp->fsp_flags.is_fsa
hasn't been set to true (uncompleted opens).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/59b0fae26e1f7c1d340be4b67bbca13ff8bba43f">59b0fae2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Move closing a print file out of close_normal_file() (it isn't a normal file) and into close_file().

Streamlines closing print files and allows close_normal_file()
to restrict itself to is_fsa fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7c5476baadb44b34566341ef3cfc9bb32ca81c68">7c5476ba</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: mark fsp as valid FSA fsp after Durable Handle reconnect succeeded

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de806498603b47274f1e4647eeb2a84db2b7319a">de806498</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Ensure close_directory() and close_normal_file() only deal with is_fsa files.

This must be the case, so assert it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebf37cfc3cb025171e0ceca321b343de82975c42">ebf37cfc</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove fd_close() from open_directory()

fd_close() was accidentally added twice by
d00d09fdcf73a5839ae4f82cf8e953bb761bfbfb. If it would have been removed by
5770cdd7635a018817418f58bd37268aedebd6a9 that adds the reopen_from_procfd()
optimisation, all would be fine. But fd_close() still being called before
reopen_from_procfd() means we're closing the pathref fd prevening the
optimisation.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d0ea8bafa003984dda4a105e4c8b755644cc7f7">8d0ea8ba</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: add acl type arg to SMB_VFS_SYS_ACL_SET_FD()

No change in behaviour, the new arg is not yet used in any module.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/467dbdbdde30a8214200bf2be7674bbcb07460f8">467dbdbd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">posixacl_xattr: add support for SMB_ACL_TYPE_DEFAULT in posixacl_xattr_acl_set_fd()

No need to handle pathref fsps here, as that is taken care of by
SMB_VFS_FSETXATTR().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3363cddc3a754ff52a8acbdc164bec6bed112583">3363cddc</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_aixacl: use passed in ACL type in aixacl_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6c30d49f4800ea67df651190d7458bbb724a5d5e">6c30d49f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_aixacl2: use ACL type in aixjfs2_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a866027e41bbf8f73868061dc17d88ad8da78a41">a866027e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fake_acls: add support for SMB_ACL_TYPE_DEFAULT in fake_acls_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ba07df5e0d9d43ba74b93e9b05156b0c1a2f83a9">ba07df5e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: add support for SMB_ACL_TYPE_DEFAULT in gpfsacl_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf369327dbfd301da6b49d73f25f2ef6e088524a">bf369327</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_posixacl: support SMB_ACL_TYPE_DEFAULT in posixacl_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d9a9993cc70c7130990b3a2b471f081af30528a">7d9a9993</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_solarisacl: add support for SMB_ACL_TYPE_DEFAULT in solarisacl_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9303683ee284feaed846b6e6e9fdc615922b7a74">9303683e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_tru64acl: add support for SMB_ACL_TYPE_DEFAULT to tru64acl_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fc6ee68c2908c8cae8fe02809028e92d3092791d">fc6ee68c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_vxfs: add support for SMB_ACL_TYPE_DEFAULT in vxfs_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f4c2f867f035fcbe3d547d5635d058b0aec7636a">f4c2f867</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_aixacl: handle pathref fsps in aixacl_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee0a6d228abf6d3f49c2c0f10de4eb705f914731">ee0a6d22</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_aixacl2: handle pathref fsps in aixjfs2_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f4426b44e178d05337b7804987a74c4628a2530">1f4426b4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: add support for SMB_ACL_TYPE_DEFAULT and pathref fsps in vfswrap_sys_acl_set_fd()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d323aebe34f4d6188e98c7a9551b140d9ee1121">8d323aeb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">posix_acls: use SMB_VFS_SYS_ACL_SET_FD() in set_canon_ace_list()

SMB_VFS_SYS_ACL_SET_FD() can now safely be used to set default ACLs on
directories.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/33cbe40c4190f90039bb59a23ea0316b5ed8c507">33cbe40c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">posix_acls: use SMB_VFS_SYS_ACL_SET_FD() in set_unix_posix_default_acl()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1af5892a9851389b9eba978c4c70cc67392dce0e">1af5892a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pysmbd: use SMB_VFS_SYS_ACL_SET_FD() in set_sys_acl_conn()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b54158fb72d5008c0cf639c9d24501a010885ef1">b54158fb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: move mode logic out of vfswrap_mkdirat() to the caller mkdir_internal()

This is the correct place where this code should be. It also means opaque VFS
modules that implement their own mkdirat() like glusterfs now use this logic.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3dee234e25eaf04bbf1afff316226da3090f1e82">3dee234e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: remove assert from vfswrap_mkdirat()

vfswrap_mkdirat() deals with real dirfsps just fine now.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9bafb8940331fed0432f3e93aee346f3ea4c62df">9bafb894</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_unityed_media: support real dirfsps in um_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d57908f139b0a13a2f70906ab4dcdb220d80284">2d57908f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_syncops: support real dirfsps in syncops_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/875fd6eec256c195f7bbb56fc1dd7e22cdfeff04">875fd6ee</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_media_harmony: support real dirfsps in mh_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dc4c952807fd80993c6aaa9b1cd5a2918c5b0618">dc4c9528</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_xattr_tdb: support real dirfsps in xattr_tdb_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6c79c2f2e829f5a11687785f5761675f25d93f7f">6c79c2f2</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_extd_audit: support real dirfsps in audit_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb3d8b20def699377e48fb32cfed32bf7c716373">cb3d8b20</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_audit: support real dirfsps in audit_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/640629b21ba95148e81c5473f0bfb8ab45a27752">640629b2</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_glusterfs: support real dirfsps in vfs_gluster_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/71a614861a50a7b8cfb568eca092f86b982274f9">71a61486</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_linux_xfs_sgid: support real dirfsps in linux_xfs_sgid_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c3fb27d92b82241183ae811e5ee7ca90e53b7284">c3fb27d9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: check for absolute paths in full_path_from_dirfsp_atname()

If the "atname" is an absolute path we can ignore the dirfsp and just return a
copy of the atname.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a6f35e89d004405f80d0d8d8f7d0e6a67e14cd3d">a6f35e89</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_shadow_copy2: support real dirfsps in shadow_copy2_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cf07a5cd456c371dd0ff1b893cc6394299bd6920">cf07a5cd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_full_audit: support real dirfsps in smb_full_audit_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/621793733dc6f22b2c90ca236906c62127e93cb0">62179373</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_time_audit: support real dirfsps in smb_time_audit_mkdirat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/405d11642b6dcfb373827f05cd2eef33c91e00db">405d1164</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: open a pathref fsp on the parent directory

Prepares for calling SMB_VFS_MKDIRAT() below with a real dirfsp/atname. As
parent_dir_fname now has a pathref fsp in parent_dir_fname->fsp, make sure to
talloc_free() the parent_dir_fname before leaving the function, so the pathref
fsp is closed right there and not left around until the talloc tos is
destroyed (parent_dir_fname is a child of talloc-tos).

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/83ffeac71636fa397c52116cbf8839ec350e2f51">83ffeac7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: pass fsp to mkdir_internal()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/43b5e97ad9620dcb5d79cdcf0fa6d6e61ebc5106">43b5e97a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: after creating a directory, open the fsp as pathref fsp

After the directory has been created by SMB_VFS_MKDIRAT(), open the fsp on the
new directory as pathref fsp so we can use handle based VFS functions.

open_directory() will reopen the fsp as a full fsp, but that doesn't really hurt
thanks to the reopen_from_procfd() optimisation.

Note that smb_dname == fsp->fsp_name.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/74b9080668cd4307e14049c9d908b5610911507b">74b90806</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use a real dirfsp/atname in mkdir_internal() with SMB_VFS_MKDIRAT()

Now that all VFS modules support real dirfsps in SMB_VFS_MKDIRAT(), pass the
pathref fsp from the parent directory and the basename of the new directory.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24a46b9db9561c49996a2e77320228a7d22de08a">24a46b9d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use pathref fsp in change_dir_owner_to_parent()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6efe41c49cbcf3d6de95f33983f59aecd6a1ee31">6efe41c4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">posix_acls: use pathref fsp in copy_access_posix_acl()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/92b149954237a445594c993b79a860c63113d54b">92b14995</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: RIP SMB_VFS_SYS_ACL_SET_FILE()

          .--. .-,       .-..-.__
        .'(`.-` \_.-'-./`  |\_( "\__
     __.>\ ';  _;---,._|   / __/`'--)
    /.--.  : |/' _.--.<|  /  | |
_..-'    `\     /' /`  /_/ _/_/
 >_.-``-. `Y  /' _;---.`|/))))
'` .-''. \|:  .'   __, .-'"`
 .'--._ `-:  \/:  /'  '.\             _|_
     /.'`\ :;   /'      `-           `-|-`
    -`    |     |                      |
          :.; : |                  .-'~^~`-.
          |:    |                .' _     _ `.
          |:.   |                | |_) | |_) |
          :. :  |                | | \ | |   |
          : ;   |                |           |
          : ;   |                |  SMB_VFS  |
          : ;   |                |  SYS_ACL  |
          : ;   |                | SET_FILE  |
        .jgs. : ;                |           |
-."-/\\\/:::.    `\."-._'."-"_\\-|           |///."-
" -."-.\\"-."//.-".`-."_\\-.".-\\`=.........=`//-".

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d860785f68c20e4460d9386c48494ada10bad77e">d860785f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_acl_xattr: reformatting

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/498831cf66b77cad77cceebce0bfd9b00dd5c572">498831cf</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_acl_common: add and use a function exit label

No change in behaviour. A subsequent commit will add more function exit cleanup
logic after the done label.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e6b0797caff1e292cec3bee245ee63e58702efb8">e6b0797c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_acl_common: add an fsp extension when setting ACL

This allows the module checking for the fsp extension variable setting_nt_acl
and will be used in the module functions for .sys_acl_set_fd_fn (so
sys_acl_set_fd_xattr() and sys_acl_set_fd_tdb()).

This depends on the previous code changes, so
won't be back ported. But for reference the
bug id is below.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/25ec288172738f78a7f97e241de2684fd97ad51e">25ec2881</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T18:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_acl_xattr: avoid removing the ACL xattr

...when called as part of setting a new NT ACL.

This depends on the previous code changes, so
won't be back ported. But for reference the
bug id is below.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a77de71ced013604382e5c62a904db0fbf1cdd81">a77de71c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2020-12-17T20:04:22+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_acl_tdb: avoid deleting the NT ACL from the tdb

...when called as part of setting a new NT ACL. This implements the same logic
added to vfs_acl_xattr in the previous commit, to make sure both modules behave
identically.

This depends on the previous code changes, so
won't be back ported. But for reference the
bug id is below.

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

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Dec 17 20:04:22 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6b5041c0212a16d2f250b75b324e64b4c015462b">6b5041c0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2020-12-18T16:27:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: close_file() should never see an internal dirfsp.

Assert this is the case.

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Dec 18 16:27:38 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/440802c24a8f49809b41f14997e406d2795b8e95">440802c2</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-19T07:00:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Add gp_xml_ext parser for group policy

This adds an extension parser for parsing xml
files in the sysvol.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/932af62eade70714ca7351738b936123c5345fd0">932af62e</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-19T07:00:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Group Policy VGP Sudo Rights

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9b44f7a71ec7772fbb47167e0ba4d5c51397cfad">9b44f7a7</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2020-12-19T08:11:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy Sudo Rights from VGP

This adds a Group Policy extension which applies
Sudo rights set by Vintela Group Policy in the
SYSVOL.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Dec 19 08:11:50 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18d68e85c8a1ef7fd570d3d3fd4dde484aea417e">18d68e85</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-12-19T18:20:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns_update.c: handle DNS_QTYPE_ALL

we have code to handle this, we should not refuse the request

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Sat Dec 19 18:20:30 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d8ed73b75ad67da99be392b2db18fe2e1ffed87f">d8ed73b7</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-12-21T20:18:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: Add key usage constants

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/03676a4a5c55ab5f4958a86cbd4d7be0f0a8a294">03676a4a</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-12-21T20:18:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: use key usage constants

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c00d537526ca881c540ff66e703ad9c96dd1face">c00d5375</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2020-12-21T21:29:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: PEP8 cleanups

Fix all the PEP8 warnings in samba/tests/krb5. With the exception of
rfc4120_pyasn1.py, which is generated from rfc4120.asn1.

As these tests are new, it makes sense to ensure that they conform to
PEP8. And set an aspirational goal for the rest of our python code.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Mon Dec 21 21:29:28 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f30e100b39677f9a71200d324e5f9562909a343e">f30e100b</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-12-23T12:45:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: also test v6 for async dns test by using dig

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/98caa173b2471f963283bbb9d1c32ca8129f7e0b">98caa173</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-12-23T12:45:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: also test net ads dns (un)register with IPv6

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/985042d391e8124b157f21a6041ff9e17188483a">985042d3</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-12-23T12:45:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dnsupdates: clean up all RRSets and not only type A

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8fcde5912a966c947adf2b5b313d224c9e827ca4">8fcde591</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2020-12-23T13:52:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net: remove obsolete net ads dns gethostbyname command

net ads dns gethostbyname is doing the same as nslookup / host / dig and it's
quite limited and only supports A records. We should just drop it.

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Wed Dec 23 13:52:41 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/542ae1055cd58c4715641b1665716b97efe371b3">542ae105</a></strong>
<div>
<span>by Archana</span>
<i>at 2020-12-30T10:21:08+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs:Logging filename for smbd_gpfs_set_times_path()

Signed-off-by: ArchanaChidirala <archana.chidirala.chidirala@ibm.com>
Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Dec 30 10:21:08 UTC 2020 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/54963d246ead84e2c845ee47d2ede5cf15920a8e">54963d24</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-01T11:56:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Happy New Year 2021!

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Jan  1 11:56:23 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e96c95d41e4ccd0bf43b3ee78af644e2bc32e30">3e96c95d</a></strong>
<div>
<span>by Dimitry Andric</span>
<i>at 2021-01-04T10:50:07+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Avoid declaring zero-length VLAs in various messaging functions

In messaging_rec_create(), messaging_recv_cb() and
messaging_dispatch_rec(), variable length arrays of file descriptors are
declared using an incoming num_fds parameter.

However, there are several scenarios where num_fds can be zero, and
declaring a zero-length VLA is undefined behavior. This can lead to
segmentation faults and/or other crashes when compiling with recent
versions of clang at high optimization levels.

To avoid ever using zero as the length for these declarations, use
MAX(1, length) instead.

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

Signed-off-by: Dimitry Andric <dimitry@andric.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Jan  4 10:50:07 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2f6cea063ddf52d77037644d612bbc209837e707">2f6cea06</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2021-01-04T11:45:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/release.sh: Use new GPG key.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aabd5812a1d1eb4555f91e776a3e934511c314ba">aabd5812</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2021-01-04T12:51:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: printing changes

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Karolin Seeger <kseeger@samba.org>

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Mon Jan  4 12:51:49 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f06d91c57d92bb03a88639256368640277e12b6">1f06d91c</a></strong>
<div>
<span>by Yvan Masson</span>
<i>at 2021-01-04T16:23:03+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix small typo in manpage

Signed-off-by: Yvan Masson <yvan@masson-informatique.fr>
Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Jan  4 16:23:03 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/31943cc9c0d6c0b2be89634408b30d698a2869db">31943cc9</a></strong>
<div>
<span>by Andrew Walker</span>
<i>at 2021-01-05T21:30:08+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils - explicitly free cmdline_messaging_context

Some command line utilities do not free their messaging context
which results in extra entries being left in the msg.lock directory.

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan  5 21:30:08 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf7b165877bdfd07eb84ecafdc87bd7a6d945f09">bf7b1658</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-01-06T22:51:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Add directory_create_or_exists_recursive()

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38c989fab78c3baade3e441829b7becf6b25ef3f">38c989fa</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-01-06T23:59:58+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Create the cache path of user gencache recursively

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jan  6 23:59:58 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2f21d1b0ac8526508161de73290f67858b2fe668">2f21d1b0</a></strong>
<div>
<span>by Arne Kreddig</span>
<i>at 2021-01-07T19:25:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_virusfilter: Allocate separate memory for config char*

Instead of using only the pointer to the configuration char* from the
global configuration, vfs_virusfilter now allocates its own memory and
copies the char* from the global configuration.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14606
Signed-off-by: Arne Kreddig <arne@kreddig.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jan  7 19:25:38 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/04077435dcc5ee35ed4ace76a421dac370f8d0ae">04077435</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth: Reformat a comment

Will fix a typo next

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fbe6c6cd11f0b0e078697aa23f43a38f75d82ec5">fbe6c6cd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/768917f6f8c4a387cd527fdbf306790ea4cf0e9a">768917f6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Fix comment wording

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dad4410c86c2a2988cdc301693d6be3ee9cf6253">dad4410c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c8d9ce3f7c8c486ab21e320a0adcb71311dcb453">c8d9ce3f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Add "hex_byte()" to replace.h

This is required in quite a few places, and replace.h has things like
ZERO_STRUCT already, so this is not completely outplaced.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ad081bf2ddb60dfd5b8f838741e9de0710598b6a">ad081bf2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Use hex_byte() in read_data()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd056127944182bf1fa96d025a4418d9c05d1982">fd056127</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Use hex_byte() in parse_hex()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6a57c49c00a778f954aaf10db6ebe6dca8f5ae2">b6a57c49</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Use hex_byte() in ldb_binary_decode()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2ba7fe10951ddda3145316e6026ef470ad2e29d5">2ba7fe10</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Use hex_byte() in rfc1738_unescape()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/41e1b340265d902b86a757cc5baea0bdc4aba748">41e1b340</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Use hex_byte() in ucs2hex_pull()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6aa672a41c37c94afd86e4801b9c1319db0cc6f3">6aa672a4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Use hex_byte() in hex_to_data()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d0eaa1432513575264d1b08574c8dcd51dae5e6a">d0eaa143</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use hex_byte() in urldecode_talloc()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d82acf7685fe0b02013794263df61c479162dd92">d82acf76</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: give global_contexts.c its own header file

It's a bit shocking how many references we have to global
contexts. Make this a bit more obvious.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de9b7312f1d4ba610817ec5189ff48b63e93df95">de9b7312</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Fix an error path memleak

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e7a6dba21ce345195bb80810d6c3de28ed043947">e7a6dba2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Make pfh_daemon_config take a const default config

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7ed99ad1cdbf6ad98b1b97ca15811add55efd1cf">7ed99ad1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Make default prefork configs const

Move 24 bytes from modifyable data to .text segment

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef7afeb3a3ece53c325773c1e05fba1897875cfa">ef7afeb3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix error path memleaks in prefork_create_pool()

A few return statements missed the "TALLOC_FREE(pfp);"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/56737df462d70397b436e3b91f1b643f5854adf1">56737df4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Initialize pointers in server_prefork.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8323c83473238c398d82c97bd08ba5c2936c251b">8323c834</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">passdb: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/21853468b8d20dca1fdde6accaa5a9c0e72e0438">21853468</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: Remove "developer.c" module

This can't have been built since commit f9acf770e9c12 from 2011 when
smb_register_charset was removed.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f9b2559c4208d680d43fa39823b2d5eb048bcf19">f9b2559c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/fruit: avoid sleep(10000000); if write_stream() fails

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f057333466b2d9845cd8bc2b794d98252ade2a4">8f057333</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: add vfs_fake_fd_close() helper

When we used vfs_fake_fd() we should use vfs_fake_fd_close()
in order to have things symetric.

This makes code easier to understand and may allow us to change
vfs_fake_fd() internally if required.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/719c83b4dc4cef16429ec2803621039545f6885e">719c83b4</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: make use of vfs_fake_fd_close()

When we used vfs_fake_fd() we should use vfs_fake_fd_close()
in order to have things symetric.

That may allows us to change vfs_fake_fd() internally if required.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40e70cbd3c3a1df9205a7b18d07784c1754cc340">40e70cbd</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_streams_xattr: make use of vfs_fake_fd_close()

When we used vfs_fake_fd() we should use vfs_fake_fd_close()
in order to have things symetric.

That may allows us to change vfs_fake_fd() internally if required.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/36eb30fd7d4b82bffd0e1ab471c088f678d700a4">36eb30fd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: use "fake_fd" instead of "created"

Both have basically the same semantics.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c5da08422990dfc1e082bc01aa10d6e415eebe3f">c5da0842</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-08T20:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: check fake_fd in fruit_pread_meta_stream()

Don't call into the next VFS backend if we know we still have a fake-fd. Just
return -1 and the caller has the logic to handle this, which results in
returning a AFP_AfpInfo blob initialized with some defaults.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/564b62a6f7c0a9b9712946d723118122b9c3785f">564b62a6</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-08T21:38:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: fix close for fake_fd

If the next backend doesn't use kernel fd's should not
pass a fake_fd to the next backend.

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

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jan  8 21:38:18 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4aa3ff574f209d0fbd1e725cf06af03887db9fe0">4aa3ff57</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-11T13:19:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Move sockaddr_storage_to_samba_sockaddr() to lib/

This can be useful outside of source3/libsmb/namequery.c as Samba
moves towards samba_sockaddr.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e5d246b3b0ec0c5e4ec3cf4b833fc820f3cfcca">2e5d246b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-11T13:19:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Add samba_sockaddr_[gs]et_port()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/276b9bc20aaa7e37c2a2faef8a50adc1bd5f3cf2">276b9bc2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-11T13:19:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Factor out dcesrv_open_ncacn_ip_tcp_sockets()

The main change is to return an allocated array of file descriptors in
dcesrv_open_ncacn_ip_tcp_sockets() instead of filling a preallocated
array of pf_listen_fd structures.

Signed-off-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/666fc24a90251138b2ce9a50c2452fd25c057d72">666fc24a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-11T13:19:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Use dcesrv_open_ncacn_ip_tcp_sockets() in dcesrv_setup_ncacn_ip_tcp_sockets()

Avoid duplication of logic with "lp_interfaces_only()"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a00e3e8af3bd8916cca764cc8d16b0b37c637b7d">a00e3e8a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-11T13:19:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Lift logic to fill in pf_listen_fd one level

dcesrv_create_ncacn_ip_tcp_sockets() now returns a struct of fd's
instead of filling a preallocated array: Its only function beyond
dcesrv_open_ncacn_ip_tcp_sockets() is thus gone.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9c9b0fd61605c67ecfa7ae63d062fa711d705a47">9c9b0fd6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-11T13:19:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Lift ph_listen_fd logic one level

Push filling in struct pf_listen_fd into the daemons using
dcesrv_create_endpoint_sockets().

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca9674855284633f5d4a13ef8b79174054fdbfd3">ca967485</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-11T13:19:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Add dcesrv_create_endpoint_list_fd_listen_fds()

This encapsulates the loop in the three standalone rpc daemons walking
the endpoints in a dcesrv_context.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/79a73b4484485092007edc0d025e5079dd9033db">79a73b44</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-11T13:19:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_servers: Fix crash with many interfaces

Previously, the lowlevel routines wrote into the pf_listen_fd arrays
without checking its size.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/912196f430bff381bc0565966d95f5f46ec570c9">912196f4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-11T13:19:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_servers: Remove unused variables

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/08da3439eddf26bdeece1a4e3c729e4dfcbd5d5e">08da3439</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-11T14:25:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Use GUID_buf_string in dcerpc_binding_string()

Avoid a (small) memleak

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Jan 11 14:25:04 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/847465b3900ca78046ceaf08d89fdd4535e7193a">847465b3</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-11T20:25:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: move S_ISDIR check up a bit in openat_pathref_fsp()

This relies on the caller having stat()ed smb_fname instead of relying on
fd_openat() fstat()ing fsp->fsp_name. Otherwise no change in behaviour..

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9a3cdb68fc7376634940bdaf3e3ab80c60700979">9a3cdb68</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-11T20:25:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: pass O_DIRECTORY to fd_openat() for directories

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b31405e31bc29c3ff3f4232c20363ad5a52c80dc">b31405e3</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-11T21:34:52+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_glusterfs: support read dirfsps in vfs_gluster_openat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Jan 11 21:34:52 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9c16c212fda67734c604f799ea25348d721312e0">9c16c212</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Slightly simplify smbd_smb2_create_send()

If we return unconditionally, "else" is not needed

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f08390c282c19f866fe75a8115dcdecb6fe5d68">8f08390c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Move ucs2_align() to 'charset' subsystem

Fix a circular dependency: util_str_common.c depends on 'charset',
which depends on util_str_common.c. Fix that.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8c02ebdbf84cc8141754313c0b5bb0ee1c56afb2">8c02ebdb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Simplify "weird" charset code

Don't depend on DEBUG. This is a pure developer module, the developer
should be able to figure out what's going on after this has abort()ed.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3d0e55b6d98d1178a00b0a68af576ca64d5f93cb">3d0e55b6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Move weird.c and charset_macosxfs.c to ICONV_WRAPPER

iconv.c directly references them, it does not make sense to have it
without them.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/49ab5431c5b10ead543bf8bf2c0455dcfb262d59">49ab5431</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Avoid all_string_sub() in smb_panic()

smb_panic() should be available everywhere. Avoid a dependency on
all_string_sub(), this pulls in a lot of other dependencies. The only
change is that this uses "strstr" instead of "strstr_m", but having
non-ascii panic actions strings can be called rare.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ae78cf0d61e62f1292af9d713aa8c06b9b379d91">ae78cf0d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Make smb_panic() available as a subsystem of its own

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8b5eda7535c9f0dcef010e6edeb9deec8a8213a0">8b5eda75</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Move utf16_len[_n]() to lib/util/charset/

util_unistr.c references it, avoid broken dependencies

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6b73ffb69dd1c786f4a64c4c07689a2d87952e89">6b73ffb6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth4: Use global_sid_System

dom_sid_dup() is much simpler than dom_sid_parse_talloc()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e60c435744b869318a14f69f6aa0bc67e3cceb8f">e60c4357</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth4: Use global_sid_Anonymous

dom_sid_dup() is much simpler than dom_sid_parse_talloc()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/83d85833bba6d4e34a9b761cd1787775d68d65bc">83d85833</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f9f7aafaeb2fca24c1ee9b3034ceb8dd447de734">f9f7aafa</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Move a variable closer to its use

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/93d387fb6d771fd74cca84693ecfb45c07baa294">93d387fb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Avoid a pointless ZERO_STRUCTP

We've done talloc_zero() 4 lines above.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca0104d4518bf4ca4e50441afb2d3dfb44e9513d">ca0104d4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Fix an error path memleak

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/457afe052f7c767722b50a0b3f7c26cc296fa975">457afe05</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">epmapper3: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eecd5e878372cf595444befb13ce92eb9d196ba8">eecd5e87</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">epmapper3: Fix a DEBUG message

This is not function dcesrv_interface_register()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d51b4ac5276cfeaa9994eb5465066e8f4ce1b4d7">d51b4ac5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Error from rpc_pipe_open_ncalrpc() for path overflow

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2745f6ec743df4c8ae98d59335bf64d6520d5aa5">2745f6ec</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Fix an error path memleak in rpc_pipe_open_ncalrpc()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ad5aabf8a1194269a25c68da6af991a489ba061c">ad5aabf8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Use common "goto fail" for all error cases

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1b054aa0a52489ac183a47c2b2cdc66228d53738">1b054aa0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Simplify rpc_pipe_open_ncalrpc()

Consolidate close(fd)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cc01ba1b0eac7d0266ee9da3a2b6d28fee5c5edc">cc01ba1b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Align a few integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/922b8d18c311035ebbe0625b3d14dc5fbeb03539">922b8d18</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: gen_ndr/dcerpc.h references DATA_BLOB

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb1bcba227f00ae444056cc2e0475623abbe7860">cb1bcba2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: lib/param/param.h references TALLOC_CTX

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9de2c2c12d29d2e1af1cb1b0d919191cd14522dc">9de2c2c1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove using talloc_stack from lib/util/charset/

'charset' should be as standalone as possible, and for this one use
talloc_stackframe() is not really necessary.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1701041d532bb6684c33e89420273631c063a2fa">1701041d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T00:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Avoid "includes.h" in lib/util/charset/

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1c2460a87e57b9714ead40bb8977a3785002abf5">1c2460a8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-12T01:19:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix 'charset' dependencies

With this, 'charset' could be a SAMBA_LIBRARY without any undefined symbols

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan 12 01:19:26 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/07700d0f1ac118436126054cd2f45cbc76ffdcb5">07700d0f</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2021-01-12T09:06:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/wscript: python3-asn1 -> python3-pyasn1

Signed-off-by: Karolin Seeger <kseeger@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/649cfefb1b3f1a76543ecf29395b46a465cfac75">649cfefb</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2021-01-12T09:06:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add new parameters.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/081afc495f5bd88d13e5835557509da0ec5f7452">081afc49</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2021-01-12T10:12:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Change order.

Signed-off-by: Karolin Seeger <kseeger@samba.org>

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Tue Jan 12 10:12:02 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ab7700177c2badbf8ed649985be8029223b6e946">ab770017</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-13T17:02:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Factor out setting up case parameters for a share to a function - conn_setup_case_options().

Will allow it to be reused in the msdfs temporary share code.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/39ce73321093a0a5e25f574d0d32d7f88892de46">39ce7332</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-13T18:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add call to conn_setup_case_options() to create_conn_struct_as_root().

Ensures temporary DFS share doesn't leave the case parameters set
as zero (i.e.:

conn->case sensitive = 0
conn->share_case_preserve = 0
and default case is lower

which can cause problems doing a DFS_GET_REFERRALS request).

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>

Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Wed Jan 13 18:14:31 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/33806a9ed95006491a1a576d6b5182c32270c82e">33806a9e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-01-13T20:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Remove unused header and deps from destroy_netlogon_creds_cli

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6ce7f2def3e9fa4e649522b8ba9f44ef8f61ada">c6ce7f2d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-01-13T20:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Fix header and deps of mvxattr

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e0ef27f03d2b93f1273d9c4327c607bacb4e8990">e0ef27f0</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-01-13T20:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Remove unused popt_common.h header from net_rpc_shell.c

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8eecc8a9e84ba2c342e77723ca26d0de03429cb">e8eecc8a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-01-13T20:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Remove unused popt_common.h header from net_vfs.c

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f4827944bf6241b3823e41b15f9124fbe7539d5">0f482794</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-01-13T20:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Remove unused popt_common.h header from log2pcaphex.c

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/999cbc47a71596f9f67196e8f15334df6ee1b698">999cbc47</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-01-13T20:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:waf: Do not link smbspool against popt_samba3

This isn't used at all.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce3a3c7eab34ce849b9db7c073e9743e433c255c">ce3a3c7e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-01-13T20:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:waf: Do not link tevent_glib_glue_test against popt_samba3

This isn't used at all.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be18d600f7ed302868ae23fe72b44161e792924e">be18d600</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-01-13T20:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Pass cli_credentials to get_ipc_connect()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/78c4043a28cebfaeaaab2465a74d03f225d48b60">78c4043a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-01-13T20:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Pass cli_credentials to get_ipc_connect_master_ip()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/181afa9f68ca7ed0a60ac69f5ad62ee70d89a599">181afa9f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-01-13T21:32:52+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Use cli_credentials directly

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Jan 13 21:32:52 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4e624478dcd119f80f33b024b2f0b9a41688b425">4e624478</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2021-01-13T23:52:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 auth ntlm: Fix integer overflow in authsam_password_check_and_record

Fix a ubsan detected integer overflow.
../../source4/auth/ntlm/auth_sam.c:445:56: runtime error:
     signed integer overflow: 60 * 600000000
     cannot be represented in type 'int'

In practice this meant that the default for the smb.conf parameter
"old password allowed period" was approximately 16 seconds, rather than
the intended 60 minutes. Similarly the value used would be 22.5 times
less than the value specified in smd.conf.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jan 13 23:52:38 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3fdfb79a12bf21eb661a8dea00f46bf944ea9df0">3fdfb79a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: rearrange move_smb_fname_fsp_link a bit

We only modify smb_fname_src on success.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/932c27e290ead0c2a98c57f2a9649aaf51d7233b">932c27e2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: let fsp_smb_fname_link() set both sides of the link

We also need to be sure both sides were not linked before.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1ab038b77a89a7960fbd4cdb55565af6b2333574">1ab038b7</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: let fsp_set_smb_fname() always link fsp to fsp->fsp_name->fsp

This was only done if fsp->fsp_name already existed, but not the first time.

This also makes sure we modify fsp->fsp_name and fsp->name_hash only on success.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/347edf7ee00609782d6a5d1f4b0995424c831a00">347edf7e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: split out a fsp_attach_smb_fname() helper function

It's useful to watch this using: git show --histogram

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cff29e58ffaa81785e89f240808af84d6db836c8">cff29e58</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: let openat_pathref_fsp() allocate fsp->fsp_name directly on fsp

Otherwise we'll always keep the current talloc_stackframe arround.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c2e7256b1e092acc20daf58059c0e749e3a756e4">c2e7256b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: let openat_pathref_fsp() make use of fsp_attach_smb_fname()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/30134630988ca76545a8aee8516d44a0dc64bc8d">30134630</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: let open_pathref_base_fsp() make use of smb_fname_fsp_unlink()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6949f0f93ff0a1f6292395fbbd9c07b12fe9336">d6949f0f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: let open_directory() also use fd_open_atomic() as reopen_from_procfd() fallback

Calling fd_open_atomic() without O_CREAT is the same as calling
fd_openat() directly, so we can also use it to open an existing
directory.

In the next step we'll move the reopen_from_procfd() fallback logic to
a single helper function.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38ae1599a0c7408a8a6abf9856ad2979c4c3aa81">38ae1599</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: don't pass an unused smb_fname to reopen_from_procfd()

Both callers pass in a helper variable that points to
fsp->fsp_name and it was only used for a debug message,
so we can simply use fsp_str_dgb() instead.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d79764ad3ed75cddec1568d74cbfd3d41e018be">8d79764a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: introduce a reopen_from_fsp() helper function

In future we may move the reopen logic to the VFS,
but for now we just keep it in one place.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9b1dc2a4ca61aaa96c3e731a7a59da2a21aa522d">9b1dc2a4</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: make sure openat_pathref_fsp() calls fd_close(fsp->base_fsp);

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e1a10b58171ec5a1b41ab99962bc6eebb3b427e3">e1a10b58</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: let call_trans2findfirst() use file_free() instead of fsp_free()

This makes sure we call vfs_remove_all_fsp_extensions() before
fsp_free() is called from within file_free(). And allows us to
make 'fsp_free()' static in the next commits.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eae7ce8a2e0e0982bba70fbd36f444954339abe3">eae7ce8a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: turn assignment into assert check in call_trans2findfirst()

The pathref fsp link destructor will set smb_dname->fsp to NULL. Turning this
into an assert to give a hint at readers of the code trying to understand the
mechanics.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bcac1dab694be832c3f993356daacaee35c49f71">bcac1dab</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: close pathref fsp in call_trans2findfirst()

Before freeing the fsp we have to close the handle.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/81b6931be0cd4adfcb233e1c03fb9ca898fee9b0">81b6931b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: let vfs_default_durable_reconnect() use file_free()

We should always go through file_free(), which calls fsp_free() at the end.

Most things in file_free() may not apply to all
vfs_default_durable_reconnect() cases, but we want fsp_free() to become
static to files.c

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7dc9a84bb5c78235c4e77fde2b8297e9c8206862">7dc9a84b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: make fsp_free() static, it should only ever be called by file_free()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/22bebaf8589ff6ff95fe59f14f632b3b90471920">22bebaf8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: split out create_internal_fsp() from create_internal_dirfsp()

That will be useful in other places as well.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/87b4a8f35a8ab993eec806022986fdf860c8bbc7">87b4a8f3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: fix the error cleanup in create_file_unixpath()

We always need to cleanup the base_fsp!

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/42c60703f2e7417168774f7b5a0ff25299e3b6a2">42c60703</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: remove duplicate assignment of base_fsp in create_file_unixpath()

This has already been set a few lines above. The duplicate was the result of
restructuring create_file_unixpath() a few months ago, allocating fsp in
create_file_unixpath() instead of in the callees open_file_ntcreate() or
open_directory() respectively.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/928382f27000ce93aa29080f06cb7445b0b8c281">928382f2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: add fsp_set_base_fsp() helper

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/930b6bb3b87f600757266b34a9bb1ca3764177fd">930b6bb3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: make use of fsp_set_base_fsp() when changing fsp->base_fsp

This allows us to add some more logic for bi-directional linking between
base and stream fsp in the next commits.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/20187c6f54c85131bcdc7979a649d1a575d3a8e0">20187c6f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: make sure a SHUTDOWN_CLOSE applies to a stream fsp before its base fsp

Before we had open_pathref_fsp() we had the stream fsp before the base
fsp in the linked list we traverse for SHUTDOWN_CLOSE.

Now the order has changed. I could have used some DLIST_PROMOTE()
hacks, but that's still fragile.

Now we reference both fsp's via ->base_fsp and ->stream_fsp.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9c277b27dec568677c0b407497da6eb95ae7cb8d">9c277b27</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T11:30:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: allow close_file() with a non-fsa fsp for {SHUTDOWN,ERROR}_CLOSE

Such an fsp was typically created via create_internal_fsp() and
opened via fd_openat() without going through SMB_VFS_CREATE_FILE(),
so they should be closed via fd_close().

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da052dde8a9801063e74d036d15f516d079d3720">da052dde</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-14T12:40:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: simplify the error handling in create_file_unixpath()

We can just call close_file(req, fsp, ERROR_CLOSE), as it handles
non-fsa fsp's and base_fsp's just fine.

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

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jan 14 12:40:56 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ef25729bd9e6dc455d158c0016b2bd6191e8d51">5ef25729</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Fix CID 1471761 String not null terminated

This is a false positive (in is length 3 initialized to 0), but this
patch does not hurt

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d5fb1ad14dfda2722243378a5afa8af5d743b2a">8d5fb1ad</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: Fix CID 1471760 Dereference null return value

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/acca9ec4b606173c85809bbc0894011c0e29bab0">acca9ec4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: Fix CID 1471764 Dereference null return value

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dcc8f37af148df11ebc848013933967da45b0698">dcc8f37a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Simplify find_policy_by_hnd_internal()

Best viewed with "git show -b". Use the typical pattern of an early
error return.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8488b16f568f3b4c778f186cea1b9044947319ed">8488b16f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Use make_base_pipes_struct() in dcesrv_ncacn_accept_step2()

make_server_pipes_struct() is just a simple wrapper.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/562e48655ccc583fdb7c90ae509b092abc634a4d">562e4865</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Use make_base_pipes_struct() in make_internal_rpc_pipe_socketpair()

make_server_pipes_struct() is just a simple wrapper.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a21867bc48b6a78d8bfa040e850a6b59b2af7860">a21867bc</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Remove unused make_server_pipes_struct()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/51f5631bbb3801d320127ea4a90403cb074c0095">51f5631b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tsocket: Fix a few typos

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/33f7aac8719a5de9a3dc01cda70b190c1a824a53">33f7aac8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Make dcerpc_ncacn_accept() take tsocket_address **

dcerpc_ncacn_accept() talloc_move's the addresses away from the
caller's talloc hierarchy. Don't leave pointers around in the caller.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/834f9e152e5f81bd8d128bd627fce3b83d3ebb0b">834f9e15</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix typos

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cc9ade9b0a5a52cb468976b51dffbfad73ef5118">cc9ade9b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Initialize variables in prefork_listen_accept_handler()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/50dada72ad97cffef25011a57fa6cc5bce80c5d4">50dada72</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Direct pointer initialization in dcesrv_ncacn_np_accept_done()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6482bee22fe421266ea493d18367aa2a0444ef76">6482bee2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Move setting ip-based socket options

All ncacn_ip_tcp listener sockets are created via
dcesrv_create_ncacn_ip_tcp_socket(). Moving setting the socket options
out of dcesrv_setup_ncacn_ip_tcp_socket() to remove a special case for
TCP from the dcesrv_setup_* family of routines.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/94f48f34f167c3665b9945cc9c9d499df64fab31">94f48f34</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Add dcesrv_setup_ncacn_listener()

This is supposed to replace the protocol-specific dcerpc_setup_*
functions. They are all very similar except the way to create the
socket file descriptor. By handing out the anonymous structure
"listen_state" for an error path the listener tevent_fd structs can be
cancelled individually or handed over to other talloc parents.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8004fb4a5bfa00d3199c11e8aadeb9691c0484e8">8004fb4a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T13:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Use dcesrv_setup_ncacn_listener() in dcesrv_setup_endpoint_sockets()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9bb5b3262102c99bf5bb881135739feffacd7108">9bb5b326</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-14T14:35:58+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Remove protocol-specific dcerpc_setup_ routines

These are all just stream sockets, being taken care of by
dcesrv_setup_ncacn_listener()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Jan 14 14:35:58 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6c421f523bf0cbf95d6724b866de9d1f8809c0d2">6c421f52</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-14T16:05:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/rpc_server: add deps of rpc_mdssvc_module

This allows removing allow_undefined_symbols=True.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Jan 14 16:05:10 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9eef705ecf0eba6b77ab2b0e79234de2411fc2b0">9eef705e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-14T17:55:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pysmbd: call vfs_stat() in set_sys_acl_conn()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c77140fd6513b0115e70d257cee156e2c76964c2">c77140fd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-14T17:55:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libadouble: call vfs_stat() in ad_convert_xattr()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/93f4cb9786f951bef7a818a1ce2f1825404539a2">93f4cb97</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-14T17:55:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libadouble: call vfs_stat() in ad_convert_finderinfo()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f84bc4b0214680f645d3e63a389cdcba1dbdaf49">f84bc4b0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-14T17:55:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libadouble: assert valid stat in ad_unconvert_get_streams()

All callers already stat the path, just add a check that asserts this.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/21c76654ed6c7a3e46b66f9afc599a1f8145e42c">21c76654</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-14T17:55:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: call vfs_stat() in driver_unlink_internals()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d1726b8e22d1fc60c8409b5498bf59940d5a49ec">d1726b8e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-14T17:55:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: call vfs_stat() in mkdir_internal()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/965c6d891103605dd23ba82f2a0cef1fc16ebc1c">965c6d89</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-14T17:55:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: inherit st_ex_mode to basename from stream name in create_file_unixpath()

This ensures smb_fname_base knows if it's a file or directory.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/63e6653be608d76a6f91795671cb19ef912811c1">63e6653b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-14T19:00:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: The New VFS

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jan 14 19:00:05 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fdcdfceefdd3186ef0b70bb6e83dddc8f4c073db">fdcdfcee</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-15T07:26:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: Change some checks to SMB_ASSERTS

If we end up here, it's definitely a programming error in the basic
parsing layer of the SMB2 packet.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0abb5ca6b96c843909dea56d5594e334547ae90f">0abb5ca6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-15T07:26:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: Allow smb2cli_validate_negotiate_info_done() to ignore NT_STATUS_INVALID_PARAMETER.

This can be returned from NetApp Ontap 7.3.7 SMB server
implementations. Now we have ensured smb2_signing_check_pdu()
cannot return NT_STATUS_INVALID_PARAMETER on a signing error
it's safe to check this error code here. Windows 10
clients ignore this error from the NetApp.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/508ed5b42c23f8b3d9730d838bd921cb73c61358">508ed5b4</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-15T07:26:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: split out smb2cli_ioctl_parse_buffer()

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

Pair-Programmed-With: Volker Lendecke <vl@samba.org>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3db566026bcc0bff87acae762211e1c49220dc82">3db56602</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-15T07:26:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add samba3.smb2.ioctl.bug14607

FSCTL_SMBTORTURE_IOCTL_RESPONSE_BODY_PADDING8 will be used
to trigger an SMB2 IOCTL response with extra padding.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/39c0d2b666a6ddac7cd3b29fe76be7375690b27b">39c0d2b6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-15T07:26:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: implement FSCTL_SMBTORTURE_IOCTL_RESPONSE_BODY_PADDING8 as reproducer for bug 14607

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4c6c71e1378401d66bf2ed230544a75f7b04376f">4c6c71e1</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-15T08:36:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: allow unexpected padding in SMB2 IOCTL responses

A NetApp Ontap 7.3.7 SMB server add 8 padding bytes to an
offset that's already 8 byte aligned.

RN: Work around special SMB2 IOCTL response behavior of NetApp Ontap 7.3.7
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14607

Pair-Programmed-With: Volker Lendecke <vl@samba.org>

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

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Jan 15 08:36:34 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/97089ab7bced3f5450db4f92627235d53f82ba1d">97089ab7</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2021-01-15T15:24:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc/samba-tool: describe command parameters for "group listmembers" command

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac621a06412df0bc2ad7c09a985d32af74270323">ac621a06</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2021-01-15T15:24:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc/samba-tool: describe command parameters for "user list" command

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7dad13cc86fa603d1ae9c2b00c26686a5f652dc2">7dad13cc</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2021-01-15T15:24:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Optionally hide disabled/expired accounts in "user list"

  --hide-expired        Do not list expired user accounts
  --hide-disabled       Do not list disabled user accounts

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e84f8bdff584ae2d020e42bbd8b15444f097acd2">e84f8bdf</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2021-01-15T16:34:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Optionally hide disabled/expired accounts in "group listmembers"

  --hide-expired        Do not list expired group members
  --hide-disabled       Do not list disabled group members

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Jan 15 16:34:11 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8291c13f820f008a99df77394cb75fffd6add589">8291c13f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-15T20:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: Fix cephwrap_mkdirat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/30d985759d1f6bce2dde0d665de66e65abd11c43">30d98575</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-15T20:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: Fix cephwrap_mknodat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/163a6802b64888b9f810a0e2d32694dc9f1c67a0">163a6802</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-15T20:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: glusterfs: Fix missing END_PROFILE() in mkdirat() return.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/30af87f46f91b3175d51908b8c77e6ee178145f3">30af87f4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-15T20:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: glusterfs: Fix vfs_gluster_mknodat() to cope with a real dirfsp..

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebcde172de0886cb41741f9a5ad6ebaf36efeea6">ebcde172</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-15T20:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Move creation of parent_fname out of lp_inherit_permissions() clause in smb_unix_mknod().

We will need this for the upcoming openat_pathref_fsp() use.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/77fc6894c1c507d242352d0fd67f141f7f5ce102">77fc6894</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-15T20:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change smb_unix_mknod() to use a real directory fsp for SMB_VFS_MKNODAT().

New VFS change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5feabb64de76b87b60847270d03f344f09bae6eb">5feabb64</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-15T20:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: update status of SMB_VFS_MKNODAT()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/33e1f3cafebcad1e5d79360bf1fd320fe9cc09bd">33e1f3ca</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-15T20:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pysmbd: use real dirfsp for SMB_VFS_MKDIRAT()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a11c8f7134bf78bc5b46cfb9ec602465ad66d00">2a11c8f7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-15T20:56:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: update status of SMB_VFS_MKDIRAT()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b96c2cf0199495b32dbdce5c833a0b64a9c4bd5d">b96c2cf0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-15T22:01:55+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: directory enumeration is now handle based

Remove obsolete description. Also remove SMB_VFS_STATX() as I don't see a need
for that atm.

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jan 15 22:01:55 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c8e8ea23097df7b1c1c596f8dd99ab2a59afe3a4">c8e8ea23</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-17T04:43:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: Fix cephwrap_symlinkat() to cope with real directory fsps..

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/35f2c7641e6235fdad492f47b0685e89016a9cb1">35f2c764</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-17T04:43:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: glusterfs: Fix vfs_gluster_symlinkat() to cope with a real dirfsp.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f09ea26e6580b2c339c4de9374e024182fa9ca82">f09ea26e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-17T04:43:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change smb_set_file_unix_link() to use a real directory fsp for SMB_VFS_SYMLINKAT().

New VFS change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/009b52650d0f7e0bb2d840eb004c335f88b30cf8">009b5265</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-17T05:48:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: update status of SMB_VFS_SYMLINKAT()

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sun Jan 17 05:48:14 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6fd557974bf4b12aea67faffa104e2a67a85e3df">6fd55797</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-01-19T16:15:21+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Fix a typo in a debug message

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Jan 19 16:15:21 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/13485bcecf5c4b9246e20494ca8048491fa98f86">13485bce</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2021-01-21T13:57:30+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW.txt: Miscellaneous samba-tool changes

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/715b208b513035269a6523f8543c4bf328a7c0f2">715b208b</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2021-01-21T13:57:30+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/release.sh: always select the GPG key by it's ID

Signed-off-by: Karolin Seeger <kseeger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38a278b1afedd6c0a6de0fd4f08008e83f8597a9">38a278b1</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2021-01-21T13:57:45+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ReleaseKey: add GnuPG key transition statement for the Samba release key

Signed-off-by: Karolin Seeger <kseeger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/80d14464141e9c0395ca39e16ca5010ad09355eb">80d14464</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2021-01-21T13:58:22+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add release notes for Samba 4.14.0rc1.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/60cae14db1bbabe8459bb19e01f090303920bedc">60cae14d</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2021-01-21T13:58:22+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Disable GIT_SNAPSHOT for the 4.14.0rc1 release.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17c3e4a7769c5947be9545039c7b7ed9c02914f7">17c3e4a7</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2021-01-21T13:58:22+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to 4.15.0pre1...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff16c74ee2be501427f6d7b97eb75bc4a1280cf8">ff16c74e</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2021-01-21T13:58:22+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Start release notes for Samba 4.15.0pre1.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1052314dcd05738f29d1ae85a5a4b8eaa4babe3d">1052314d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-21T13:35:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:adouble: rewrite ad_open_rsrc() as adouble_open_rsrc_fsp() using create_internal_fsp()

"._" AppleDouble files are hidden by vfs_fruit by default, so there's no
need to go through a full SMB_VFS_CREATE_FILE() for them.

They don't need an smbXsrv_open_global.tdb entry nor a locking.tdb
entry, so we just open them with fd_openat().

This avoids a recursion deadlock in get_share_mode_lock() when closing
the ':AFP_Resource' stream.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/db743ab005bc7671d4fb0f5bea895c1097b707c5">db743ab0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-21T13:35:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">share_mode_lock: DEBUG/ASSERT recursion deadlock detection

This situation should never happen!

The known trigger is fixed with the change to adouble_open_rsrc_fsp()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c45a8d753d3a415d2a8038d1327276ecb972b036">c45a8d75</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-21T13:35:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:adouble: allow ad_fget/ad_get_internal to be used with a backend fsp

Up to now we only passed in stream fsp, but that will change shortly.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d62c670c3dd33eafc515ee92be177d1ddcb7b0a9">d62c670c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-21T13:35:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:adouble: add adouble_open_from_base_fsp()

For now we only support ADOUBLE_RSRC, but that might change in future.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/94799dc8e61126f0bdd566e0d054424aebd9d477">94799dc8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-21T13:35:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: let fruit_open_rsrc_adouble() return errno = EISDIR

That hopefully makes the check that ':AFP_Resource' can't
be created on directories.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0b8c6e736afbec7ea1f69219c54a33031db3b8d9">0b8c6e73</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-21T13:35:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: add fruit_get_complete_fio() helper

This will make it easier to hide some fsp extension later.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/480516e3b850035d188b8dab8490c63e0a7afe80">480516e3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-21T14:47:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: make use of adouble_open_from_base_fsp(ADOUBLE_RSRC) in fruit_open_rsrc_adouble()

The key is that we return a fake_fd to the caller and only open
the '._' file in the background.

The next vfs backend should only see the fsp from
adouble_open_from_base_fsp, while the vfs backends above
should only see the fake_fd.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Jan 21 14:47:53 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e6af33960c842f2a6a8abaf7d4b0ad7234ed0cd7">e6af3396</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: cap: Fixup cap_mknodat() to cope with translating dirfsp path.

Missed in my original fixes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4135a5cc81412ee10b7836647777240e3f61b5f3">4135a5cc</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: full_audit: Fixup smb_full_audit_mknodat() to log the dirfsp path.

Missed in my original fixes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/db5744f0abce2f886bc8f9ba422cdd18cdb2bf6d">db5744f0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: media_harmony: Fixup mh_mknodat() to correctly use the dirfsp path.

Missed in my original fixes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2f74056a916aef9925cae76016378b993560e22b">2f74056a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: shadow_copy2: Fixup shadow_copy2_mknodat() to correctly use the dirfsp path.

Missed in my original fixes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4c004d1633a3ea358d2c929d5a29ec475945efff">4c004d16</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: syncops: Fixup all uses of the SYNCOPS_NEXT_SMB_FNAME macro to correctly use the dirfsp path.

Remove the temp solution added to syncops_mkdirat()
as we now have a generic fix.

Missed in my original fixes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9884d178432a0552af4170b5c4e3df968570f9bd">9884d178</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: time_audit: Fixup smb_time_audit_mknodat() to log the dirfsp path.

Missed in my original fixes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/83686ff1e17273cf02b5ded418cd0b11e98548d8">83686ff1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: unityed_media: Fix um_mkdirat() to correctly look at the full pathname.

Missed in the original mkdirat fixes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e02b3484ad964702cd2c1e5b6b44d05f6f2325a8">e02b3484</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: unityed_media: Fixup um_mknodat() to correctly use the dirfsp path.

Missed in my original fixes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e1fc84138ca118c4187d87b7be4a7e6dd771dc4f">e1fc8413</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: use correct DNS domain name for wrapper hosts file

For some reason the join fails to register the DNS records when provisioning the
member env:

   Using short domain name -- SAMBA2008R2
   Joined 'IDMAPADMEMBER' to dns domain 'samba2008r2.example.com'
   DNS Update for idmapadmember.samba.example.com failed: ERROR_DNS_UPDATE_FAILED

At the same time the hosts file used by the wrappers contains the wrong fqdn. As
a result the test that the next commit is going do add fails due do the broken
DNS resolution:

...
UNEXPECTED(failure): samba3.blackbox.winbind_ignore_domain.test_winbind_ignore_domains_ok_krb5(ad_member_idmap_ad:local)
REASON: Exception: Exception: do_connect: Connection to idmapadmember.samba2008r2.example.com failed (Error NT_STATUS_UNSUCCESSFUL)
...

Checking DNS in the testenv, first the working record for the main DC:

testenv$ dig @10.53.57.64 dc7.samba2008r2.example.com +short
10.53.57.27

testenv$ bin/samba-tool dns query dc7 samba2008r2.example.com dc7 A -U Administrator%locDCpass7
  Name=, Records=1, Children=0
    A: 10.53.57.27 (flags=f0, serial=1, ttl=900)

Now the failing idmapadmember:

testenv$ dig @10.53.57.64 idmapadmember.samba2008r2.example.com +short

testenv$ bin/samba-tool dns query dc7 samba2008r2.example.com idmapadmember A -U Administrator%locDCpass7
ERROR: Record or zone does not exist.

Fixing the hosts file lets the tests work, fixing the broken DNS record
registration is a task for another day.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/81edc65e79aba121db800ec53aadd766e61a0001">81edc65e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: move config-reloading code to winbindd_dual.c

In preperation of forwarding MSG_SMB_CONF_UPDATED to all childs.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0c4497f8c66d0ea7c68d42c19e859932ebc3e2ac">0c4497f8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: set logfile after reloading config

lp_load_global() will overwrite whatever we've set with lp_set_logfile().

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/072ef48001710ed8326c83295f2d3cc301d27cfe">072ef480</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: handle MSG_SMB_CONF_UPDATED in the winbinds children

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/32197d21dabecaee9bc1d6cd557578892220fe4c">32197d21</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add a test for "winbind:ignore domains"

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/894caca79476d25a0268d89b2ad8a5758b7e31f3">894caca7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: move "winbind:ignore domain" logic to a seperate function

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4cefdf03fec91cdcf700922b1a5ceca02407e259">4cefdf03</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: check for allowed domains in winbindd_dual_pam_auth()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c17bc9c6115e4e92132f3cb912547eac78227938">c17bc9c6</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: check for allowed domains in winbindd_dual_pam_auth_crap()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4bc17600bc50fbc0e54d9d019d8db67001fc3eef">4bc17600</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: check for allowed domains in winbindd_dual_pam_chng_pswd_auth_crap()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/88e92faace7ec17810903166fa3433aa4842a4e3">88e92faa</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: check for allowed domains in winbindd_dual_pam_chauthtok()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da474ddd13d84f07f5da81c843e651844f33a003">da474ddd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: check for allowed domains in winbindd_pam_auth_pac_verify()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/df5fe2d835169161d3930acf1e9c750dd2bc64b6">df5fe2d8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-21T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/auth: implement "winbind:ignore domains"

Under the following conditions a user from an ignored domain might be able to
authenticate:

- using Kerberos

- successfully previous authentication so the idmap and name caches are filled

- winbind not running (fwiw, winbindd is mandatory on a domain member)

- nscd running with a cached getpwnam for the ignored user (otherwise auth fails
  because getpwnam fails)

- lookup_name() function being modified to look into the name cache before
  contacting winbindd. Currently it talks directly to winbindd and that will
  check the cache.

Currently, authentication will only fail because creating the local token for
the user fails because an LSA lookupname RPC call fails (because winbindd is not
running).

All of this makes a successfull authentication unlikelly, but that is more by
accident then by design.

To ensures that if winbindd is not running and as such winbindd itself can not
enforce the restriction, also implement the ignored domains check in the auth
system as a last line of defense.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14602
RN: "winbind:ignore domains" doesn't prevent user login from trusted domain

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/73528f26eea24033a7093e5591b8f89ad2b8644e">73528f26</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-21T22:56:20+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: remove legacy flags fallback

Some very old NT4 DCs might have not returned the account flags filled in. This
shouldn't be a problem anymore. Additionally, on a typical domain member server,
this request is (and can only be) send to the primary domain, so this will not
work with accounts from trusted domains.

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jan 21 22:56:20 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d8339056eef2845805f573bd8b0f3323370ecc8f">d8339056</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-22T11:32:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:idmap_hash: reliable return ID_TYPE_BOTH

idmap_hash used to bounce back the requested type,
which was ID_TYPE_UID, ID_TYPE_GID or ID_TYPE_NOT_SPECIFIED
before as the winbindd parent always used a lookupsids.
When the lookupsids failed because of an unknown domain,
the idmap child weren't requested at all and the caller
sees ID_TYPE_NOT_SPECIFIED.

This module should have supported ID_TYPE_BOTH since
samba-4.1.0, similar to idmap_rid and idmap_autorid.

Now that the winbindd parent will pass ID_TYPE_BOTH in order to
indicate that the domain exists, it's better to always return
ID_TYPE_BOTH instead of a random mix of ID_TYPE_UID, ID_TYPE_GID
or ID_TYPE_BOTH. In order to request a type_hint it will return
ID_REQUIRE_TYPE for ID_TYPE_NOT_SPECIFIED, which means that
the parent at least assures that the domain sid exists.
And the caller still gets ID_TYPE_NOT_SPECIFIED if the
domain doesn't exist.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Jan 22 11:32:46 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6c3faa188523bef0177c9411209d3ebf78ad159">d6c3faa1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d0981f5e78bc881ca6521932379c69604c33a38">7d0981f5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Avoid an "includes.h"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c5c9406b6098cddbb939b3abc5d9435a9a24f6b2">c5c9406b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Use hex_byte() in strhex_to_str()

I had completely missed that one in the last round...

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6d49638cc3553dc83914035301ddafab966180b">d6d49638</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: Simplify vfs_gluster_getwd()

Avoid a malloc, we allocate PATH_MAX chars on the stack elsewhere too

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ec4850d5205b0b568221124a628153a99e6c1e7f">ec4850d5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Slightly simplify dcesrv_bind()

We have already dereferenced call->conn in a variable, use that.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b417fd19675bb2d987abc768695c0b2feb1f637a">b417fd19</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Slightly simplify dcesrv_bind()

Factor out dereferencing conn->dce_ctx

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40e4958953c8518fa779286fd96ebf36517a5bdb">40e49589</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Make accept_recv() return struct samba_sockaddr

Avoid casting problems by using the samba_sockaddr union

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5a018c70e241bed007339ebe3890f2eaaf678ff2">5a018c70</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbcacls: Simplify sec_desc_parse()

Don't use SMB_CALLOC_ARRAY for just one element.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3fa00ac31a86cb43af05fa7f3f0bb15c13af44f8">3fa00ac3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Simplify sec_desc_parse()

Avoid CALLOC for just one struct dom_sids

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d4bbaee890416609add457aa9534152c61b3671d">d4bbaee8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Simplify add_ace()

Use ADD_TO_ARRAY()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f8f58301a11caf13a416ff98b1681c78bd9a3a0b">f8f58301</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbcacls: Simplify add_ace_with_ctx()

Use ADD_TO_ARRAY()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/90ea83b754be1d02fbb421bb07c9cb246ec637d9">90ea83b7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: make_sec_acl() copies the ace_list, make that const

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/791b477ca5ef8fdbdc7b144ad5d3c679644394a0">791b477c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sharesec: Simplify add_ace()

Use ADD_TO_ARRAY

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c3ea181e76206a865d04be836111dd40f462cfff">c3ea181e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Simplify sendfile_short_send()

Allocate 1024 bytes on the stack instead of using calloc

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b4077f7911dbe340eb1a5ba166049f381b9f4c24">b4077f79</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Fix a small memleak in epm_floor_string()

Use GUID_buf_string(), don't leak the output of GUID_string()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa9d4570b8af16a8ab4afe6ecc4cb8759a35c723">fa9d4570</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/181eb5728fd4d9fd1126c1a396c8c621e2edc4d0">181eb572</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/10d3a1c0689c82ee0774cadc376c6b071afe277e">10d3a1c0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f055d3f7db1c6eb47a5773f3cbe5bf8a047f3830">f055d3f7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Fix a "bool==true" condition

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e593f969607791571248dd3341089001f49362fa">e593f969</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T19:54:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Make accept_recv() return the listening socket

This is helpful if you are in a listening loop with the same receiver
for many sockets doing the same thing.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b9f6e25fada7847af1971862dbdd6ce6e7103b1a">b9f6e25f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-22T21:07:57+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Fix a gcc qualifier ordering warning

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jan 22 21:07:57 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/29503c5b99cf614550d751391b0ccbec553a8787">29503c5b</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-01-25T09:48:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix the build on FreeBSD

Commit 7d0981f5e78bc881ca6521932379c69604c33a38 broke the build on
FreeBSD:

[1589/3917] Compiling lib/util/util_runcmd.c
../../lib/util/util_runcmd.c:310:7: warning: implicit declaration of function 'WIFEXITED' is invalid in C99 [-Wimplicit-function-declaration]
                if (WIFEXITED(status)) {
                    ^
../../lib/util/util_runcmd.c:311:13: warning: implicit declaration of function 'WEXITSTATUS' is invalid in C99 [-Wimplicit-function-declaration]
                        status = WEXITSTATUS(status);
                                 ^
../../lib/util/util_runcmd.c:312:14: warning: implicit declaration of function 'WIFSIGNALED' is invalid in C99 [-Wimplicit-function-declaration]
                } else if (WIFSIGNALED(status)) {
                           ^
../../lib/util/util_runcmd.c:313:13: warning: implicit declaration of function 'WTERMSIG' is invalid in C99 [-Wimplicit-function-declaration]
                        status = WTERMSIG(status);
                                 ^
4 warnings generated.

[1590/3917] Linking bin/default/source4/dsdb/libsamdb-common-samba4.so
ld: error: undefined symbol: WIFEXITED
>>> referenced by util_runcmd.c
>>>               lib/util/util_runcmd.c.94.o:(samba_runcmd_io_handler)

ld: error: undefined symbol: WEXITSTATUS
>>> referenced by util_runcmd.c
>>>               lib/util/util_runcmd.c.94.o:(samba_runcmd_io_handler)

ld: error: undefined symbol: WIFSIGNALED
>>> referenced by util_runcmd.c
>>>               lib/util/util_runcmd.c.94.o:(samba_runcmd_io_handler)

ld: error: undefined symbol: WTERMSIG
>>> referenced by util_runcmd.c
>>>               lib/util/util_runcmd.c.94.o:(samba_runcmd_io_handler)
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Jan 25 09:48:09 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d0260cb8347455c0ebddcbccbac7fea732a5c44b">d0260cb8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-25T11:09:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: Remove an unused variable from zfs_get_nt_acl_common()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da3b00f5511d83bdc347eaff9c031390fea41802">da3b00f5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-25T12:16:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: Fix the FreeBSD build

fd_handle is private now

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Jan 25 12:16:11 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f0aa39017b62d46a99e73aa62e8208281382d479">f0aa3901</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-26T00:10:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Remove an unused function parameter

dcesrv_create_endpoint_sockets() doesn't need dce_ctx.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cc456ac882a59b134be34aced82c01d8fcce6d72">cc456ac8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-26T00:10:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Pass dcerpc_binding to dcesrv_create_ncalrpc_socket()

It does not need a dcesrv_endpoint.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e74d52085543eb0a5f2fe91ef5973f1eace84a5a">e74d5208</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-26T00:10:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Pass dcerpc_binding to dcesrv_create_ncacn_ip_tcp_sockets()

It does not need a dcesrv_endpoint.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1c889f4475efac2038f0c2ed7fe6c6dedb32b912">1c889f44</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-26T00:10:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Pass dcerpc_binding to dcesrv_create_ncacn_np_socket()

It does not need a dcesrv_endpoint.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/27987e313f9c8feab3a1451cca380dc706c96203">27987e31</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-26T00:10:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Factor out e->ep_description in dcesrv_create_endpoint_sockets()

e->ep_description is used a lot in this function.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/125c605ea5cc5afa50b8e1d3a8f718a997b57569">125c605e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-26T00:10:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Move socket creation to rpc_sock_helper.[ch]

dcesrv_create_ncacn_ip_tcp_sockets() already was there, move the rest
as well. This makes dcesrv_create_ncacn_np_socket() static to
rpc_sock_helper.c.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d4e46cae4c85151dde14f7fd1ad2bda065687cfc">d4e46cae</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-26T00:10:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Consolidate transport-specific socket creation

We had the transport switch in two places, put them together into
dcesrv_create_binding_sockets(). This makes the transport-specific
socket creation functions static to rpc_sock_helper.c.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/585b093ce861bbf06d29237481e6a0a748be9156">585b093c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-26T00:10:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Provide a meaningful errno if FD_CLOEXEC is missing

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17a8fa6d242ee9c898a1fdb5ab340223702fcced">17a8fa6d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-26T01:13:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Add CLOEXEC to the listening sockets

We don't want to leak them into exec'ed processes.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan 26 01:13:53 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c44dad3ac2eb36fc5eb5a9f80a9ef97183be26ef">c44dad3a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-26T02:55:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_error_inject: add unlinkat hook

Note that a failure is only injected if the owner of the parent directory is not
the same as the current user.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f3f8fdfbf10f690bc8d972a13d6f74f1fb0fb375">f3f8fdfb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-26T02:55:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add force_user_error_inject share in maptoguest env

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa1f09cda0a097617e34dd0a8b1b0acc7a37bca8">aa1f09cd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-26T02:55:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add a test that verifies unlink works when "force user" is set

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e06f86bbd93d024c70016e1adcf833db85742aca">e06f86bb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-26T04:04:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use fsp->conn->session_info for the initial delete-on-close token

There's a correctly set up session_info at fsp->conn->session_info, we can just
use that.

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

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan 26 04:04:14 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7114150f43751ab869323b91da83705b1e1ab465">7114150f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-26T20:05:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_aixacl: fix regression from f4c2f867f035fcbe3d547d5635d058b0aec7636a

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Jan 26 20:05:39 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/33d2071b99db8c6ead7074d4da4641965384124a">33d2071b</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-01-27T06:30:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Group Policy VGP Symlink Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7ac29c8eeb98b0d2dc51b58d375fb38c4366255e">7ac29c8e</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-01-27T06:30:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy Symlink Policy from VGP

This adds a Group Policy extension which applies
symlink policies set by Vintela Group Policy in the
SYSVOL.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b9cba18528d6ffa71bfea9a147d2b16f2e057dc2">b9cba185</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-01-27T06:30:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage symlink list command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7e70d72d97f73220c18b2509d5916e092933a536">7e70d72d</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-01-27T06:30:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for listing VGP Symbolic Link Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7b2ecefd55d11070a9ad4ed4dfd4862fca3ac8dd">7b2ecefd</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-01-27T06:30:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage symlink add command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3fc89829a94dfd1405eac4e6e5006781c4dfb5e7">3fc89829</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-01-27T06:30:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for adding VGP Symbolic Link Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5794c670ff71c0189bd7caa3e75b21b6884d36b0">5794c670</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-01-27T06:30:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage symlink remove command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/709a6d6491f24c9325977770d2ab274cf6485b84">709a6d64</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-01-27T07:32:03+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for removing VGP Symbolic Link Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jan 27 07:32:03 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1e4714940211b10ae6574770f15b7c6ed95f5f59">1e471494</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-27T09:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Makefile: add support for 'make testonly'

That skips any attempt to recompile before running the tests.
Some times that's useful for debugging and we'll
use it to split the build and test stages in autobuild and gitlab-ci
later.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/02301222386f2f08631d48d6e88c03cd1439325d">02301222</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-27T09:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: allow a prefix under /m/username/

We only want to match/replace only a '.' pathname component
not any single character pathname compoment!

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/719eccd445e9cc56a1c2988c4deeb39d301bcbff">719eccd4</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-27T09:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest:Samba4: avoid File::Path 'make_path' in setup_dns_hub_internal()

While spliting the build and test stages I hit strange permission
problems, when a parent directory is missing,
which can be avoided by using plain mkdir() on each level.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/15b39160406c3ef49c5f074793d3a55b3bf12e0e">15b39160</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-27T09:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/Samba4: make more use of get_cmd_env_vars()

This simplifies the code a lot and makes it much easier to
add new environment variables in future.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dce0bdc39ebb01ef4f5e35af0552451cfc29fd1b">dce0bdc3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-27T09:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/Samba4: correctly pass KRB5CCNAME to provision

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/568c7d38debaa5ccd90d6ea33c683de512de7005">568c7d38</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-27T09:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/Samba4: allow get_cmd_env_vars() to take an overwrite dictionary

This way we can use it on even in some special cases, where we combine
variables from multiple environments.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e0d9b656452ba6277cdc7f0abb2a06d3d284ef3a">e0d9b656</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-27T09:56:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:selftest: run test_smbclient_tarmode.pl with a fixed subdirectory name

$PREFIX is the the value from --with-selftest-prefix.

The result of the test should not depend on --with-selftest-prefix,
the 'long_path' test in particular.

If the path is to long smbclient (via libarchive) will only
put the full path into a PAX HEADER as 'path' keyword,
that's fine in general, modern tools handle it just fine.
But Perl's Archive::Tar don't handle it and only seems
truncated file names.

I have a fix for Archive::Tar, see:
https://git.samba.org/?p=metze/samba/wip.git;a=shortlog;h=c75037d0a06a96cdaca3f3b20a6d237e768b075b

But finishing that is a task for another day, for now I just want to remove
the dependency to --with-selftest-prefix.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d06f2c22d726a5ec7bd804d89154ee272ab1a679">d06f2c22</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-27T11:01:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:selftest: use plansmbtorture4testsuite() for 'rpc.echo'

This makes sure "--basedir=$SELFTEST_TMPDIR" is passed to smbtorture.

Tests should not create files in the build nor the source directory!

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Jan 27 11:01:32 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/86343125a55d184c15aa94cd01f4c8893a5a0917">86343125</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-27T17:07:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: make/use a copy of GNUPGHOME

That makes it possible to run tests from a read only source tree.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7a5df2deaaf62a7edd7c64251f75ab15abe94c07">7a5df2de</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-27T17:07:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: split out a rmdir_force() helper function

That also tries to re-add write permissions before removing.
In future we'll have jobs changing there directory to read-only.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9883ac45939f253a63f3ff312fc3912c5f02cdac">9883ac45</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-01-27T18:17:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: let cleanup() ignore errors from rmdir_force() by default

It's not useful to generate a python backtrace from within the cleanup code.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Jan 27 18:17:17 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1e47c04aade72934a832359fce0e11d328255a25">1e47c04a</a></strong>
<div>
<span>by Steven Price</span>
<i>at 2021-01-27T19:26:03+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">clitar: restore mtime on files

The documentation for smbclient states that when extracting a tar
archive:

  Restored files have their creation times (mtime) set to the
  date saved in the tar file.

However this behaviour was lost in commit 2945596011cc ("clitar.c: fresh
new compilable file.").

Add a call to cli_setatr() to set both the mtime and the mode of files
after they have been extracted.

Signed-off-by: Steven Price <steven@ecrips.co.uk>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Jan 27 19:26:03 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e4c8cd0781aef2a29bb4db1314c9fcd4f6edcecd">e4c8cd07</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-28T07:03:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: In conn_force_tdis_done() when forcing a connection closed force a full reload of services.

Prevents reload_services() caching the fact it might be
called multiple times in a row.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bc6aa4ed40020ff964cf39a40ab4121bbc403e19">bc6aa4ed</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-28T07:03:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: cap: Fixup cap_symlinkat() to cope with translating dirfsp path.

Missed in my original fixes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/50205189d80f7dd963e09c53521d7d2b5d692263">50205189</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-28T07:03:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: full_audit: Fixup smb_full_audit_symlinkat() to log the dirfsp path..

Missed in my original fixes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e4a3633694ba1b61fa21ca0cc3174c8a3981bdb7">e4a36336</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-28T07:03:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: media_harmony: Fixup mh_symlinkat() to correctly use the dirfsp path.

Missed in my original fixes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ec27c4c44d1e9035639e033689fa739518f17132">ec27c4c4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-28T07:03:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: shadow_copy2: Fixup shadow_copy2_symlinkat() to correctly use the dirfsp path.

Missed in my original fixes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1ede5601a34b945a5e1a0114539278ccc1086e62">1ede5601</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-28T07:03:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: syncops: SMB_VFS_SYMLINKAT only changes one directory so we can use the SYNCOPS_NEXT_SMB_FNAME macro directly.

Missed in my original fixes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4e9bb2d760a3bde81a1bd2ffcb052381e72c6635">4e9bb2d7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-28T07:03:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: time_audit: Fixup smb_time_audit_symlinkat() to log the dirfsp path..

Missed in my original fixes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b324626a3c3eff7573712da02a02358b0bb63287">b324626a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-01-28T08:10:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: unityed_media: Fixup um_symlinkat() to correctly use the dirfsp path.

Missed in my original fixes.

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Jan 28 08:10:18 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c454697eb30ce0bd2e4b835102673d7ed76f78bf">c454697e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: make fsp arg of vfs_[memctx|fetch]_fsp_extension const

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9838dd21a1b1458ebce8245e374b2732c49357bb">9838dd21</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_audit: support real dirfsps in audit_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6e6594ce48b0aba29c68689040babcfb5edaded">b6e6594c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_cap: support real dirfsps in cap_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/85878f71d808d57812a44161d38245b8b6054762">85878f71</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_catia: forward pathref fsp in catia_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a1c9782d23d9aa5a76604b0af4ddd82ad805ba20">a1c9782d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_catia: support real dirfsps in catia_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa058d166e006d02327add731d34567fa813d91e">fa058d16</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_ceph: support real dirfsps in cephwrap_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a51ed753edf868a967c7bfad1bd9f44bbf98fb0">2a51ed75</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: support real dirfsps in vfswrap_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f82e89c26edfa625bad600c66186215551f6dd3a">f82e89c2</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_extd_audit.c: support real dirfsps in audit_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1e5c760e82ecf54ce8c93659cedc82634f1c0542">1e5c760e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_full_audit: support real dirfsps in smb_full_audit_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/613ca5a7eee53256b81b3dee243ad205693cae47">613ca5a7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_glusterfs: support real dirfsps in vfs_gluster_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0e8137480e92ae45a6d2dcba98933df480bbef91">0e813748</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_media_harmony: support real dirfsps in mh_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f7a3eb36f14094169a9283b9706a8a8103de9b5f">f7a3eb36</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_posix_eadb: support real dirfsps in posix_eadb_unlink_internal()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/304e7955f1cfb2058b5bf0af6d5c083f669b3c66">304e7955</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_posix_eadb: support real dirfsps in posix_eadb_rmdir_internal()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/469ff4ad0e6b597d20bf894d9c1014589ec86f79">469ff4ad</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_posix_eadb: support real dirfsps in posix_eadb_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/65b0a0174621f7a4de372bb0c273ff1a817d5539">65b0a017</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_recycle: support real dirfsps in recycle_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e3e1170dcd426e2fe9ace434ed56d71d24993121">e3e1170d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_streams_depot: remove indentation

Makes the code easier to read.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d5ca1246dcb5b2457a1b95ca861f9eec711f2f19">d5ca1246</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_streams_depot: support real dirfsps in streams_depot_unlink_internal()

Also remove the smb_fname_base variable, just use full_fname. If
is_named_stream(full_fname)) returns false, full_fname->stream_name will be
NULL.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/070778011e733cc712f83bd74c8c23e72df9256e">07077801</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_streams_depot: support real dirfsps in streams_depot_rmdir_internal()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da8d14097b37942e271be54d0a29b5ab9c006296">da8d1409</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_streams_depot: support real dirfsps in streams_depot_unlinkat()

Now that our callees support real dirfsps, remove the assert.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d9f95b8cefe2d1c8020592434481025aa1045e2f">d9f95b8c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add synthetic_pathref()

Similar to synthetic_smb_fname(), but also opens a pathref fsp.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1032bf08dd32ddd2c8f7554f50374f22f4a36f99">1032bf08</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: use synthetic_pathref() in readdir_attr_meta_finderi_stream()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bc1070d241031474a9eda7f34031527e5b9b5920">bc1070d2</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: use synthetic_pathref() in driver_unlink_internals()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f1607cda38eb9b57567912ee595d5bd6ca8902a7">f1607cda</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use synthetic_pathref() in delete_all_streams()

This ensures backends can use the pathref fsp as needed.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/274ed8c012ccbcd67068d4cb4e144765f840c0d2">274ed8c0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_streams_xattr: use pathref in streams_xattr_unlink_internal()

All callers now pass an smb_fname that has a valid pathref fsp.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ffd6bcdf37c2965a0405d4826dab29c9ca88ffc2">ffd6bcdf</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: fix use after free in delete_invalid_meta_stream()

sname is used in the DBG_ERR message.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7bc983f5d5f11b62519ae023561eefe17f01105e">7bc983f5</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: use synthetic_pathref() in delete_invalid_meta_stream()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f81bec1b7f32e267302e84ead5a1340d3aafb95a">f81bec1b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_time_audit: support real dirfsps in smb_time_audit_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d31aef93701210852b82412338b19f81d56bcba">2d31aef9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_unityed_media: support real dirfsps in um_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/39f432ac5d5d672a7cc5bc8097b00ae92c9bbe61">39f432ac</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_virusfilter: support real dirfsps in virusfilter_vfs_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5abc1e7af653c44db70bf0f038944f617d85a2a1">5abc1e7a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_xattr_tdb: support real dirfsps in xattr_tdb_unlinkat()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e155cbe4a438c28ca5d43531e90c72b2fa0e7a0">8e155cbe</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_acl_common: support real dirfsps in acl_common_remove_object()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb90a8dc794357a7bb7b72d6efb743e9afc18bb4">cb90a8dc</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: use SMB_VFS_FREMOVEXATTR() in fruit_unlink_meta_netatalk()

Use the pathref fsp from the caller.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c231d8865598c430b9b526c932180b189976c1fb">c231d886</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: support real dirfsps in fruit_unlink_rsrc_stream()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/951fefeca83926e415a46b8a7f3a1c8d0be92ab6">951fefec</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: support real dirfsps in fruit_unlink_rsrc_adouble()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de85bccef2f70aa20a0e6781c8f7a8a3ff0be2ca">de85bcce</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: support real dirfsps in fruit_unlinkat()

Now that all callees are updated, we can remove the assert.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd42681fe9db0d5d293c0a8f981f2992c6350012">dd42681f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture: move deletion out of close loop in torture_smb2_maxfid()

A subsequent commit is changing the delete-on-close code in the fileserver to
open a handle on the parent directory of the file that is to be deleted.

If we've consumed all available handles, that open would fail causing a test
failure. As it's not really needed for the test semantics, don't set
delete-on-close when closing the handles, instead let the subsequent
smb2_deltree() do the cleanup.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6085f6c856e5da0bb703580d878e2302e360a902">6085f6c8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add parent_pathref()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9b8b62a84069d0daf2975b844bf18523a0b0510b">9b8b62a8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use parent_pathref() in mkdir_internal()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/65c90e623181be25b18e2c54032fc001f4dd7097">65c90e62</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use parent_pathref() in smb_unix_mknod()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/02dd66bf4b5be4fbe413c08827dc64168a2f882b">02dd66bf</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use parent_pathref() in smb_set_file_unix_link()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2995e0d57c6ad4d84232e0bbb66d3de2bee6c379">2995e0d5</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pysmbd: use parent_pathref() in py_smbd_mkdir()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0831369aef64fc9410c65876a974f703618cf93c">0831369a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use real dirfsp and atname when deleting file in close_remove_share_mode()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/007a352c7bf2f02d9b778606da470abff2972535">007a352c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: simplify recursive_rmdir()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/640683990e88388c39709cfc78c8f9078353d061">64068399</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add some space in recursive_rmdir()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/21859695fc5c9d7495e4549607e5f250b96e6862">21859695</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add dir_hnd_fetch_fsp()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a1ca5740aa68ee390dc912c5309599bb878de72a">a1ca5740</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use real dirfsp for SMB_VFS_UNLINKAT() in recursive_rmdir()

Also use synthetic_pathref() to ensure atname->fsp has a valid pathref as some
backends may make use of it.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d579394db38e3d21147df30d381f84fcc0fe8fa9">d579394d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: README.Coding fixes in rmdir_internals()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/60ddee64f6e6c178766325591e80d63a673ad111">60ddee64</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: simplify rmdir_internals()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/065f39a3d046f2f11e536608bc02c3b81af31a43">065f39a3</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: reduce indentation in rmdir_internals()

No change in behaviour. Best viewed with

$ git show -w

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f4592d1845ea208a1e49094432e32a97c94d6f3">5f4592d1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use real dirfsp with SMB_VFS_UNLINKAT() in rmdir_internals()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f6f4baf919424cd7ed05915eebf0ea2e6f989a0a">f6f4baf9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use real dirfsp for SMB_VFS_UNLINKAT() in create_msdfs_link()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1c60b516a1dbee862226ff9ce6da482d44234f70">1c60b516</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use real dirfsp for SMB_VFS_CREATE_DFS_PATHAT() in create_msdfs_link()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b3375098ac480410943cf6854161cd7f27c4ee72">b3375098</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: update status of SMB_VFS_CREATE_DFS_PATHAT()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5262e2804b6cef2fc2560fff84a1b07f8507e03">e5262e28</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use real dirfsp for SMB_VFS_UNLINKAT() in remove_msdfs_link()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f3db9b6b5cb86039f51b110104f6fe9f41ad874">0f3db9b6</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use real dirfsp for SMB_VFS_UNLINKAT() in py_smbd_unlink()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d2acd9629eb4c28577e4ba9a4c47bb635e99bea1">d2acd962</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libadouble: remove dirfsp arg from ad_convert()

ad_convert() doesn't really need the dirfsp in most places. Only
ad_convert_delete_adfile() would use it, so instead open a dirfsp internally for
this function in a later commit.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/00ec67eb0ca400ea447dbb8dff8a003744cbd53e">00ec67eb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libadouble: remove dirfsp arg from ad_convert_delete_adfile()

Going to open a dirfsp in the function itself in a later commit.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ba2e691fafcf18240da4f37e75c7fd531dd91a84">ba2e691f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T08:11:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libadouble: use real dirfsp in ad_convert_delete_adfile()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9f08ddf663d49c62104d2185257159a39d117616">9f08ddf6</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T09:16:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: update status of SMB_VFS_UNLINKAT()

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jan 28 09:16:30 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c8c2aef0ac613849d641e39193448f3e512caccf">c8c2aef0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-01-28T15:21:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: restore platform specific POSIX sys_acl_set_file() functions

92b149954237a445594c993b79a860c63113d54b removed SMB_VFS_SYS_ACL_SET_FILE() and
all the VFS module implementations. But sys_acl_set_file() in vfs_default calls
into sys_acl_set_file() in sysacls.c which calls back into platform specific
modules.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Jan 28 15:21:02 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9374313f0333a1501d6fb823dbed86fb136f0766">9374313f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libndr: Simplify ndr_print_GUID()

Fix a small memleak of the tmp GUID_string

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e3e297b259ff32094db6fb4114726201f08ca2a">2e3e297b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Add a NULL check to dcerpc_binding_build_tower()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a35c8a0ec233175fd677a40ad72ac707a5c45915">a35c8a0e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Add ndr_syntax_id_buf_string()

Same pattern as GUID_buf_string()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/243ce602129232e50313099f094cf09a848a2ab0">243ce602</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Use ndr_syntax_id_buf_string() in dcerpc_sec_vt_pctx_check()

"mem_ctx" is no longer needed

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eed1257268e96123d9655527071c00d0ab38f803">eed12572</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Use ndr_syntax_id_buf_string() in dcerpc_binding_set_abstract_syntax()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fcf60f155a24bea97395b7ee0200543440782a74">fcf60f15</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Simplify dcerpc_binding_set_abstract_syntax()

It might be a question of style, but I find it simpler this way.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/064eab8b2579290c8f363d68727ea4fedf4e6305">064eab8b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Avoid an unneeded #include

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/15934ace717a73e270c2e5ac4fb3d306885b195c">15934ace</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: Add a test for GUID_from_data_blob

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/522ef9e6a57ba46c6c097c088deb27fe12f3b300">522ef9e6</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: Add a test for ndr_syntax_id_from_string()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2b9ba992b610ebc600f573d8b3f46568d5347cec">2b9ba992</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Simplify parse_guid_string() and ndr_syntax_id_from_string()

Return "bool" instead of NTSTATUS, use hex_byte() instead of
read_hex_bytes(). And parse directly into a struct GUID instead of the
components. 99 lines less code.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c1614edf292ce907b5cecad56ad1643c51256269">c1614edf</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libwbclient: Fix wbcStringToGuid

The "x" sscanf conversion specifier requires an unsigned int. It is
likely that this is actually a uint32_t, don't rely on that.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/08757d213ee016dfa958d393ef41d7aa66756132">08757d21</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Introduce "goto nomem;" to dcesrv_endpoint_connect()

Avoid the control-flow changing NT_STATUS_HAVE_NO_MEMORY macro.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/895f459b4b2f347223f5b524d6b79090654cd1f4">895f459b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">epmapper: Simplify _epm_Map()

We have a routine to compare ndr_syntax_id, don't do it manually.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4df6c594c68dc5c2bfeb8e897f2226304da4848b">4df6c594</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Simplify dcerpc_binding_string()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce91a899a60059c9d495bf37ec5e3a8b4bf6afdc">ce91a899</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Simplify dcerpc_binding_string()

Make it follow a more conventional memory handling style for reallocs.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38ebfe2e1f16909700c60281f28d374448f0b801">38ebfe2e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">epmapper: Simplify endpoints_match()

strequal() deals fine with either string being NULL. We only have to
take of the case where both are NULL.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d512a099a7f80893ba8fbbff81e83b67dc08301">9d512a09</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Simplify dcesrv_check_or_create_context()

Use ndr_syntax_id_buf_string(), avoid a talloc/talloc_free

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7528b7886b9b4fb99816711ad4a21afffb20f3fa">7528b788</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/230a89332f51b21384d140f5f6d1fb25f593ccb4">230a8933</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix file_ploadv_send()/_recv()

When reading more than 1024 bytes, don't insert '\0' bytes in between
those chunks.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9c1d7632e35dc28061ff8bce51f162af35bfa4cb">9c1d7632</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Convert find_interface_by_uuid to search by syntax_id

All callers manually dissected the syntax id for this API.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ecd95fc55eb793cfbbe233bd91664b6d646d430f">ecd95fc5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T16:58:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Simplify find_interface_by_syntax_id()

Directly use ndr_syntax_id_equal() instead of duplicating it with
interface_match_by_uuid().

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e14fc159a2fab69612c6922406a9614a7c2d55ee">e14fc159</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-01-28T18:03:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Simplify find_interface_by_binding()

Use find_interface_by_syntax_id() instead of duplicating the loop.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Jan 28 18:03:53 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1e79ff444e159dbbb61accf6aa0d6e2393673131">1e79ff44</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-01T18:38:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add missing lock free and file close in error path.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Feb  1 18:38:23 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/02fe2d050d91a9571345eb4c03f170a98292d971">02fe2d05</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:gensec: Fix overflow issues in switch statement

error: overflow converting case value to switch condition type (-1765328344 to 2529638952) [-Werror,-Wswitch]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1ffacac547a8ce29c6696dda73991a8db7e34dfd">1ffacac5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:ldb: Add missing break in switch statement

error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/16088d6cab2e10252c1904b259eb6b4f69d74692">16088d6c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Add missing break in switch statement

error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8fb2378bdd7a7acf6edd7415a1fcfde2d6b5604">e8fb2378</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:printing: Add missing break in switch statement

error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b398bb47606fe5797ca840b92ca55d6930126b1">4b398bb4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server: Add missing break in switch statement

error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b549fdb6daf630b5fc23cabcd20d3402e35e2c6d">b549fdb6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Add missing break in switch statement

error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a531f8349422e0d85cc9ee3d0a43b3e94803db2f">a531f834</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Add missing break in switch statement

error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a87820093431ac1b5940c7b010553af9cbfced22">a8782009</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:ntvfs: Add missing break in switch statement

error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3c4dd384a138ff5bd2bef7829b1dd269e5f1bffd">3c4dd384</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:registry: Add missing break in switch statement

error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/546dbf6c92d19bd8712e47ca990abce2e110f96d">546dbf6c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:registry: Mark fall through switch statement

error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0d985d5f8e338c975ba020ad06bb244ac8a85e76">0d985d5f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:printing: Correctly mark fall through switch statements

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a47fdd9ebb19f2d4b874808b5fbda19dce950021">a47fdd9e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libndr: Use better and more clear check for empty flags

warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5d1eef269a1f56d08aa4456e3bf66622515f5c5e">5d1eef26</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:texpect: Check the format string of err()

error: format string is not a string literal [-Werror,-Wformat-nonliteral]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/53012b105edf96721500a9d29635eed9ae2a82de">53012b10</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:krb5_wrap: Check the format string of krb5_warnx()

error: format string is not a string literal [-Werror,-Wformat-nonliteral]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/878b4a71aa9c97ef247feccf9c4ea818d33d62d6">878b4a71</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Use C99 initializer for py_cli_notify_state_methods

error: missing field 'ml_meth' initializer [-Werror,-Wmissing-field-initializers]
        { NULL }
               ^

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d82f90b264e5918fe9f9a483cd472fc9f95aae1">9d82f90b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T21:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Disable detection of ODR violations

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0a93f5367bc55ee14f13da5bdb812333c9d9e9f3">0a93f536</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-01T22:55:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Fix invalid memory access in posix_sys_acl_blob_get_fd()

We are handing down an out of scope buffer.

Found by AddressSanitizer.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Feb  1 22:55:10 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/30450bff66982eb7295d7a00be42052cbd6ad596">30450bff</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-02T18:48:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:subunit: Use UTC timezone from datatime module

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/273a3c089d6ada16a9101ab81f901f99c1d55485">273a3c08</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-02T18:48:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Directly import python-iso8601

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/35459b753aff4dfa7c7e7c70c9783844705a42c0">35459b75</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-02T19:53:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add support for python-dateutil >= 2.7.1

This uses the more widespread python-dateutil instead of python-iso8601.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Feb  2 19:53:35 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/068f4a977f0539f790809d580bf22d2362032e3d">068f4a97</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-02T19:54:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: tests: Add regression test for bug 13992.

Subtle extra test. Mark as knownfail for now.

'^ user1$' must appear MORE THAN ONCE, as it can read more than one
share. The previous test found user1, but only once as the bug only
allows reading the security descriptor for one share, and we were
unlucky that the first share security descriptor returned allows
user1 to read from it.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/faba89ad59eaa189f325be17377645862080a965">faba89ad</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-02T19:54:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Ensure we disconnect the temporary SMB1 tcon pointer on failure to set up encryption.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dc701959cad7bf15aa47cad6451212606520f67f">dc701959</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-02T19:54:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbtorture3: Ensure we *always* replace the saved saved_tcon even in an error condition.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f9ca91bd293e9f2710c4449c5d4f5d016a066049">f9ca91bd</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-02T19:54:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbtorture3: Ensure run_tcon_test() always replaces any saved tcon and shuts down correctly even in error paths.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e93e6108837eff0cebad8dc26d055c0e1386093a">e93e6108</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-02T19:54:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Change the SMB1-only UID-REGRESSION-TEST to do an explicit copy of the tcon struct in use.

For this test only, explicitly copy the SMB1 tcon struct,
don't use cli_state_save_tcon()//cli_state_restore_tcon()
as these calls will soon change to just manipulate the pointer
to avoid TALLOC_FREE() on the tcon struct which calls
destructors on child pipe data.

In SMB1 this test calls cli_tdis() twice with an invalid
vuid and expects the SMB1 tcon struct to be preserved
across the calls.

SMB1 cli_tdis() frees cli->smb1.tcon so we must put back
a deep copy into cli->smb1.tcon to be able to safely call
cli_tdis() again.

This is a test-only hack. Real client code
uses cli_state_save_tcon()/cli_state_restore_tcon()
if it needs to temporarily swap out the active
tcon on a client connection.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f80f5f9046b64a9e5e0503b1cb54f1492c4faec">4f80f5f9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-02T21:05:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: cli_state_save_tcon(). Don't deepcopy tcon struct when temporarily swapping out a connection on a cli_state.

This used to make a deep copy of either
cli->smb2.tcon or cli->smb1.tcon, but this leaves
the original tcon pointer in place which will then get
TALLOC_FREE()'d when the new tree connection is made on
this cli_state.

As there may be pipes open on the old tree connection with
talloc'ed state allocated using the original tcon pointer as a
talloc parent we can't deep copy and then free this pointer
as that will fire the destructors on the pipe memory and
mark them as not connected.

This call is used to temporarily swap out a tcon pointer
(whilst keeping existing pipes open) to allow a new tcon
on the same cli_state and all users correctly call
cli_state_restore_tcon() once they are finished with
the new tree connection.

Just return the existing pointer and set the old value to NULL.
We know we MUST be calling cli_state_restore_tcon() below
to restore the original tcon tree connection pointer before
closing the session.

Remove the knownfail.d entry.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Feb  2 21:05:25 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12ca2e37b753db1f39a16f3c6f8c7260abde9085">12ca2e37</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-03T04:19:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Fix libasan preload

libasan.so needs to be the first library which is preloaded or it wont
work.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/144b32ae01fb388865737d6c92fd77fe0cecad81">144b32ae</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-03T04:19:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc:mit: Fix heap-use-after-free

We need to duplicate the string as lp_load() will free the s4_conf_file
pointer and set it again.

Found with AddressSanitizer.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1ec1c35a3ae422720df491f5555c9bc787c9944c">1ec1c35a</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-02-03T04:19:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Confirm that we fix any errors on the Deleted Objects container itself

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da627106cdbf8d375b25fa3338a717447f3dbb6e">da627106</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-02-03T05:29:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: Check Deleted Objects and reduce noise in reports about expired tombstones

These reports (about recently deleted objects)
create concern about a perfectly normal part of DB operation.

We must not operate on objects that are expired or we might reanimate them,
but we must fix "Deleted Objects" if it is wrong (mostly it is set as being
deleted in 9999, but in alpha19 we got this wrong).

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Feb  3 05:29:11 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bebbf621d6052f797c5cf19a2a9bbc13e699d3f0">bebbf621</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-03T09:53:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Add basic memcache unit test

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/00543ab3b29e3fbfe8314e51919629803e14ede6">00543ab3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-03T09:53:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Add cache oversize test for memcache

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0bdbe50fac680be3fe21043246b8c75005611351">0bdbe50f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-03T10:57:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Avoid free'ing our own pointer

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

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Feb  3 10:57:01 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5572ae296e720a00ab438d7b50cfc458af631f69">5572ae29</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CI: verify a symlink has FILE_ATTRIBUTE_NORMAL set

Not that it really makes sense to set FILE_ATTRIBUTE_NORMAL for symlinks in
POSIX client context, but that's what we had before 4.14.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d78964c40b5ca5ee0658c46d492b3dcd6f6b4b94">d78964c4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: don't overwrite _mode if neither a msdfs symlink nor get_dosmode is requested

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f30c04462fb1536323606dd4216fe5e32458ba5">4f30c044</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libadouble: stat path before calling openat_pathref_fsp() in ad_unconvert_open_ad()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ab82dbc5ae43cdb661bf49627a84926163bc8998">ab82dbc5</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: stat path before calling openat_pathref_fsp() in unlink_internals()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e636e20f90d4ee221ce6e20cab15a3cecb03850f">e636e20f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: fix a resource leak in create_file_unixpath()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa0ef26d1e9dcef0bcb47974d7cf60db922d7d08">aa0ef26d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: call stat before openat_pathref_fsp() in create_file_unixpath()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/91edc50dc0aaa82d9ede7a7f8cf0f63312eb8503">91edc50d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove a redundant fstat()in create_file_unixpath()

openat_pathref_fsp() deep inside already calls fstat().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c31fe2f9e7d65409229b7ad73418793ab34d359d">c31fe2f9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: stat path before calling openat_pathref_fsp() in open_pathref_base_fsp()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b3a0d6a128989b593f135c425dd59351d13b6120">b3a0d6a1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: move smb_fname creation to earlier point in smbd_dirptr_get_entry()

No change in behaviour. Makes way for the next commit adding additional logic.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/87e97e1b519159b5f4c5ed4ef684783855e79ac3">87e97e1b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: stat path before calling openat_pathref_fsp() in smbd_dirptr_get_entry()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/48bc561d1a8bb5ce99663b58a2e5e9aa344af96a">48bc561d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: expect valid stat info in openat_pathref_fsp()

We're never creating files here, so instead of waiting for the underlying open()
to return ENOENT, just check that we have valid stat info, expecting all callers
to have called SMB_VFS_[L]STAT() on the smb_fname.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cd3d970c84b340630745bc555a86ac2d1306baac">cd3d970c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: simplify error codepath in openat_pathref_fsp()

No change in behaviour: the cleanup code at the fail label does the same as the
cleanup this patch removes. It has an extra fd_close() that is not existing in
the removed cleanup, but as fsp->fd is -1, that's a noop.

And when previously the

                return NT_STATUS_OBJECT_NAME_NOT_FOUND;

returns an an explicit status code, when now doing goto fail status will also be
set to NT_STATUS_OBJECT_NAME_NOT_FOUND.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/977f37643b223e164fbbf6c3ba1d37aa546ddb7d">977f3764</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: don't return NT_STATUS_STOPPED_ON_SYMLINK in openat_pathref_fsp()

NT_STATUS_STOPPED_ON_SYMLINK is returned when trying to open a symlink, most
callers are not interested in this.

Some callers that would want to know whether openat_pathref_fsp() failed
specifically on a symlink are setup_close_full_information(),
smbd_dirptr_get_entry(), unlink_internals() and filename_convert_internal(), so
we fix those callers to handle the symlink case themselves.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6e7142ba6c79c9c6f3ce299b6c7dd476cc229e6b">6e7142ba</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from openat_pathref_fsp()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0d454f34db52d2903c830e1f1acd56a9a1dca04b">0d454f34</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from get_file_handle_for_metadata()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5479f76e174cf7454da2bad3f903070a8de84043">5479f76e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from synthetic_pathref()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fb82fac0f554ad140e0b0fd7efac84a7c3dfa2e2">fb82fac0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from parent_pathref()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f121374514ed6957b9c6d022a17cc4e5c8aea9a6">f1213745</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from open_streams_for_delete()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/300d851a89248ac9b220fbac55cd5daaebb7fbca">300d851a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from create_file_unixpath()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6c2dad2aaef5eab75f3fe14219e9eca6724d6c99">6c2dad2a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from reply_search()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f21eb28cb8737d3125e4c0c65545f93dd7ea863f">f21eb28c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from rename_internals()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8999c7d69c6312c7e7bef93417ecef93ddbdabf5">8999c7d6</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from rename_internals()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/544767f72df366baf50be6d841e36dbcbe9f4065">544767f7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from copy_file()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5898f5769e0b126cca33ba0002f1e4c3eb80d21a">5898f576</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T06:22:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from copy_file()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1b3d70e9ae95892a70bd0f46ae5bf733c1bc9548">1b3d70e9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-05T07:26:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove NT_STATUS_STOPPED_ON_SYMLINK status code check from call_trans2findfirst()

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 Feb  5 07:26:44 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6a81f4317744c5ca82e9291ac172d1fb5b224442">6a81f431</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-02-08T22:33:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Actually wait for record to migrate to lmaster node

This test has been failing with:

  Wait until record is migrated to lmaster node 0
  <30|BAD: node 0 is not dmaster
  dmaster: 1
  rsn: 8
  flags: 0x00010000 MIGRATED_WITH_DATA
  data(6) = "value1"
  *** TEST COMPLETED (RC=1) AT 2021-02-02 06:18:48, CLEANING UP...

This should never happen.  If this really fails then the wait should
time out.

The problem is that wait_until() does:

  "$@" || _rc=$?

and vacuum_test_key_dmaster() currently calls ctdb_test_fail() on
failure, which causes the shell to exit.  Instead, pass a variant to
wait_until() that simply returns the correct status instead of
exiting.

An alternative would be to change the statement in wait_until() to do:

  ("$@") || _rc=$?

so it captures the exit.  However, this is a global change and
requires more thought.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f7ef066f7f51040eee2e1a43f5f218c25bc54761">f7ef066f</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-08T22:33:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Group Policy VGP Files Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0b66bf6512f49e199f08485de84ca2177a191be3">0b66bf65</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-08T22:33:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy Files Policy from VGP

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/926cdeb10f5d6af61f1836a90471a17b37d1fd13">926cdeb1</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-08T22:33:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage files list command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a786e30fdae7d96bccfcb2a0f44036b5e231bdc7">a786e30f</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-08T22:33:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for listing VGP Files Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a974cd94af8c2855ca8fa55968d5528333bfe620">a974cd94</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-08T22:33:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage files add command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6334307ae70ac51499ae0ed2a04eb646fd362f83">6334307a</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-08T22:33:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for adding VGP Files Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c1d67b27429837861c7eac0ed55a4aa69fbffb35">c1d67b27</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-08T22:33:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage files remove command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6f9172c9298889846725787727488235d368f24">d6f9172c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-08T23:36:57+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for removing VGP Files Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Feb  8 23:36:57 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/557b968b5a35e91262d65c40db79c81ce79f0d25">557b968b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-09T00:10:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "VFS: shadow_copy2: Fixup shadow_copy2_symlinkat() to correctly use the dirfsp path."

This isn't needed as the existing code will refuse a new name with
a non-zero twp in the target name.

This reverts commit ec27c4c44d1e9035639e033689fa739518f17132.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6aa371b39406aa93ff7a05737ef5f12f3493d992">6aa371b3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-09T00:10:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "VFS: shadow_copy2: Fixup shadow_copy2_mknodat() to correctly use the dirfsp path."

This isn't needed as the existing code will refuse a new name with
a non-zero twp in the target name.

This reverts commit 2f74056a916aef9925cae76016378b993560e22b.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/422da56fcb49f8c150c9ff068cfcbea1f9ade1a8">422da56f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-09T00:10:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: cap: Fix cap_linkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea027e314ab2e9fc62ece7ef77bc9d03942cad70">ea027e31</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-09T00:10:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: Fix cephwrap_linkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d6011e8c85d1cadf7ea951aa76a0dfc64017002">2d6011e8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-09T00:10:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: gluster: Fix vfs_gluster_linkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2952cfe0edaaec44ee1fbd1966fb9a50a9122399">2952cfe0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-09T00:10:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: full_audit: Fix smb_full_audit_linkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/035909ec590c1bdbfe3f21c5f1a0d47b74e55f17">035909ec</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-09T00:10:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: media_harmony: Fix mh_linkat() to cope with real directory fsps..

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/005cbeae174a94d981c56b73ec616e9598a7efc5">005cbeae</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-09T00:10:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: time_audit: Fix smb_time_audit_linkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a3f6495002d8022ee873d599305a4565ff276bc3">a3f64950</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-09T00:10:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: unityed_media: Fix um_linkat() to cope with real directory fsps..

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/11ea133e73e3157ec6fac4629e0438fa3118dbca">11ea133e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-09T00:10:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: syncops: Fix syncops_linkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4fd18c2755691f1343788d4a87ce000c7d84456f">4fd18c27</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-09T00:10:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Centralize error exits to an 'out' label in hardlink_internals().

Makes it easier to add TALLOC_FREE's that are always called.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f4a013677d499b91a103c4f33d8f200e27e44aa">6f4a0136</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-09T00:10:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change hardlink_internals() to use a real directory fsp for SMB_VFS_LINKAT().

New VFS change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7fe39391c053ecd0cc2acc632498b9b93e9edc2a">7fe39391</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-09T01:15:58+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: update status of SMB_VFS_LINKAT()

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Feb  9 01:15:58 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/20f0a3b10981873dde5c1bc76d7f3a26acc605da">20f0a3b1</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2021-02-09T02:05:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pam_winbind: improve pam message if minimum password age strikes

if minimum password age strikes we should output the next possible password
change time and not other password restriction policies.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1691cd7738b89bec284646bc81f338d8027bfc79">1691cd77</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-02-09T03:08:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:testparm: Warn about 'server schannel = no'

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Feb  9 03:08:42 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f9ed4f7028a5ed29026ac8ef1b47b63755ba98f8">f9ed4f70</a></strong>
<div>
<span>by Paul Wise</span>
<i>at 2021-02-09T03:09:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">HEIMDAL: krb5_storage_free(NULL) should work

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

Signed-off-by: Paul Wise <pabs3@bonedaddy.net>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Original-author: Nicolas Williams <nico@twosigma.com>
(cherry-picked from heimdal commit b3db07d5f0e03f6a1a0a392e70f9675e19a6d6af)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/29fa97390d0ef4ff993dfbb2643467c12dd31e76">29fa9739</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2021-02-09T03:09:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3 lib system: Fix clang compilation error

Fix clang compilation error:
   error: format string is not a string literal [-Werror,-Wformat-nonliteral]

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6816135a2cdbc91c079de2716a333d774a9adbc5">6816135a</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2021-02-09T04:16:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3 lib system: Change signature of sys_proc_fd_path

It's always called with sizeof(buf)

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Feb  9 04:16:43 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e9c1cc4e74be01c963a704ee9ed9466b1420da6d">e9c1cc4e</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-09T20:22:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Group Policy OpenSSH for VGP

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ddf1cbd345237162ac19596ac1db787e0d77de65">ddf1cbd3</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-09T20:22:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy OpenSSH settings from VGP

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/61394e5dd10112190c4af875eed6fcc071ca3920">61394e5d</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-09T20:22:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage openssh list command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3c47a81472b71642ef92522a27cbd2c14865bf43">3c47a814</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-09T20:22:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for listing VGP OpenSSH Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be8f0d8ddbb9a145bd171618ef7183b9ed648203">be8f0d8d</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-09T20:22:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage openssh set command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d052968260582290b3ced8f951d75603f642979d">d0529682</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-09T21:24:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for setting VGP OpenSSH Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Feb  9 21:24:14 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cc6102915b20088cfadb9d63b3c4784d8b3d9717">cc610291</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-02-10T14:00:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">examples/fuse/smb2mount: fix compiler warning on ubuntu20.04 with -O3

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9178e72dccc548f2e2e573f97f78a834f35b142d">9178e72d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-02-10T14:00:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/gdb_backtrace: use 'unset LD_PRELOAD'

We may have bugs in socket_wrapper and others, we don't want
to inject these bugs into the debugger.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ab943babc3eb454186558f6e863996dfcf7a20ea">ab943bab</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-02-10T14:00:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party: Update socket_wrapper to version 1.3.2

This brings support for fd-passing of INET sockets.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d8fa464a2dfb11df4e1db4ebffe8bd28ff118c75">d8fa464a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-02-10T14:00:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:pysmbd: fix fd leak in py_smbd_create_file()

Various 'samba-tool domain backup' commands use this and will
fail if there's over ~1000 files in the sysvol folder.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/df75d82c9de6977c466ee9f01886cb012a9c5fef">df75d82c</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2021-02-10T15:06:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">classicupgrade: treat old never expires value right

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Feb 10 15:06:49 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/551532d007970ab11dca71b532754728a6a78496">551532d0</a></strong>
<div>
<span>by xzhao9</span>
<i>at 2021-02-10T21:00:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:registry Renaming get_charset() to smbreg_get_charset()

Rename to smbreg_get_charset() function to avoid naming conflict
with MariaDB.

Signed-off-by: xzhao9 <i@xuzhao.net>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Feb 10 21:00:28 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c27c97ab552d18de00ec4eb9cbc4da457daa15a6">c27c97ab</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-11T17:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test that empty Security sections are removed

Ensure that empty sections are removed when
calling samba-tool gpo manage security set.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff4279575f271fbbf04892c79e038d9fbaa96da3">ff427957</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-11T17:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Ensure empty Security sections are removed

Failing to remove the empty section causes tests
to fail, and is also just bad practice.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/55d432248c37071b8206133154edcc4dec7134f7">55d43224</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-11T17:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test that Security gpext rsop lists only own policies

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8fa53985920f16b0e79c4386e90bfd1bb25be347">8fa53985</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-11T18:28:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Security gpext rsop list only own policies

The rsop should only list the policies from
that extension, not from all policies in the
same file.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Feb 11 18:28:09 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6b6925347ca0606179f20640cbb62afc9a8fb51">b6b69253</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2021-02-12T00:10:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch pam_winbind: Fix clang compilation error

Fix clang compilation error:
   error: format string is not a string literal [-Werror,-Wformat-nonliteral]

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Feb 12 00:10:50 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca6cad5f00b151702756498d2f79fd059ab75655">ca6cad5f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-13T00:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: expand_msdfs: Since we moved to SMB_VFS_READ_DFS_PATHAT() this module has looked at the wrong function.

Fix it to work as a redirection of SMB_VFS_READ_DFS_PATHAT()
instead of SMB_VFS_READLINKAT().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/545ba86581e1b981f9353f92de168b332b5ef35d">545ba865</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-13T00:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: cap: Fix cap_readlinkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7933ee403b6c51eb6a2b055ae1064c07ae3d70fd">7933ee40</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-13T00:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: Fix cephwrap_readlinkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e256f508c4529a6ba61945029de525cbc0db6b2">3e256f50</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-13T00:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph_snapshots: Fix ceph_snap_gmt_readlinkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b500162b0118b61c1ef702f489dc83f1ce3e2571">b500162b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-13T00:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: full_audit: Fix smb_full_audit_readlinkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2786a564e6afcc678347b616ab2ab0a8cca58d18">2786a564</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-13T00:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: glusterfs: Fix vfs_gluster_readlinkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/89f116689da5a9ff4e62d650c7cbadc1f3c6a13e">89f11668</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-13T00:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: media_harmony: Fix mh_readlinkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7973e09fd113360a5cb019666a7988fd8a639c37">7973e09f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-13T00:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: shadow_copy2: Fix shadow_copy2_readlinkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b1ddc4bb65357205fe7a875a66006854df33842d">b1ddc4bb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-13T00:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">3: VFS: snapper: Fix snapper_gmt_readlinkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9077983ff9114bac227350b60c388bc19cf22bd0">9077983f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-13T00:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: time_audit: Fix smb_time_audit_readlinkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e884793cf280fe21cfe4c9d003d74342c50f670f">e884793c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-13T00:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: unityed_media: Fix um_readlinkat() to cope with real directory fsps.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/92ec8a009703884627a67aa7492c221f1723cda4">92ec8a00</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-13T00:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Factor out the SMB1 UNIX extensions read symlink code into a function.

Will make it much easier to convert to a dirfsp later.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0cbb940080940830acdc4611f75075058fa0468b">0cbb9400</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-13T00:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change smb_unix_read_symlink() to use a real directory fsp for SMB_VFS_READLINKAT().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d05ecd26b943d64405643a99ec7ceb9fb73dcb37">d05ecd26</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-02-13T01:19:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: update status of SMB_VFS_READLINKAT()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Feb 13 01:19:49 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7c2f2d31c396e18ccce326ad3f5619619973738d">7c2f2d31</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-13T23:50:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test that VGP Sudoers policy handles group principals

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/35cf85d213418f8f153306dd2d3f1207b959d122">35cf85d2</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-13T23:50:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: VGP Sudoers policy must handle group principals

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca60a0cb1751788d8cc688ad70f690ad099b2193">ca60a0cb</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-13T23:50:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage vgp sudoers list command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/777173923c3fafcddf4516f13434924707ef8bc7">77717392</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-13T23:50:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Replace gpo command for listing Sudoers Group Policy

Replace it with the VGP command for listing
sudoers entries in an xml file.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7f3c2b69befb60fc18586d4dc1bd941c220fc6da">7f3c2b69</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-13T23:50:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test VGP sudoers add command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/30e0ba2ed893d53f2dd4c64a03e4a55c942095f4">30e0ba2e</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-13T23:50:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Replace gpo command for adding Sudoers Group Policy

Replace it with the VGP command for adding
sudoers entries in an xml file.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/430e065fa92b742c2ba7eb5f55f1da54678a3a2c">430e065f</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-13T23:50:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage vgp sudoers remove command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/09a8f409e598e94e3595843c52912b6906c73a84">09a8f409</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-14T00:53:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Replace gpo command for removing Sudoers Group Policy

Replace it with the VGP command for removing
sudoers entries from an xml file.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sun Feb 14 00:53:41 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8c1fd86db873f0326faf1cefa731a03709f8ac7f">8c1fd86d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-17T18:48:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: use correct error out in file_version_is_newer() when openat_pathref_fsp() fails

Fixes a regression introduced by cbe25e1777d0c43c21e8acc2cea79fd03fdaf2ea: if
there's no existing file, openat_pathref_fsp() will fail with
NT_STATUS_OBJECT_NAME_NOT_FOUND which must be handled the same way it is done by
the SMB_VFS_CREATE_FILE() call below.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/70063c523bff5e471eac2b011b243c5aa0c4bee1">70063c52</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-17T18:48:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: use correct error out in file_version_is_newer() when openat_pathref_fsp() fails

Fixes a regression introduced by ef5e913bca584f0232d5bfff14df4ccba2dda35c: if
there's no existing file, openat_pathref_fsp() will fail with
NT_STATUS_OBJECT_NAME_NOT_FOUND which must be handled the same way it is done by
the SMB_VFS_CREATE_FILE() call below.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/718f7b1a84f1c6eb35d52232a8573370f45add56">718f7b1a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-02-17T19:53:00+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: use correct error out in get_correct_cversion() when openat_pathref_fsp() fails

Fixes a regression introduced by a74f0af1a91fe0bbc68e4d41d65f43ec383ae8bf: if
there's no existing file, openat_pathref_fsp() will fail with
NT_STATUS_OBJECT_NAME_NOT_FOUND which must be handled the same way it is done by
the SMB_VFS_CREATE_FILE() call below.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Feb 17 19:53:00 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5b7c2c3b1abbad5ae6550b99496e251061585c90">5b7c2c3b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-02-22T14:45:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/gdb_backtrace: add an off switch

Sometime you know a test is going to crash and produce a LOT of
backtrace, and you already know what it will look like. For those
times you can set

PLEASE_NO_GDB_BACKTRACE=1

and there will be no backtrace, which can save quite a bit of time and
thousands of lines of log file. (In particular, backtraces of Python
programs can take over a minute to complete).

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: David Mulder <dmulder@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/80faba100dbf12d706a63e1a27758aefefae7793">80faba10</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-02-22T14:45:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest:segfault: avoid gdb_backtrace on knownfail

We know that test_net_replicate_init__3() segfaults. It is a knownfail
and we don't need to see the gdb backtrace every time.

This saves nearly two minutes on `make test TESTS=segfault`.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: David Mulder <dmulder@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9e19b148f6c9d0800b08fe221c7f88a5d3ecf52d">9e19b148</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-02-22T14:45:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: preforkrestartdc doesn't need gdb-backtraces

There are tests in this environment that kill processes with SEGV
signals, which causes a backtrace that is entirely spurious from a
debugging point of view.

We can turn that off, saving processor time and moments of developer
confusion.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: David Mulder <dmulder@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f154fe8d95451e77da56d86c4b5895f2f942b936">f154fe8d</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-02-22T14:45:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/segfaults: drop a useless line

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: David Mulder <dmulder@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bc7224fbc7902e68b104fb5938c8348a11647be5">bc7224fb</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-02-22T14:45:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/segfault: fix the rpc.echo test

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: David Mulder <dmulder@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e49a0b444ab5dfd5dc4a82fae2e5939cc9cfe5a4">e49a0b44</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-02-22T15:50:55+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: remove some 'if PY3's in tests

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: David Mulder <dmulder@suse.com>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Mon Feb 22 15:50:55 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b13b2d8c3ec2a64ee56ce03bc9130b628a4c0fcb">b13b2d8c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-24T20:51:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Group Policy VGP Startup Script Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/15cec2ac4d7af0fa82c21d0109607aa63c86c15a">15cec2ac</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-24T20:51:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy Startup Scripts from VGP

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/329b6c397b988839d73e18968dbdec855a471877">329b6c39</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-24T20:51:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage script startup list command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d22196117cd3f87ca1e3790013909d6e72fdb942">d2219611</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-24T20:51:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for listing VGP Startup Scripts Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f6a0bd8b91302f4c7a9b1392d92bdaafcd1bcebd">f6a0bd8b</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-24T20:51:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage script startup add command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5efe17246d1ef6b1aab84901a98660845a50bb1">e5efe172</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-24T20:51:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for adding VGP Startup Scripts Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/91655e6d713cbd6b555ae43a8468f38ba238387e">91655e6d</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-24T20:51:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage script startup remove command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/85d240682655cdcdcac22606178a257ac28d7783">85d24068</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-02-24T22:01:08+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for removing VGP Startup Scripts Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Feb 24 22:01:08 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3d91fe071a29e2e0c54a10ba081a46cb5c324585">3d91fe07</a></strong>
<div>
<span>by Peter Eriksson</span>
<i>at 2021-02-25T20:46:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: nfs4_acls. Add missing TALLOC_FREE(frame) in error path.

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

Signed-off-by: Peter Eriksson <pen@lysator.liu.se>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Thu Feb 25 20:46:02 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/22e0b538c3da7804956346bd5c00501c046e644b">22e0b538</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: call get_ea_list_from_file with smb_fname->fsp

A step to transition away from using smb_fname & fsp
paramater combination with this function.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ecd9b751f17bb0f73201989bb9116547fe7fc0da">ecd9b751</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: Ensure vfs_streaminfo gets passed valid pathref smb_filename

the smb_filename/smb_filename->fsp passed to vfs_streaminfo
eventually is passed to SMB_VFS_FLISTXATTR, we need to ensure this is
properly setup and not NULL

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6d353212a5a9430b14c6fa239b206b7c6909b834">6d353212</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: use SMB_VFS_FLISTXATTR() alone (also added assert fsp is not NULL)

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dfc80b4ce80a42e0c402ee7ba23e3cd2ad3ae279">dfc80b4c</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: modify get_ea_names_from_file signature fn to take fsp alone

Removes the smb_filename function parameter

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5cbab2ebfdad88080c060730979725f2c6fa40cc">5cbab2eb</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: use smb_fname->fsp for get_ea_list_from_file_path in estimate_ea_size()

Additionally ensure get_ea_list_from_file_path is called with base file.

Previously fsp was set to NULL if fsp pointed to a ntfs stream which in
turn ensured that 'base_path' from the smb_fname was used (which points
to the base file). Now we get a pathref fsp (pointing to the base file)
instead

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eca6e43561a8a329f16fef5f29a5eee69fed17b4">eca6e435</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: modify estimate_ea_size fn signature to take fsp only

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/94c441c42e9b4a34c088e7cde5b30a05d03577b9">94c441c4</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: modify get_ea_list_from_file_path fn signature to take fsp only

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9e0b123eb8be7d6480fcc5bf7480617d35e3114d">9e0b123e</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: prepare get_ea_list_from_file to receive fsp alone

A step to transition away from using smb_fname & fsp
parameter combination with this function by using
the fsp provided by smb_filename->fsp

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/772b0a00649e7b9a3824c1b18d37169b96ab9ad7">772b0a00</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: no longer pass smb_fname to get_ea_list_from_file

Finally remove the smb_fname paramater as it is no longer used

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0088d39b8f5e4ebb04f2cd10ec413a0d24e58892">0088d39b</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: rename get_ea_list_from_path -> get_ea_list_from_fsp

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9c0660fb5399f0afe29ad456135a2e44216ff944">9c0660fb</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: remove connection_struct param from get_ea_list_from_file

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/435119c49507f6c8693decacccf63fe8351413c4">435119c4</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/torture: migrate SMB_VFS_FLISTXATTR calls to SMB_VFS_FLISTXATTR

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac5de42e9eae5d139fd2a9eafa1fe5e30f4ac74e">ac5de42e</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smsbd: prepare to remove connection_struct param from get_ea_list_from_file_path

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aaea5cc415348bf61d7636b83ac3b58aa22f020d">aaea5cc4</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: remove connection_struct from get_ea_list_from_file_path

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/341abce363ba328ca828d7d614497dbdfd7af272">341abce3</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: Create new file get_ea_list_from_fsp_new (not used)

On the way to removing get_ea_list_from_file_path and replacing
it with get_ea_list_from_fsp create a copy of get_ea_list_from_file_path
called get_ea_list_from_fsp_new. It is ifdef'ed out for the moment
as it isn't used yet

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b9ea876fa48fa324223c77bbd589ee5fff189961">b9ea876f</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: rename get_ea_list_from_fsp_new to get_ea_list_from_fsp

And remove the old get_ea_list_from_fsp

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/df447afa5b0bbb1ffa02539a16735b2cd1a800fd">df447afa</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: replace get_ea_list_from_file_path with get_ea_list_from_fsp

Additionally remove the old get_ea_list_from_file_path.

get_ea_list_from_file_path & new get_ea_list_from_fsp are identical
except for test for an addition test

+       if (is_ntfs_stream_smb_fname(fsp->fsp_name)) {
+               return NT_STATUS_INVALID_PARAMETER;
+       }

This test should should be fine here too.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f958b6b86a85a479dc35cd8c1175d6218cfb6f60">f958b6b8</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: let canonicalize_ea_name accept fsp and fstring only in sig

Remove the connection_struct & smb_fname parameters from
canonicalize_ea_name, they arent needed (and can be got from
files_struct)

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de83946311d8c1f007c236751280e9f101cc3a29">de839463</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: Adjust estimate_ea_size to take files_struct alone

Remove connection_struct parameter (and use fsp->conn)
instead.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d1b80e5dc594e64f73db787a3ca0b5c3e3f11a7">1d1b80e5</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: Remove connection_struct from get_ea_names_from_file

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/46226cb219c08928e2bda0e80e59099bf2370fc0">46226cb2</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T21:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Remove SMB_VFS_LISTXATTR, no longer used

                               ---------------
                              /               \
                             /      REST       \
                            /        IN         \
                           /        PEACE        \
                          /                       \
                          |                       |
                          |   SMB_VFS_LISTXATTR   |
                          |                       |
                          |                       |
                          |       10 February     |
                          |          2021         |
                          |                       |
                          |                       |
                         *|     *  *  *           | *
                _________)/\\_//(\/(/\)/\//\/\////|_)_______

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6ddb8aa2a91de8b527709658f9a113e5b73377e">d6ddb8aa</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-02-26T22:35:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: update status of SMB_VFS_LISTXATTR

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Feb 26 22:35:04 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bb00979c081f5eaba1ccc4ae0b7439708276c835">bb00979c</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2021-03-01T03:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: fix typos in README files

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/485743dac38bc074ed72db423fe0886f34faf150">485743da</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2021-03-01T03:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: fix a typo in a comment

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3174c6dd4181030086351c21b54d4854498788ae">3174c6dd</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2021-03-01T03:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb/dirsync: fix a typo in a comment

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/26f63e648ae102a0b305b2db45ffd89b60af4ff7">26f63e64</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2021-03-01T03:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool user: fix some typos

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fdc44a14e470df785a39bbf15691b443284a7c4d">fdc44a14</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2021-03-01T03:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool user: use remote domain information

Required, when running get_account_attributes() against a remote samdb.

avoid:
ERROR(<class 'AttributeError'>): uncaught exception - 'NoneType' object has no attribute 'get'
  File "bin/python/samba/netcmd/__init__.py", line 186, in _run
    return self.run(*args, **kwargs)
  File "bin/python/samba/netcmd/user.py", line 2769, in run
    obj = self.get_account_attributes(samdb, username,
  File "bin/python/samba/netcmd/user.py", line 1250, in get_account_attributes
    realm = self.lp.get("realm")

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/71e8b24b8a031de26b21539e36a60f459257d2fd">71e8b24b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-01T03:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyldb: catch potential overflow error in py_timestring

Pair-Programmed-With: Björn Baumbach <bb@sernet.de>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/06851084cac3cfeab08ddb89d48dded4c0d50156">06851084</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-01T03:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyglue: add float2nttime() and nttime2float()

The float value is what the native python time.time()
returns, it's basically a struct timespec converted to
double/float.

Pair-Programmed-With: Björn Baumbach <bb@sernet.de>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/98ee82d4fc89bdea316b02fc066e26f9fa6f1f97">98ee82d4</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-01T03:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool user: use an implicit_attrs list instead of add_ATTR variables

We'll extent GetPasswordCommand.get_password_attributes() to handle
more virtual formats in future. It'll be much easier to
to maintain a list of attributes we need to filter out again.

sAMAccountName and userPrincipalName are always implicitly
requested in order to keep the existing code sane.

supplementalCredentials and unicodePwd are requested by default
when generating virtual password attributes.

Pair-Programmed-With: Björn Baumbach <bb@sernet.de>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d0491324a60f1fbd3f739e607c68fe460802db4">4d049132</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-01T03:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool user: add ';format=[GeneralizedTime,UnixTime,TimeSpec]' support

These are useful to convert various time values to other formats.

Pair-Programmed-With: Björn Baumbach <bb@sernet.de>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6a570004d9b31e154dfbc1a08d1aa983d22173e">c6a57000</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-01T03:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool user: add ';format=[GeneralizedTime,UnixTime,TimeSpec]' support in "samba-tool user show"

This is useful to convert various time values to other formats.

Pair-Programmed-With: Björn Baumbach <bb@sernet.de>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f13b1da0466a77c7e7ede406bc1e5be168a9aec1">f13b1da0</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2021-03-01T03:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test: samba-tool user show: Test ';format=[GeneralizedTime,UnixTime,TimeSpec] attributes

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Björn Baumbach <bb@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/65f21ed5e463770ddb9d595de5e5e7047b3884ef">65f21ed5</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-03-01T03:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Move variable initialization out of conditional compilation block

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/309c81e7e2a124982cf1ab961070f7c0420b5ae7">309c81e7</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-03-01T03:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">daemons: Do not notify systemd in child processes started by main samba

When samba runs as ADDC only the main 'samba' daemon have to notify
its status to systemd because our systemd unit files contains implied
NotifyAccess=main since commit d1740fb3d5a72cb49e30b330bb0b01e7ef3e09cc..

This commit adds a function to disable the systemd notification in the
smbd and winbinddd child processes started by the main 'samba' daemon in
AD DC mode to avoid warnings like:

systemd[1]: samba-ad-dc.service: Got notification message from PID 26194,
            but reception only permitted for main PID 26187
systemd[1]: samba-ad-dc.service: Got notification message from PID 26222,
            but reception only permitted for main PID 26187

$ pstree -p
...
├─samba(26187)─┬─tfork(26189)(26188)───s3fs[master](26189)───tfork(26194)(26193)───smbd(26194)─┬─cleanupd(+
│              │                                                                               ├─lpqd(2623+
│              │                                                                               └─smbd-noti+
│              ├─tfork(26191)(26190)───rpc[master](26191)─┬─tfork(26198)(26195)───rpc(0)(26198)
│              │                                          ├─tfork(26200)(26199)───rpc(1)(26200)
│              │                                          ├─tfork(26206)(26201)───rpc(2)(26206)
│              │                                          └─tfork(26212)(26207)───rpc(3)(26212)
│              ├─tfork(26196)(26192)───nbt[master](26196)
│              ├─tfork(26202)(26197)───wrepl[master](26202)
│              ├─tfork(26204)(26203)───ldap[master](26204)─┬─tfork(26242)(26241)───ldap(0)(26242)
│              │                                           ├─tfork(26244)(26243)───ldap(1)(26244)
│              │                                           ├─tfork(26246)(26245)───ldap(2)(26246)
│              │                                           └─tfork(26248)(26247)───ldap(3)(26248)
│              ├─tfork(26208)(26205)───cldap[master](26208)
│              ├─tfork(26210)(26209)───kdc[master](26210)───tfork(26218)(26215)───krb5kdc(26218)
│              ├─tfork(26213)(26211)───drepl[master](26213)
│              ├─tfork(26216)(26214)───winbindd[master(26216)───tfork(26222)(26219)───winbindd(26222)───wi+
│              ├─tfork(26220)(26217)───ntp_signd[maste(26220)
│              ├─tfork(26223)(26221)───kcc[master](26223)
│              ├─tfork(26225)(26224)───dnsupdate[maste(26225)
│              └─tfork(26227)(26226)───dns[master](26227)

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1c3e7f0f4de105abfde74778bfea9d5cc9be8c8e">1c3e7f0f</a></strong>
<div>
<span>by Jelmer Vernooij</span>
<i>at 2021-03-01T04:56:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Suggest running './configure' rather than 'waf configure'.

waf actively discourages system-wide waf installs, so the latter is unlikely
to work.

Signed-off-by: Jelmer Vernooij <jelmer@jelmer.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Mar  1 04:56:15 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1c9add54750cb7f2b49be69a548ce8bdb15e7ac2">1c9add54</a></strong>
<div>
<span>by Trever L. Adams</span>
<i>at 2021-03-01T21:44:55+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules:vfs_virusfilter: Recent talloc changes cause infinite start-up failure

Recent talloc changes cause the current check for failure to allocate to be incorrectly triggered.

This patch ensures the original parameter is not NULL before attempting any talloc or strstr.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14634
RN: Fix failure of vfs_virusfilter starting due to talloc changes

Signed-off-by: Trever L. Adams" <trever.adams@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Mon Mar  1 21:44:55 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/996560191ac6bd603901dcd6c0de5d239e019ef4">99656019</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2021-03-03T11:31:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wscript: use --as-needed only if tested successfully

Some OSes like Solaris based OmiOS don't support this.

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/29992fdbfbb99470f5d13b00fe6ecf5c7ca5038f">29992fdb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-03T12:36:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_aixacl2: Fix "mem_ctx" and "ppdesc" smb_fget_nt_acl_nfs4 args

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>

Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Wed Mar  3 12:36:13 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/84b634c613352fc1da8e1525d72597c526d534d2">84b634c6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-05T10:18:07+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">locking: Fix an uninitialized variable read

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14636
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/654c18a244f060d81280493a324b98602a69dbbf">654c18a2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-05T11:22:07+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">g_lock: Fix uninitalized variable reads

If dbwrap_watched_watch_recv() returns IO_TIMEOUT, "blockerdead" might
be an uninitialized non-false, and further down we'll remove the wrong
exclusive locker.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14636
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Mar  5 11:22:07 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5fe7536145dc2c29ec71f6077188d74f4e08abd6">5fe75361</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-03-06T02:20:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Remove noisy error message in wb_open_internal_pipe()

Before merging the s4 and s3 RPC servers the make_internal_rpc_pipe_p()
function did not fail when the requested interface was not registered in
the calling process because it did not check the return value of
rpc_srv_get_pipe_cmds(). If the interface was not registed, the pointer
to the interface functions was NULL and later, when dispatching a call,
rpcint_dispatch() returned NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE in this
case.

After merging the RPC servers, the rpc_pipe_open_internal() function
will return NT_STATUS_RPC_INTERFACE_NOT_FOUND if the interface is not
registered in the calling process. This causes a noisy error message in
winbind when it tries to open the dssetup pipe to the primary domain and
it is not an AD domain.

The callers of wb_open_internal_pipe() when connecting to the domain
already logs the error at level greather or equal to five. This commit
moves the dupplicated and noisy error message at level zero from
wb_open_internal_pipe() to its callers outside winbindd_cm.c.

This error can be seen in winbindd logs of ad_member and nt4_member test
environments.

[2021/03/01 16:49:38.486004,  0, pid=12456] ../../source3/winbindd/winbindd_cm.c:1893(wb_open_internal_pipe)
  open_internal_pipe: Could not connect to dssetup pipe: NT_STATUS_RPC_INTERFACE_NOT_FOUND

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d2faa2714f83998673bf2fb874ce8202a09879b">7d2faa27</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-03-06T02:20:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Lower dcesrv_call_dispatch_local() errors from DBG_ERR to DBG_INFO

Before merging the s3 and s4 RPC servers the rpcint_dispatch function
was not logging any error.

This commit lowers from DBG_ERR to DBG_INFO the importance of error
messages when dispatching local RPC calls. There are some situations
where RPC functions return RPC faults and this is not a fatal condition.
One example is _lsa_QueryInfoPolicy2.

This change prevents a noisy error logged when winbindd tries to connect to
its primary domain in the nt4_member and ad_member test environments:

[2021/03/01 16:49:38.486111,  0, pid=12456] ../../librpc/rpc/dcesrv_core.c:2990(dcesrv_call_dispatch_local)
  dcesrv_call_dispatch_local: DCE/RPC fault in call lsarpc:2E - DCERPC_NCA_S_OP_RNG_ERROR

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/84be21565c892289e133895da5999085f3641a17">84be2156</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-06T02:20:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Fix CID 1473453: Null pointer dereferences

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e0426187eb3b5ef319c4ac8c5cf7442abbc0b0b5">e0426187</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-06T02:20:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Fix CID 1473454: Null pointer dereferences

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/927346d93e4d241c588a22405038b8fa2ccc261d">927346d9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-06T02:20:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: clarify "smb2 disable lock sequence checking" section

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18818dba00db4d9cfccf58f86ef0764145a654da">18818dba</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-06T02:20:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: let smbd_request_guid() use smb1req->xconn->channel_id

The unique identifier of a channel/connection is the channel_id,
the pointer of 'xconn' can be reused.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a200769950dbf57f5d493e86b64ec1db964f00c7">a2007699</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-06T02:20:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: use %t (timestamp) instead of %R for lease.dynamic_share test

This test should be independent of the protocol in order to be
independent of multi-channel support of the server.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c784f8c9aba185bb803c23b166374bdce9550203">c784f8c9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-06T02:20:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: enable 'server multi channel support = yes'

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c9ff08649f3c9f8bb5896a0c0a70fbcdf856c9d5">c9ff0864</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-06T02:20:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: improve smbXsrv_connection_dbg() for debugging multi-channel problems

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/106121a91b5108bfcc48f641385cd99e7dab7006">106121a9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-06T02:20:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: introduce a smbXsrv_connection_destructor()

For now it only prints a debug message, but that's already very
useful for multi-channel debugging.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2cf1628419f5035107d1be6d7ab1bf6533bad7a2">2cf16284</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-06T02:20:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add a smb2.session.two_logoff test

This reproduces a bug where two SMB2_LOGOFF messages kill the whole
client smbd when multi-channel is used, instead of just removing the
logical session.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/253a4de82bd4e44586572b71e06762c3f6dbd795">253a4de8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-06T02:20:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbXsrv_tcon: explicitly set tcon->db_rec = NULL after tcon->db_rec = local_rec

There's no know problem that we fix for the
smbXsrv_tcon_disconnect_all_callback() case,
but it might prevent future problems.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/638c4435a0eeb110719dd2e799f2a12758667326">638c4435</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-06T02:20:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbXsrv_session: set session->db_rec = NULL after session->db_rec = local_rec

This actually fixes crashes due to stale pointers.

With multi-channel and with 2 (or more) connections,
we'll call smbXsrv_session_disconnect_xconn() when a connection
gets disconnected, but we'll leave smbXsrv_client and all other
connections in place.

However smbXsrv_session_disconnect_xconn_callback() left
a stale session->db_rec pointer in place, which means
a following smbXsrv_session_logoff() will call
dbwrap_record_delete(local_rec) on a stale pointer.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a0626c32ae2803cb6c478717c34bf30231dc3dc">2a0626c3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-06T02:20:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add smb2.lease.timeout-disconnect test

This reproduces a problem that is triggered when
smbd_server_connection_terminate() is called recursively.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f1f5c36581a942bcccd63ede4b023fdb1a1d3ed4">f1f5c365</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-06T02:20:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: make sure that xconn is alive for the lifetime of smbXsrv_connection_shutdown_send/recv

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b145434f24f35a3d43d49980ef10bf59aae9243d">b145434f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-06T03:30:06+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbXsrv_client: move the connection passing to smb2srv_client_mc_negprot_send/recv

We need a full request/response pair in order to avoid races in
the multichannel connection passing.

smb2srv_client_mc_negprot_send/recv locks the
db record for the given client_guid.

If there's no entry found, we add ourself and
return NT_STATUS_OK.

If there's an existing process for that client guid
we start messaging_filtered_read_send()
dbwrap_watched_watch_send() before calling
smb2srv_client_connection_pass().

Then we release the lock and wait for either
MSG_SMBXSRV_CONNECTION_PASSED to arrive or
retry if dbwrap_watched_watch_recv signaled
a change in the database.

If we got MSG_SMBXSRV_CONNECTION_PASSED we'll
return NT_STATUS_MESSAGE_RETRIEVED in order to
signal that the other process will take care of
the connection and we terminate the current process.

All that is done completely async, which means that
the IDLE_CLOSED_TIMEOUT (60 seconds) may trigger
deadtime_fn(), which will send itself a MSG_SHUTDOWN.
So the process that accepted the tcp connection
exists if there was no MSG_SMBXSRV_CONNECTION_PASSED
within 60 seconds.

However the fd may still exists in the kernel (and
the new connection may still be handed to the other
process. If that process somehow exists before
there's no way to prevent a connection termination
for the client.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Mar  6 03:30:06 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f914b42d27b0a7868e461aa4ee64a954fe8e1d97">f914b42d</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T17:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test to ensure that samba-gpupdate doesn't require ad-dc

Running samba-gpupdate on a client is causing an
error in gp_access_ext, due to it attempting to
access sam.ldb before detecting whether we are on
an ad-dc.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a5928566a0e93eec5e3420cd03536d32c7c7c779">a5928566</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T17:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Ensure that samba-gpupdate doesn't require ad-dc

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/66ac3c1959c19d8d4e6f03f7784f8996a84cae96">66ac3c19</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T17:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Add admxload warning about Windows templates

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8b4b8082a14ec2927e845587cd3e4f1a9b95a54">a8b4b808</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T17:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Improve the samba-gpupdate --rsop output

Use the CSE name based on the class name, not the
module name. Also ignore the Local Policy gpo.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d4d9d8591e62ff5598e4ca2a54e036aefb5d0c01">d4d9d859</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T17:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: vgp_openssh_ext create the config dir

We should create the /etc/ssh/sshd_config.d dir
if it doesn't exist.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9a00edcc240b4bba17a0846019713e10bfc2448f">9a00edcc</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T17:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Add rsop output for vgp_openssh_ext

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d771314ee0de75d9e436d2d20290faae95e37160">d771314e</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T17:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Ensure that vgp_sudoers_ext handles missing/dispersed principal names

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c2ce101bfdee664ea447fe1938dd0a1181ea8a98">c2ce101b</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T17:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: vgp_sudoers_ext handle missing and dispersed principal names

If we don't anticipate a missing principal name,
the extension crashes. Also, principal names could
be in dispersed listelements.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5e0a9a7318db25a6213a2516db824caddca8f1e">e5e0a9a7</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T19:08:07+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Don't free talloc pointer held elsewhere

Freeing this pointer produces the following error:
ERROR: talloc_free with references at ../../libgpo/pygpo.c:481
        reference at ../../pytalloc_util.c:164
        reference at ../../pytalloc_util.c:164

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Mar  8 19:08:07 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f200c6933b39988a815a064efd165aee106d117d">f200c693</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T19:45:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Group Policy VGP MOTD Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/efc9bce8689ee1354648feee008cc255e653df92">efc9bce8</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T19:45:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy MOTD setting from VGP

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f8d68d9f84d9d306297db94810d6e2f9bd4f8efb">f8d68d9f</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T19:45:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage motd list command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0fbc5e5414296f71719553103d330a3524369bf3">0fbc5e54</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T19:45:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for listing VGP MOTD Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4715a0ee0d946caca1fab3e1218205ad68f5b20b">4715a0ee</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T19:45:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage motd set command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5046912ceb369c754a60be230f964aaeafb20b19">5046912c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T19:45:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for setting VGP MOTD Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9df279dde61ab5449f8e15098f7a2c191bf45aaa">9df279dd</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T19:45:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Group Policy VGP Issue Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2461c89c079cc99ea2c6806fda52e76d7814d494">2461c89c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T19:45:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy Issue setting from VGP

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bb47a68ca9cfabadf2f70210be7d5f90dc92ee62">bb47a68c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T19:45:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage issue list command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f5af87fbf8aa4f6a4f95c2e3e85a53846441dd6">0f5af87f</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T19:45:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for listing VGP Issue Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7593e067fa20b459ba7d9f77984e52cf6b4e6ee6">7593e067</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T19:45:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage issue set command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/77f96a3079ef4cad1aa45f08588c179264b0bab9">77f96a30</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-08T20:57:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for setting VGP Issue Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Mar  8 20:57:50 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1ea49c426cc3b7a9dec97da41dc9b8b93a87f4e9">1ea49c42</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba: Fix indentation

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6d1049796fe95374a17ce2b8a77ee67d9dda4874">6d104979</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca1f67406f9b7ae873400201cca6eb535df9243a">ca1f6740</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/06b740e2fb4348331c11dffaa77a4b37e716d2c4">06b740e2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dab793469f9bfa8f1701162dbd7f3b28830117fb">dab79346</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/409da523a71573c03cc963589c9d3ff57f6b17da">409da523</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/72cc8dce4c9f592b3e28dce36f611b0093da62ce">72cc8dce</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d4f02426580f64bcfebb2216f5e81810b914e76">8d4f0242</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd56d415b15b5a65b07573de4a291a13c7f79868">dd56d415</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b1ba5d58727eff385eb2d3a570a655376b441ee6">b1ba5d58</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Fix a typo, while there linewrap the comment

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce9df5080d12c38d69e269a1434cd4c6838264a0">ce9df508</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix a typo (recieve->receive), reformat comment

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dead4d05aba6be4d99e71d615675642dff2d5d6d">dead4d05</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Fix typos

While there, wrap the long comment lines

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2fc974fdfa75e89206a8c3537cbb2060e7c216b2">2fc974fd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix an uninitialized variable read

If cli_rpc_pipe_open_noauth() fails, we end up in TALLOC_FREE() of
"p", which is uninitialized.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/15dad4dba8581d8c4acc635c1f654cf15295a5e0">15dad4db</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Make socket options output less chatty

All the socket options were a large block in debug output. Put them on
one line.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b8dc75085129346d67efe5e6718961699f297c7">4b8dc750</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Avoid ZERO_STRUCT in pidfile_pid()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/723a4648dd2885a8bef92673012f72997f103f56">723a4648</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Avoid a memleak in pidfile_unlink()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f83814d443faf11d021a82a9fc00287c408880f">4f83814d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Avoid a cast in messages_dgm

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9db63646c7acae3e6650b6f9994281e28b8e7c4e">9db63646</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e0ce71693488918edaeb167a0e1db107dcadb458">e0ce7169</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: talloc_stackframe() panics on failure

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/49efd6113b6e30ccc66d202d54b562055efe6d45">49efd611</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Save a few lines with direct struct initialization

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3a7f099b6bc97d849aef701c5eaddf842d77284d">3a7f099b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: talloc_stackframe() panics on failure

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a53cc3adc6cc8006535779f559cd8e2736da8b41">a53cc3ad</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">epmapper: talloc_stackframe() panics on failure

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e58a4d9d75253fb1d01d2477e10b825da658025">3e58a4d9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Use direct struct initialization instead of ZERO_STRUCT

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/559b4df143159d5effffd5de4be291b34bb8ed2a">559b4df1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Use any_nt_status_not_ok() in srv_netlog_nt.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da906fbc87fce50a21a65d3e5bcc1ccd7ab3323e">da906fbc</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Protect "messaging_dgm_init()" from NULL dirs

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bcbfae42795f4dadb35a8f59a0165467708c3e71">bcbfae42</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix samba_sockaddr_[get|set]_port

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d656edffb94027475fd91c6a3a875c37a268b34">9d656edf</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Add a NULL check to tstream_npa

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/833fcdc02467f20dfec3b1e220f8b8db60a7fb5c">833fcdc0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Simplify tstream_npa_connect_readv_done()

tevent_req_error takes care of the ==0 case

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c74213830d498fde113a59f77e49bf7a6f679949">c7421383</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Simplify struct dcesrv_handle

This saves a tiny bit of memory: dom_sid_dup() allocates a full struct
dom_sid, although it might not have to. Save the additional talloc
object and the pointer, be more cache-friendly

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/023f68cb761de2d3b9dcd587f6de906c5909ea8e">023f68cb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">g_lock: Add extensive debug information

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/81d01a1addb52100d6de7eb89dbc6b161a8c6c22">81d01a1a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix file_ploadv_send/recv cleanup

We have to first TALLOC_FREE() the waiting event before closing the
pipe. Otherwise EPOLL_CTL_DEL is unhappy and might remove an unrelated
file descriptor.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b5705cc70ce26c6ebd86abed15c0ffd8573bf84e">b5705cc7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">srvsrvc: Reload conf after changing a share

The call to messaging_send_all() skips ourselves. This is tested in
source3/script/tests/test_rpcclientsrvsvc.sh, which right now we only
survive because the rpcclient call spawns a new smbd, which reloads
smb.conf. Once you start running srvsvcd in a long-running daemon,
this fails.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f815ad9bb807be3baa8265362be5ef8f4a56a25e">f815ad9b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T22:36:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix a DEBUG message

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/26bc731212ba9be439757b5084492d01354b54e0">26bc7312</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-09T23:45:51+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: Apply some const to normalize_name_map()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Mar  9 23:45:51 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/202d4d6da6a1923e768799b576acf5057473a7f7">202d4d6d</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-03-10T06:58:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/param: Remove unused functions in lib/param/loadparm.c

The lib/param code does not service smbd, no home directories nor printers are handled
in this codebase and these functions are uncalled.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5cdc065211ef26f0c262751f17c3511a2dcca950">5cdc0652</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-03-10T06:58:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/param: Remove lpcfg_volume_label() and only caller in NTVFS file server

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d7e620ff41d6583b5554c03abaac6c4c183d5146">d7e620ff</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-03-10T08:06:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: Replace buggy string_sub_talloc() with talloc_string_sub() in lib/util

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Mar 10 08:06:25 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cc098f1cad04b2cfec4ddd6b2511cd5a600f31c6">cc098f1c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-10T08:42:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_match: trailing chunk must match end of string

A wildcard search is divided into chunks by the asterisks. While most
chunks match the first suitable string, the last chunk matches the
last possible string (unless there is a trailing asterisk, in which
case this distinction is moot).

We always knew this in our hearts, but we tried to do it in a funny
complicated way that stepped through the string, comparing here and
there, leading to CVE-2019-3824 and missed matches (bug 14044).

With this patch, we just jump to the end of the string and compare it.
As well as being correct, this should also improve performance, as the
previous algorithm involved a quadratic loop of erroneous memmem()s.

See https://tools.ietf.org/html/rfc4517

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Björn Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/33a95a1e75b85e9795c4490b78ead2162e2a1f47">33a95a1e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-10T08:42:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: add tests for ldb_wildcard_compare

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Björn Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa93339978040eab52b2722c1716028b48d8d084">fa933399</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-10T08:42:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_match: remove redundant check

We already ensure the no-trailing-asterisk case ends at the end of the
string.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Björn Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bb17b4e1bbd1f03445bb3ef8cfd5f33d5e49bccc">bb17b4e1</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-10T09:51:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: dn tests use cmocka print functions

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Björn Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Mar 10 09:51:25 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5e39a836ae3ae8d8d9d338be67d2299390473be">e5e39a83</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-10T21:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Test samdb import

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a7897cc6cd5ba2df57d354c71b625e98be2a3243">a7897cc6</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-10T21:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Enable pydsdb without ad dc

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fed09b307f6fcdf3189a02f34c9a4c1ba243e586">fed09b30</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-10T21:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Enable pydns without ad dc

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b659ec940c7515bc46e3f984be7554cdcdf840a0">b659ec94</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-10T21:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Disable calls to _dsdb_garbage_collect_tombstones without addc

dsdb._dsdb_garbage_collect_tombstones isn't
built without the addc, so ignore calls to it
in samdb.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/65510204d4123b1825ea57607e84ba50f8ce3baf">65510204</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2021-03-10T22:55:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Ensure errno is preserved across fsp destructor

The errno can be overwritten by the calls made by the fsp destructor.
This can cause problems if the original errno was required by subsequent
calls.

Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Mar 10 22:55:17 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/db2afa57e4aa926b478db1be4d693edbdf4d2a23">db2afa57</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-03-11T07:28:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Only use unixid2sid mapping when module reports ID_MAPPED

Only consider a mapping to be valid when the idmap module reports
ID_MAPPED. Otherwise return the null SID.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/79dd4b133c37451c98fe7f7c45da881e89e91ffc">79dd4b13</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-03-11T07:28:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idmap_rfc2307: Do not return SID from unixids_to_sids on type mismatch

The call to winbind_lookup_name already wrote the result in the id_map
array. The later check for the type detected a mismatch, but that did
not remove the SID from the result struct.

Change this by first assigning the SID to a temporary variable and only
write it to the id_map array after the type checks.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0e789ba1802ca22e5a01abd6e93ef66cd45566a7">0e789ba1</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-03-11T08:38:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idmap_nss: Do not return SID from unixids_to_sids on type mismatch

The call to winbind_lookup_name already wrote the result in the id_map
array. The later check for the type detected a mismatch, but that did
not remove the SID from the result struct.

Change this by first assigning the SID to a temporary variable and only
write it to the id_map array after the type checks.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Mar 11 08:38:41 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ecd83a5877e869df4007c28a0164d0f332d63539">ecd83a58</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: set_ea SMB_VFS_FSETXATTR => SMB_VFS_FSETXATTR

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6b725386992a24ae70dfb26a32cbec469c759e50">6b725386</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib: adouble SMB_VFS_SETXATTR => SMB_VFS_FSETXATTR

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a241e9b3d437738357d071ccb4d9cf884ed219f0">a241e9b3</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: posixacl convert from SMB_VFS_SETXATTR -> SMB_VFS_FSETXATTR

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f0b945c1aa9a32fe103395216d5212d53134c5a">0f0b945c</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: posix_acls SMB_VFS_SETXATTR -> SMB_VFS_FSETXATTR

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/14564477d55dafebf2036c822930e1a02a47472a">14564477</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: ensure catia_set_dos_attributes passes on pathref

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/73a46ac9f348eb4cf1bab462f9c71c9cea4ce955">73a46ac9</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smb3: ensure file_set_dosmode is passed valid smb_fname->fsp

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/470b6223e7283ce1308e0b273eb893d20ab72d5b">470b6223</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smb3: ensure file_set_dosmode is passed valid smb_fname->fsp

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b05b13ccec89496eae5ad29ab9e42c3ea7bedaed">b05b13cc</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smb3: ensure file_set_dosmode is passed valid smb_fname->fsp

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4031206478eb9d5fc23630fb9ce7e6d08771c72d">40312064</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: set_create_timespec_ea should create smb_fname with valid fsp

we need to call file_set_dosmode (which ends up calling
SMB_VFS_FSETXATTR via set_ea_dos_attribute) has smb_fname set up
with a valid smb_fname->fsp

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/221573de2133b75df43ef4879438f41de8b40446">221573de</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: SMB_VFS_SETXATTR => SMB_VFS_FSETXATTR

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6427753864b82b649baabcbf5c7cb6d4065b6d01">64277538</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: Detect and fail attempt to set_ea_dos_attribute on link

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17054bfa9f7f3feeb00125fe2073317051fdc500">17054bfa</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: vfs_acl_xattr SMB_VFS_SETXATTR -> SMB_VFS_FSETXATTR

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/147183e24a669dc97315bb21cfef62fea3484d1e">147183e2</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">streams_xattr_openat SMB_VFS_SETXATTR -> SMB_VFS_FSETXATTR

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c02cdcd5fb9c0a79bcefa7dbe4e07c407ff8052a">c02cdcd5</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: streams_xattr_pwrite SMB_VFS_SETXATTR -> SMB_VFS_FSETXATTR

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee4afd5955cf5a96180119e5b50ea803c5a43d48">ee4afd59</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: streams_xattr_ftruncate SMB_VFS_SETXATTR -> SMB_VFS_FSETXATTR

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/86d645a71b046504f5cc3528ae5b34fcdeb1cad2">86d645a7</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: streams_xattr: Fix fname passed to SETXATTR

we see to be overwritting the 'old' stream, this change fixes it

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/055e87233e23387641caf185a18b147d97bb4631">055e8723</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: streams_xattr_renameat SMB_VFS_SETXATTR -> SMB_VFS_FSETXATTR

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1fd550f2b4c081bc59455ec15fab9c3cfce9879f">1fd550f2</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: stream_dir make sure mark_file_valid is called with fsp

can we get this further up the call path ???

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1a8b384440339fcc03b86d8dd4be95c27ffaef6c">1a8b3844</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/torture: SMB_VFS_SETXATTR -> SMB_VFS_FSETXATTR

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e592cb8dcb51ec35efa2e71a77b5a944413e56b6">e592cb8d</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib: SMB_VFS_NEXT_SETXATTR -> SMB_VFS_NEXT_FSETXATTR

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40a376e18817a53f5c86b6729e2c17122ec20f46">40a376e1</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: fake_acls: SMB_VFS_NEXT_SETXATTR -> SMB_VFS_NEXT_FSETXATTR

Ensure fake_acls_sys_acl_set_file gets properly setup smb_filename

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b9efb0a5947148910c86127725b5add6d85bd810">b9efb0a5</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: fake_acls_lchown use SMB_VFS_NEXT_FSET

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a7e2ecca8559eac524f32f4306859a2773da3b61">a7e2ecca</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s2/modules: nfs4acl_smb4acl_set_fn SMB_VFS_NEXT_SETXATTR -> SMB_VFS_NEXT_FFSETXATTR

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a7d81d8e27900a93f56b76e95063b998bdda9bc6">a7d81d8e</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: ceph_snapshots: Add missing fsetxattr_fn implementation

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fabfe6fbe58dc2c3d8c7615165ec7c7933e4e9cd">fabfe6fb</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: shadow_copy2: Add new fsetxattr_fn implementation

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/48d18f451ec2521b8af9883feff965b6c523438e">48d18f45</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: snapper: Add missing fsetxattr_fn impl

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/82e1402636015f5109aedda41318e5d67b988941">82e14026</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T17:50:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Remove SMB_VFS_SETXATTR, no longer used

                                   ---------------
                                  /               \
                                 /      REST       \
                                /        IN         \
                               /        PEACE        \
                              /                       \
                              |                       |
                              |   SMB_VFS_SETXATTR    |
                              |                       |
                              |                       |
                              |       19 February     |
                              |          2021         |
                              |                       |
                              |                       |
                             *|     *  *  *           | *
                    _________)/\\_//(\/(/\)/\//\/\////|_)_______

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Signed-off-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9c682d794e6cf678991a5de1a671764462ea458e">9c682d79</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-03-11T18:58:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Update status of SMB_VFS_SETXATTR

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Mar 11 18:58:46 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bba91c462e697d91496e7d7f31d85b46422db6fa">bba91c46</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-11T20:29:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Ensure that gpo manage sudoers handles missing/dispersed principal names

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Björn Baumbach <bb@sernet.de>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/88c9c291b0b928fc404d9f19eb55c5fa62266f93">88c9c291</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-11T20:29:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: gpo manage sudoers handle missing and dispersed principal names

If we don't anticipate a missing principal name,
samba-tool crashes. Also, principal names could
be in dispersed listelements.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Björn Baumbach <bb@sernet.de>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6054564d4f2fa8b14e24d72f1655c559ad1ce016">6054564d</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-11T20:29:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-gpupdate: Enable the Startup Scripts Extension

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Björn Baumbach <bb@sernet.de>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/554f2134a9f9638ebd8ac2500e5b6c94b74c27d5">554f2134</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-11T20:29:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-gpupdate: Test that sysvol paths download in case-insensitive way

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14665

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Björn Baumbach <bb@sernet.de>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d6bed495e14349e19ba680bd72c3f110f1c397b">2d6bed49</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-11T20:29:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-gpupdate: Check sysvol download paths in case-insensitive way

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

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Björn Baumbach <bb@sernet.de>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6686db1132b3a61c5b6bbbc80b9c8107f53b994b">6686db11</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2021-03-11T21:41:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool gpo: add missing newline to admxload warning

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: David Mulder <dmulder@suse.com>

Autobuild-User(master): Björn Baumbach <bb@sernet.de>
Autobuild-Date(master): Thu Mar 11 21:41:04 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c45e0896107ad1097b5cf76d8a60968320a7a737">c45e0896</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-11T21:42:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util: don't mark impure functions as pure

nothing that allocates memory can be pure, unless it guarantees to
allocate exactly the same pointer very time (which it does not).

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f67f95f009a417aca2c636e4a6d17fa87325813e">f67f95f0</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-11T21:42:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util:str_sub: talloc_free on error

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/46e6f6ef8436df7e083f34556c25f66f65ea1ce5">46e6f6ef</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-11T21:42:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: correct comments in attrib_handers val_to_int64

c.f. the identical static function in lib/ldb-samba/ldif_handlers.c

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/11f3c852c75035986de745a91686e83c1d36bb3e">11f3c852</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-11T22:50:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libnet_rpc: avoid reusing the assoc_group_id of the lsa connection

This was an unexpected side effect introduced in commit
1b17d9a587bf3600d449c2481fe1191793479e32.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Mar 11 22:50:02 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7662a77c4cb473c431386c9b8014e846bc5e5882">7662a77c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-03-11T23:43:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add a test for %U variable expansion in spoolssd

This targets the nt4_dc testenv which luckily already runs with spoolssd
enabled.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14668
MR: https://gitlab.com/samba-team/samba/-/merge_requests/1834

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/16a1aefb72f3cf2093f2cffe1bd0e2483b761e6f">16a1aefb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-03-12T00:54:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: call set_current_user_info() in smbd_become_authenticated_pipe_user()

The current_user_info is updated at the SMB level, but currently not at the RPC
level in the RPC impersonation function smbd_become_authenticated_pipe_user().

For RPC services running embedded this is not an issue as the SMB level
impersonation has already taken care of current_user_info, but for RPC services
running as external daemons, eg spoolssd, the omission of updating
current_user_info results in variable expansion of eg %U (username) to be
broken.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14668
MR: https://gitlab.com/samba-team/samba/-/merge_requests/1834
RN: %U variable expansion not working in spoolsd

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Mar 12 00:54:01 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e4540a6b6351a0c3c3a810d1100892fb23e19b7b">e4540a6b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-12T19:25:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: ceph: Ensure cephwrap_flistxattr() only uses an io fd for a handle based call.

Otherwise fall back to pathname based. This is the same as the
fallback used in vfs_default.c

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb782687146505d6bcc653f62f175befd4792360">cb782687</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-12T19:25:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: ceph: Ensure cephwrap_fsetxattr() only uses an io fd for a handle based call.

Otherwise fall back to pathname based. This is the same as the
fallback used in vfs_default.c

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d89565ceeb5b7df2d230382a636ff3983898aeec">d89565ce</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-12T19:25:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: glusterfs: Ensure vfs_gluster_flistxattr() only uses an io fd for a handle based call.

Otherwise fall back to pathname based. This is the same as the
fallback used in vfs_default.c

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd1b09bb3b2b54abb8830aa15539cd8d4b8237a1">fd1b09bb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-12T20:38:03+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: glusterfs: Ensure vfs_gluster_fsetxattr() only uses an io fd for a handle based call.

Otherwise fall back to pathname based. This is the same as the
fallback used in vfs_default.c

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Mar 12 20:38:03 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bdba1cd09b55b51b7d2a0d1456d330e420b6da1e">bdba1cd0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-16T17:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Remove vfs_tru64acl.[c|h]

Support was discontinued for the entire Tru64 OS on 31 December 2012.

Signed-off-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6fb317227dcdea29b2e5aef604050deda8d59240">6fb31722</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Simplify winbindd_samr.c

talloc_stackframe() panics on failure

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6e41d1f3855ad89feacd02775a24ee9412804792">6e41d1f3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c58e9aa482cc650f99d040808ccfc780e1232210">c58e9aa4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6b0c0cb7e034effd2370e9043140e2ac090c514">b6b0c0cb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Use FIONREAD in wait_for_read_send/recv

ENOTSOCK looks ugly in straces...

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e09f29eedd718f4e02fd0de55e69af877713b46d">e09f29ee</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Remove simple wrapper function pcap_printer_read_fn()

There's only one caller that was trivial to convert

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/46cc9b512200fcd435be313e915c1b1fc0deb428">46cc9b51</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Introduce printer_list_printername_exists()

Replace pcap_printername_ok(). Slightly different semantics: If the
printer list db has a corrupted record, this is not detected.

Why this patch? pcap_printername_ok() is a simple wrapper around the
tdb accessing function, and this reduces a dependency on pcap.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e338d4fab47d78e28139979480902c8f95986a08">e338d4fa</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Move rap2jobid functions to their own file

This will make it easier to split out the spoolss functions later

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/403eabe4fc3d43d80f3b33f104a8e35296b60fef">403eabe4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Add "private_data" to struct dcesrv_context_callbacks

Not used right now, but we should never have callbacks without a
"private_data" pointer. Some of the callbacks could even today benefit
from this.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d37c632b9a4d33e24ff02e6b72590d33cb9907d">8d37c632</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server4: Make "srv_callbacks" static

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c8f47dfc03de58525a49824725a3c367d393433b">c8f47dfc</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Make srv_cb static

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9614273aa3d0d7c7113d25b2204ebb292405c7a8">9614273a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Make "dcesrv_context->callbacks" a pointer

This structure just grew from 3 to 6 pointers, avoid making a copy of
this. All callers of dcesrv_init_context() have this as a static
struct in the C object, so a pointer to that won't change.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cf43f331be818c6253bb45fcfa89327a3c858188">cf43f331</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Make pidfile_path_create() return the existing PID on conflict

Use F_GETLK to get the lock holder PID, this is more accurate than
reading the file contents: A conflicting process might not have
written its PID yet. Also, F_GETLK easily allows to do a retry if the
lock holder just died.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/088386bbedabc11c1f406a3867e1b06b2fdb560f">088386bb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Decouple is_myname() from init_names()

In a new binary I forgot "init_names()" in main and it crashed in
auth3. We should not have to call init_names() everywhere I guess.

The my_netbios_names() array is free of duplicates, but as we don't
expect more than a handful of netbios aliases this does not matter for
just checking existence of a name. And moreover, a properly configured
smb.conf doesn't have tons of dups in "netbios aliases" anyway.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5831e8f2301a062f1e8a0113c1bda997701f38cf">5831e8f2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Unfold calls to my_netbios_names() in util_names.c

This will all go away in a few patches, this is an intermediate step.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/57d548b5020b5071e80d6b07c168c8207b52df25">57d548b5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nmbd: Move my_netbios_names() to nmbd

nmbd is the heaviest user of this. The only other user was
is_myname(), which is used in quite a few places in source3.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bb5bf508197205f6a9d17b3418a9291b934bd9fa">bb5bf508</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove init_names()

is_myname() looks at lp_* directly, nmbd maintains its own list: We don't
need the baroque loadparm handler anymore.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e6c6407623543ba3dff330dc459cbf0620f0954f">e6c64076</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6ccf1b91ba54d64b088a27002a12578f95ad63f">c6ccf1b9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: Make it a bit easier to #include "source3/include/auth.h"

Avoid using "uchar" in source3/auth/proto.h, this is #defined in includes.h

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/35ecbb3221f156923703a591d90be1e3518c2d98">35ecbb32</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Save roundtrips into samr for machine pwd changes

We already have the machine SID, no need to look it up again.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/386f62fb572dfca97631cf970f2847c920cc1351">386f62fb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Initialize variables in get_md4pw()

My gcc complained at one point about uninitialized vars

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b546b87b78bddae0fd8b3132e678fcece0b2f71d">b546b87b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: Avoid a few implicit NULL assignments

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cf2a943b8de5428d1fd43f57f1eee397020ef122">cf2a943b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: Simplify do_cmd

Reduce indentation by an early "continue;", simplify if-expression

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e85640279b4a78555b4bfd612d326df2c73ced29">e8564027</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: Add RPC_RTYPE_BINDING

Purely transport-related commands don't need the cli_state.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/698c6de66e24ba5a726956ba47aeee3331426258">698c6de6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: Convert binding-related commands to RPC_RTYPE_BINDING

Purely cosmetic at this point, will become useful soon

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18f3197808c894fa76cc3a1b04550b3ce1be79f3">18f31978</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: Factor out cmd_set_auth()

sign, seal and packet did exactly the same wrt authentication

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/174b911524556127671a828ed9604f97984ecf37">174b9115</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: Improve a DEBUG message in sam_name_to_sid()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d50bf88d20cd65827e853300ce658e850e7603a3">d50bf88d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: Fix a DBG msg: This is not dcerpc_winreg_int_openkey()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9e3f0fa34b47a2dbf910c0942276b3ec06fdab6c">9e3f0fa3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Fix a -Werror=format-truncation error

gcc gets this wrong, it believes %u can write up to
"2147483647" (2^31-1). Silence this with an easy patch.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d26b70025885ad4cdf0347e637de701cf379b8eb">d26b7002</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: fuzz: correctly spell AFL build option

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c9f51f167201716b212cf0e7ad45ca2d5d50cade">c9f51f16</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzz/afl main: don't treat fuzzer as fuzzee

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17602fefdeddaf7c26d451f7e3350c43ccb9a0e9">17602fef</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzz:afl main: add a diagnostic message

LLVMFuzzerTestOneInput() NEVER returns non-zero, but if it does, we might as well
know what made it do so

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e0dd4d0ac02c7040e8f6d346d4a8b7d087adfc04">e0dd4d0a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzz: add a LLVMFuzzerInitialize() to all fuzzers

To compile the AFL binaries, we need every fuzzer to have a consistent
set of functions. Some fuzzers require the initialize function, so all
the rest must have an empty one.

AFL binaires are handy for testing the fuzz results in a less magical
environment than libfuzzer/honggfuzz give you.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fb229276e49af93fd49381190be54650cfd6ac5b">fb229276</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-16T17:09:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzz:afl main: run the initialisation function

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f5c8b1aa834b53326efe243908b86ad969668c98">f5c8b1aa</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2021-03-16T18:17:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Bug 9931: change pytalloc source to LGPL

pytalloc is currently GPL, while the rest of talloc is LGPL.

This situation arose because pytalloc was originally developed under
source4/scripting/python/, and moved into talloc proper with commit
0f043c197c473c801fc32c727194b5a2d6ae232f ("Move pytalloc to talloc
directory.", October 2008).

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

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Mar 16 18:17:43 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/78208c62c154545fc45d87bfce24c5fffd1e33d9">78208c62</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-03-16T22:08:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: fix cleanup of test_printing_var_exp.sh

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

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Mar 16 22:08:10 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a9e7d0be3f36a04d8c51f59fafbcf8bc743f950f">a9e7d0be</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: prepare smb2_key_derivation() for keys larger than 16-bytes

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3066a02b5db57f958f0f8395a63dda5acaa88607">3066a02b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: pass the length of the resulting key to smb2_key_derivation()

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a4ba7b6cdfe417fa05479517b755a2f67416def">2a4ba7b6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: split out smb2_signing_calc_signature() from smb2_signing_check_pdu()

We only need one function to calculate the signature of an SMB2 packet.
And that only need the logic based on a gnutls_mac_algorithm_t once.

The next step will convert smb2_signing_sign_pdu() to also use
smb2_signing_calc_signature(). Doing that in a separate commit
should make sure we don't introduce a symetric bug.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f54fb828903a69b9703124b9ecd2514ea0992c45">f54fb828</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: assert that smb2_signing_{sign,check}_pdu() gets 2-4 iovec elements

We expect the following:

* SMB2 HDR
* SMB2 BODY FIXED
* (optional) SMB2 BODY DYN
* (optional) PADDING

Everything else is a bug.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17b99809b3f19dddef6b780decbbace48e76e12e">17b99809</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: make use of smb2_signing_calc_signature() in smb2_signing_sign_pdu()

We only need to logic to calculate the signature once...

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e4c1a0059504085d2b226b871de568d8a51c2dcd">e4c1a005</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: add smb2_signing_derivations_fill_const_stack()

This will allow us to have the logic in one place only
in future.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e2f3e6558d086427709ad96694346297cccd73e">8e2f3e65</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: make use of smb2_signing_derivations_fill_const_stack() smb2cli_session_set_session_key()

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d815b0fdf36d88b01c54a17968b2b8ffcfb971b3">d815b0fd</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_sesssetup: use smb2_signing_derivations_fill_const_stack()

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ead89447a92dcc78de9d6cacbaf7ab0c3b57fbb8">ead89447</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbXsrv_session: let smbXsrv_session_global_verify_record() use talloc_keep_secret() for keys

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e43962f732ab0006f039a76be3b486f695d4c24">3e43962f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: maintain smbXcli_conn.smb2.server.sign_algo

This prepares the negotiation of signing algorithms in future.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9da2f6727f28281abf83b1426857d5e19d7824ff">9da2f672</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_negotiate: maintain xconn->smb2.server.sign_algo

This prepares the negotiation of signing algorithms in future.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5b648fe96027543503e9ad800370bcfee5ca5ff6">5b648fe9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: add smb2_signing_key_{copy,sign_create,cipher_create}() helpers

These will simplify the callers a lot.
In important part is to also remember the sign and cipher algo ids.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bba8d34a788f2db6e70a2c721aa7f7e0569bed4e">bba8d34a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: make use of smb2_signing_key_{copy,sign_create,cipher_create}() in smbXcli_base.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da7dcc443f45d07d9963df9daae458fbdd991a47">da7dcc44</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: make use of smb2_signing_key_{copy,sign_create,cipher_create}() helpers

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2885fbfd764fddd34f6d4491aff8709e2163bb31">2885fbfd</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_server: use struct smb2_signing_key for first_enc_key and last_sign_key

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5d4c63d83879eba86d3fe8d834553a0a7b35217f">5d4c63d8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: make smb2_signing_key_destructor static

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7c8707613e76777daa95494e5bca66380b9f59b1">7c870761</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: no longer pass protocol to smb2_signing_{sign,check}_pdu()

The signing algorithm is already passed via
smb2_signing_key->sign_algo_id.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f65e609fd165b2639d5ae25d59c2e0fb7496c7df">f65e609f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: no longer pass protocol to smb2_signing_{encrypt,decrypt}_pdu()

The cipher algorithm is already passed via
smb2_signing_key->chipher_algo_id.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/452f0cd19b5274e12e8f54b88e377aee7d8ff8e6">452f0cd1</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: don't copy the key to a stack variable in smb2_signing_{encrypt,decrypt}_pdu()

The key size should always match now.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a11dab1648094982a21dbf2d306deb0e31e444fd">a11dab16</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: introduce struct struct smb311_capabilities

This will be filled later with supported ciphers and other
things that can be negotiated in SMB >= 3.1.1.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5b5140483ee463f341734b7783f08f2b95b14264">5b514048</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli/raw: add smb3_capabilities to struct smbcli_options

Currently this will be zeroed in lpcfg_smbcli_options(),
but will later allow advanced callers to pass values to
smbXcli_conn_create().

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c34b86a34e8ead6d52994b9b5b32f5553a8f90fd">c34b86a3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: pass smb3_capabilities to smbXcli_conn_create()

Passing NULL means use none.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c0868882c71eaa0e1a7609a1b0dad47887dda29f">c0868882</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: introduce struct smb3_encryption_capabilities

This will allow us to control the offered ciphers from the callers
later.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/78549ea0b2eb07e883ee05c0d1baa6f5776c95d7">78549ea0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: fill in smb3_capabilities.ciphers

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fe7fe76c31e562f3ce36f5483b0bbbf7e920ab4d">fe7fe76c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:param: let lpcfg_smbcli_options() fill smb3_capabilities.ciphers

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/44e76fccf6790c7b6f71dc1b9fbf0f953b26444f">44e76fcc</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: make use of smb3_capabilities.encryption

This avoids a hardcoded list of possible ciphers.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/30fa5a45c2df42cc5c28a912cb4f11f514a89390">30fa5a45</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: improve smb2.notify.invalid-reauth

This demonstrates that the session is gone after a failed reauth.
This is different compared to a failing session bind.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/457b989881634bfe073cf47a4184f95823a558be">457b9898</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add smb2.session.bind_negative_{smb202,smb210,smb2to3,smb3to2,smb3to3}

'smb2.session.bind_negative_smb202' is similar to the MultipleChannel_Negative_SMB2002 test
from the Windows Protocol Test Suite.

It demonstrates that the server needs to do lookup
in the global session table in order to get the signing
and error code of invalid session setups correct.

In order to work out the details I've added more similar tests.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/341ad1ae68b71489e4729ec11a9b3efb7d9b98ea">341ad1ae</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: add a torture_user2_credentials() helper to pass additional credentials

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2045008995135adbc83fc2365be3e92104eab446">20450089</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add smb2.session.bind_{invalid_auth,different_user}

These demonstrate that a failing bind does not destroy
the existing session and binding with a different user results
in ACCESS_DENIED.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c4bec67f06eeb05efb7c398ba3a377998249dc47">c4bec67f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:selftest: pass alice credentials to the smb2.session tests for ad_dc

This allows us to test session binds with different users.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3242a0b091899068943072b9c509452931042542">3242a0b0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbXsrv_session: split out smbXsrv_session_remove_channel()

It will be needed in other places and makes the logic in
smbXsrv_session_disconnect_xconn_callback() much simpler.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b8ccd2391afcc50ca109e328a523b233fcb91a90">b8ccd239</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_server: fallback global session lookup if the session belongs to a different client

The key is that we need to have the signing key in order to pass the
signing checks and give the correct session bind error status.

This should fix the MultipleChannel_Negative_SMB2002 testcase
of the Windows Protocol Test Suite (FileServer).

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reported-by: Jones Syue <jonessyue@qnap.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d95e90fe4604e095161c0db8d925f3fc3c766070">d95e90fe</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_sesssetup: don't shutdown a session on failure when it's not valid yet on the connection

If someone tries to operate on a session that is not yet valid on the
current connection and the current session setup fails, then we should
not shutdown the session.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd9191fb9c9781b10512048decad0bc8604f7124">fd9191fb</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_sesssetup: only set NT_STATUS_MORE_PROCESSING_REQUIRED if a reauth can start

When the session is not valid on the current connection it should not be
possible to start a reauth.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7733f98f69106a8efdceed9603174cf335db700c">7733f98f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_sesssetup: a bind dialect mismatch should always result in INVALID_PARAMETER

The ACCESS_DENIED errors happened as we didn't expected to signing
algo is attached to the session key. So our client calculated the
wrong signature.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4ab1b29d5d361262f84ce3b915730148a188ad86">4ab1b29d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T00:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_sesssetup: a session bind with a different user results in ACCESS_DENIED

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f43c15f627d25848622712f5d2e1bceeec72371">8f43c15f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T01:56:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_sesssetup: validate that sign_algo and encryption_cipher match on a session bind

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Mar 17 01:56:37 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1a05b58edaf96e7da707f9ad0a237551dbe13eb5">1a05b58e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-17T05:57:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb.h: remove undefined async_ctx function signatures

These functions do not exist.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b3c56229fbbb936121f183c360ffcf1d10f6db24">b3c56229</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-17T05:57:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pdb_samba_dsdb: remove #if 0 block

Doing nothng since 2011

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/80a8d2f1a4c31ca6abf27bfe9d2b85b4543d92ab">80a8d2f1</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-17T05:57:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb/test/ldb_tdb: correct introductory comments

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/48068a58df0313cd904f27e2c918ee10275ae373">48068a58</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-17T05:57:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: improve comments for ldb_module_connect_backend()

There is no flags argument.
There are more URI forms.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/467746da0a3ab469cce29c2126617c419006c9a3">467746da</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-17T05:57:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">knownfail: remove python[23] lines

We no longer run any *python2* or *python3* specific tests, so
these knownfail lines are just clutter.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1c1ff48e7a917c1738b6db560cee73e010fe5e0d">1c1ff48e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-17T07:03:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/flapping: remove python[23] lines

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Mar 17 07:03:27 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/45e8c32b569e4b635cd70141ad5b7f8cce3e3e13">45e8c32b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-17T17:10:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py/provision: remove unused variable, thence import

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebad0bcb6b2ff25a432210c4f814510d2e1c5f13">ebad0bcb</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-17T17:10:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py/provision: provision_become_dc(): remove unused arguments

The only caller is source4/param/provision.c, which doesn't supply these arguments,
and they aren't used inside the function.

This makes it just slightly less overwhelming

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f3309818d3885c09b73fec4907872fac3fcf4e9a">f3309818</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-17T17:10:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py bindings: write 'bytes', not 'PY_DESC_PY3_BYTES'

Because it is shorter, clearer, and reduces py3compat.h

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6e61d032c420203cd493ea17008d99758708106b">6e61d032</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-17T17:10:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3compat: remove obsolete comments

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c4f338b7e4ef068b516e80165cf5032815b0bb2d">c4f338b7</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-17T17:10:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kcc: use py3 compatible sort in rarely visited branch

This won't have worked for some time, but nobody has complained,
because nobody uses DS_NTDSSETTINGS_OPT_IS_RAND_BH_SELECTION_DISABLED

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/94d7378fa23583f7fd7aa92ace089443b27a5efe">94d7378f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-17T17:10:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytests: dns_base: remove a py2 compat thing

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17c14a4553558347e0edbfe6b06f96eddaa7ca4f">17c14a45</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-17T17:10:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: domain tombstones expunge reminds on semi-noop

Sometimes people assume `samba-tool domain tombstones expunge` will
expunge tombstones, but in the general case it won't because it only
affects those that have reached the tombstone lifetime, but these are
likely to have already been deleted by the regularly scheduled task.
You need to set the tombstone lifetime to have much effect.

This patch doesn't change the behaviour, but it does warn the user
that they are probably doing nothing of significance.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8aef8992a81f2e9c6ba5356fe43484d6f72d5454">8aef8992</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-17T18:23:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py.join: remove unused untested get_naming_master

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Mar 17 18:23:04 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/10c198827d977e07b411897556578d3aedce2184">10c19882</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-17T23:53:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party: Update socket_wrapper to version 1.3.3

This fixes a deadlock abort() when SOCKET_WRAPPER_KEEP_PCAP=1
is used.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Mar 17 23:53:04 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12b8dbd0bbd7ab3fef8a7e31346679bc24ea78d2">12b8dbd0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-18T02:57:08+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: tests: Change logfile for printing expansion tests.

logfile=/tmp/$USER_printing_var_exp.log -> logfile="${SELFTEST_TMPDIR}/${USER}_printing_var_exp.log"

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Mar 18 02:57:08 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/065ed088b3d5710c288e46a5bf1e063f9a29c8cc">065ed088</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-03-18T16:52:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: reset dangling watch_req pointer in poll_open_done

We just freed subreq and a pointer to subreq is stored in open_rec->watch_req,
so we must invalidate the pointer.

Otherwise if the poll open timer fires it will do a

  TALLOC_FREE(open_rec->watch_req);

on the dangling pointer which may crash or do something worse like freeing some
other random talloc memory.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14672
CI: https://gitlab.com/samba-team/samba/-/merge_requests/1843

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/171a58ff3e8ee07cf5d7af08eabcb4a7379e7ce5">171a58ff</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-03-18T16:52:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: cancel pending poll open timer in poll_open_done()

The retry of the open is scheduled below, avoid rescheduling it a second time in
the open retry timeout function.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14672
CI: https://gitlab.com/samba-team/samba/-/merge_requests/1843

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/591c9196962b695b01c0d86918b8f8a263e9665c">591c9196</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-03-18T18:04:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: free open_rec state in remove_deferred_open_message_smb2_internal()

The lifetime of open_rec (struct deferred_open_record) ojects is the time
processing the SMB open request every time the request is scheduled, ie once we
reschedule we must wipe the slate clean. In case the request gets deferred
again, a new open_rec will be created by the schedule functions.

This ensures any timer-event tied to the open_rec gets cancelled and doesn't
fire unexpectedly.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14672
CI: https://gitlab.com/samba-team/samba/-/merge_requests/1843
RN: smbd panic when two clients open same file

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Mar 18 18:04:09 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de3dbfda9c513bc6fdf4bf38c40e72d4f278e7e0">de3dbfda</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-18T18:50:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Group Policy Host Access Configuration for VGP

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a6cb5b8cc57a0252f27ec83645bff3791ec9aab6">a6cb5b8c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-18T18:50:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy Host Access configuration from VGP

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/76868b50f3689107e101511322dbf749c26d8342">76868b50</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-18T18:50:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage access list command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3f3c2b5b33864ac162ed578279244be0182c42f0">3f3c2b5b</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-18T18:50:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for listing VGP Host Access Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/996a0bd2e46fa9e164f390561c64dd5d954eb7e2">996a0bd2</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-18T18:50:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage access add command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/482046c56ba2bbc4a464bbc518877501598e4e31">482046c5</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-18T18:50:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for adding VGP Host Access Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/90acb3cf99125f53abd2efceaf04a6f63b796a84">90acb3cf</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-18T18:50:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test gpo manage access remove command

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f1a72fc63dfe425c9e5ed9357ecf8dfe340976c1">f1a72fc6</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-03-18T20:02:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add a gpo command for removing VGP Host Access Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Mar 18 20:02:50 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5942a715ec0f4469512eb3bba972f898ae09830">e5942a71</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-19T07:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: Remove pipe_default_auth globals

We have all information in the binding, we don't need those globals.

In case you're looking for tests: We have the combinations in our
blackbox.rpcclient test. They don't actually check whether we really
do the transport wrapping that is announced, some manual wireshark
inspection showed that this does what it's supposed to do. And it took
a quite bit of tweaking in binding_get_auth_info() to make this
survive "make test TESTS=blackbox.rpcclient".

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/87137e340cc8c9999fc5ff55f405a825a59dc4b9">87137e34</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-19T07:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: Don't put a port into the epm_map request

That's what the server is supposed to fill in for us

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3ee8960a1ec69fe5ff5226b1d13e8b8bb9493939">3ee8960a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-19T07:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: No need to use an object id in epm_map

The interface id we're looking for is listed as floor 0 in the
map_tower argument.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8ab5ab5bc2b127bdd4c1c0ba779d57d3a3e4135">a8ab5ab5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-19T07:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Factor out rpccli_epm_map_interface() from rpc_pipe_get_tcp_port()

Make it usable for ncalrpc as well

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0426f11bf0f719f4056704e309140d21b1bbf6a7">0426f11b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-19T07:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: Let rpc_pipe_open_ncalrpc() figure out the dst sock itself

Let the epmapper take care of this, with "EPMAPPER" being the default
socket that is connected for registration from ep_register()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c6bd3c6ab2e59e33a3703948ae31648212090fe">2c6bd3c6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-19T07:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mdfind: Use cli_rpc_pipe_open_noauth() in mdfind util

For the better or worse, we have a wrapper for NCACN_NP

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/55dba99895f0e3ef9b3553e24b75b7575ce0fbc3">55dba998</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-19T07:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Simplify dcerpc_binding_dup() with common nomem handling

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e54ed5a9cfcf497a51fe4b72387f255b9b0fa5e">8e54ed5a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-19T07:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: Enable ncalrpc: transport

Best reviewed with "git show -b". Right now lsarpc in the nt4_dc
environment is not available over ncalrpc, so instead of getusername
we need to use epmlookup for the rpcclient tests

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/72540222c2290dc041fb01018de7febe44a4ac0d">72540222</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-19T07:09:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Properly return errno from open_socket_in()

Before this patch, open_socket_in() relied on quite a bit of code to
not touch errno after for example socket() returned -1. Change this to
explicitly save errno in "ret", such that a later DEBUG() with all its
formatting code can mess it up.

While there, remove the debuglevel parameter. I don't think this
actually useful.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cf0c773ca56e0ae1b3123997d7910e0e0e248184">cf0c773c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-19T08:18:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">messaging: Fix receiving file descriptors

Don't close unconsumed file descriptors in messaging_recv_cb(). Via
multiple registrations on different tevent contexts we might call
messaging_recv_cb() multiple times: All but the first tevent context
handled in the loop in msg_dgm_ref_recv() will not see file
descriptors anymore, it will just get a -1, even if the first
reference had no receiver interested in the fds.

Change the API such that consumers can set the file descriptor to -1
if it's consumed. If nobody wanted them, do the close where they were
created via recvmsg, in messages_dgm.c.

If you want multiple handlers to consume the file descriptors, you
should dup() them in the filter function handed to
messaging_filtered_read_send and save the duplicate in your private
data for later consumption.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Mar 19 08:18:26 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bda0599087b32a0435d3a80e1f7063a6b60d976b">bda05990</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-19T14:15:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: Remove last vestiges of Tru64 ACL support (missed in earlier patch).

Added WHATSNEW.txt note.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Mar 19 14:15:02 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ec4794b5d9e12903b8ed0f96fb4e75e4458f4e53">ec4794b5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-19T18:56:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:param: Fix segfault trying to add pcap printer without a [printers] share

 #0  0x00007fb264e75bea in __GI___wait4 (pid=21966, stat_loc=stat_loc@entry=0x7ffdf83a9bc8, options=options@entry=0, usage=usage@entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:30
         sc_ret = -512
         sc_ret = <optimized out>
 #1  0x00007fb264e75bab in __GI___waitpid (pid=<optimized out>, stat_loc=stat_loc@entry=0x7ffdf83a9bc8, options=options@entry=0) at waitpid.c:38
 No locals.
 #2  0x00007fb264df33a3 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:172
         __result = <optimized out>
         _buffer = {
           __routine = 0x7fb264df35d0 <cancel_handler>,
           __arg = 0x7ffdf83a9bd0,
           __canceltype = 0,
           __prev = 0x0
         }
         _avail = 1
         cancel_args = {
           quit = 0x7fb264f6f200 <quit>,
           intr = 0x7fb264f6f2a0 <intr>,
           pid = 21966
         }
         status = -1
         ret = 0
         pid = 21966
         sa = {
           __sigaction_handler = {
             sa_handler = 0x1,
             sa_sigaction = 0x1
           },
           sa_mask = {
             __val = {[0] = 65536, [1] = 94088581545700, [2] = 0, [3] = 0, [4] = 0, [5] = 0, [6] = 0, [7] = 1703897678, [8] = 140404174928432, [9] = 140404179009536, [10] = 0, [11] = 140728768044480, [12] = 140404185491504, [13] = 18446744073709551615, [14] = 100, [15] = 140404180125856}
           },
           sa_flags = 0,
           sa_restorer = 0x7ffdf83a9df0
         }
         omask = {
           __val = {[0] = 7296, [1] = 140404179695051, [2] = 94088578316976, [3] = 140404180018176, [4] = 140404180017664, [5] = 140404185449449, [6] = 140728768044176, [7] = 140404185448599, [8] = 140404185458050, [9] = 100, [10] = 140404180125856, [11] = 7322926704, [12] = 140728768044432, [13] = 140404185491192, [14] = 112, [15] = 100}
         }
         reset = {
           __val = {[0] = 6, [1] = 5372865792, [2] = 94088581545600, [3] = 140728768044624, [4] = 100, [5] = 100, [6] = 101, [7] = 94088581545600, [8] = 140728768044288, [9] = 140404173470464, [10] = 140406703357952, [11] = 94088581545600, [12] = 94088581545600, [13] = 94088581545600, [14] = 94088581545600, [15] = 94088581545700}
         }
         spawn_attr = {
           __flags = 12,
           __pgrp = 0,
           __sd = {
             __val = {[0] = 6, [1] = 5372865792, [2] = 94088581545600, [3] = 140728768044624, [4] = 100, [5] = 100, [6] = 101, [7] = 94088581545600, [8] = 140728768044288, [9] = 140404173470464, [10] = 140406703357952, [11] = 94088581545600, [12] = 94088581545600, [13] = 94088581545600, [14] = 94088581545600, [15] = 94088581545700}
           },
           __ss = {
             __val = {[0] = 7296, [1] = 140404179695051, [2] = 94088578316976, [3] = 140404180018176, [4] = 140404180017664, [5] = 140404185449449, [6] = 140728768044176, [7] = 140404185448599, [8] = 140404185458050, [9] = 100, [10] = 140404180125856, [11] = 7322926704, [12] = 140728768044432, [13] = 140404185491192, [14] = 112, [15] = 100}
           },
           __sp = {
             sched_priority = 0
           },
           __policy = 0,
           __pad = {[0] = 0 <repeats 16 times>}
         }
 #3  0x00007fb2654289f6 in smb_panic_s3 (why=0x7ffdf83a9fd0 "Signal 11: Segmentation fault") at ../../source3/lib/util.c:839
         lp_sub = 0x7fb265461a60 <s3_global_substitution>
         cmd = 0x5592b47afe30 "/home/asn/workspace/projects/samba/selftest/gdb_backtrace 21964"
         result = 32690
         __FUNCTION__ = "smb_panic_s3"
 #4  0x00007fb2658f6f09 in smb_panic (why=0x7ffdf83a9fd0 "Signal 11: Segmentation fault") at ../../lib/util/fault.c:197
 No locals.
 #5  0x00007fb2658f6a39 in fault_report (sig=11) at ../../lib/util/fault.c:81
         counter = 1
         signal_string = "Signal 11: Segmentation fault\000\000\000\000\240:\370\375\177\000\000\000m?@/\214؊\377\245:\370\375\177\000\000\000m?@/\214؊\000\242:\370\375\177", '\000' <repeats 11 times>, "\242:\370\375\177\000\000\351C\231e\262\177\000\000`\240:\370\375\177\000\000\002:\231e\262\177\000\000Р:\370\375\177\000\000\a\000\000\000\061\000\000"
 #6  0x00007fb2658f6a4e in sig_fault (sig=11) at ../../lib/util/fault.c:92
 No locals.
 #7  <signal handler called>
 No locals.
 #8  0x00007fb2653762b4 in copy_service (pserviceDest=0x5592b4657940, pserviceSource=0x0, pcopymapDest=0x0) at ../../lib/param/loadparm.c:896
         src_ptr = 0x1
         dest_ptr = 0x5592b4657941
         i = 1
         bcopyall = true
         data = 0x5592b44a9020
 #9  0x00007fb2653e1e16 in add_a_service (pservice=0x0, name=0x5592b4476130 "laserjet1102w") at ../../source3/param/loadparm.c:1486
         i = 13
         tsp = 0x5592b44a9020
         __FUNCTION__ = "add_a_service"
 #10 0x00007fb2653e2846 in lp_add_printer (pszPrintername=0x5592b4476130 "laserjet1102w", iDefaultService=-1) at ../../source3/param/loadparm.c:1666
         comment = 0x7fb2654339ec "From Printcap"
         i = 21906
         __FUNCTION__ = "lp_add_printer"
 #11 0x00007fb2653e59b8 in lp_add_one_printer (name=0x5592b4476130 "laserjet1102w", comment=0x5592b512d5a0 "HP LaserJet Professional p 1102w, hpcups 3.19.6, requires proprietary plugin", location=0x5592b4476200 "", pdata=0x0) at ../../source3/param/loadparm.c:2988
         printers = -1
         i = 1700139171
 #12 0x00007fb26556112f in printer_list_exec_fn (rec=0x7ffdf83aa7e0, private_data=0x7ffdf83aa9f0) at ../../source3/printing/printer_list.c:446
         state = 0x7ffdf83aa9f0
         time_h = 0
         time_l = 17286
         name = 0x5592b4476130 "laserjet1102w"
         comment = 0x5592b512d5a0 "HP LaserJet Professional p 1102w, hpcups 3.19.6, requires proprietary plugin"
         location = 0x5592b4476200 ""
         ret = 100
         key = {
           dptr = 0x5592b456fdd0 "PRINTERLIST/PRN/LASERJET1102W",
           dsize = 30
         }
         value = {
           dptr = 0x5592b456fdee "",
           dsize = 100
         }
         __FUNCTION__ = "printer_list_exec_fn"
 #13 0x00007fb2646fc747 in db_tdb_traverse_read_func (tdb=0x5592b5377090, kbuf=..., dbuf=..., private_data=0x7ffdf83aa920) at ../../lib/dbwrap/dbwrap_tdb.c:399
         ctx = 0x7ffdf83aa920
         rec = {
           db = 0x5592b4957500,
           key = {
             dptr = 0x5592b456fdd0 "PRINTERLIST/PRN/LASERJET1102W",
             dsize = 30
           },
           value = {
             dptr = 0x5592b456fdee "",
             dsize = 100
           },
           value_valid = true,
           storev = 0x7fb2646fc672 <db_tdb_storev_deny>,
           delete_rec = 0x7fb2646fc68b <db_tdb_delete_deny>,
           private_data = 0x5592b5249b50
         }
 #14 0x00007fb26372c08d in ?? () from /usr/lib64/libtdb.so.1
 No symbol table info available.
 #15 0x00007fb26372c21d in tdb_traverse_read () from /usr/lib64/libtdb.so.1
 No symbol table info available.
 #16 0x00007fb2646fc7b7 in db_tdb_traverse_read (db=0x5592b4957500, f=0x7fb265561001 <printer_list_exec_fn>, private_data=0x7ffdf83aa9f0) at ../../lib/dbwrap/dbwrap_tdb.c:413
         db_ctx = 0x5592b5249b50
         ctx = {
           db = 0x5592b4957500,
           f = 0x7fb265561001 <printer_list_exec_fn>,
           private_data = 0x7ffdf83aa9f0
         }
 #17 0x00007fb2646f83ad in dbwrap_traverse_read (db=0x5592b4957500, f=0x7fb265561001 <printer_list_exec_fn>, private_data=0x7ffdf83aa9f0, count=0x0) at ../../lib/dbwrap/dbwrap.c:412
         ret = 0
 #18 0x00007fb265560d9b in printer_list_traverse (fn=0x7fb265561001 <printer_list_exec_fn>, private_data=0x7ffdf83aa9f0, read_only=true) at ../../source3/printing/printer_list.c:328
         db = 0x5592b4957500
         status = {
           v = 0
         }
 #19 0x00007fb2655611cc in printer_list_read_run_fn (fn=0x7fb2653e5970 <lp_add_one_printer>, private_data=0x0) at ../../source3/printing/printer_list.c:464
         state = {
           fn = 0x7fb2653e5970 <lp_add_one_printer>,
           private_data = 0x0,
           status = {
             v = 0
           }
         }
         status = {
           v = 0
         }
 #20 0x00007fb26555c9e6 in load_printers () at ../../source3/printing/load.c:86
         status = {
           v = 0
         }
         __func__ = "load_printers"
 #21 0x00007fb265599457 in delete_and_reload_printers () at ../../source3/smbd/server_reload.c:80
         n_services = -130372992
         pnum = 12
         snum = 12
         pname = 0x5592b55626f0 "\340=\277\264\222U"
         ok = true
         pcap_last_update = 17286
         frame = 0x5592b4797d70
         lp_sub = 0x7fb265461a60 <s3_global_substitution>
         __FUNCTION__ = "delete_and_reload_printers"
 #22 0x00007fb2655404d7 in delete_and_reload_printers_full (ev=0x5592b44a6940, msg_ctx=0x5592b44a92c0) at ../../source3/printing/queue_process.c:131
         session_info = 0x5592b55626f0
         pinfo2 = 0x0
         lp_sub = 0x7fb265461a60 <s3_global_substitution>
         n_services = 13
         pnum = -1
         snum = 13
         pname = 0x5592b45003d0 "\240\247F\264\222U"
         sname = 0x7ffdf83aab00 "\200\253:\370\375\177"
         status = {
           v = 0
         }
         __FUNCTION__ = "delete_and_reload_printers_full"
 #23 0x00007fb265540523 in reload_pcap_change_notify (ev=0x5592b44a6940, msg_ctx=0x5592b44a92c0) at ../../source3/printing/queue_process.c:150
 No locals.
 #24 0x00007fb265555855 in cups_async_callback (event_ctx=0x5592b44a6940, event=0x5592b5562570, flags=1, p=0x5592b4a9b160) at ../../source3/printing/print_cups.c:571
         frame = 0x5592b4e26960
         cb_args = 0x5592b4a9b160
         tmp_pcap_cache = 0x5592b45003d0
         ret_ok = true
         pcap_data = {
           status = {
             v = 0
           },
           count = 1,
           printers = 0x5592b5393800
         }
         pcap_blob = {
           data = 0x5592b47a48e0 "\001",
           length = 157
         }
         ndr_ret = NDR_ERR_SUCCESS
         i = 1
         __FUNCTION__ = "cups_async_callback"
 #25 0x00007fb26548b88c in tevent_common_invoke_fd_handler (fde=0x5592b5562570, flags=1, removed=0x0) at ../../lib/tevent/tevent_fd.c:138
         handler_ev = 0x5592b44a6940
 #26 0x00007fb265496148 in epoll_event_loop (epoll_ev=0x5592b4a30eb0, tvalp=0x7ffdf83aac50) at ../../lib/tevent/tevent_epoll.c:736
         fde = 0x5592b5562570
         flags = 1
         mpx_fde = 0x0
         ret = 1
         i = 0
         events = {[0] = {
             events = 17,
             data = {
               ptr = 0x5592b5562570,
               fd = -1252645520,
               u32 = 3042321776,
               u64 = 94088595907952
             }
           }}
         timeout = 750000
         wait_errno = 0
 #27 0x00007fb26549678f in epoll_event_loop_once (ev=0x5592b44a6940, location=0x7fb2657c54e0 "../../source3/printing/queue_process.c:424") at ../../lib/tevent/tevent_epoll.c:937
         epoll_ev = 0x5592b4a30eb0
         tval = {
           tv_sec = 749,
           tv_usec = 999054
         }
         panic_triggered = false
 #28 0x00007fb2654930fa in std_event_loop_once (ev=0x5592b44a6940, location=0x7fb2657c54e0 "../../source3/printing/queue_process.c:424") at ../../lib/tevent/tevent_standard.c:110
         glue_ptr = 0x5592b44aa700
         glue = 0x5592b44aa700
         ret = 21906
 #29 0x00007fb26548aaf7 in _tevent_loop_once (ev=0x5592b44a6940, location=0x7fb2657c54e0 "../../source3/printing/queue_process.c:424") at ../../lib/tevent/tevent.c:772
         ret = 21906
         nesting_stack_ptr = 0x0
 #30 0x00007fb26548ae1e in tevent_common_loop_wait (ev=0x5592b44a6940, location=0x7fb2657c54e0 "../../source3/printing/queue_process.c:424") at ../../lib/tevent/tevent.c:895
         ret = 32690
 #31 0x00007fb26549319c in std_event_loop_wait (ev=0x5592b44a6940, location=0x7fb2657c54e0 "../../source3/printing/queue_process.c:424") at ../../lib/tevent/tevent_standard.c:141
         glue_ptr = 0x5592b44aa700
         glue = 0x5592b44aa700
         ret = 32690
 #32 0x00007fb26548aec1 in _tevent_loop_wait (ev=0x5592b44a6940, location=0x7fb2657c54e0 "../../source3/printing/queue_process.c:424") at ../../lib/tevent/tevent.c:914
 No locals.
 #33 0x00007fb265541028 in start_background_queue (ev=0x5592b44a6940, msg_ctx=0x5592b44a92c0, logfile=0x0) at ../../source3/printing/queue_process.c:424
         fde = 0x5592b53bcee0
         ret = 21906
         status = {
           v = 0
         }
         pid = 0
         state = 0x5592b4bf3d50
         pause_pipe = {[0] = -1, [1] = 48}
         __FUNCTION__ = "start_background_queue"
 #34 0x00007fb265541154 in printing_subsystem_init (ev_ctx=0x5592b44a6940, msg_ctx=0x5592b44a92c0, dce_ctx=0x5592b44ae3e0, start_daemons=true, background_queue=true) at ../../source3/printing/queue_process.c:457
         pid = -1
 #35 0x00005592b436b820 in main (argc=5, argv=0x7ffdf83ab2e8) at ../../source3/smbd/server.c:2131
         bgq = true
         ok = false
         is_daemon = true
         interactive = false
         Fork = false
         no_process_group = false
         log_stdout = true
         ports = 0x0
         profile_level = 0x0
         opt = -1
         pc = 0x5592b4496df0
         print_build_options = false
         main_server_id = {
           pid = 21931,
           task_id = 0,
           vnn = 4294967295,
           unique_id = 7715839874465799134
         }
         OPT_DAEMON = OPT_DAEMON
         OPT_INTERACTIVE = OPT_INTERACTIVE
         OPT_FORK = OPT_FORK
         OPT_NO_PROCESS_GROUP = OPT_NO_PROCESS_GROUP
         OPT_LOG_STDOUT = OPT_LOG_STDOUT
         long_options = {[0] = {
             longName = 0x0,
             shortName = 0 '\000',
             argInfo = 4,
             arg = 0x7fb2650d9400 <poptHelpOptions>,
             val = 0,
             descrip = 0x5592b43732e1 "Help options:",
             argDescrip = 0x0
           }, [1] = {
             longName = 0x5592b43732ef "daemon",
             shortName = 68 'D',
             argInfo = 0,
             arg = 0x0,
             val = 1000,
             descrip = 0x5592b43732f6 "Become a daemon (default)",
             argDescrip = 0x0
           }, [2] = {
             longName = 0x5592b4373310 "interactive",
             shortName = 105 'i',
             argInfo = 0,
             arg = 0x0,
             val = 1001,
             descrip = 0x5592b4373320 "Run interactive (not a daemon) and log to stdout",
             argDescrip = 0x0
           }, [3] = {
             longName = 0x5592b4373351 "foreground",
             shortName = 70 'F',
             argInfo = 0,
             arg = 0x0,
             val = 1002,
             descrip = 0x5592b4373360 "Run daemon in foreground (for daemontools, etc.)",
             argDescrip = 0x0
           }, [4] = {
             longName = 0x5592b4373391 "no-process-group",
             shortName = 0 '\000',
             argInfo = 0,
             arg = 0x0,
             val = 1003,
             descrip = 0x5592b43733a8 "Don't create a new process group",
             argDescrip = 0x0
           }, [5] = {
             longName = 0x5592b43733c9 "log-stdout",
             shortName = 83 'S',
             argInfo = 0,
             arg = 0x0,
             val = 1004,
             descrip = 0x5592b43733d4 "Log to stdout",
             argDescrip = 0x0
           }, [6] = {
             longName = 0x5592b43733e2 "build-options",
             shortName = 98 'b',
             argInfo = 0,
             arg = 0x0,
             val = 98,
             descrip = 0x5592b43733f0 "Print build options",
             argDescrip = 0x0
           }, [7] = {
             longName = 0x5592b4373404 "port",
             shortName = 112 'p',
             argInfo = 1,
             arg = 0x7ffdf83ab158,
             val = 0,
             descrip = 0x5592b4373409 "Listen on the specified ports",
             argDescrip = 0x0
           }, [8] = {
             longName = 0x5592b4373427 "profiling-level",
             shortName = 80 'P',
             argInfo = 1,
             arg = 0x7ffdf83ab150,
             val = 0,
             descrip = 0x5592b4373437 "Set profiling level",
             argDescrip = 0x5592b437344b "PROFILE_LEVEL"
           }, [9] = {
             longName = 0x0,
             shortName = 0 '\000',
             argInfo = 4,
             arg = 0x7fb2654a8140 <popt_common_samba>,
             val = 0,
             descrip = 0x5592b4373459 "Common samba options:",
             argDescrip = 0x0
           }, [10] = {
             longName = 0x0,
             shortName = 0 '\000',
             argInfo = 0,
             arg = 0x0,
             val = 0,
             descrip = 0x0,
             argDescrip = 0x0
           }}
         parent = 0x5592b44addf0
         frame = 0x5592b448d6b0
         status = {
           v = 0
         }
         ev_ctx = 0x5592b44a6940
         msg_ctx = 0x5592b44a92c0
         dce_ctx = 0x5592b44ae3e0
         server_id = {
           pid = 21931,
           task_id = 0,
           vnn = 4294967295,
           unique_id = 5659117256920205400
         }
         se = 0x5592b44c0f90
         profiling_level = 0
         np_dir = 0x5592b4f2bdc0 "/home/asn/workspace/projects/samba/st/fl2003dc/ncalrpc/np"
         lp_sub = 0x7fb265461a60 <s3_global_substitution>
         smbd_shim_fns = {
           send_stat_cache_delete_message = 0x7fb26563ba6e <smbd_send_stat_cache_delete_message>,
           change_to_root_user = 0x7fb265613e99 <smbd_change_to_root_user>,
           become_authenticated_pipe_user = 0x7fb265613f4b <smbd_become_authenticated_pipe_user>,
           unbecome_authenticated_pipe_user = 0x7fb265614067 <smbd_unbecome_authenticated_pipe_user>,
           contend_level2_oplocks_begin = 0x7fb2656bb8df <smbd_contend_level2_oplocks_begin>,
           contend_level2_oplocks_end = 0x7fb2656bb902 <smbd_contend_level2_oplocks_end>,
           become_root = 0x7fb2656142cc <smbd_become_root>,
           unbecome_root = 0x7fb2656142f5 <smbd_unbecome_root>,
           exit_server = 0x7fb2656add55 <smbd_exit_server>,
           exit_server_cleanly = 0x7fb2656add72 <smbd_exit_server_cleanly>
         }
         __FUNCTION__ = "main"
         __func__ = "main"

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Mar 19 18:56:33 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c344ade717853b2622602d2f1fa38d073ffc2810">c344ade7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-22T18:37:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: cephwrap_create_dfs_pathat() isn't restricted to dirfsp->conn->cwd_fsp anymore.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power<npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea5c15358f12a6cd584b52039411e0feb526f380">ea5c1535</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-22T18:37:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: gluster: vfs_gluster_create_dfs_pathat() isn't restricted to dirfsp->conn->cwd_fsp anymore.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/49bcb913398492f08a3d6d9b1ac36ff0563f71d7">49bcb913</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-22T18:37:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: full_audit: Log full pathname as smb_full_audit_create_dfs_pathat() isn't restricted to dirfsp->conn->cwd_fsp anymore.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power<npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f38f886ffa0845626de4d94e45685376f790d46">8f38f886</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-22T18:37:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: time_audit: Log full pathname as smb_time_audit_create_dfs_pathat() isn't restricted to dirfsp->conn->cwd_fsp anymore.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power<npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4af9868142529187a87b30cd522a144ead76cc8c">4af98681</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-22T18:37:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: default: vfswrap_create_dfs_pathat() isn't restricted to dirfsp->conn->cwd_fsp anymore.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power<npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6a16ad00e426a6f815215af71c071dd8e85a50a">d6a16ad0</a></strong>
<div>
<span>by Trever L. Adams</span>
<i>at 2021-03-22T19:44:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules:vfs_virusfilter: Recent New_VFS changes break vfs_virusfilter_openat.

The_New_VFS introduces several changes that broke vfs_virusfilter_openat. The assert to make sure certain checks would work broke.

This patch fixes those breaks and converts to the SMB_VFS_FSTAT_NEXT instead of SMB_VFS_STAT_NEXT.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14671
RN: vfs_virusfilter_openat support New_VFS FSTAT, avoid SMB_ASSERT(fsp_get_pathref_fd(dirfsp) == AT_FDCWD); problem.

Signed-off-by: Trever L. Adams" <trever.adams@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Mon Mar 22 19:44:30 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9bb890a2af1fc72efa16fa6e4c1f123cee2f87bd">9bb890a2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-22T21:25:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: vxfs: Remove unused vxfs_listxattr_path().

Missed when SMB_VFS_LISTXATTR() was removed.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/321703fbea5dbf5238b3675ca678c0ddf979da02">321703fb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-22T22:36:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: vxfs: Remove unused vxfs_setxattr_path().

Missed when SMB_VFS_SETXATTR() was removed.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Mon Mar 22 22:36:05 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/447ad46158858a687184aa2f8312343082334c66">447ad461</a></strong>
<div>
<span>by Rowland Penny</span>
<i>at 2021-03-23T15:15:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">man winbind: Remove untrue statement, you can run winbind without running nmbd.

Signed-off-by: Rowland Penny <rpenny@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Mar 23 15:15:02 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/542678908ac9869bca53b83db7c61d53d898c69c">54267890</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-03-23T23:38:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Add test for an offline backup of a directory containing hardlinks

This test verifies that when performing an offline backup of a domain
where the directories to be backed up contain hardlinks, only one
instance of each file is backed up, and that files in the private
directory take precedence.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f52e6e5345bd7cf35abe49eb67e9e4ea969493fd">f52e6e53</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-03-23T23:38:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Add test for an offline backup of nested directories

This test verifies that when performing an offline backup of a domain
where one of the directories to be backed up is nested inside another,
the contained files are only included once in the backup.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/09995f780d1e75618ffc50b870b32e2375b63747">09995f78</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-03-23T23:38:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Determine which files are to be copied for an offline domain backup

The old behaviour attempted to check for and remove files with duplicate
names, but did not do so due to a bug, and would have left undetermined
which files were given priority when duplicate filenames were present.
Now when hardlinks are present, only one instance of each file is
chosen, with files in the private directory having priority. If one
backup dir is nested inside another, the files contained in the nested
directory are only added once. Additionally, the BIND DNS database is
omitted from the backup.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/05b17c98598168b6d74a3f2dd0d9973e3bf407c1">05b17c98</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-03-23T23:38:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Avoid database corruption by opting not to create database files during an offline domain backup

If backup dirs contain hardlinks, the backup process could previously
attempt to open an LMDB database already opened during the backup,
causing it to be recreated as a new TDB database. This commit ensures
that new database files are not created during this operation, and that
the main SamDB database is not modified.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17283de8fd967fbfe68f64b0cacb1e7aadf559fc">17283de8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-03-24T00:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Fix typos in offline domain backup test

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Mar 24 00:46:31 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c9222ab838844bca698a64b2125a19244ee6f008">c9222ab8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Implement public libnetapi_get_(username|password) functions

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/44ef7f96e16f26780272a5638c009fcd79c21ed2">44ef7f96</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Use public getters in remote_machine example

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bcc3945e5384e6f39dc03eaeeee2382a6a7d52be">bcc3945e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Use public getters in getjoinableous example

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e79b067e2396bd950f444518bbaad5a2fd7e2da4">e79b067e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Make 'struct libnetapi_ctx' opaque

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/517f94f5bff154bb73b46645c0beb74350450cb1">517f94f5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Remove unused ctx->krb5_cc_env

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7bb70f701e49e11d41583369737522f3db9b9382">7bb70f70</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Add a cli_credentials pointer to struct libnetapi_ctx

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9285e64a623c1a9a65e6d74ef26bf48d25d2be6b">9285e64a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Fill also cli_credentials with netapi setters

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3506800d3effca667235eabf185a93274cc78901">3506800d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Get username/password from cli_credentials in netapi.c

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0aeca4e5a131c38328c7768e173b845f594c3470">0aeca4e5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Get username/password from cli_credentials in joindomain.c

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd78554d11a60c75c0e6d2c8606a82bc20526c8a">fd78554d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Use public functions for username/password

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d94053f9d8b1fdce61e90d3942e75b02e2d3209c">d94053f9</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Remove username from 'struct libnetapi_ctx'

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/51d5bebcc156ee9b93937deefc534e44911245a7">51d5bebc</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Remove password from 'struct libnetapi_ctx'

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd7adbfa8f277932eeed17eceaaa7713fc23829b">dd7adbfa</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Remove workgroup from 'struct libnetapi_ctx'

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/67d49ac14805d6cb6fbc87904173aaeaf5f859c5">67d49ac1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Remove use_kerberos from struct libnetapi_ctx

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3f3093933a2341da5329647b843ef8f06fc9e30b">3f309393</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Remove use_ccache from 'struct libnetapi_ctx'

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca57356b78f095c20685c4b510d20b1efedb5882">ca57356b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:lib:cmdline: Rename cli_credentials_set_cmdline_callbacks()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9e5ac70a7e49ecd0e61e9546ccdf0ad863f1177a">9e5ac70a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Add command line function for standard password callback

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4e82150dc14cb8852a7a20c1d57b0db4a4cf82e1">4e82150d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Use our own cli_credentials_set_cmdline_callbacks()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6968a325d9d5c9d68634b10d9ee080004865bcd8">6968a325</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Get rid of set_cmdline_auth_info_*()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c871c224611296ee922a508129913aca93a38a16">c871c224</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T02:07:20+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Add libnetapi_set_creds()

This will be used by the 'net' command in future!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Mar 24 02:07:20 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bb3dcd403ced922574a89011dd3814c4fe87dd76">bb3dcd40</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-03-24T02:08:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Workaround issue backing up offline domain with lmdb >= 0.9.26

The LMDB change "ITS#9278 fix robust mutex cleanup for FreeBSD" released
in version 0.9.26 makes samba-tool domain backup offline to fail with
the following error:

Failed to connect to 'mdb:///tmp/foo/private/sam.ldb.d/CN=CONFIGURATION,DC=FOO,DC=EXAMPLE,DC=COM.ldb' with backend 'mdb': Unable to load ltdb cache records for backend 'ldb_mdb backend'
module samba_dsdb initialization failed : Operations error
Unable to load modules for /tmp/foo/private/sam.ldb.bak-offline: Unable to load ltdb cache records for backend 'ldb_mdb backend'
ERROR(ldb): uncaught exception - Unable to load ltdb cache records for backend 'ldb_mdb backend'
  File "/usr/local/samba/lib64/python3.6/site-packages/samba/netcmd/__init__.py", line 186, in _run
    return self.run(*args, **kwargs)
  File "/usr/local/samba/lib64/python3.6/site-packages/samba/netcmd/domain_backup.py", line 1147, in run
    session_info=system_session(), lp=lp)
  File "/usr/local/samba/lib64/python3.6/site-packages/samba/samdb.py", line 72, in __init__
    options=options)
  File "/usr/local/samba/lib64/python3.6/site-packages/samba/__init__.py", line 114, in __init__
    self.connect(url, flags, options)
  File "/usr/local/samba/lib64/python3.6/site-packages/samba/samdb.py", line 87, in connect
    options=options)

The error occurs opening the backed ldb to write the backup date and the
next SID, a call to pthread_mutex_lock in mdb_txn_renew0 (frame 8) returns
EINVAL:

  #0  0x00007ff63c2f1bea in wait4 () from /lib64/libc.so.6
  #1  0x00007ff63c26f3a3 in do_system () from /lib64/libc.so.6
  #2  0x00007ff63bc71e94 in smb_panic_default (why=0x7ffed481b7d0 "Signal 6: Aborted") at ../../lib/util/fault.c:153
  #3  0x00007ff63bc72168 in smb_panic (why=0x7ffed481b7d0 "Signal 6: Aborted") at ../../lib/util/fault.c:200
  #4  0x00007ff63bc71c82 in fault_report (sig=6) at ../../lib/util/fault.c:81
  #5  0x00007ff63bc71c97 in sig_fault (sig=6) at ../../lib/util/fault.c:92
  #6  <signal handler called>
  #7  0x00007ff63c2178b5 in raise () from /lib64/libpthread.so.0
  #8  0x00007ff637602e65 in mdb_txn_renew0 (txn=txn@entry=0x55d6f97fb800) at mdb.c:2710
  #9  0x00007ff637603ae8 in mdb_txn_begin (env=0x55d6f85dfa80, parent=0x0, flags=131072, ret=0x55d6f89c0928)
      at mdb.c:2912
  #10 0x00007ff6376236cc in lmdb_lock_read (module=0x55d6f8c5f4b0) at ../../lib/ldb/ldb_mdb/ldb_mdb.c:585
  #11 0x00007ff637641de6 in ldb_kv_cache_load (module=0x55d6f8c5f4b0) at ../../lib/ldb/ldb_key_value/ldb_kv_cache.c:450
  #12 0x00007ff637638792 in ldb_kv_init_store (ldb_kv=0x55d6f8af2a80, name=0x7ff637625675 "ldb_mdb backend",
      ldb=0x55d6f8cd22b0, options=0x0, _module=0x7ffed481c248) at ../../lib/ldb/ldb_key_value/ldb_kv.c:2166
  #13 0x00007ff6376247ba in lmdb_connect (ldb=0x55d6f8cd22b0,
      url=0x55d6f85d41f0 "mdb:///tmp/foo/private/sam.ldb.d/CN=CONFIGURATION,DC=FOO,DC=EXAMPLE,DC=COM.ldb", flags=64,
      options=0x0, _module=0x7ffed481c248) at ../../lib/ldb/ldb_mdb/ldb_mdb.c:1143
  #14 0x00007ff63bd94d2f in ldb_module_connect_backend (ldb=0x55d6f8cd22b0,
      url=0x55d6f85d41f0 "mdb:///tmp/foo/private/sam.ldb.d/CN=CONFIGURATION,DC=FOO,DC=EXAMPLE,DC=COM.ldb",
      options=0x0, backend_module=0x7ffed481c248) at ../../lib/ldb/common/ldb_modules.c:221
  #15 0x00007ff6375a4baf in new_partition_from_dn (ldb=0x55d6f8cd22b0, data=0x55d6f858bed0, mem_ctx=0x55d6f8a03cd0,
      dn=0x55d6f9865450, filename=0x55d6f860b6da "sam.ldb.d/CN=CONFIGURATION,DC=FOO,DC=EXAMPLE,DC=COM.ldb",
      backend_db_store=0x55d6f9d378e0 "mdb", partition=0x7ffed481c308)
      at ../../source4/dsdb/samdb/ldb_modules/partition_init.c:257
  #16 0x00007ff6375a57b9 in partition_reload_if_required (module=0x55d6f8972d10, data=0x55d6f858bed0, parent=0x0)
      at ../../source4/dsdb/samdb/ldb_modules/partition_init.c:513
  #17 0x00007ff6375a3b04 in partition_read_lock (module=0x55d6f8972d10)
      at ../../source4/dsdb/samdb/ldb_modules/partition.c:1492
  #18 0x00007ff63bd9631e in ldb_next_read_lock (module=0x55d6f8972d10) at ../../lib/ldb/common/ldb_modules.c:662
  #19 0x00007ff637484857 in schema_read_lock (module=0x55d6f9377e40)
      at ../../source4/dsdb/samdb/ldb_modules/schema_load.c:614
  #20 0x00007ff63bd9631e in ldb_next_read_lock (module=0x55d6f9377e40) at ../../lib/ldb/common/ldb_modules.c:662
  #21 0x00007ff6374b5402 in samba_dsdb_init (module=0x55d6f91c3cd0)
      at ../../source4/dsdb/samdb/ldb_modules/samba_dsdb.c:483
  #22 0x00007ff63bd95283 in ldb_module_init_chain (ldb=0x55d6f8cd22b0, module=0x55d6f91c3cd0)
      at ../../lib/ldb/common/ldb_modules.c:363
  #23 0x00007ff63bd95645 in ldb_load_modules (ldb=0x55d6f8cd22b0, options=0x0)
      at ../../lib/ldb/common/ldb_modules.c:445
  #24 0x00007ff63bd90663 in ldb_connect (ldb=0x55d6f8cd22b0,
      url=0x7ff6377d98f8 "/tmp/foo/private/sam.ldb.bak-offline", flags=64, options=0x0)
      at ../../lib/ldb/common/ldb.c:274
  #25 0x00007ff63bddb32f in py_ldb_connect (self=0x7ff63778afc0, args=(), Python Exception <class 'gdb.error'> There is no member named ma_keys.:
  kwargs=) at ../../lib/ldb/pyldb.c:1235

Deleting the previous samdb instance by setting it to None before opening the
backed ldb workaround the problem until we find the real problem here.

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

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d7c111514ad53787af5a7084355126df9999a34f">d7c11151</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-03-24T02:08:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Fix opening SamDB database for offline backup

When opening the backed-up SamDB database, open the top-level database
without loading any modules so the backend database files aren't
unnecessarily opened. The domain SID is now fetched from the original
database rather than from the backup.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa34799600bc95758d01bc9d7b3dd58f251d71ad">aa347996</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T02:08:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Don't include credentials_internal.h twice

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf1c294adb7ef623d0da1dd9b43d3b3fab58fa26">bf1c294a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-24T03:13:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Free the uname pointer in cli_credentials_parse_string()

The data is duplicated and we don't need it anymore.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Mar 24 03:13:05 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea4bd2c437fbb5801fb82e2a038d9cdb5abea4c0">ea4bd2c4</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-24T12:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-20277 ldb tests: ldb_match tests with extra spaces

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1fe8c790b2294fd10fe9c9c6254ecf2b6c00b709">1fe8c790</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-24T12:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-20277 ldb/attrib_handlers casefold: stay in bounds

For a string that had N spaces at the beginning, we would
try to move N bytes beyond the end of the string.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1996b79f376b459bb964a6344ca5f264e7d6e2ec">1996b79f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-24T12:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-27840: pytests:segfault: add ldb.Dn validate test

ldb.Dn.validate wraps ldb_dn_explode.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dbb3e65f7e382adf5fa6a6afb3d8684aca3f201a">dbb3e65f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-24T12:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-27840 ldb_dn: avoid head corruption in ldb_dn_explode

A DN string with lots of trailing space can cause ldb_dn_explode() to
put a zero byte in the wrong place in the heap.

When a DN string has a value represented with trailing spaces,
like this

     "CN=foo   ,DC=bar"

the whitespace is supposed to be ignored. We keep track of this in the
`t` pointer, which is NULL when we are not walking through trailing
spaces, and points to the first space when we are. We are walking with
the `p` pointer, writing the value to `d`, and keeping the length in
`l`.

     "CN=foo   ,DC= "       ==>       "foo   "
            ^  ^                             ^
            t  p                             d
                                       --l---

The value is finished when we encounter a comma or the end of the
string. If `t` is not NULL at that point, we assume there are trailing
spaces and wind `d and `l` back by the correct amount. Then we switch
to expecting an attribute name (e.g. "CN"), until we get to an "=",
which puts us back into looking for a value.

Unfortunately, we forget to immediately tell `t` that we'd finished
the last value, we can end up like this:

     "CN=foo   ,DC= "       ==>        ""
            ^      ^                    ^
            t      p                    d
                                        l=0

where `p` is pointing to a new value that contains only spaces, while
`t` is still referring to the old value. `p` notices the value ends,
and we subtract `p - t` from `d`:

     "CN=foo   ,DC= "       ==>  ?     ""
            ^       ^            ^
            t       p            d
                                      l ~= SIZE_MAX - 8

At that point `d` wants to terminate its string with a '\0', but
instead it terminates someone else's byte. This does not crash if the
number of trailing spaces is small, as `d` will point into a previous
value (a copy of "foo" in this example). Corrupting that value will
ultimately not matter, as we will soon try to allocate a buffer `l`
long, which will be greater than the available memory and the whole
operation will fail properly.

However, with more spaces, `d` will point into memory before the
beginning of the allocated buffer, with the exact offset depending on
the length of the earlier attributes and the number of spaces.

What about a longer DN with more attributes? For example,
"CN=foo     ,DC= ,DC=example,DC=com" -- since `d` has moved out of
bounds, won't we continue to use it and write more DN values into
mystery memory? Fortunately not, because the aforementioned allocation
of `l` bytes must happen first, and `l` is now huge. The allocation
happens in a talloc_memdup(), which is by default restricted to
allocating 256MB.

So this allows a person who controls a string parsed by ldb_dn_explode
to corrupt heap memory by placing a single zero byte at a chosen
offset before the allocated buffer.

An LDAP bind request can send a string DN as a username. This DN is
necessarily parsed before the password is checked, so an attacker does
not need proper credentials. The attacker can easily cause a denial of
service and we cannot rule out more subtle attacks.

The immediate solution is to reset `t` to NULL when a comma is
encountered, indicating that we are no longer looking at trailing
whitespace.

Found with the help of Honggfuzz.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9532c44baea130db74f866e1472cb871936cd3dd">9532c44b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-24T12:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-27840: pytests: move Dn.validate test to ldb

We had the test in the Samba Python segfault suite because
a) the signal catching infrastructure was there, and
b) the ldb tests lack Samba's knownfail mechanism, which allowed us to
   assert the failure.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/293ab5f20caa12b7aaafaac992d5ce89cae77d45">293ab5f2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-24T13:11:52+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: bump version to 2.4.0, in order to be used for Samba 4.15

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Mar 24 13:11:52 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4288319770bc1bde28b1e9ac4bb287e29853378d">42883197</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2021-03-24T20:31:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dosmode: retry reading dos attributes as root for unreadable files

if there are files that the user can't access, he is still allowed to read the
dos attributes information, so we need to try reading them as root also.

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e608468595d748f506a059811231c5572976157">2e608468</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-24T20:31:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: Fix a startup race with allocate_gid

If you try to allocate a GID before winbind is fully set up,
idmap_child_handle() is still NULL. Add the required
wb_parent_idmap_setup_send()/recv() to allocate_gid().

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14678
RN: Fix a crash in winbind when allocate-gid is called early

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/249b0e32022ec925c3ebbe5efc7be9b53a0e134e">249b0e32</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-24T20:31:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Add file specific access flags to sddl

See

https://docs.microsoft.com/en-us/windows/win32/secauthz/ace-strings

for reference.

We can only use them for decoding, many of our tests depend on our
string representation of the flags.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/656a3d2e48a5e49680dc12de9fb010ac06229b8a">656a3d2e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-24T20:31:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Passing a fn pointer does not need "&"

Just looked a bit weird and different from all other fn pointer
references in Samba.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/49d0268f73c59d570888df4535ab086f8bd46755">49d0268f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-24T20:31:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Remove code to upgrade from before b0909cfa14f

I think even back then "printing.tdb" would have just been a stale
tdb that would have been better handled externally. It might have been
a product requirement back then, but I think a startup script and not
core code might have been a better choice to handle this.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebd5322e6333a2f04d7fae1f89510cbcea0d5909">ebd5322e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-24T20:31:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Fix typos

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c93fc0baf1ddede09f5be0b9c181230b7b9c54db">c93fc0ba</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-24T20:31:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Remove "else" branches, reduce indentation

Best reviewed with "git show -b"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a90d45979e5aba1a0cc6826203eb5aaca9bb1c7c">a90d4597</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-24T20:31:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Align a few integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a4235cdad276640c45eedf0fb5611209400ec6af">a4235cda</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-24T20:31:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_ceph: Fix CID 1474440: Null pointer dereferences

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d25dfa6c1005041a416cc23012c1d38dc8effe2">7d25dfa6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-24T20:31:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nmbd: Fix CID 1474439: Incorrect expression

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/263e6e06bd023c0c3de6d48cc41448e7e7ffee4c">263e6e06</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-24T20:31:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nmbd: Fix socket cleanup in make_subnet()

We can have -errno in the in those variables

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/313ef6a82a3fc357703e3fe239e48117517c2c2a">313ef6a8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-24T21:28:48+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: cli_winreg_spoolss.h references spoolss structs

Add required includes

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Mar 24 21:28:48 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/505da46b1fe966667bc237d4f54594d0e15cc853">505da46b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-26T03:04:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Raise debug level when synthetic_pathref() can't find the file..

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7415f712dbed5e409d1557e281b5001764abbf0e">7415f712</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-03-26T03:04:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb.conf: Remove "share backend" option

This is a confusing hold-over from the NTVFS fileserver that never became part of
the merged architecture.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef8623c1d65e9e472ebd1d9bcf701acf3c2df755">ef8623c1</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-03-26T03:04:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Consolidate --with-ntvfs-fileserver into --enable-selftest when building the AD DC

This removes from our configure help a feature which we retain only
to support our selftest system.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5bc1463a5c6e793ed78a77d9e513d94006dfce20">5bc1463a</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-03-26T04:06:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Consolidate --with-dnsupdate with --with-ads (which implied HAVE_KRB5)

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Mar 26 04:06:41 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/942c0d2128cb8e64a9354dde6bdae82a1c1c3d88">942c0d21</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-03-29T02:12:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Notice if flex is missing at configure time

This may also fix the coverage build by ensuring --noline
is always specified to flex.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Mar 29 02:12:23 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/359c6bd21084b075d3d47f5cec427a5801ac11de">359c6bd2</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2021-03-29T16:18:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Rename mdfind to mdsearch

GNUstep as an mdfind binary, and both should be co-instalable.

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

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Björn Baumbach <bb@sernet.de>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Mar 29 16:18:54 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c194c0bc61958b9f569b3808b45035c2de6caef">2c194c0b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-29T19:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_aio_pthread: don't allow async opens when multi channel is enabled.

We will get this supported later, but for now just disable async
opens as fsp->mid may not belong the first xconn of client->connections.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e63651cfd6d92805bd44c1245f4534bdcfdf3a7e">e63651cf</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-29T19:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: make use of torture_reset_lease_break_info() in lease.c

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1714a05b992311647a51a6dda007958a7af0f043">1714a05b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-29T19:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: make use of torture_reset_break_info() in replay.c

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa5f93eb65d2b729770a23624acfb48a688e917a">aa5f93eb</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-29T19:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add smb2_util_lease_state_string()

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ae1c3a0d9ae00471cbbc8a7787f026b87e76aa45">ae1c3a0d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-29T19:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: provide verbose output when we're waiting for potential lease/oplock breaks

It makes it easier to follow manual tests.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f5168a21abd029fd57edfd270b86512312c801b1">f5168a21</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-29T19:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add smb2.replay.dhv2-pending* tests

These demonstrate that the replay detection for pending opens
either doesn't exist (for the share_access=NONE => SHARING_VIOLATION
case) or return the wrong status code => ACCESS_DENIED instead of
FILE_NOT_AVAILABLE.

Windows clients transparently retry after FILE_NOT_AVAILABLE,
while they pass ACCESS_DENIED directly to the application.

I'll report that to dochelp@microsoft.com in order to
clarify the situation.

In the meantime I added tests with a '-windows' suffix,
which demostrate the current windows server behavior,
while the tests with a '-sane' suffix expect the behavior
that whould make windows clients happy.

For Samba I'll implement the '-sane' behavior that
detects all replays and returns FILE_NOT_AVAILABLE
if the original request is still pending.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/87b8049320c6314fab12ff14ac825101876e87d9">87b80493</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-29T19:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add smb2.session.bind2

This demonstrates that a session and it's open handles is destroyed
when the last explicitly bound channel gets disconnected.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a19180904ea73815e994f3c720613ae0b06099c3">a1918090</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-29T19:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbXsrv_session: smbXsrv_session_remove_channel() should also remove the last channel

There's nothing special regarding the last channel,
as the smb2.session.bind2 test demonstrates.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/997e9023c0ca94d57d75cd0069f5c6ab1f81be85">997e9023</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-29T19:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbXsrv_open: intruduce smbXsrv_open_replay_cache to support FILE_NOT_AVAILABLE

Before processing an open we need to reserve the replay cache entry
in order to signal that we're still in progress.
If a reserved record is already present we need to return
FILE_NOT_AVAILABLE in order to let the client retry again.

[MS-SMB2] contains this:

  <152> Section 3.2.5.1: For the following error codes, Windows-based clients
  will retry the operation up to three times and then retry the operation every 5
  seconds until the count of milliseconds specified by Open.ResilientTimeout is
  exceeded:
  - STATUS_SERVER_UNAVAILABLE
  - STATUS_FILE_NOT_AVAILABLE
  - STATUS_SHARE_UNAVAILABLE

This works fine for windows clients, but current windows servers seems to
return ACCESS_DENIED instead of FILE_NOT_AVAILABLE.

A Windows server doesn't do any replay detection on pending opens,
which wait for a HANDLE lease to be broken (because of a
SHARING_VIOLATION), at all.

As this is not really documented for the server part of the current [MS-SMB2],
I found the key hint in "SMB 2.2: Bigger. Faster. Scalier - (Parts 1 and 2)"
on page 24. There's a picture showing that a replay gets FILE_NOT_AVAILABLE
as long as the original request is still in progress. See:
https://www.snia.org/educational-library/smb-22-bigger-faster-scalier-parts-1-and-2-2011

A Windows client is unhappy with the current windows server behavior if it
such a situation happens. There's also a very strange interaction with oplock
where the replay gets SHARING_VIOLATION after 35 seconds because it conflicts with
the original open.

I think it's good to follow the intial design from the 2011 presentation and
make the clients happy by using FILE_NOT_AVAILABLE (and differ from Windows).
I'll report that to dochelp@microsoft.com in order to get this hopefully fixed in
their server too).

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/01b675ab323a73fc0cf25cd0bf706dbc1dde514b">01b675ab</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-29T19:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_server: let smbd_smb2_flush_send_queue() destroy pending elements on dead connection

Otherwise we'll keep the state of already finished requests arround.

This becomes critical as the next commit will cause us to
let pending requests running and keep the xconn alive for
the lifetime of pending requests, so we would not ever
make progress and deadlock.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f0e553783434dccf0637e6e9e3a87890ae56286c">f0e55378</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-29T19:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_server: don't cancel pending request if at least one channel is still alive

In order to allow replays of requests on a channel failure, we should
not cancel pending requests, the strategie that seems to make windows
clients happy is to let the requests running and return
NT_STATUS_FILE_NOT_AVAILABLE as long as the original request is still
pending.

Here we introduce xconn->transport.shutdown_wait_queue, this is used
to keep the xconn alive for the lifetime of pending requests.

Now we only cancel pending requests if the disconnected connection
is the last channel for a session.

In that case smbXsrv_session_remove_channel() and
smb2srv_session_shutdown_send() will take care of it.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d4010b9abc4a303f478420de4295c3c00fbdbbf2">d4010b9a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-29T19:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbXsrv_session: always cancel pending requests in smb2srv_session_shutdown_send() in the same way

The session is valid for the lifetime of the requests anyway
and there's no point in having special handling for compound requests.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b448eae5e983dcf3b7a222c5fc9a73eba88d1b06">b448eae5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-03-29T20:43:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_tcon: also try to cancel pending compound requests on tdis

There's no reason to do something special here.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Mar 29 20:43:28 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1432314f5c16d0504d77acbe188a1990822d61e9">1432314f</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2021-03-29T23:19:24+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli smb smb2: Use correct enumeration type

Clang gives the following error:
../../libcli/smb/smb2_signing.c:547:48: error:
   implicit conversion from enumeration type 'gnutls_mac_algorithm_t'
   to different enumeration type 'gnutls_digest_algorithm_t'
   [-Werror,-Wenum-conversion]
   const size_t digest_len = gnutls_hash_get_len(GNUTLS_MAC_SHA256);
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~

Should be using GNUTLS_DIG_SHA256, which is set to GNUTLS_MAC_SHA256.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Mon Mar 29 23:19:24 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b2ee40b5123ce466bfda67cdf63a540ae82a212e">b2ee40b5</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-29T23:20:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns common: always check a talloc NULL.

Also, since we're there, avoid sorting an array of 1 element.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2b9279bd31dfb13209d828dd57f92beb67ba2f71">2b9279bd</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-29T23:20:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns: add common dns_timestamp util functions

The dns structs have an unsigned 32 bit timestamp in hours since the
beginning of 1601. In a number of places we need to convert from unix
time to this timestamp, or from the timestamp to NTTIME.

You'll see subsequent patches that make use of these functions.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/146c23fb7d98515c4dd0349d0406b7f459d3b696">146c23fb</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-29T23:20:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pydns: expose dns timestamp utils to python, and test

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a32c229b0956f6ed1cf1ad20599539141bbff15d">a32c229b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-29T23:20:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns: use unix_to_dns_timestamp almost everywhere

In places we change NTTIME to uint32_t, because that is what is
actually wanted.

There is one instance of the calculation that we are not changing,
because there are other problems there.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f1b59e8cb1a0d6e255d2dc90791afa1c96a4ce6c">f1b59e8c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-29T23:20:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/scavange dns: reserve NTTIME type for NTTIME values

We know it "really" just means uint64_t, but we also know it means
100-nanosecond intervals since 1601, and that makes any other use very
confusing (and not just to me, or there wouldn't be these bugs we're
chasing).

In these cases we are talking about 32 bit hours-since-1601 timestamps.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/59f45fa7f650aab15045f6c38d5ae26217be64cc">59f45fa7</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-29T23:20:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/dns scavange: make a helper function static

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/820c735578b3a84d33fb8ccb1899790ac8823487">820c7355</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-29T23:20:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/dns: remove redundant argument

We are always setting zone to the same thing which we already know,
and we can reduce cognative stress by mentioning it less and not doing
that weird pop thing.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/49f434ca08ee4f35fba57082603f3dc83447a2e6">49f434ca</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-29T23:20:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/dns: use self.assertIn() and .assertNotIn()

These give a more detailed message than assertTrue(x in y).

They were new in Python 3.1, so we avoided them until recently.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f4b73901175a0caedf8f5de7ffda6bb3f2f2a6c">5f4b7390</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-29T23:20:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/dnsserver: extend record_type_int to all types

with improved diagnostics on bad arguments

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/162e6fb25ab9f61b7c1fe69c54dc5e8b17601bcf">162e6fb2</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-29T23:20:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc/idl: dnsp tombstone timestamp name matches MS-DNSP

MS-DNSP uses the term "EntombedTime" in e.g. "2.2.2.2.4.23 DNS_RPC_RECORD_TS"
which is more descriptive than the generic "timestamp", and less likely to be
confused with dwTimestamp, which has been our curse. Let's make it grep-able,
google-able, and evocative.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d1c47d0c83091763be5231792e4e089b5d5365dd">d1c47d0c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-30T00:20:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc/idl dnsserver s/DNS_RPC_DATA/DNS_RPC_RECORD_DATA/

Following MS-DNSP.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Mar 30 00:20:53 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dc05cdb192852abaeb70e46c3b4d851c4ab51971">dc05cdb1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-30T05:48:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libnetapi: Remove unused header file

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c8e477edc0fc05c97c0ed9e26103fed278ee2890">c8e477ed</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-30T05:48:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Fix net_context_creds() with machine password

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/29f5372ffccfe722a6a1f0aaad4dcb4484511b51">29f5372f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-30T05:48:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use libnetapi_set_creds() in net_rpc

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ccfb682f666acd4e2baaed5598d0e1ac37b0156e">ccfb682f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-30T05:48:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use libnetapi_set_creds() in net_rpc_shell

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2bfe37e069fd267ced946d63cf97dc20fbb34f49">2bfe37e0</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-30T05:48:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use libnetapi_set_creds() in net_dom

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2cab43cfca094c21899daddadfcb84469c0e2a02">2cab43cf</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-30T05:48:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:passdb: Add secrets_store_creds()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/db95414c1decda8ce3a4878cb765da8c73e7079a">db95414c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-30T05:48:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use secrets_store_creds() in net utility

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/140007bfe1795e5bc5bca43238b6be03e0693f9e">140007bf</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-30T06:48:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: The 'net ads keytab' commands should use machine credentials

If the user doesn't specify a username/password on the command line, we
should use the machine credentials to connect to AD. This is how it is
used by default and we should be able to retrieve SPNs.

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Mar 30 06:48:18 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/56483a2799430d36dcb9036b8a6f5eece959ba9f">56483a27</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-30T17:53:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb-samba: avoid leak in dsdb_match_for_dns_to_tombstone_time

After the first time through the loop, tmp_ctx has been freed and
NULLed, so we end up allocating on NULL and never freeing.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/421486044f6bd17bb66034c6097e23cfc3b6d054">42148604</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-30T17:53:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb-samba: avoid VLA in dsdb match dns tombstone

We don't need it (only 64 bytes) and, well, they annoy people.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9cff0a0c1145714da1e2a961c36d5b45e781ed55">9cff0a0c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-03-30T18:55:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb-samba: remove redundant negative check

smb_strtoull() already checks for negative numbers, but does
it properly, catching " -2" as well as "-2".

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Mar 30 18:55:28 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c7762a2bee2573421888b1fab8f3c86ea5348458">c7762a2b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-30T19:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Add a test for setting and getting ACLs on stream handles (SMB2-STREAM-ACL).

It shows this isn't done correctly for streams_xattr.

A common config is:

vfs_objects = streams_xattr acl_xattr

to store both streams and Windows ACLs in xattrs.

Unfortunately getting and setting ACLs using handles
opened on stream files isn't being done correctly
in Samba.

This test passes against Windows 10.

This adds tests that prove this doesn't work. Next
patch will add the fix and remove the knownfail.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff48422e63957dd863fda1ede622450312dcb45a">ff48422e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-30T20:14:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix SMB_VFS_FGET_NT_ACL/SMB_VFS_FSET_NT_ACL on stream handles.

As this is done on existing files, we know that
fsp->base_fsp != NULL and fsp->base_fsp->fh->fd != -1
(i.e. it's a pathref fd) for stream handles.

When getting and setting ACLs on stream handles,
use the fsp->base_fsp instead (as Windows does).

This not only fixes streams_xattr, but will
allow us to later analyze and remove all
special casing code for get/set ACLs on streams
handles.

Remove the knownfail.d/stream-acl file.

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Mar 30 20:14:35 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d9a0b8d57713781c72440c7e91746b5d89e6f6a">8d9a0b8d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-03-31T05:12:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture. Add smb2.lease.rename_wait test to reproduce regression in delay rename for lease break code.

Passes against Windows 10. Add to knownfail, the
next commit will fix this.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14679
CI: https://gitlab.com/samba-team/samba/-/merge_requests/1875

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/10d753868e810604d8f60673bbd48f55aaff0797">10d75386</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-03-31T06:13:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: fix deferred renames

This was broken by c7a9e0e4cdfb22e66533b5c8e20af3cfdb8ae78c.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14679
CI: https://gitlab.com/samba-team/samba/-/merge_requests/1875

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Mar 31 06:13:39 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4c3fb2a5912966a61e7ebdb05eb3231a0e1d6033">4c3fb2a5</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-03-31T11:11:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl: set the per-request memory context in the pidl generator

The talloc memory context referenced by the pipe_struct mem_ctx member is used
as talloc parent for RPC response data by the RPC service implementations..

In Samba versions up to 4.10 all talloc children of p->mem_ctx were freed after
a RPC response was delivered by calling talloc_free_children(p->mem_ctx). Commit
60fa8e255254d38e9443bf96f2c0f31430be6ab8 removed this call which resulted in all
memory allocations on this context not getting released, which can consume
significant memory in long running RPC connections.

Instead of putting the talloc_free_children(p->mem_ctx) back, just use the
mem_ctx argument of the ${pipename}_op_dispatch_internal() function which is a
dcesrv_call_state object created by dcesrv_process_ncacn_packet() and released
by the RPC server when the RPC request processing is finished.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14675
CI: https://gitlab.com/samba-team/samba/-/merge_requests/1861

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/481176ec745c14b78fca68e01a61c83405a4b97b">481176ec</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-03-31T11:11:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">spools: avoid leaking memory into the callers mem_ctx

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14675
CI: https://gitlab.com/samba-team/samba/-/merge_requests/1861

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12f516e4680753460e7fe8811e6c6ff70057580c">12f516e4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-03-31T12:14:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Fix a memleak for internal pipes

state->call should not be talloc'ed off a long-lived context

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14675
CI: https://gitlab.com/samba-team/samba/-/merge_requests/1861

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Mar 31 12:14:01 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1b183f5751248e5c1b853daf0984996f0c5e9c31">1b183f57</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-03-31T21:20:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Allow to set the 'log level' for clients

This allows to set the 'log level' for clients on the command line:

    make test TESTS=wurst CLIENT_LOG_LEVEL=10

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Mar 31 21:20:23 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/97e657b89b63f1df1e3280ffc563876c27439f44">97e657b8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-04-01T17:50:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">asn1: Remove unused function asn1_check_enumerated()

This function was reported as containing a bug, but it is unused and so
can be safely removed.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Apr  1 17:50:49 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/74720bd9acd4951dd03f562748cae4dbe26092a0">74720bd9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-01T19:32:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Add required includes to source3/lib/background.h

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cabd67d69f7fa24a132b6e7850b9678aac269ec5">cabd67d6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-01T19:32:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix rundown of jobs sent with background_job_send()

When using this with a trigger message in smbd it will crash at
rundown in messaging_deregister because the global messaging context
can be TALLOC_FREE'ed before the background job is freed.

Using messaging_filtered_send already takes care of this situation
properly.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f4e6fc631a4f43d22fe65cd53daf635b4324d53">6f4e6fc6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-01T19:32:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test: Add a test for background_job_send crash

I haven't figured out how to properly add a crashing test to
"knownfail", so this is added after the fix.

Signed-off-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/23056f537c6c12e656fbccac86643088db7f14da">23056f53</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-01T19:32:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Factor out a bool expr into a descriptive variable

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6a6676488ea4849b8ed1e6d851fa3363b6a72d6d">6a667648</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-01T19:32:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/206c99f6e5e0720eff4e3240d61a51ba151204f7">206c99f6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-01T19:32:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">srv_winreg: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4e174b5a0f42b042f363640d6b02ef6ba4e9883a">4e174b5a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-01T19:32:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dynconfig: Introduce and expose SAMBA_LIBEXECDIR

Right now the smbspool_krb5_wrapper lives there, but we'll have more
in the future.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0736a9f5c39b93e06a9172a74b766eb9a029f1f0">0736a9f5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-01T19:32:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wbinfo: Allow SID for -R

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3a03c0a1ad7ea81d9dcae88016c42a1f9e000b47">3a03c0a1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-01T19:32:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tstream_npa: Keep "named_pipe_auth_req" around in tstream_npa_accept_existing_send()/recv()

This will make it simpler to return a copy of the struct
named_pipe_auth_req_info4 in the next commit.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bbfdf2708e8e85cee56aeff43c9216d2003ed310">bbfdf270</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-01T19:32:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tstream_npa: Return named_pipe_auth_req_info4 from accept_existing

Callers might want the full picture. We need to make
named_pipe_auth_req_info4 public for that.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1b47dd65a3815e38537af335792353fca6c40f03">1b47dd65</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-01T19:32:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tstream_npa: Allow NULL output parameters

When reading the info4, the substructs might not be interesting for
you.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e742661bd2507d39dfa47e40531dc1dca636cbbe">e742661b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-01T20:36:19+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tstream: Add tstream_npa_existing_stream()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Apr  1 20:36:19 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/11aac9d0433ab59740c40712c3782f1cf4ac0418">11aac9d0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-04-06T14:39:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: reduce loglevel for failed openat_pathref_fsp() calls

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14685
CI: https://gitlab.com/samba-team/samba/-/merge_requests/1884
RN: Log clutter from filename_convert_internal()

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Apr  6 14:39:46 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/49a0f6170bf6b914bb7d513664c6cfc6b3864bb5">49a0f617</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-06T15:54:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">oss-fuzz: Update build script to be compatible with rpm distros

The /etc/default/locale file does not exists in the rpm family distros
so the do_build.sh script failed with:

./lib/fuzzing/oss-fuzz/do_build.sh: line 31: /etc/default/locale: No
such file or directory

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>

Autobuild-User(master): Samuel Cabrero <scabrero@samba.org>
Autobuild-Date(master): Tue Apr  6 15:54:54 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/30e0cac46bbf005612fcc50d3959b3a0351e4442">30e0cac4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-06T22:29:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: tstream_npa_connect_recv() returns errno into sys_errno

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/57246e1f814a9f8b17e0d3889822f271400a6515">57246e1f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-06T22:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: Avoid deadlock in sam_name_to_sid()

"Unix Users" and "Unix Groups" can recurse into nsswitch and thus into
winbind. In the binding process, we have winbindd_off(), but if we
pass the lookupNames request to a forked lsad, lsad does not
necessarily have that setting. So lsad might turn back to winbind,
which could lead to a deadlock. Handle the nsswitch lookups in
winbind.

While there, also do the simple wellknown names and the "DOMAIN\" type
3 lookups directly in winbind.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c06be36e6069eb7011b2601ff3521109c0c9f5d8">c06be36e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-06T22:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: Use samr instead of lsa in sam_name_to_sid()

After the "Unix Users/Groups" and wkn names have been taken care of,
all that remains here is our domain (BUILTIN or workgroup). We don't
need any of the fancy routing in lsa_lookupnames, and samr_LookupNames
is a lot less prone to deadlocks back into winbind.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/82e30f3203691a9bd3250887be7f0de298b96ace">82e30f32</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-06T22:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: Make sam_sid_to_name use samr instead of lsa

Same argument as with name_to_sid: We don't need the lsa lookup
routing, and samr is less prone to deadlocking.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf1012ee7063f03503eb2e348757b1b12d5bff0b">bf1012ee</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-06T22:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: Use samr in sam_rids_to_names() instead of lsa

Same argument as with previous patches: We don't need fancy lsa
routing and samr is less prone to deadlock back into winbind

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/02eef74e609e685177accbc494ed8b8d3e5b6abd">02eef74e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-06T22:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: Remove unused code

Those calls were only used in winbindd_samr which now does direct and
simpler samr calls.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/69a3d0fa4b7526b1d378bcad5efa840a4fcbf076">69a3d0fa</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-06T22:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gensec: Remove gensec_security_all(), it was only used internally

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8945d99758d8bedd374f1c51304b87a6cf10498c">8945d997</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-06T22:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc: Give dcerpc_util.c its own header

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d3b6506d30e4bf302f832493dad00a83b73d370">4d3b6506</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-06T23:33:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove the gensec dependency from library dcerpc-binding

This means yet another library, but having to depend on gensec just
for dcerpc_parse_binding() and basic packet parsing seems like a bit
overkill to me.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Apr  6 23:33:14 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff1c3af603b47a7e8f9faad8d1c2e4a489559155">ff1c3af6</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-04-07T02:17:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Only add -Wl,--as-needed when supported

If -Wl,--as-needed is added to EXTRA_LDFLAGS (via ADD_LDFLAGS, as per
commit 996560191ac6bd603901dcd6c0de5d239e019ef4) then on some
platforms (at least CentOS 8 and Fedora 33), any indirect/recursive
dependencies (i.e. private libraries) are added to both the
binary (reqid_test in the CTDB case) and to samba-util.so.  However,
only samba-util.so has rpath set to find private libraries.

When ld.so tries to resolve these dependencies for the binary it
fails. This may be a bug on those platforms, but it occurs reliably
and our users will also hit the bug.  For binaries that have other
private library dependencies (e.g. bundled talloc) rpath will contain
the private library directory so the duplicate private library
dependencies are then found... that is, when it works, it works by
accident!

For some reason (deep in waf or wafsamba) if -Wl,--as-needed is added to
LINKFLAGS (as is done in conf.add_as_needed()) then it works: the direct
dependencies are only added to samba-util.so and the same depenencies
(indirect dependencies for binaries) are not added incorrectly to the
binaries.

So, without changing 1/2 of waf/wafsamba the simplest fix is to revert
to adding -Wl,--as-needed to LINKFLAGS, which was the case before
commit 996560191ac6bd603901dcd6c0de5d239e019ef4.

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

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Bjoern Jacke <bj@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2b2f4f519454beb6f2a46705675a62274019fc09">2b2f4f51</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-07T02:17:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: fix ldb_comparison_fold off-by-one overrun

We run one character over in comparing all the bytes in two ldb_vals.

In almost all circumstances both ldb_vals would have an allocated '\0'
in the overrun position, but it is best not to rely on that.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24ddc1ca9cad95673bdd8023d99867707b37085f">24ddc1ca</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-07T03:16:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb/attrib_handler casefold: simplify space dropping

As seen in CVE-2021-20277, ldb_handler_fold() has been making mistakes
when collapsing spaces down to a single space.

This patch fixes the way it handles internal spaces (CVE-2021-20277
was about leading spaces), and involves a rewrite of the parsing loop.

The bug has a detailed description of the problem.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Apr  7 03:16:39 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/05d70f92b633284044d1cd14314eadb3645c1e09">05d70f92</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-04-07T09:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision tests: Add test for the CryptSHA256 and CryptSHA512 password hashing schemes

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/88b3d3443b3a581ec301430346b3e9bf05d81b5e">88b3d344</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-04-07T09:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb/password_hash: Don't generate crypt() password for krbtgt account

Since the length of the krbtgt password after conversion to UTF-8 form is
typically greater than the maximum accepted by crypt(), the call usually
fails. This commit disables generation of crypt() passwords for this specific
account, as it's not necessary.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/609ca657652862fd9c81fd11f818efb74f72ff55">609ca657</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-04-07T09:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision: Decrease the length of random machine passwords

The current length of 128-255 UTF-16 characters currently causes
generation of crypt() passwords to typically fail. This commit
decreases the length to 120 UTF-16 characters, which is the same as
that used by Windows.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0730b936d7a8f55389873d72cb0996ab941f15d7">0730b936</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-04-07T09:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb/password_hash: Add additional check for crypt() and crypt_r() failure

While crypt_rn() always returns a null pointer in the event of
failure, crypt() and crypt_r() may instead return a string starting
with the character '*'. This commit adds a check to detect failure in
this case.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e656d8b1ad4c70a7c85a66945d7c7d807fce9b6c">e656d8b1</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-04-07T09:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision tests: Add a test for hashing overly long passwords

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de28d915d7f135c43c35cf2b5167f9603e99b1f6">de28d915</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-04-07T09:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb/password_hash: Add a more useful error message for passwords too long to be hashed

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1e559f958708998324dc4873cccb63899126e5b5">1e559f95</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-07T09:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Test RPC handles and association groups from different connection

Add a test to check if a RPC handle can be used from a different connection
than the one where it was created, when the same association group is
requested in the bind operation of the second connection.

The association group handling is one of the differences between the S3
and S4 RPC server implementations provided by the implementation
callbacks after the merge.

Association groups work fine in the S4 implementation as the RPC server
runs in one process, except for the 'smbd' embedded services provided
by the S3 implementation like winreg (see lp_enforce_ad_dc_settings()).

In the S3 implementation, association groups should work in the same
process, but the merge introduced a bug where a new association group is
always created even when it already exists in the same process.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f5178ef11e675b07ff49c8f1e0b1e193fc0babb2">f5178ef1</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-07T09:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: rpc_server: Search for already created association groups

If the client requests to join to an association group in the bind operation
try to find it and do not create a new one.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aac8be5419fdd5e222263e3558d556c1d1dc4cef">aac8be54</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-07T09:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: rpc_server: Store new association groups in the id tree

Right now a new association group is created for each connection
assigning the legacy 0x53F0 id, but it is not stored anywhere. When a
second client request to join an association group by its id it is not
found and a new one is created with the same ID.

In practise, it means the association groups are not working even in the
same server process.

This commit stores the created association group in the idtree, but to
make use of it assigns a random id instead of the historical 0x53F0.

The test assoc_group_ok2 was wrongly passing before this change because
the same id 0x53F0 was assigned to all association groups.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d5fb7d279ef899307a560da2bed037cda609f10">4d5fb7d2</a></strong>
<div>
<span>by Bernd Kuhls</span>
<i>at 2021-04-07T09:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dcesrv_core: fix build

Move include of system/network.h to avoid a build error:

In file included from ../../lib/replace/system/network.h:35,
                 from ../../librpc/rpc/dcesrv_core.c:2658:
usr/include/unistd.h: At top level:
usr/include/unistd.h:675:16: error: conflicting types for ‘geteuid’
  675 | extern __uid_t geteuid (void) __THROW;

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e531bb885c90c6d8f10570eda1be20ac44a7c9b">3e531bb8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-04-07T09:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth/credentials: Add test for binding with a domain SID

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6b57583830007f745360a5dcab9760a66fd3ad0e">6b575838</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-04-07T09:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">cracknames: Add support for SID string format

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7679995b95c9d572a2e94213f5f55e3641844422">7679995b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-04-07T09:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth/credentials: Add test for binding with a canonical name

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7c2b26a431daa29db99344632d0eda21139a558e">7c2b26a4</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-04-07T09:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth/credentials: Add test for binding with an extended canonical name

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c08f174c35fb0159d219f96eaf37f008d76fb41e">c08f174c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-04-07T09:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">cracknames: Allow auto-conversion from an extended canonical name

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2f0ef147f99374dc9543a741f3a9f2c27b904f29">2f0ef147</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-04-07T10:24:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth/credentials: Remove unneeded try/except syntax

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Apr  7 10:24:17 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eb3a578b0beaf27a5baa80e1549537c826293eaf">eb3a578b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T14:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Add an SMB1 POSIX specific test POSIX-SYMLINK-PARENT.

This creates a directory, then a symlink to a directory,
and then checks we can POSIX create and delete file, directory,
symlink and hardlink filesystem objects under the symlink
parent directory.

Mark as knownfail until next commit.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d590d9130ee28cc0c39d605015f4b5904ba582f5">d590d913</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T15:39:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix parent_pathref() to cope with symlink parents.

We know that the parent name must
exist, and the name has been canonicalized
even if this was a POSIX pathname.
Ensure that we follow symlinks for
the parent. See the torture test
POSIX-SYMLINK-PARENT for details.

Remove knownfail entry.

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Apr  7 15:39:45 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9f80f787e0d42365fac410a2ea042698e4b5ba13">9f80f787</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: nfs4acl_xattr: Ensure nfs4acl_get_blob() always gets a valid fsp pointer.

This means adding a synthetic_pathref() call into the
nfs4acl_xattr version of SMB_VFS_GET_NT_ACL_AT() which
is the pathname-based ACL fetch call.

One place where this (smb_fname->fsp == NULL)
can happen is from open when checking parent
directory ACL - check_parent_access() currently
isn't always passed a smb_fname with a valid
fsp and check_parent_access() currently doesn't
open a pathref smb_fname->fsp itself (eventually
it should be passed in a pathref from the caller).

There are also a few other places inside smbd
that call smbd_check_access_rights() also without
a pathref fsp.

This check should be moved into the
callers inside smbd to ensure that smb_fname->fsp
is always valid here, and in a later patchset (not
part of this set) I will do just that.

Ultimately it may be possible to remove
pathname based SMB_VFS_GET_NT_ACL_AT(), this
requires further investigation.

But until then, we need this change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b094144abbce1ba154454ec1e7877f57a08f2377">b094144a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: nfs4acl_xattr: Ensure remove smb_fname argument from nfs4acl_get_blob().

Now we know we always have a valid fsp, use it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a2fd9df127a775f0554a2aeab173605a615ffa89">a2fd9df1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: nfs4acl_xattr: Change nfs4acl_validate_blob() to use the fsp instead of the name.

Changes use of SMB_VFS_REMOVEXATTR() -> SMB_VFS_FREMOVEXATTR().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea1b763b6a6785f6dacd0d264948f32ab1ba6f92">ea1b763b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: ceph: Allow cephwrap_fremovexattr() to cope with pathref fsps.

Ensure it only uses an io fd for a handle based call.

Otherwise fall back to pathname based. This is the same as the
fallback used in vfs_default.c

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0c335a325d8ffcc71543d9e8503a47496dc6afb7">0c335a32</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: gluster: Allow vfs_gluster_fremovexattr() to cope with pathref fsps..

Ensure it only uses an io fd for a handle based call.

Otherwise fall back to pathname based. This is the same as the
fallback used in vfs_default.c

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bee6b16ce41092659e84015e22ad618c63955a48">bee6b16c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: fake_acls: Clean up fake_acls_sys_acl_delete_def_file().

Change SMB_VFS_NEXT_REMOVEXATTR() -> SMB_VFS_NEXT_FREMOVEXATTR().

It doesn't need to do STAT calls, it's always called
with an fsp->fsp_name smb_filename. This will change
later to a handle-based call.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d978b940e751143d7e47aadbc58e2e53aa0ca20">4d978b94</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: adouble: Use FREMOVEXATTR in preference to REMOVEXATTR.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f6cd9a548fa646a7916ce424b8242f1fd6ffc543">f6cd9a54</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: streams_xattr: In streams_xattr_renameat(), change SMB_VFS_REMOVEXATTR() -> SMB_VFS_FREMOVEXATTR().

Note that now we're doing this by handle
not by pathname we must do it on the base_fsp,
as we have to remove the actual xattr on the base file.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b0778be143245c4fc748abb421f550b863461ff">3b0778be</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: posixacl_xattr: In posixacl_xattr_acl_delete_def_file() change SMB_VFS_REMOVEXATTR() -> SMB_VFS_FREMOVEXATTR().

We know this is safe as SMB_VFS_SYS_ACL_DELETE_DEF_FILE() is only
ever called on an fsp->fsp_name.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f977b61e906d0b9f68daa646cb0ff656a3768d2">4f977b61</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change SMB_VFS_REMOVEXATTR -> SMB_VFS_FREMOVEXATTR.

We no longer need pathname based xattr remove.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/14ac9296c96ea3177b1b57a0dcfc7a1bff961efa">14ac9296</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Change cmd_removexattr to use SMB_VFS_FREMOVEXATTR().

The last user of SMB_VFS_REMOVEXATTR() is gone, I can now
remove the internal VFS functions implementing it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b2a06e71cad98b730d26ca0cb9ebe7eb516a10a9">b2a06e71</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: vxfs: Remove vxfs_remove_xattr() - no longer called.

Also remove supporting function from lib_vxfs.c.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b0e34a47d4492280a46bc20b03fb287c741d3ade">b0e34a47</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: xattr_tdb: Remove xattr_tdb_removexattr(). No longer called.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce9b1698f9290aa73eacf073c4815d7a9fb8b5d4">ce9b1698</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: cap: Remove cap_removexattr(). No longer called.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e8e6c31e459776c1e9c1df76748c6882f6804fb">2e8e6c31</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: catia: Remove catia_removexattr(). No longer called.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/899f520eb9d0cb97c4e050b00084cf88f55f944b">899f520e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: Remove cephwrap_removexattr(). No longer called.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/469e7dc236c79ae48535daeab9ec775b58994f3d">469e7dc2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph_snapshots: Remove ceph_snap_gmt_removexattr(). No longer called.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/699c829bec895293132361c316c97dded2a8a828">699c829b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: full_audit: Remove smb_full_audit_removexattr(). No longer called.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f227fd22a64aac0e71fd4234df1e5bc1c6ef5864">f227fd22</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: glusterfs: Remove vfs_gluster_removexattr(). No longer called.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e12449e047e6487f6587fd5e4b9c60e0f08826ea">e12449e0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: media_harmony: Remove mh_removexattr(). No longer called.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b9a5cd874d46ddfd3e486124cea4428b66e52f45">b9a5cd87</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: posix_eadb: Remove posix_eadb_removexattr(). No longer called.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b88d347388735657602a9e50a55c9265ffbe97b4">b88d3473</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: shadow_copy2: Remove shadow_copy2_removexattr(). No longer called.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a1afcc0720e374d8fbc24db1097d082d00493925">a1afcc07</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: snapper: Remove snapper_gmt_removexattr(). No longer called.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff9ab093309d127cde497a29f24a702e978b49c0">ff9ab093</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: time_audit: Remove smb_time_audit_removexattr(). No longer called.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/721c604d289b0d1784299d372253653b86cc35d9">721c604d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: unityed_media: Remove um_removexattr(). No longer called.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38a06183af20684706e10294ef5499e2c486bb03">38a06183</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T16:26:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Remove SMB_VFS_REMOVEXATTR, no longer used

                                       ---------------
                                      /               \
                                     /      REST       \
                                    /        IN         \
                                   /        PEACE        \
                                  /                       \
                                  |                       |
                                  |  SMB_VFS_REMOVEXATTR  |
                                  |                       |
                                  |                       |
                                  |       22 March        |
                                  |         2021          |
                                  |                       |
                                  |                       |
                                 *|     *  *  *           | *
                        _________)/\\_//(\/(/\)/\//\/\////|_)_______

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4a41d970b4717e717911b5096cb8fee22a0802c4">4a41d970</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-07T17:32:07+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Update status of SMB_VFS_REMOVEXATTR

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Apr  7 17:32:07 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5d26aa4069fd92e7593e6864dba0d7dcc14ff4f8">5d26aa40</a></strong>
<div>
<span>by Anubhav Rakshit</span>
<i>at 2021-04-08T16:13:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Add couple of compound related test cases to verify that server should return NTSTATUS of the failed Create for succeeding requests.

We already pass samba3.smb2.compound.related5, but mark related4 as knownfail.

Signed-off-by: Anubhav Rakshit <anubhav.rakshit@gmail.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/97fc7395b56b9f48224c68e60c28a4939ad9f6ea">97fc7395</a></strong>
<div>
<span>by Anubhav Rakshit</span>
<i>at 2021-04-08T16:13:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: smbtorture test case to verify Compound related handling

This test case checks what happens when we have an intermediate request
failure and how it impacts rest of the chain.

Signed-off-by: Anubhav Rakshit <anubhav.rakshit@gmail.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/422302accb8c35f7e7f7aa437a607d4bc29c85a8">422302ac</a></strong>
<div>
<span>by Anubhav Rakshit</span>
<i>at 2021-04-08T16:13:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: add smbtorture testcase "related7" for failure in compound related chain

We want to verify what Windows does when the first request of the
chain has failed and an async request is part of the chain. We see
Windows fails the async request with the same error. Also the async
request is immediately failed.

Signed-off-by: Anubhav Rakshit <anubhav.rakshit@gmail.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7f73cde000d808742191c3b4f61893e273a89363">7f73cde0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-04-08T16:13:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: add smbtorture compound SMB2 requests test "related8"

This verifies that if the initial create fails with
NT_STATUS_OBJECT_NAME_NOT_FOUND, compount related operations fail with the same
error.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b97b5ca0cbb9b58e968eac78c3baaa37e031067b">b97b5ca0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-04-08T16:13:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: add another smbtorture compound SMB2 requests test "related9"

This test verifies that if a compound related request is not preceeded by a
request that generates or contains a File-ID, the request fails with
NT_STATUS_INVALID_PARAMETER.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fc6eba619eb91925513d0c62263db894faffd8d6">fc6eba61</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-04-08T17:30:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: SMB2 Compound related chain handling when generation of FileId has failed

Issue:
We have a scenario where an application sends a Compound Related chain
consisting of:
SMB2_CREATE
SMB2_IOCTL
SMB2_SET_INFO
SMB2_CLOSE

SMB2_CREATE failed with NT_STATUS_ACCESS_DENIED and subsequent
requests all fail. In Samba they return NT_STATUS_FILE_CLOSED.

When I tried the same against a Win2k12 server, I noticed that all the
failed requests of the chain would return NT_STATUS_ACCESS_DENIED.

I believe this behaviour is also mentioned in the [MS-SMB2] Specs
3.3.5.2.7.2: Handling Compounded Related Requests

"When the current operation requires a FileId and the previous
operation either contains or generates a FileId, if the previous
operation fails with an error, the server SHOULD<223> fail the current
operation with the same error code returned by the previous
operation."

Fix:
Save NTATUS of a failed Create request. When we process subsequent
requests of the chain we check if the previous Create has failed. In
case of a Create failure we returned the saved NTSTATUS.

Signed-off-by: Anubhav Rakshit <anubhav.rakshit@gmail.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Apr  8 17:30:50 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8bdd2420e8972acb89a41829bddef5d857d7fb91">8bdd2420</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-08T17:38:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: VFS Fix incorrect VFS_FIND

smb_vfs_call_fset_dos_attributes is looking for the wrong function

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e2ca529db6341ccadb8933e6a84324347392142d">e2ca529d</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-08T17:38:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: SMB_VFS_SET_DOS_ATTRIBUTES -> SMB_VFS_FSET_DOS_ATTRIBUTES

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0332ddde1a1d583c4e7be871c51a4854278951fe">0332ddde</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-08T18:38:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Remove SMB_VFS_SET_DOS_ATTRIBUTE, no longer used

                              -------------------
                             /                   \
                            /        REST         \
                           /          IN           \
                          /          PEACE          \
                         /                           \
                         |                           |
                         | SMB_VFS_SET_DOS_ATTRIBUTE |
                         |                           |
                         |                           |
                         |         3 March           |
                         |           2021            |
                         |                           |
                         |                           |
                        *|      *  *  *        * *   | *
                _________)/\\_//(\/(/\)/\//\/\////\\/|_)_______
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Apr  8 18:38:40 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bdc2567324c6b8069d3fd809ed1d1d68bd92a9d7">bdc25673</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-08T21:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pydns: rename s/CNameRecord/CNAMERecord/ for consistency

Everything else is TXTRecord, SRVRrcord, SOARecord.

Making CNAME the same allows easier lookups.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/16254139617f7a56cb5d88cf6a34d9d83ecdbd91">16254139</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-08T21:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py/dnsserver: replace obsolete comments with useful ones

The replaced comment was about a long fixed Python reference counting bug..

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dbffeeefd86cb4ec1cb551a696175f9624bbd151">dbffeeef</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-08T21:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py/provision/sambadns: rename CNameRecord -> CNAMERecord

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3bb4dbecc3020a7eae58b06d5d312be6d4979dfb">3bb4dbec</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-08T21:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py/provision/sambadns: Add a comment about DNS types

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bddce1f7e6989bcba704d8a1bdc7db9128340b75">bddce1f7</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-08T21:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py/dnsserver: remove workaround of fixed bug

We used to do something wrong with the refcounts, but we don't anymore,
so we don't need this confusing nonsense.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d84d10bb0e71a7c27c8a880c5eb2a98e23778fc9">d84d10bb</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-08T21:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py/dnsserver: add .from_string() methods

The logic to parse DNS value strings (e.g. "example.com 10" for an MX,
which needs to be split on the space) is repeated at least in
samba-tool dns and tests/dcerpc/dnsserver.py. Here we bring it
together so we can do it once.

The sep= keyword allows callers to separate on all runs of
whitespace (the default, as samba-tool dns does) or, using sep='', to
separate on true spaces only.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a572a260535da0956e324a092cfd459a1c5b4205">a572a260</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-08T21:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py/dnsserver: add record_from_string helper function

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4ce9a0d4879a717fad7830dd70a1f2200d879db2">4ce9a0d4</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-08T21:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py/dnsserver add flag from string function

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a59dcfcfd1fc7cd91ff3af9ed8ba404245f18263">a59dcfcf</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-08T21:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/dcerpcdnsserver: use record_from_string helper

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/579e56bc3dac70d0458137e3ddde06ad607777ff">579e56bc</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-08T21:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/dcerpc/dnsserver.py: use dnsserver.flag_from_string

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/55c4f75a282f2e56a8eb2ab473e4b9ba8d9c4daa">55c4f75a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-08T21:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytests/dns: import dnsserver.TXTRecord directly

Not through samba-tool, which should not be used as a library.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/df60fe15b33ba2ffa957758e30c5d219dee71555">df60fe15</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-08T21:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytests/dns: use dnsserver.record_from_string

not netcmd.dns.data_to_dns_record, which is a UI function.

The only practical difference is it will raise DNSParseError, not CommandError.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/87e71cd61168bbd6ed61484c98b84a72fb93482d">87e71cd6</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-08T21:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool dns: use dnsserver.record_from_string

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/99a88cf82eb24ab5ca668b4bb7be346783fa81fe">99a88cf8</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-08T21:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool dns: use dnsserver.flag_from_string()

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c033fdf59962c345dc34f02ede4d6ffef4ac9c44">c033fdf5</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-08T23:03:52+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytests/dns_forwarder: remove unused import

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Thu Apr  8 23:03:52 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d34445312d3751a0649219140b03620f15068424">d3444531</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-09T10:46:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:auth: Use cli_credentials_init_server()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eb7bfe2f3a3b663e23a517e3e66ac41c1cb36411">eb7bfe2f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-09T10:46:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:ldap_server: Use cli_credentials_init_server()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fb0dae0e064dcb63ed0afe6698f761cf3f7013ec">fb0dae0e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-09T10:46:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:ntvfs: Use cli_credentials_init_server()

This also removes cifs:domain option for the machine account case.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0ce0570d7582ff8db980b76f5b8d6b8b5d50e4a4">0ce0570d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-09T10:46:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:ntvfs: Use cli_credentials_init_server()

This also removes cifs:domain option for the machine account case.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b2e7da37a1892b0eac7d9c29954466d98e5d665">4b2e7da3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-09T10:46:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server: Use cli_credentials_init_server()

This also removes dcerpc_remote:domain option for the machine account case.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/048e771665e00bb54f135299e02fe7941886a172">048e7716</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-09T11:48:00+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use cli_credentials_init_server()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Apr  9 11:48:00 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1efa9ffd7ae77ebf22b28c12dd642a89991b75d2">1efa9ffd</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-09T15:20:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-iremotewinspool: set the per-request memory context

The iremotewinspool service is not using the pidl autogenerated code.
Set the per-request memory context following the changes made is commit
5a7e9ade9a4cdfa68900c6a64b639f53c0da47ad.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14675
CI: https://gitlab.com/samba-team/samba/-/merge_requests/1890

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Apr  9 15:20:02 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9386e6ef5dd31dc238865f659d4048712f7c21a6">9386e6ef</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-09T20:48:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: Now we know we will never be doing ACL operations on streams, delete the now unneeded code.

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Apr  9 20:48:17 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1a68d34c2329d3862bd4bdc0a9375ce4039aa293">1a68d34c</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Fix version SMB_VFS_GET_DOS_ATTRIBUTES was removed in

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f923d1f474fa1d9a19c8fd2904d50f411803bc05">f923d1f4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: require fchmod()

This has been part of POSIX for long enough in 2021.

Signed-off-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6ad10836d6e04d8c95773e9122b63f5a5e040487">6ad10836</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: fchmod: fallback to path based chmod if pathref

Signed-off-by: Noel Power <noel.power@suse.com>
Signed-off-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fcf696bfa2827bb5b726c4f1d8cc24ba9c41f613">fcf696bf</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: gluster: Allow vfs_gluster_fchmod() to cope with pathref fsps.

Ensure it only uses an io fd for a handle based call.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a749da2a5d6775b0e583822d461a1884a44e5a1f">a749da2a</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: ceph: Allow cephwrap_fchmod() to cope with pathref fsps.

Ensure it only uses an io fd for a handle based call.

Otherwise fall back to pathname based.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/74ecb467073fed08635929c82c0a9e9d70428433">74ecb467</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: make chmod_acl_module_common less strict so fchmod can run

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c1e9aea0da1f1f0ad40e5089d92a76c29f51ceee">c1e9aea0</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: ceph_snapshots: Add new fchmod_fn implementation

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f54ec00eca521e766690f24263555c04bd5e47e9">f54ec00e</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: fruit: Add new fchmod_fn implementation

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a412b5cc793b89d6e79f5031ba462777af14c656">a412b5cc</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: shadow_copy2: Add new fchmod_fn implementation

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7501407f988d19f16a2f441f260df056ef8842b5">7501407f</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: snapper: Add new fchmod_fn implementation

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9722732b1867e359304594ada72ff40cd1341be5">9722732b</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: SMB_VFS_CHMOD -> SMB_VFS_FCHMOD

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/34949219eda5c1e8524106af50bbade32d5c9ce6">34949219</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: file_set_dosmode SMB_VFS_CHMOD => SMB_VFS_FCHMOD

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb571d2b47644f0cd4f148d2e52d9970b4d4d6c5">cb571d2b</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: nfs4acl_xattr_fset_nt_acl VFS_SMB_NEXT_CHMOD => VFS_SMB_NEXT_FCHMOD

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dda3d953a0082719de6f4d9ec208f6b52b00886c">dda3d953</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: linux_xfs_sgid_mkdirat() SMB_VFS_NEXT_FCHMOD => SMB_VFS_NEXT_CHMOD

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5cad228f55595b1f62c7c6e69df4908df1211f72">5cad228f</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/torture: Make cmd_chmod now use SMB_VFS_FCHMOD

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/726160a8ae6364b52fa4c962b1f836aa975847fa">726160a8</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: acl_tdb: Remove call to chmod_acl_module_common()

Signed-off-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a773d5e321fa8b9df247af11290845f1d21c4874">a773d5e3</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: acl_xattr: Remove call to chmod_acl_module_common()

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d87123648b81fd2e39062ab3a9aac8abab41d2ce">d8712364</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: acl_common: Remove chmod_acl_module_common() function

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f4e1598bbbfff92752763156e70bdb9ec0ab6278">f4e1598b</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: audit: Remove audit_chmod

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b1a5c292cd23aea3b71671992bc81307e6681a7c">b1a5c292</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: cap: remove cap_chmod

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf90930a0380ad064e2372afdabe7d3394405e77">bf90930a</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: catia: Remove catia_chmod() function

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/25c53f1499750934f6c82ddd2fce4a34e48eff5e">25c53f14</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: ceph: Remove cephwrap_chmod() function

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/27ae0e1e37c370aeab2e454e94d21a48e1e0a706">27ae0e1e</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: cep_snapshots: remove ceph_snap_gmt_chmod() function

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f680b45b0e978631fc3631dd3caefdfb80f2b73">8f680b45</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: extd_audit: Remove audit_chmod() function

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/87223ed5b0dd5006d339b277c3f610bb7db4e470">87223ed5</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: fake_acls: Remove fake_acls_chmod() function

Also remove fake_acls_sys_acl_set_file() which is no longer called

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3df8106edc8d67a596fbc5c8679014492e12e04c">3df8106e</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: fruit: Remove fruit_chmod

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2bcd5b92e03b0764483052a3b700050d2bb1e95b">2bcd5b92</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: full_audit: Remove smb_full_audit_chmod() function

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9cfbd8cb7fafa9aa75424c4d2ef7d9c43a2e1907">9cfbd8cb</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: Remove vfs_gluster_chmod() function

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2505719cdd144d272a43be8ac0a324a6baed7a99">2505719c</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: gpfs: Remove vfs_gpfs_chmod() function

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9999205a20c3cf31cb1a4f1f6925dababf7c3b63">9999205a</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: media_harmony: Remove mh_chmod

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/04d6f4a153f322fa1f0055bf59f47e2a218657d1">04d6f4a1</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: shadow_copy2: Remove shadow_copy2_chmod

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ad45e014569e6b846d9af4e26b8bd4261b079086">ad45e014</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: snapper: Remove snapper_gmt_chmod

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca6764aff3a716bba76307d99442f0b8d394513a">ca6764af</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: time_audit: Remove smb_time_audit_chmod

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8b24b8643571ba3fb9f2d138e5f779ab514b3697">8b24b864</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T22:27:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: unityed_media: Remove um_chmod function

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/534de9b28274165ac5d86f0c79fa2d543c0f09ed">534de9b2</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-11T23:25:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Remove SMB_VFS_CHMOD, no longer used

                               ---------------
                              /               \
                             /      REST       \
                            /        IN         \
                           /        PEACE        \
                          /                       \
                          |                       |
                          |     SMB_VFS_CHMOD     |
                          |                       |
                          |                       |
                          |       08 April        |
                          |         2021          |
                          |                       |
                          |                       |
                         *|     *  *  *           | *
                _________)/\\_//(\/(/\)/\//\/\////|_)_______

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Sun Apr 11 23:25:31 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/768d48fca9f8c7527c0d12e7acc8942b5fd36ac2">768d48fc</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2021-04-12T00:38:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests python krb5: MS-KILE client principal look-up

Tests of [MS-KILE]: Kerberos Protocol Extensions
                    section 3.3.5.6.1 Client Principal Lookup

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Apr 12 00:38:26 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e4ad0aa373afc94b15a5d538deea53bfa2d14856">e4ad0aa3</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-04-12T11:11:06+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Update status of SMB_VFS_CHMOD

Missed when SMB_VFS_CHMOD() was removed.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Mon Apr 12 11:11:06 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5b0d3b209a7ab76101e90946852acf42adf46444">5b0d3b20</a></strong>
<div>
<span>by Philipp Gesang</span>
<i>at 2021-04-12T20:07:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/audit_logging/test: fix typos

Signed-off-by: Philipp Gesang <philipp.gesang@intra2net.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Apr 12 20:07:47 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cef28acbd2b3295a5d79575d6598d5d1fb92f005">cef28acb</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:script:tests: create temporary files under $PREFIX/SELFTEST_TMPDIR

Tests should not create files in the build nor the source directory!
They should cope with read only access to them.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3d618689e254429cd2c36132af0c0b3904c1d7e4">3d618689</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:tests:samba_tool: create temporary files under $SELFTEST_TMPDIR

Tests should not create files in the build nor the source directory!

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d260d2c59bf7a7026e3c4fd07209c32f6764210d">d260d2c5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:client:tests: create temporary files under $PREFIX/SELFTEST_TMPDIR

Tests should not create files in the build nor the source directory!

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/467cfaf852e67a283c453b71007a10ee7f9cf0d4">467cfaf8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs:blackbox: create temporary files under $PREFIX/SELFTEST_TMPDIR

Tests should not create files in the build nor the source directory!

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0e7a7440f7cc44a8e18942048527b3152e26e0eb">0e7a7440</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: change the task definitions into an dictionary

The will make it easier to add more meta data properties to task
definitions.

Use 'git show -w' to see the minimal diff.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2933c02718c81d858e73dca08e5237efc36a3e28">2933c027</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: split out a CLEAN_SOURCE_TREE_CMD

This works for all cases even if the builder runs in a subdirectory.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ba6f6a3cce1b55026ebbfae3ceccb5ed5c3e00c5">ba6f6a3c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: pass --with-selftest-prefix via make instead of configure

We do start for almost all jobs, just samba-ctdb keeps passing it via
configure in order to have a regression test for it.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e315ce40c249c6cd24c07f53b1eb8a8a8f77a175">e315ce40</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: defer cp and git clone

This will make further reconstruction easier.

Use 'git show -w' to see the minimal diff.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/404cd173e9e166c5b7c57c6cfc3e0366d7672893">404cd173</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: store the directory for the running builder in self.builder_dir

For now it keeps being the same as self.test_source_dir, but that will
change soon.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/95849d3d6a8abf09f0059e87a9051d07604666e8">95849d3d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: add support for dependencies

This will make it possible to split build and test stages
in the next steps.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/37619d399b7d8b5e3f6f15be913a73bba9abeb1d">37619d39</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: split out "samba-{def,mit}-build"

This means we avoid a lot of cpu usage for the build.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dc16294342d4a92f744816caaa0689db996cb658">dc162943</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: print out information of the available cpus

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4df7f2b6914645ca61edf05e8ef1fd4fd66cf1cb">4df7f2b6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: split out samba-{def,mit}-build into the build_first stage

It's enough to have 2 jobs in build_first, so we can move 'samba-fips'
out of it again.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/101237b4e6dd1401da41f26af02f1741c014b1ac">101237b4</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: specify explicit job timeouts

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e466bac9a8addf5c35d287874078a940a0e72916">e466bac9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: be more resilient to intrastructure failures

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/307edf82023545cb803b7e23bd43bfe631bbf2a0">307edf82</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: split out samba-{nt4,h5l,no-opath}-build

These will be used to move the build stages from private gitlab runner
jobs to shared runners.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e8b58bc2df6929bbaf2037cf7a21467bd542ca7">2e8b58bc</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: let private runners also make use of pre-builds

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c2a725b224b8a0abb6123b15e558e0bc6727aefb">c2a725b2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: move ad_dc_backup to samba-ad-dc-6

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/63853b823c6a263c69c06f91163bcada4f3646c9">63853b82</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: split samba-ad-dc-backup into samba-ad-back{1,2}

This will make it possible to run them in parallel (hopefully on shared
gitlab runners).

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a786ff99677bd22dc0499a01027f003bf8bfae27">a786ff99</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: move samba-ad-back{1,2} and samba-schemaupgrade to shared runners

This seems to work quite reliable now.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c378d4dde0a550c70a8d75bbb0e2b002b26477df">c378d4dd</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: move the content to .gitlab-ci-main.yml

We introduce an indirection from
gitlab-ci.yml via .gitlab-ci-default.yml to .gitlab-ci-main.yml

We do that in order to introduce a .gitlab-ci-coverage.yml later
as that will have to use different settings in future.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/23a54f4731c12333c2a62ed80c5abbf3ca054492">23a54f47</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci-main.yml: build coverity using --with-cluster-support

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a0a1988afb3aa4b0064919ad02a1ef7f38f44d80">a0a1988a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/.gitlab-ci.yml: make sure we force gitlab.com runners for now

We've just added our own runners with 'docker' and 'gce'.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6999e080ce0d5a0ab470daede88d7febafb49637">6999e080</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci*.yml: only use gitlab.org shared runners if possible

We no longer fallback to our private runner, lets see how that works
out...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/455227982382d33225d579689c9e70688b19e551">45522798</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci-main.yml: specify the image only by SAMBA_CI_JOB_IMAGE

That way we can construct the url just in one place,
we can also add SAMBA_CI_JOB_IMAGE to the ccache identifier.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3189807278b0cb10007831ad84fa55c2cb14b125">31898072</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: skip lcov step for samba-fips

This doesn't really work and only generates an empty samba-fips.info
file.

Someone familiar with gcov/lcov should look at this and fix it.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/95a9c3b29529e60643eeae2ef99e8b0ef7d43710">95a9c3b2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: split samba-no-opath into two tests

This was is basically a combination of 'samba-nt4' and
'samba-fileserver'.

As a single job it used more than 1h only for testing,
while the samba-no-nopath-build uses ~ 10mins (with a filled ccache).
Now we have two test jobs with ~ 30mins.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f5546ae64f39f3d1a252c5095c09b92a09a70e6">6f5546ae</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: split samba-nopython out of samba-minimal-smbd again

This was using more than 1h as a single job.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7387da74e6f0e33de5f80b9a5e59f268541f52cd">7387da74</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T08:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: split samba-ad-dc-4* tests into two

As single job they used more than 1h.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d5759794d6d384de02bbb5df9d46b3a8675813d0">d5759794</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-13T09:33:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">add .gitlab-ci-coverage.yml for a scheduled build

This will be used by the https://gitlab.com/samba-team/samba
configuration, while https://gitlab.com/samba-team/devel/samba
will still use .gitlab-ci.yml (via the legacy .gitlab-ci-private.yml).

The key point is the usage of the more powerful n1-standard-2
runners for testing.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Apr 13 09:33:14 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bfb9cd8b9b32f60475e8a654b77ea1b6b057d4ad">bfb9cd8b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-13T19:17:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: Check correctly if gnutls has been compiled with fips mode support

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Apr 13 19:17:56 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/759573136876ef2b1b1c7484f99570d7de957e0d">75957313</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-16T09:38:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth4: Make auth_anonymous pseudo-async

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/43a1e42815718591faa8d526319b96d089a758fa">43a1e428</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-16T09:38:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth4: Make auth_developer pseudo-async

This is a simpler approach to really just wrap the code.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a6f42ab8a778b9863990da3112c2e868cd006303">a6f42ab8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-16T09:38:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth4: Make auth_unix pseudo-async

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f852fb4cd4e2bcd676a9ea104c5bf00979771eed">f852fb4c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-16T09:38:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth4: Make auth_sam pseudo-async

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/254af19ba89b4c42e5f45ec731e6577d2fcc6736">254af19b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-16T09:38:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth4: Remove sync check_password from auth_operations

Remove complexity in the data structures, and pushes the async-ness
one level down.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8ff6ad7454d9da1dff91c8b827c54008e83cc150">8ff6ad74</a></strong>
<div>
<span>by Philipp Gesang</span>
<i>at 2021-04-16T09:38:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: fix timespec normalization

When fixing up timespec structs, negative values for the ns part
should be taken into account. Also, the range for a valid ns part
is [0, 1000000000), not [0, 1000000000].

Signed-off-by: Philipp Gesang <philipp.gesang@intra2net.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e3b369c0550383499af4b4ebb09513ef0e0635c">8e3b369c</a></strong>
<div>
<span>by Philipp Gesang</span>
<i>at 2021-04-16T10:27:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">allow tests to be run against a PAM-less build

Indexing the config hash table fails for PAM related values:

    Traceback (most recent call last):
      File "/src/samba/samba/selftest/tests.py", line 49, in <module>
        pam_set_items_so_path = config_hash["PAM_SET_ITEMS_SO_PATH"]
    KeyError: 'PAM_SET_ITEMS_SO_PATH'
    Error creating recipe from python3 /src/samba/samba/selftest/tests.py| at /src/samba/samba/selftest/selftest.pl line 645.

which prevents the test suite from running when built
--without-pam. Access those values using the get() method
instead.

Signed-off-by: Philipp Gesang <philipp.gesang@intra2net.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Apr 16 10:27:41 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fbf95a641bbb6acf83a818732b68ed1a1aa0b66d">fbf95a64</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-19T07:07:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth4: Remove unused auth_unix

auth_unix was in the source4/auth/ntlm for two reasons:
 - inherited from earlier Samba before the Samba4 fork
 - To support the ejs-backed SWAT (web administration tool)

Neither of these are good reasons to keep this unused code
around, there is very unlikely to be a need to support
plaintext PAM authentication in this part of the code in the
future.

See b16362fab65d0700bd6a8cf6569a9e21c7e6b069 for some
context on the historical use case.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Apr 19 07:07:01 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/564e066024deafebfe9cd7fbaa2478510b874a9b">564e0660</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: default: ntimes profile not ended when times not changed

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4cc06106998e49eaecf704a71ffb5e421ca67ab3">4cc06106</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Do not check for unused functions futimes() and futimens()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee3ea1bc745e743d49571b6c4f8465e9b8e9fa09">ee3ea1bc</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Add SMB_VFS_FNTIMES

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c7712ec0e61d3fffc56a938ad72d125906af01d2">c7712ec0</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: catia: Implement SMB_VFS_FNTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f07f3a5c22cda5132446e377e97db13349c942e4">f07f3a5c</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: Implement SMB_VFS_FNTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/31091cc5382b2e5cfaafcf8010c754d3057b88c0">31091cc5</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph_snapshots: Implement SMB_VFS_FNTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5e0def5e320738948ac4d24c1a6d84ff59d874ea">5e0def5e</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: delay_inject: Implement SMB_VFS_FNTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5d84ad711a38a90587d033f5bad1943831bdcb82">5d84ad71</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fruit: Implement SMB_VFS_FNTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7125279a1e0f97ea9a9a7232720fa5b6b4a6b04a">7125279a</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: glusterfs: Implement SMB_VFS_FNTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/28174fc1e7cd9861df710a55c180635f616178f0">28174fc1</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpfswrap: Add wrapper for gpfs_set_times()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/02d624c46f20c3685431cb746fb711fcf30b6b87">02d624c4</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: gpfs: Implement SMB_VFS_FNTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6d9fc8de56b883c868881237937be7ad2823216e">6d9fc8de</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: shadow_copy2: Implement VFS_SMB_FNTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c942e2bd399a23d9f2328aa6f9b758968db59d22">c942e2bd</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: snapper: Implement SMB_VFS_FNTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ed287c35d7a25fbabc6e573dfeaa95db39dcad7c">ed287c35</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Use new debug macros

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bccbc5bb1ec897a77f1a782bc8db8c4a47a7cf8e">bccbc5bb</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Update file times right before closing the underlying fd

Next commits will update file_ntimes() to use handle-based SMB_VFS_FNTIMES().
Move the update_write_time_on_close() call immediately before closing the fd.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1196903231013efa6499e71703fa12f7031f0dcd">11969032</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Pass full fsp to file_ntimes()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0a13237db9c691e125e74b309b7d8c1e3bc6bd6e">0a13237d</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Use SMB_VFS_FNTIMES() instead of SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1e677da50b49838c801d2e4ddc02fc3735de6a5c">1e677da5</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: recycle: set the recycled file times using SMB_VFS_FNTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ae9044395f5a8e3ff42f86ed63152bb1a8a30d4d">ae904439</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Change cmd_utime to use SMB_VFS_FNTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17a7f2cadb66d0fbf2db3d37927a92ee37a04ce7">17a7f2ca</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: cap: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e3608b040d60789ecc16139e72135af1c70efe1">2e3608b0</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: catia: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0456cad10cc752e92e99b9226250ef05d27be3be">0456cad1</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/248151bac65525c2c5ee6451308762fed0037104">248151ba</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph_snapshots: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/059b565abab86b49f439d08669e1ee53c08b7d27">059b565a</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: delay_inject: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/23c27b7f8225bc824160b63c161b118a4511c068">23c27b7f</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fruit: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7c70be050480f791a2453a3be9625d44fd106b5e">7c70be05</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: full_audit: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd01e5a4556862e3536c3536a89053f63e0eca72">bd01e5a4</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: glusterfs: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fad792aa5ca5a660a591a799154e5f5e9c0f4021">fad792aa</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: gpfs: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bc4bef5e6a4f30d7386bb03c6d944fa0463c7934">bc4bef5e</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpfswrap: Remove wrapper for gpfs_set_times_path()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bec491dd6513180c4f811308cb948511e7838569">bec491dd</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: media_harmony: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0b9ead076e54e0574b7fa312be596edde1537e60">0b9ead07</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: not_implemented: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/395c3922c24048899ab0aa042108592a6210b213">395c3922</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: shadow_copy2: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f2d1eb3870ab35f20ab29d899370e55a149da2ca">f2d1eb38</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: snapper: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b60693cbd79ee393c7aa6b2d79e7aada27abdd06">b60693cb</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: time_audit: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/adb952f01c04e097279b52532ec917517d9fb727">adb952f0</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: unityed_media: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/34f5594f2e3cbf76fb88e6d5210a66a542e59f1b">34f5594f</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T12:28:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: default: Remove SMB_VFS_NTIMES()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa2ab7feb10f7c8bc0d84e3dabb484f728f6f3ba">aa2ab7fe</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-04-19T13:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Remove SMB_VFS_NTIMES(), no longer used

                         ---------------
                        /               \
                       /      REST       \
                      /        IN         \
                     /        PEACE        \
                    /                       \
                    |                       |
                    |     SMB_VFS_NTIMES    |
                    |                       |
                    |                       |
                    |       13 April        |
                    |         2021          |
                    |                       |
                    |                       |
                   *|     *  *  *           | *
          _________)/\\_//(\/(/\)/\//\/\////|_)_______

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Samuel Cabrero <scabrero@samba.org>
Autobuild-Date(master): Mon Apr 19 13:19:35 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cc4e6a900aafde4ab2a93c23b2eda70a973a2e6e">cc4e6a90</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-19T14:37:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:script: Remove findsmb from default installation

This tool is the only client tool which requires perl. Distributions are
removing perl from the default installation now.

Also this is a wrapper around nmblookup which is obsolete in the AD
world. However it might still be used by someone so move it just to
examples/scripts/nmb/

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Apr 19 14:37:04 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a5daae9a84c979dd207872d4d3b0b6491df51109">a5daae9a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix includes in strv.h

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8cdc09006f2759111b3ad8c300f800f6cebdeb4d">8cdc0900</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix includes in util_tdb.h

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/60602dda406fdc14186e85cae40d1cf2f598e4be">60602dda</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix nonempty line endings

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/047e9a0ce45a1c8f0371d5f2d421cf27c3e15f74">047e9a0c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove unused tdb_traverse_delete_fn()

We have tdb_wipe_all() for that now.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7f0a87990e5e98a28ce677cc91fe339ca4e301c8">7f0a8799</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Simplify tdb_fetch_uint32_t()

With tdb_parse_record() we don't need malloc/SAFE_FREE

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/604c16453c7cee96e23cec52cbc061a15e78b703">604c1645</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Simplify tdb_fetch_int32()

With tdb_parse_record we don't need malloc/SAFE_FREE.

The semantics are a bit different from tdb_parse_uint32: We just return
-1 on error, but this could be overloaded with a valid -1 record value.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/43dcca632a221f6469f0fc0c34c714b7765f1f3b">43dcca63</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Make winreg_get_printer() a bit easier to read

EMPTY_STRING does not gain clarity over "" for me.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea47224f6530f15f92c9e122ae535720a685306c">ea47224f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Make winreg_get_printer() a bit easier to understand

This is more lines, but the FILL_STRING macro did not really gain much
in clarity for me.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c61316c94676da40c54d9db421f350f02871c4c1">c61316c9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Straighten winreg_get_printer() slightly

Use the common done: exit for everything. This involves initializing
the handles on the stack, but this is good practice anyway.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca078a7103292b36cdac3d383620e98d4aae03c1">ca078a71</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: talloc_stackframe() aborts on failure

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3a5c2582e12b712590b1ff679e8a46154da03c31">3a5c2582</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Direct struct initialization in dcerpc_winreg_enumvals()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/111118354a1ad956d36bf7e4963dc9c4ac969849">11111835</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: talloc_stackframe() aborts on failure

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf87771f18f0c63f2c50ac6070de14936180e6e1">bf87771f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">registry: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c0edfd91e4be447f7d4ec59e4c049eadba227008">c0edfd91</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/999a412db9c2b8e46d87972ad357a8345fde1810">999a412d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: Use talloc_move() instead of talloc_steal()

More recent coding style, avoid ambiguities about ownership

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/586456662749d86db91948e11bf52fe9a11fcab8">58645666</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: Fix a error path memleak

(find the missing TALLOC_FREE() in the - part of the patch...)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17ba76b9794fc9afe3c2ae086d89867b96d7a581">17ba76b9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Replace a call to TALLOC_ZERO()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d30744265f159afe03ee39c5960ab7825a04b5b4">d3074426</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: Replace a call to TALLOC_ZERO()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/529c5cb57829af2133bb875b374bcff414143fce">529c5cb5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: Remove a call to TALLOC_ZERO()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/44f6258ad080939921908d553ca19e982ee729fc">44f6258a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove two unused historic macros

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8536bf7fce41c43bbed25f7ed4ce5775a1b9c0d5">8536bf7f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth: Simplify DEBUG statements in make_auth3_context_for_ntlm()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/218adb74e38785703b7c0d0fc3228f985c3d0443">218adb74</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/062a0c14c6ee0b74e7619af73747df59c5e67672">062a0c14</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: Simplify check_samba4_security()

First set up "server_info" in a local variable and once it's fully set
up, assign it to the out parameter "pserver_info".

Pointer dereferencing obfuscates the code for me.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12b523223c7771c3fd9cebdb0f247c7ccb9614bd">12b52322</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/42906e971d6f19b86e1d2440571df8eebd63dfbd">42906e97</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: Fix a few error path memleaks in create_local_token()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1a696c9ae28453bbf40f14c8f0175664a4ddf3b8">1a696c9a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">create_local_token: Add error checks

add_sid_to_array_unique() only fails for ENOMEM, and other parts of
the auth stack would probably crash under ENOMEM anyway. But this is
authorization-related code that should be as clean as possible.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8b6c6fd17ca48695783d12bf10a01f3c8e9ddce3">8b6c6fd1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: Remove auth_skel.c

Authentication is a very complex topic, and someone who is able to
write a custom auth module turning a struct auth_usersupplied_info
into a struct auth_serversupplied_info should be able to live without
this skeleton module.

This module also gave an example to load a secondary authentication
module via a module parameter (the call to load_module()). We have
abandoned this practice, and since the "auth methods" parameter has
gone we don't use this anymore internally.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d1454535724853ab3056e343ebc964f7b958539e">d1454535</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: Make load_auth_module() static

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a20c4b183d71b6e965221b59704c57df36ab8b1a">a20c4b18</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Slightly tune get_new_descriptor()

DBG_DEBUG only calls its arguments if required according to the debug
level. A simple talloc_new/TALLOC_FREE in the normal case should be
much cheaper than the full sddl_encode().

I just stumbled across this code, this is has not shown up in any
profiles. I just think it's cleaner this way.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f4f6a4305cc2d5d0b05bd8d1c77b589803093ef">1f4f6a43</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: Remove unnecessary talloc_unlink() calls

The structures we unlinked have been talloc_reference()ed in gensec
and thus don't need the second talloc parent anymore. But this
talloc_unlink isn't necessary because tmp_ctx is free()ed a few lines
down.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/015cfe2ecdfa18835cacbaeab3bc04eb08dd54b8">015cfe2e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: Add an error check to auth_generic_prepare()

gensec_set_credentials() can fail

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dab8e9eb4a704b141ff4355560cf94db45093793">dab8e9eb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Simplify sddl_encode_ace()

Use GUID_buf_string() instead of GUID_string() for encoding objects,
no need to check for NULL anymore.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebea5639cf75f6821bf9fd1a2efcfc086f8b4866">ebea5639</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py_security: Avoid casts in py_random_sid()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d298623c85dcf2d018c5ad83b9959b805ad42929">d298623c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Use GUID_buf_string() in python wrappers

No need for the talloc'ed strings

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/439b7ccdc1b1c91c66c1a7c83e340fa044c26377">439b7ccd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Add py_descriptor_richcmp() equality function

Only a python3 version. Do we still need the python2 flavor?

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f9867907797d3f8611c2488a9dfb059076721fb">0f986790</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Move sddl tests to python

This kind of test is better hosted in python than in C. More lines,
but the ones in source4/libcli/security/tests/sddl.c were preeetty
long...

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd0f6671c7732fbe184130fd47910cdf84ff6357">bd0f6671</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T18:18:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: Make auth3_session_info_create() static

Only used in the static artifical session creation

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62782a1482c6bb2a7eed50d20572b1f3641979f8">62782a14</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-19T19:07:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Apr 19 19:07:01 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/667fd04ccd500bc6b5f619450b577f62d8a234ab">667fd04c</a></strong>
<div>
<span>by pavel.filipensky</span>
<i>at 2021-04-20T06:42:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:passdb: Fix 'return 1' in secrets_store_creds()

The recently introduced function secrets_store_creds() should always
use 'return false' in case of a failure. It is not only spelling issue
since 'return 1' actually means 'return true'.

Signed-off-by: Pavel Filipensky <pavel.filipensky@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Apr 20 06:42:50 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/25a2b7324bb615012571de566c1c7944ba1f4e58">25a2b732</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-04-20T07:39:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Open ssh config to write bytes

Reopening the existing config file fails because
we fail to open to write bytes.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/249565c65af05fb88e15ed10d0ff770c97c938ff">249565c6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-20T07:39:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Add samba3.smbtorture_s3.plain.POSIX-SYMLINK-CHMOD

Shows we must protect against a null fsp handle when doing POSIX chmod on a symlink,
whether the symlink points to a real object or is dangling.

Add to knownfail for now. Commit 9722732b1867e359304594ada72ff40cd1341be5
removed the fsp == NULL protection for POSIX, and we need to put it back.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5c3470c0f2937f0a878469f751e868b7e80234d8">5c3470c0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-20T08:23:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Prevent fchmod on a symlink.

Remove selftest/knownfail.d/symlink_chmod.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Apr 20 08:23:42 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f451e24ea6991e5d2750fe0d19bf94768910443">6f451e24</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-20T11:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: use TO_LIST from wafsamba.samba_utils

Signed-off-by: Stefan Metzmacher <metze@samba.org>
[abartlet@samba.org: adapted from patch in Metze's
 wip.git/master-heimdal to current master
 without the other patches]
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/01dac7b97c9c2f67f0c76332fe7b9491a0d61c71">01dac7b9</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-20T11:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Do not use LMDB in Heimdal even if we have it in Samba

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4367eeb77851b9fa49a7c06c4b3cced9e4e18468">4367eeb7</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-20T11:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Improve test names in kinit test for improved debugging

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/52950460821860613eaf375f2fa0ad1fc6f16674">52950460</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-20T11:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: let 'use_hostcc=True' result in -D_SAMBA_HOSTCC_

That's easier for the callers.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5172e1b0dd625c8f5593c92b185b4c593514bd89">5172e1b0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-20T11:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/replace: don't set -D_SAMBA_HOSTCC_ explicitly

use_hostcc=True already triggers this.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c50475487274cc8f524b28aac9825e35e9407c8d">c5047548</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-04-20T11:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: avoid cflags='-DSOCKET_WRAPPER_DISABLE=1 -D_SAMBA_HOSTCC_'

SOCKET_WRAPPER_DISABLE is unused for a long time already
and _SAMBA_HOSTCC_ is implied by use_hostcc=True now.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
[abartlet@samba.org: Adapted to current master from Metze's wip.git/master/heimdal
 branch]
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/05a1ca2f4c771d1e249a6d756488cb5e1e3312dd">05a1ca2f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-04-20T11:42:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util: Ensure debugger can be attached to process

samba_start_debugger() attempts to start a debugger attached to the
calling process by calling system() to start a background process.
However, if the spawned shell exits before the debugger has had a chance
to attach, the debugger process will no longer be a child of the parent
process (as it will have been reparented).

If the system does not allow tracing by non-child processes, attachment
may fail as a result.

This commit replaces the system() call and the implicit shell around
xterm with an explicit fork()/exec() so that the debugger remains a
child of the calling process, ensuring the attachment succeeds unless
tracing is disabled completely.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/416c9bbc4f8c92fd0951ce6f03228fd22aedd650">416c9bbc</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-04-20T12:33:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util: Ensure debugger is not started until it is allowed to attach

Use a pipe to ensure that the debugger is not started until after the
prctl() call allowing it to attach to the parent, avoiding a potential
race condition.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Apr 20 12:33:40 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e030355643624440a7107e14fe57bb37a86903de">e0303556</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-20T23:19:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Factor out sddl_map_flag()

We have to look at more than one map, "FRSD" is not correctly handled
right now for example. This factors out walking a map to make walking
multiple maps easier.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b113a3bbcd03ab6a62883fbca85ee8749e038887">b113a3bb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-20T23:19:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Show sddl_decode() failure for "GWFX" access mask

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/58c6c031f5d81b2c0aff5b282fe758cd668aeff3">58c6c031</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-21T00:04:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Fix parsing access flags from multiple tables

We have to look at all available mappings for parsing sddl for each
special flag set. "GW" and "FX" come from two different tables, but
the previous code settled on one table and then expected both "GW" and
"FX" to come from that same table. Change the code to look at all
tables per special flag set.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Apr 21 00:04:36 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0d30d74e89829cc7b4faa6ba835e3d90c1c410aa">0d30d74e</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-21T09:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Synchronise "log level" in smb.conf with the code

This is done by pasting in the contents of default_classname_table[]
in lib/util/debug.c into
cut -f 2 -d \"| xargs -i sh -c 'echo "\t<listitem><para><parameter moreinfo=\"none\">{}</parameter></para></listitem>"'

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e533664e756ccde8fc1b3e41e70437c9e7bafcd">2e533664</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-21T09:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Add missing documentation on dsdb_group_audit and dsdb_group_audit_json

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a778a3a6420f094a953563b87f84457fdebd20a3">a778a3a6</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-21T09:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Add proper explination on why transactions need to be audited.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/364b8be9816b34b2a1b07c6259345c406d68c9f2">364b8be9</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-21T09:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Further discourage the use of the "event notification" options

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d03e7ffcff32452bb92f2ced9f06cbeab9843e04">d03e7ffc</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-21T09:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: underline special words in the audit logging part of "log level" in man smb.conf

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38fe888f95f8d22736080ed521939be932e7bca0">38fe888f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-21T09:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Expand the "log level" docs on audit logging

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f29b8c2fee0d6bcc5b83ef237518539179de465">0f29b8c2</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-21T10:04:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: add dns zoneoptions for aging control

This adds a subcommand for altering zone parameters.

At the moment the only options are related to record aging (a.k.a
scavenging). The code is structured to make it easy to add more
integer or boolean options, but it is not clear that this would be
useful; many other parameters are not used or would only have
deleterious effects.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Apr 21 10:04:14 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bbfdd6322fa33ccd583a475ceff70e2fd2a95872">bbfdd632</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-04-21T20:51:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: Add s3 net python bindings

This adds python bindings for the s3 net ads
join and leave commands.

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5a32d4a01b4df7078cf38e52ac4c465baa802f6">e5a32d4a</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-04-21T20:51:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Test s3 net join and leave

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d01a588c20723090b4d672d869c89a4397bce3c0">d01a588c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-04-21T20:51:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: glue function for detecting if selftest is enabled

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/34a6575ab95ba50878b8261d8fdd5dfef6727fc3">34a6575a</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-04-21T21:40:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Use s3 net join for member join

The s4 member join code has been broken for some
time. Modify samba-tool to instead use the
working s3 member join code.

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Wed Apr 21 21:40:13 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e1a321e8a4ef4ebee3f01350173e71cd98e2d352">e1a321e8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-22T17:57:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:texpect: Do not link against nsl

I do not see what would use that in texpect.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/620de975f147ac9427b51ea0e1e3eabda443d4b6">620de975</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-22T17:57:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Remove NIS support from string_match()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/622e84cfca474181960cc24163faa85aa71257c3">622e84cf</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-22T17:57:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Remove NIS support from substitute

%N is often used to get the netbios name (local machine name). So we
need to keep it.

This is covered by samba.tests.s3passdb.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/edda7a329e5bed442418de9782cec9f567092aae">edda7a32</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-22T17:57:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Remove NIS support

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/292290219072224e3c5a8a9294688c90d77a1dc3">29229021</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-22T17:57:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:replace: Remove NIS support

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a72bc3e15d3ed62e9ad2c0a97ce5d6d653abb048">a72bc3e1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-22T17:57:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update documentation for removal of NIS support

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/993ae77fba40f3758f0c1a66af687268c6e67e8c">993ae77f</a></strong>
<div>
<span>by Gordon Ross</span>
<i>at 2021-04-22T18:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix sigsegv in check_stream in smbtorture smb2.streams.io

torture_comment calls need a struct torture_context arg,
not its mem_ctx child.  Use talloc_parent().  Also
need to call torture_result somewhere on failure.

Signed-off-by: Gordon Ross <gordon.ross@tintri.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Apr 22 18:48:30 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/84cf5c15f9e9a645579ed9b7c3ab238568cbc015">84cf5c15</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2021-04-23T07:35:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:ldb: Use a 1MiB lmdb so the test also passes on aarch64 CentOS stream

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17294c6bb77f091eef38b6c07fda5fde9eea9422">17294c6b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-23T08:26:00+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:ldb: Change page size of guidindexpackv1.ldb

As this is a TDB file, the file has been backed up using tdbbackup to
get a different page size. This fixes running the repack.py test on
aarch64.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Apr 23 08:26:00 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e973ea5f1392e7644b5d0706a34a7cae7bb7141">2e973ea5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-25T21:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:replace: Fix resource leak in os2_delete test

Found by covscan

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dca03ffa8ab682a2705da8cb25cab899338a1375">dca03ffa</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-25T21:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:replace: Fix a memleak in test_strdup()

Found by covscan

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/68cb9a0e6c7991280154387527cd919e92d05c20">68cb9a0e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-25T21:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:replace: Fix a memleak in test_strndup()

Found by covscan

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a9ad677eb8527849ac686180c489d7dcb7f76e80">a9ad677e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-25T21:17:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:replace: Fix memory leak in test_asprintf()

Found by covscan

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/16d1abb63ebc6a5566238c1077b5623b18e87643">16d1abb6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-25T22:02:19+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:replace: Fix possible resource leaks in test_closefrom()

Found by covscan

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sun Apr 25 22:02:20 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6fcde09f093db5d26c582a3c28531265f06b9fde">6fcde09f</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2021-04-26T12:32:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyldb: fix a typo

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Rowland penny <rpenny@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/86f2b8dab1102974d32275282dfe69f4af5b6834">86f2b8da</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2021-04-26T12:32:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test samba-tool group listmembers: test listing contacts as group members

Make sure that contacts are listed as group members, even if the
--hide-expired option is used.

Expect failure. Fix follows up.

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

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Rowland penny <rpenny@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e2426e51576aae6211950b25aaacdd97815b111">2e2426e5</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2021-04-26T13:21:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool group listmembers: always list objects which can not expire

Otherwise for example contacts wouldn't be listed when the
--hide-expired option is used. Contacts typically do not have the
accountExpires attribute.

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

Signed-off-by: Björn Baumbach <bb@sernet.de>
Reviewed-by: Rowland penny <rpenny@samba.org>

Autobuild-User(master): Björn Baumbach <bb@sernet.de>
Autobuild-Date(master): Mon Apr 26 13:21:43 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3ba5ed73fcf40b4e18ae84c272188849449586fe">3ba5ed73</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-27T13:24:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Remove the pause_pipe[] from queue_process.c

Since c80f70390c37 we don't need this explicit pipe anymore.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7997a090c687df56c29607d4860b306aeb1dd237">7997a090</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-27T13:24:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Remove dead code

This was already covered a few lines above.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce97c67186266213ef78ccc56917a6bb45bd200d">ce97c671</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-27T13:24:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Reduce indentation in start_background_queue()

We don't need the "if(pid==0)" here, we've covered "if(pid!=0)" a few
lines above.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d2eb62a1070dc2ee5be99338d4fa66981002c12">8d2eb62a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-27T13:24:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Avoid zombies in the background daemon

Whatever you read about waitpid() tells you should should run it in a
loop.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8728bf91471fe044c989b2c8eaf9f5945f347b9b">8728bf91</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-27T13:24:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Replace call to close_low_fds() with direct calls

Check the errors from close_low_fd(). Also, close_low_fds() does not
really add a lot of value, for example there's no caller that closes
stderr.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/00b57391dd27d15fa25d5577b7c0192802468bab">00b57391</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-27T13:24:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Directly call close_low_fd() in become_daemon()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/349bd015d227a625990af7122e39319431f7af8d">349bd015</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-27T13:24:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove close_low_fds()

There were only two callers, it did not do proper error handling, and
it was confusing to call.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ad7628b2cb254d9b25ee70f86edfeb725e809b01">ad7628b2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-27T13:24:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gensec: Slightly simplify gensec_generate_session_info_pac()

Reduce indentation by an early error return and by introducing a
helper variable.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cdd9d423716f4f917a9f4589ac90ee1b21d11c02">cdd9d423</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-27T13:24:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: Apply some const to auth3_context_set_challenge()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b150982d90bf2c1d4dcf08384b1d35614d162e65">b150982d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-27T13:24:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: Use auth3_context_set_challenge() in auth3_set_challenge()

Don't duplicate what's already there.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee431a298726b61fd0244c42e613fde87e2bdd82">ee431a29</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-27T13:24:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4e034e8f8fcd5e63dc4afe5a210ccea347bfa523">4e034e8f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-27T13:24:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: if (ret==False) just looks weird

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a01f680e43a4aade9fde9bf83842647a3f9f708c">a01f680e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-27T13:24:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">passdb: Add error checks in samu_set_unix_internal()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/117f00158afe74e8e1abf1a0a637cebc2738c36d">117f0015</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-27T13:24:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c9508b971ca54d5293d8976190635c406bd209c6">c9508b97</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-27T14:14:22+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth3: talloc_strackframe() panics on failure

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Apr 27 14:14:22 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca6a8037aa1b613f9b0e3df4d0a7908dc053f06e">ca6a8037</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-27T17:51:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:replace: Fix a posible double free

CID 1477397

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Apr 27 17:51:36 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b5984c3da0f799368f739083a2d9f331e1a4e368">b5984c3d</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml and autobuild: Publish the current HTML docs with the code coverage

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/225fefe6cf8f1c0292f13104c7b51c3397b941ae">225fefe6</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Avoid -Werror=strict-overflow in -O3 coverage build

The test_getinfo() function only needs to return if this happens
not how many times.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/190e15dfb07b2b99398ea1874ae413c7a90f862e">190e15df</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Fix "-Werror=maybe-uninitialized" errors only seen with -O3 and --enable-coverage

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/742ae6172f82c7d77080bfda58fde33303bb5759">742ae617</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-modules: Fix "-Werror=maybe-uninitialized" errors only seen with -O3 and --enable-coverage

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/836ad93795c5719622d69971d657fa57dca9f1b9">836ad937</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: Return code coverage reporting for "none" tasks

This was lost early on with 54f26cfcf2587a2b1d97f466a886fa89a116eea1
which did not take into account code coverage, which stopped running
for these tasks very early on with
71595201bea9b3fa28357065fa137806f9220f38.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a4cce28bfa3c1d0cd7e05c4628f6931eef8ce69f">a4cce28b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: Always build the ubuntu1804-samba-o3 with --enable-coverage

This ensures that the coverage build always works, as it can trigger different warnings.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aecb2b779b88c13784b7c2691ae08da716d65ab2">aecb2b77</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: remove all 'from __future__ import print_function'

This made Python 2's print behave like Python 3's print().

In some cases, where we had:

   from __future__ import print_function
   """Intended module documentation..."""

this will have the side effect of making the intended module documentation
work as the actual module documentation (i.e. becoming __doc__), because
it is once again the first statement in the module.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c3a95b22aa1cf9bacba57d094a1ec178ee77cd63">c3a95b22</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: remove all 'from __future__ import division'

This made '//' and '/' in Python 2 behave as in Python 3.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ba4aa2e8c1f2c428212301f5584f2bd59252ecdb">ba4aa2e8</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/hostconfig: remove 'from __future__ import absolute_import'

obsolete in Python 3.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e84924fdfe22829d8dcc733e4aa9bd3af30f0c66">e84924fd</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: remove 'from __future__ import unicode_literals'

as well as a comment about Python 2 strings, which we don't want to be
reminded of.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2ccd5c096aa77f3b81a60d01e1c97464f2681d43">2ccd5c09</a></strong>
<div>
<span>by Viktor Dukhovni</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">HEIMDAL: Avoid yydebug compiler warning

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry-picked from Heimdal commit 17d6d0ac1e8597e91d723399cbe9af9ea2e13f42)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3bb4a0df36652821f77e674bca3e35d11254bc76">3bb4a0df</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Make HEIMDAL_BINARY be based on HEIMDAL_SUBSYSTEM

This is imporatant as it ensures that the warning -> error
logic and overrides are done for source files directly
listed in a HEIMDAL_BINARY and a HEIMDAL_SUBSYSTEM.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c2c09113e5598ae87dcf470cb85aaf1a62d03ba4">c2c09113</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal: use correct prototype of yyparse()

As noted in 92c6891c368cae5c2402727c1f66f1c60778199d in upstream
Heimdal yyparse() returns an int.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e45980ff5de27b4558e7dfe0ce4c7af39d9c8b6b">e45980ff</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Use bison at build time rather than lexyacc.sh to build the embedded heimdal

Because the filenames are changed to the *.tab.{h,c} format
a transitional header is added.

While the built compilers differ, the output of the compilers
and the resulting .o files have been verified not to have changed
on Ubuntu 20.04.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0e6e5f9c3a5d584dd6ef9401e7323cd198a41db8">0e6e5f9c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Link py_net only against needed cmdline_contexts library

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d45eddb585ca3c6d4f1a165eaa2e2f5d766faef4">d45eddb5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">file_server: Add a missing no memory check

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ceccb6182072ec3ec7d1fe2fc3b85ad140a9e407">ceccb618</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">file_server: Pass the 'samba' daemon config file to smbd

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0b8433cf87f7e106b3ff1695801ab5ce723a27e0">0b8433cf</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:winbind: Add a missing no memory check

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24c4fcf811517593074a606d12327a3d2842c427">24c4fcf8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Pass the 'samba' daemon config file to winbindd

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c54d5dbe0ce86beb166728d5925afd4b6afe0f34">c54d5dbe</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Specify /dev/null as the smbd config file

smbd will require a smb.conf later.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/293a941fc01b14ab22d785a56ea17ea0b8363bf3">293a941f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Use 'desired' and 'required' for option 'client signing'

For a better user experience we use disabled, desired, required
everywhere now. The arguments auto and mandatory are still working and
synonyms.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9fb88e6ee79da8912b696bbbcda76f3020662bdf">9fb88e6e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Use 'desired' and 'required' for option 'client ipc signing'

For a better user experience we use disabled, desired, required
everywhere now. The arguments auto and mandatory are still working and
synonyms.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fca9c56836cd28875d67eef6e33628f8a51ebd88">fca9c568</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Use ldbsearch '--scope instead of '-s'

We should use long options in tests to make clear what we are trying to
do.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/86f7bc7a3722a95cb2c0e45255affb1520e581f9">86f7bc7a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Use --suppress-prompt instead of -s for testparm

We should use long options in tests to make clear what we are trying to
do.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f291b8f157156024fe6726ddf16218529b39f5e9">f291b8f1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Use --configfile instead of -s

We should use long options in tests to make clear what we are trying to
do.

Also the -s short option will be removed for --configfile later.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b2bad13ca3545ea451c7858dace56195d18c4827">b2bad13c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:tests: Check for 'Client started' in the log

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1cd233712e1a62d716a1d8b34ff3dca6a8f0f501">1cd23371</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:param: Add 'client use kerberos' config parameter

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/08be28241b808845c4b51a4c47765a9416ca3aa7">08be2824</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Check the return code of setup_namespaces()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a00726593c2f3b464e48c22e7a757aa1a06ecff2">a0072659</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server: Set Kerberos to desired

This is required for ncalrpc_as_system to work. In FIPS enabled mode,
'client use kerberos' is forced to required. We need to allow
non-kerberos use for ncalrpc_as_system here.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/521f77c6671a0a088dedcdcafd264690c123b0b3">521f77c6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Add obtained arg to cli_credentials_set_kerberos_state()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5a751ea55e74528e32a6b8dd356f6fe8683f5210">5a751ea5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds:tests: Add test for cli_credentials_set_kerberos_state()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4c4353705f3303c91abe97766000ece18f724388">4c435370</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:param: Add 'client protection' config option

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7accd9003521f38b03d1073890761f7d8dc8d675">7accd900</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Use 'client protection' option for smb sign and encrypt defaults

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2fbc63cacc81ab9e1dfdbe6d979c248c3bdea686">2fbc63ca</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Add obtained arg to cli_credentials_set_gensec_features()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f65a32fac10e2d96d95bddee37f12abea7036ba3">f65a32fa</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds:tests: Add test for cli_credentials_set_gensec_features()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f33844b70b6712fd5b909b730c5b4da582c06b20">f33844b7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Add cli_credentials_get_username_and_obtained()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b78f4f093251bface20f307eb673ca632add34f">3b78f4f0</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds:tests: Add test for cli_credentials_get_username_and_obtained()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd2b18250158ba90768c304d2c7cb4d7e81d8dcd">bd2b1825</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Add cli_credentials_get_password_and_obtained()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fcba4eb4329641c535b809d268b04474df596c56">fcba4eb4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds:tests: Add test for cli_credentials_get_password_and_obtained()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5470da07c0f9768749978a52def2582615c616f5">5470da07</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Add initial code for new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6c812505658d92c8d0fbed6cedc5d6520cbed627">6c812505</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Add client credentials

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e54f5f9527a9758e094187dd0dd71bc324fb63b4">e54f5f95</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Add callback for loading the config file

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/726ccf1d56b2979c827dd8586d1aeb6cb8de236c">726ccf1d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Parse cmdline options with popt

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/054d11f73a7c50427ff0ec4394ad2681dc0aa3ac">054d11f7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Implement legacy kerberos options

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/095bed6aa280a9960a2d7dd4b6badb10cc1105ba">095bed6a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Set kerberos=required for --use-krb5-ccache=CCACHE

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d945ed03c91a11509356964ced8a2c76fdaa547c">d945ed03</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Add samba_cmdline_burn()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8560c31080881f746946bb88ea8e549b3df97d63">8560c310</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T03:43:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Add sanity check for options

Make sure we don't have duplicate options!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eb5730674252b43251dc5799fa2225a65f2f570c">eb573067</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T04:32:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Add doc entities for the options of the new cmdline parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Apr 28 04:32:47 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7e63e84d47d63d023bd1e540968ee1efd8bc262d">7e63e84d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-28T08:47:21+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Document removal of NIS support

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Karolin Seeger <kseeger@samba.org>

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Wed Apr 28 08:47:21 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/87927173e85712c458cf7d0582da14dd2959d2ac">87927173</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T03:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:nmbd: Migrate nmbd to new cmdline option parser

This removes --log-stdout as we already have --debug-stdout in the
common options!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d8f84205337a8baae7f4057a042e74b3d1c3633a">d8f84205</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T03:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Migrate smbd to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c23f75cd62df38179b08ddf4061d434aeb31eb12">c23f75cd</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T03:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Migrate winbindd to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c7b1d2d11cfc348e654375fc1e880bf4e1773b88">c7b1d2d1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T03:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Add debug_get_log_type() function

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3467214cf967641f4e4001a9dfea870f933fc2a3">3467214c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T03:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: Remove --log-stdout from daemons

The common cmdline parser provides --debug-stdout.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4be015dd106bc45b45dafd49dc20d5ffbf19b457">4be015dd</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T03:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update nmbd manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/93dfd5275d1c05419458a05b0480d9881c0ca1bd">93dfd527</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T03:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update smbd manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0531f6f5331508bb5fa24e3fc5e62aaafa94f383">0531f6f5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T03:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update winbindd manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d675bdae9f659c5402ae3853419b2ee0460d2be">7d675bda</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T03:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:samba: Pass a talloc memory context to binary_smbd_main()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/236c35f702d21fde5db7834ffaeab3f3032a2136">236c35f7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T03:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:samba: Migrate samba daemon to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0d243b329bdcf9b884b1db1f415599b5e233e663">0d243b32</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T03:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update samba.8 manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/328682860940679553831b6ff23acff4ce80a22f">32868286</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T03:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Tell users that workgroup/realm is required for ADS mode

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/757c49f6dc52afd6ee39c0b282e9a787b6df7a12">757c49f6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T04:48:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: For 'security = ADS' require realm/workgroup to be set

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Apr 29 04:48:37 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/75ad84167f5d2379557ec078d17c9a1c244402fc">75ad8416</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-04-29T09:55:51+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-20254 passdb: Simplify sids_to_unixids()

Best reviewed with "git show -b", there's a "continue" statement that
changes subsequent indentation.

Decouple lookup status of ids from ID_TYPE_NOT_SPECIFIED

Add comments to explain the use of the three lookup
loops.

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

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Thu Apr 29 09:55:51 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9b2c17e57afffafc010e99b41c33dc8858bab95b">9b2c17e5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T15:01:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Simplfy sequence number caching

The sequence number is used to detect if the cache is still valid. It
expires when the `winbind cache time` is over. After that time we want
to fetch new information from a DC to make sure we are up to date.

If a DC goes down and we recreate the connection, we want to expire the
caches sooner. So we reset the sequence number and the next call should
refill the caches.

Using the current time as the sequence number is more reliable, as the
sequence number of two DCs could in theory be equal. All we have to do
is to make sure we reset it after we reconnect to a DC.

Previously the sequence number check was based on the AD database change
sequence number. Now this is based on a current time value which gets
reset after a successful (re)connect.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/edad81c85c9d726e2b08779ba9cd7729cdbeeeef">edad81c8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T15:01:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Do not call backends sequence number code

This is not needed anymore.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/371bc987668463dc9693283921f400258112a744">371bc987</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T15:01:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Remove obsolete sequence_number callback from msrpc backend

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d8093946dc1a06f10676480e7ed3969d712170c">2d809394</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T15:01:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Remove obsolete sequence_number callback from samr backend

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f3c603766bee2973aff0224bfab56901bab22c38">f3c60376</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T15:01:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Remove obsolete sequence_number callback from ads backend

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/255a63abb57bfb1228024f698779d2210027277c">255a63ab</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-04-29T15:01:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Remove unused rpc_sequence_number()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7524e6e7b553fc82f7edb3b59566de5860d4d0e6">7524e6e7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-04-29T15:01:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: remove obsolete sequence_number() from winbindd_reconnect_ads.c

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/27c53355b26cc0dff08d657e1315d52659833d1c">27c53355</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-04-29T15:01:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: remove obsolete sequence_number() from winbindd_reconnect.c

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/54343f50a62309967647a21d5d5a4003401fc12b">54343f50</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-04-29T15:49:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: remove obsolete sequence_number from struct winbindd_methods

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

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Apr 29 15:49:16 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/47d79d7e7e406f7dd204ded7c72cfed3e0761ad5">47d79d7e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-04-29T21:27:58+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 SMBsplwr doesn't send a reply packet on success.

Missing call to set up req->outbuf means no reply is sent.

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

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Apr 29 21:27:58 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd28e8aeb422fa99e3ea7f13a75ea93b76320b48">fd28e8ae</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-04-29T22:27:20+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Correct name of files gpo

This is important, since having the incorrect
name will prevent policies from removing
correctly on an unapply, or when the policy
is deleted from AD.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Apr 29 22:27:20 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/03ef73ac46cf0da8b8afb77883f8652acf7c58bf">03ef73ac</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-06T12:40:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Improve error message for duplicate options

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b1963ab784c9188e2775270fae07aa55aab62ea5">b1963ab7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-06T12:40:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Rename to cmdline_sanity_checker

Will give nicer output if we find duplicates!

$ net help
cmdline_sanity_checker: Duplicate option --long|-l detected!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4596211e31ea7aeee7eeb962ea4a27823baba357">4596211e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-06T12:40:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Also set logfilebase for -l|--log-basename

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8780be8a427e56e1cc6dd5ef5a4e628ffef990d">e8780be8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-06T12:40:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: We need to always set a log file

We need to always set a log file name based on the process name. This
defines e.g. the log file for smbd.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/249b9650a2c5cdae1a0b44279b013619e47eea3e">249b9650</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-06T13:29:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Align integer types

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu May  6 13:29:28 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24d574f78281fcdbad1df1008cf8856e9e6db4d3">24d574f7</a></strong>
<div>
<span>by Richard Sharpe</span>
<i>at 2021-05-07T03:20:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: utils: Remove debug2html utility. Not used, installed or tested.

No reference to it on the web since the year 2000.

Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri May  7 03:20:46 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0e1695df7fe8952b5c503cf7ab1ff31784736988">0e1695df</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-05-07T06:23:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix gcc11 compiler issue "-Werror=maybe-uninitialized"

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

../../source4/dsdb/common/util_links.c: In function ‘ndr_guid_compare’:
../../source4/dsdb/common/util_links.c:38:29: error: ‘v1_data’ may be used uninitialized [-Werror=maybe-uninitialized]
   38 |         struct ldb_val v1 = data_blob_const(v1_data, sizeof(v1_data));
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../source4/../lib/util/samba_util.h:48,
                 from ../../source4/include/includes.h:62,
                 from ../../source4/dsdb/common/util_links.c:22:
../../lib/util/data_blob.h:116:20: note: by argument 1 of type ‘const void *’ to ‘data_blob_const’ declared here
  116 | _PUBLIC_ DATA_BLOB data_blob_const(const void *p, size_t length);
      |                    ^~~~~~~~~~~~~~~
../../source4/dsdb/common/util_links.c:37:17: note: ‘v1_data’ declared here
   37 |         uint8_t v1_data[16];
      |                 ^~~~~~~
cc1: all warnings being treated as errors

[1729/3991] Compiling source3/smbd/smbXsrv_open.c
../../libcli/auth/smbencrypt.c: In function ‘decode_wkssvc_join_password_buffer’:
../../libcli/auth/smbencrypt.c:1045:32: error: ‘_confounder’ may be used uninitialized [-Werror=maybe-uninitialized]
 1045 |         DATA_BLOB confounder = data_blob_const(_confounder, 8);
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../source4/../lib/util/samba_util.h:48,
                 from ../../source4/include/includes.h:62,
                 from ../../libcli/auth/smbencrypt.c:24:
../../lib/util/data_blob.h:116:20: note: by argument 1 of type ‘const void *’ to ‘data_blob_const’ declared here
  116 | _PUBLIC_ DATA_BLOB data_blob_const(const void *p, size_t length);
      |                    ^~~~~~~~~~~~~~~
../../libcli/auth/smbencrypt.c:1044:17: note: ‘_confounder’ declared here
 1044 |         uint8_t _confounder[8];
      |                 ^~~~~~~~~~~
cc1: all warnings being treated as errors

[2624/3991] Compiling source4/torture/rpc/samr.c
../../source3/rpc_client/cli_samr.c: In function ‘dcerpc_samr_chgpasswd_user2’:
../../source3/rpc_client/cli_samr.c:158:33: error: ‘old_nt_hash’ may be used uninitialized [-Werror=maybe-uninitialized]
  158 |         DATA_BLOB session_key = data_blob_const(old_nt_hash, 16);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../source3/../lib/util/samba_util.h:48,
                 from ../../source3/include/includes.h:256,
                 from ../../source3/rpc_client/cli_samr.c:24:
../../lib/util/data_blob.h:116:20: note: by argument 1 of type ‘const void *’ to ‘data_blob_const’ declared here
  116 | _PUBLIC_ DATA_BLOB data_blob_const(const void *p, size_t length);
      |                    ^~~~~~~~~~~~~~~
../../source3/rpc_client/cli_samr.c:152:17: note: ‘old_nt_hash’ declared here
  152 |         uint8_t old_nt_hash[16];
      |                 ^~~~~~~~~~~
../../source3/rpc_client/cli_samr.c: In function ‘dcerpc_samr_chgpasswd_user3’:
../../source3/rpc_client/cli_samr.c:365:33: error: ‘old_nt_hash’ may be used uninitialized [-Werror=maybe-uninitialized]
  365 |         DATA_BLOB session_key = data_blob_const(old_nt_hash, 16);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../source3/../lib/util/samba_util.h:48,
                 from ../../source3/include/includes.h:256,
                 from ../../source3/rpc_client/cli_samr.c:24:
../../lib/util/data_blob.h:116:20: note: by argument 1 of type ‘const void *’ to ‘data_blob_const’ declared here
  116 | _PUBLIC_ DATA_BLOB data_blob_const(const void *p, size_t length);
      |                    ^~~~~~~~~~~~~~~
../../source3/rpc_client/cli_samr.c:358:17: note: ‘old_nt_hash’ declared here
  358 |         uint8_t old_nt_hash[16];
      |                 ^~~~~~~~~~~
cc1: all warnings being treated as errors

[3399/3991] Compiling source3/rpcclient/cmd_spotlight.c
../../source3/smbd/smbXsrv_open.c: In function ‘smbXsrv_open_set_replay_cache’:
../../source3/smbd/smbXsrv_open.c:936:26: error: ‘data’ may be used uninitialized [-Werror=maybe-uninitialized]
  936 |         DATA_BLOB blob = data_blob_const(data, ARRAY_SIZE(data));
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../source3/../lib/util/samba_util.h:48,
                 from ../../source3/include/includes.h:256,
                 from ../../source3/smbd/smbXsrv_open.c:21:
../../lib/util/data_blob.h:116:20: note: by argument 1 of type ‘const void *’ to ‘data_blob_const’ declared here
  116 | _PUBLIC_ DATA_BLOB data_blob_const(const void *p, size_t length);
      |                    ^~~~~~~~~~~~~~~
../../source3/smbd/smbXsrv_open.c:935:17: note: ‘data’ declared here
  935 |         uint8_t data[SMBXSRV_OPEN_REPLAY_CACHE_FIXED_SIZE];
      |                 ^~~~
cc1: all warnings being treated as errors

../../source3/rpcclient/cmd_spotlight.c: In function ‘cmd_mdssvc_fetch_properties’:
../../source3/rpcclient/cmd_spotlight.c:60:18: error: ‘share_path’ may be used uninitialized [-Werror=maybe-uninitialized]
   60 |         status = dcerpc_mdssvc_open(b, mem_ctx,
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   61 |                                     &device_id,
      |                                     ~~~~~~~~~~~
   62 |                                     &unkn1,
      |                                     ~~~~~~~
   63 |                                     &unkn2,
      |                                     ~~~~~~~
   64 |                                     argv[2],
      |                                     ~~~~~~~~
   65 |                                     argv[1],
      |                                     ~~~~~~~~
   66 |                                     share_path,
      |                                     ~~~~~~~~~~~
   67 |                                     &share_handle);
      |                                     ~~~~~~~~~~~~~~
In file included from ../../source3/rpcclient/cmd_spotlight.c:24:
source3/../librpc/gen_ndr/ndr_mdssvc_c.h:26:10: note: by argument 8 of type ‘const char *’ to ‘dcerpc_mdssvc_open’ declared here
   26 | NTSTATUS dcerpc_mdssvc_open(struct dcerpc_binding_handle *h,
      |          ^~~~~~~~~~~~~~~~~~
../../source3/rpcclient/cmd_spotlight.c:40:14: note: ‘share_path’ declared here
   40 |         char share_path[1025];
      |              ^~~~~~~~~~
cc1: all warnings being treated as errors

../../source4/torture/rpc/samr.c: In function ‘test_ChangePasswordUser2’:
../../source4/torture/rpc/samr.c:2266:19: error: ‘old_nt_hash’ may be used uninitialized [-Werror=maybe-uninitialized]
 2266 |                 = data_blob_const(old_nt_hash, sizeof(old_nt_hash));
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../source4/../lib/util/samba_util.h:48,
                 from ../../source4/include/includes.h:62,
                 from ../../source4/torture/rpc/samr.c:24:
../../lib/util/data_blob.h:116:20: note: by argument 1 of type ‘const void *’ to ‘data_blob_const’ declared here
  116 | _PUBLIC_ DATA_BLOB data_blob_const(const void *p, size_t length);
      |                    ^~~~~~~~~~~~~~~
../../source4/torture/rpc/samr.c:2263:17: note: ‘old_nt_hash’ declared here
 2263 |         uint8_t old_nt_hash[16], new_nt_hash[16];
      |                 ^~~~~~~~~~~
../../source4/torture/rpc/samr.c: In function ‘test_ChangePasswordUser2_ntstatus’:
../../source4/torture/rpc/samr.c:2371:19: error: ‘old_nt_hash’ may be used uninitialized [-Werror=maybe-uninitialized]
 2371 |                 = data_blob_const(old_nt_hash, sizeof(old_nt_hash));
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../source4/../lib/util/samba_util.h:48,
                 from ../../source4/include/includes.h:62,
                 from ../../source4/torture/rpc/samr.c:24:
../../lib/util/data_blob.h:116:20: note: by argument 1 of type ‘const void *’ to ‘data_blob_const’ declared here
  116 | _PUBLIC_ DATA_BLOB data_blob_const(const void *p, size_t length);
      |                    ^~~~~~~~~~~~~~~
../../source4/torture/rpc/samr.c:2368:17: note: ‘old_nt_hash’ declared here
 2368 |         uint8_t old_nt_hash[16], new_nt_hash[16];
      |                 ^~~~~~~~~~~
../../source4/torture/rpc/samr.c: In function ‘test_ChangePasswordUser3’:
../../source4/torture/rpc/samr.c:2478:38: error: ‘old_nt_hash’ may be used uninitialized [-Werror=maybe-uninitialized]
 2478 |         DATA_BLOB old_nt_hash_blob = data_blob_const(old_nt_hash, 16);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../source4/../lib/util/samba_util.h:48,
                 from ../../source4/include/includes.h:62,
                 from ../../source4/torture/rpc/samr.c:24:
../../lib/util/data_blob.h:116:20: note: by argument 1 of type ‘const void *’ to ‘data_blob_const’ declared here
  116 | _PUBLIC_ DATA_BLOB data_blob_const(const void *p, size_t length);
      |                    ^~~~~~~~~~~~~~~
../../source4/torture/rpc/samr.c:2473:17: note: ‘old_nt_hash’ declared here
 2473 |         uint8_t old_nt_hash[16], new_nt_hash[16];
      |                 ^~~~~~~~~~~
../../source4/torture/rpc/samr.c: In function ‘test_ChangePasswordRandomBytes’:
../../source4/torture/rpc/samr.c:2794:19: error: ‘old_nt_hash’ may be used uninitialized [-Werror=maybe-uninitialized]
 2794 |                 = data_blob_const(old_nt_hash,
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2795 |                                   sizeof(old_nt_hash));
      |                                   ~~~~~~~~~~~~~~~~~~~~
In file included from ../../source4/../lib/util/samba_util.h:48,
                 from ../../source4/include/includes.h:62,
                 from ../../source4/torture/rpc/samr.c:24:
../../lib/util/data_blob.h:116:20: note: by argument 1 of type ‘const void *’ to ‘data_blob_const’ declared here
  116 | _PUBLIC_ DATA_BLOB data_blob_const(const void *p, size_t length);
      |                    ^~~~~~~~~~~~~~~
../../source4/torture/rpc/samr.c:2792:17: note: ‘old_nt_hash’ declared here
 2792 |         uint8_t old_nt_hash[16], new_nt_hash[16];
      |                 ^~~~~~~~~~~
cc1: all warnings being treated as errors

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17ae9974f36ce8929f0c50c357dd4f88fbf37d7c">17ae9974</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-05-07T06:23:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix gcc11 compiler issue "-Werror=stringop-overflow="

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

[3548/3991] Compiling source3/winbindd/winbindd_pam.c
../../source3/winbindd/winbindd_pam.c: In function ‘winbindd_dual_pam_auth_cached’:
../../source3/winbindd/winbindd_pam.c:1069:18: error: ‘winbindd_get_creds’ accessing 128 bytes in a region of size 8 [-Werror=stringop-overflow=]
 1069 |         result = winbindd_get_creds(domain,
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
 1070 |                                     state->mem_ctx,
      |                                     ~~~~~~~~~~~~~~~
 1071 |                                     &sid,
      |                                     ~~~~~
 1072 |                                     &my_info3,
      |                                     ~~~~~~~~~~
 1073 |                                     &cached_nt_pass,
      |                                     ~~~~~~~~~~~~~~~~
 1074 |                                     &cached_salt);
      |                                     ~~~~~~~~~~~~~
../../source3/winbindd/winbindd_pam.c:1069:18: note: referencing argument 5 of type ‘const uint8_t **’ {aka ‘const unsigned char **’}
../../source3/winbindd/winbindd_pam.c:1069:18: error: ‘winbindd_get_creds’ accessing 128 bytes in a region of size 8 [-Werror=stringop-overflow=]
../../source3/winbindd/winbindd_pam.c:1069:18: note: referencing argument 6 of type ‘const uint8_t **’ {aka ‘const unsigned char **’}
In file included from ../../source3/winbindd/winbindd.h:359,
                 from ../../source3/winbindd/winbindd_pam.c:26:
../../source3/winbindd/winbindd_proto.h:251:10: note: in a call to function ‘winbindd_get_creds’
  251 | NTSTATUS winbindd_get_creds(struct winbindd_domain *domain,
      |          ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f12793ca5e7c9aa7c23a17400986878ae110e70">8f12793c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-07T06:23:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:replace: Do not build strndup test with gcc 11 or newer

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

gcc11 with -O3 detects that the size is incorrect:

lib/replace/tests/testsuite.c:286:13: error: ‘strndup’ specified bound 10 exceeds source size 4 [-Werror=stringop-overread]
  286 |         x = strndup("bla", 10);
      |             ^~~~~~~~~~~~~~~~~~

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/755566566440a4432db09e7cdc1733eb43354095">75556656</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-07T06:23:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Remove libnsl as we dropped NIS support

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac78b921dafa3372eee747caabd094fb5a05cf6b">ac78b921</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-07T07:18:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Add Fedora 34 CI runner

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri May  7 07:18:02 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/21934c09bdcad04633f0e77ad8136b8f2c21b9e5">21934c09</a></strong>
<div>
<span>by Andrew Walker</span>
<i>at 2021-05-10T20:16:21+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd - support streams larger than 64 KiB

Add support for streams that are larger than 64 KiB in size. Upper
and lower bound are controlled by the parameters smbd max_xattr_size.
Testing against ReFS on Windows (where ADS size is limited in size
shows the server responding with STATUS_FILESYSTEM_LIMITATION.
Do the same in samba for this case.

Currently, large xattrs are supported in FreeBSD.

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon May 10 20:16:21 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/556b114f11c9fbe806d960417e2777560a163793">556b114f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-11T07:03:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">audit logging tests: Fix flapping test

On Linux, gettimeofday() uses the clock's microsecond field to adjust
the returned time in seconds, while time() only takes the seconds field
into account. As a result, time() would occasionally return a smaller
value than gettimeofday(), despite being called later.

Changing the time() calls to gettimeofday() as used in audit_logging.c
makes the time values consistent.

https://stackoverflow.com/questions/22917318/time-and-gettimeofday-return-different-seconds

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue May 11 07:03:35 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/64af0aeb23ded0917d972701577a18d30fc9df61">64af0aeb</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Add SMB_VFS_FSTREAMINFO

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f2a243512fabdc6302e909f133eee7d900204a12">f2a24351</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: catia: Implement SMB_VFS_FSTREAMINFO

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e469af3cf3d0c9f1eb82ec74097d685326a649a">8e469af3</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: vfs: fruit: Implement SMB_VFS_FSTREAMINFO

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de29a2a07686dfbc0a7c1aba30fb137ff0684b29">de29a2a0</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: glusterfs: Initialise fstreaminfo_fn to NULL

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a23667a03a33845b0dcf237839ceb978e8439a7c">a23667a0</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_depot SMB_VFS_FSTREAMINFO impl

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8eb80a5788b1eaafb14e54045a132c03036cfae">a8eb80a5</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: Add impl for SMB_VFS_FSTREAMINFO

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4842710aaa7d14aec83e70d8d9dbbf465c3c4c1f">4842710a</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: add new toplevel vfs_fstreaminfo wrapper

This will allow for calling SMB_VFS_FSTREAMINFO in a piecemeal
fashion, at the end of the patch set vfs_fstreaminfo will replace
vfs_streaminfo

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40d44601cf1f5245fd0625d2a1b43316cae1eb62">40d44601</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: ntrans: vfs_streaminfo -> vfs_fstreaminfo

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/89e2dbafee67387a6e98fe81d730176349205c54">89e2dbaf</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: trans2: vfs_streaminfo -> vfs_fstreaminfo

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2b9b1c24d48b1fd5bd956613512f82b17a481164">2b9b1c24</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: close vfs_streaminfo->vfs_fstreaminfo

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8331852d6becad1aeef25890774a4b0761b7a87a">8331852d</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: filename: vfs_streaminfo -> vfs_fstreaminfo

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/250b2496bda37d28a78d79feee9f87f97088d460">250b2496</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: open: vfs_streaminfo -> vfs_fstreaminfo

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/631ab9eff78c89d0b9df32eeec56f6efe07e5e4b">631ab9ef</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib: adouble: vfs_streaminfo -> vfs_fstreaminfo

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4bca55aea1072113564b610f8bc8f7a21a0f69a9">4bca55ae</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/module: VFS: fruit: vfs_streaminfo -> vfs_fstreaminfo

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/697dd7786288bdb2f2fb3d0a4ffcdc66c7521a1d">697dd778</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: Remove vfs_streaminfo function

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d7894f63f4abf2c0fe139383a43d11f7e9612aa6">d7894f63</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: catia: Remove SMB_VFS_STREAMINFO

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/98c20b3aa33a510fcf98c5fc0234668a625e2b21">98c20b3a</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: fruit: Remove SMB_VFS_STREAMINFO

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6eef9cdf174b85bbc39c5b6e9486f3301b29792">c6eef9cd</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: media_harmony: Remove SMB_VFS_STREAMINFO

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1faf2ed294bdc1c97a003c309e758e1318e23ef7">1faf2ed2</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: streams_depo: Remove SMB_VFS_STREAMINFO

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8df9d738f55a04e181fe51ed7644a24226bb9cee">8df9d738</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: stream_xattr: Remove SMB_VFS_STREAMINFO

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9fca2ae73ace3912b72f1eb506090d1bdd846edb">9fca2ae7</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: unityed_media: Remove SMB_VFS_STREAMINFO

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8e786cff4981a81406273d9c6ac2dc9e186165a">a8e786cf</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: VFS: glusterfs: Remove SMB_VFS_STREAMINFO

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1928459d388d6665cef0297fe18072b55277bbe1">1928459d</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T15:49:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Remove SMB_VFS_STREAMINFO(), no longer used

                   ---------------
                  /               \
                 /      REST       \
                /        IN         \
               /        PEACE        \
              /                       \
              |                       |
              |   SMB_VFS_STREAMINFO  |
              |                       |
              |                       |
              |       28 April        |
              |         2021          |
              |                       |
              |                       |
             *|     *  *  *           | *
    _________)/\\_//(\/(/\)/\//\/\////|_)_______

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3f57c6bba67b5250f402bf6a346acb12707f7b33">3f57c6bb</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-11T16:38:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Update status of SMB_VFS_STREAMINFO

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue May 11 16:38:40 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6e0680ce075c1eedc33be1ef7b0b16015901d536">6e0680ce</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-11T22:08:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Allow check_parent_exists() to return the errno from STAT/LSTAT on the parent name.

Not yet used.

This will allow us to avoid an duplicate STAT/LSTAT system call
on the parent pathname in a hot code path of the caller in the next commit.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/33f45491f8de52c3702c6f9e542261641e011c2e">33f45491</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-11T22:52:58+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove a STAT/LSTAT call on the parent pathname in a hot code path.

This optimization uses the stored errno result from check_parent_exists()
which already did a STAT/LSTAT if needed.

Best viewed with 'git show -b'.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue May 11 22:52:58 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/209a4bb364e9997ee3e2cc0929abe414efc21b4d">209a4bb3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-11T22:56:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Consolidate add_to_jobs_list()

add_to_jobs_changed() and add_to_jobs_added() only differed in the key
string.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e33db55266ec103983730fdbe8bbf2682c9afea0">e33db552</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-11T22:56:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Make share_mode_lock.h includable on its own

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5212464bf1ca8cb96ab44163d2843ce8f812f651">5212464b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-11T22:56:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Simplify str_list_make_empty()

We have talloc_zero_array() for this.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f7181ec7e2e7fc998341c04dcdf927c5b5046148">f7181ec7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-11T22:56:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Simplify calling print commands

We have fstr_sprintf for this

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b180ca8cd353366e686be030b9369acd677e77e2">b180ca8c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-11T22:56:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">param: Enable including source3/param/param_proto.h without vfs.h

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/46d47994ee5c15636151aa661317fd9f905d30d5">46d47994</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-11T22:56:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Factor out register_printing_bq_handlers()

The printing background jobs can be provided independently of the
start_background_queue() implementation.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/695938b6332277031b8f55bef0c7ae79c3942d98">695938b6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-11T22:56:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Add parent_watch_fd()

Make the parent watcher pipe used in reinit_after_fork() available for
external users that can't call reinit_after_fork().

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ecf9ba381e7bd2691d0c8a674f519516c63600ff">ecf9ba38</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-11T22:56:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Add str_list_add_printf()

Build up execv argument lists

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bad19e208ce3b0ff5a9b99245b815423c3f469bd">bad19e20</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-11T22:56:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Introduce samba-bgqd

This is a separate binary executed from start_background_queue(). As
such it does not really gain much, but the idea is to move all the
code this runs out of the smbd and spoolssd binaries to just link
here.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d54b602bde941313590f12364d4ed348673264e">4d54b602</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-11T23:45:21+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Avoid a few references to background_lpq_updater_pid

We have the bgqd in the pidfile now

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue May 11 23:45:21 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/401ae83d5e67571a134a8a855597c04ba206d746">401ae83d</a></strong>
<div>
<span>by Richard Sharpe</span>
<i>at 2021-05-12T20:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: If we're reporting getaddrinfo fail, print the name we were looking up in the same debug.

Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/79b848fe592036a290941e5a7d44f355dd274fff">79b848fe</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-12T20:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Also add SERVER_LOG_LEVEL support for s3 targets

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fbe68dcbb783409589cdefd8ee551c9971c51f08">fbe68dcb</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-12T20:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Pass down the machine account name to provision_ad_member

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6219eb52a24d04cd03a0f1b66a26677c81a44fb9">6219eb52</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-12T20:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add ad_member_offline_logon env

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a04a5885745533127c8eb36265f1eb664ab276a1">a04a5885</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-12T20:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Turn on offline logon for ad_member_offline_logon

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eef192b10e4f07ed912286d94ceb1b119659dc68">eef192b1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-12T20:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add skip_wait to check_or_start

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/763e03235462adbe29edd92339e7a11b5a008556">763e0323</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-12T20:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Set winbind offline in ad_member_offline_logon target

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/08434e413faaa142b9f9fb1f1b75822249fb81a9">08434e41</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-12T20:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Add test for offline logon support

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8c5e94173e45edf5fcefea9aa82223dd52f60ddd">8c5e9417</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-12T20:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Add ad_member_offline_logon

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d5c546c8ea44798acd306a180c6dfddf9a8c816">1d5c546c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-12T20:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Remove global variable for winbindd_offline_state

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b7ac9486452eb3f0d352b60def097e6aedccaee6">b7ac9486</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-12T20:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Code cleanup for initialize_winbindd_cache()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2b9a1feae7364a294b024dbeaf6a0202bbad468a">2b9a1fea</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-12T21:19:03+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Fix return value of tdb_fetch_uint32_byblob()

The initialize_winbindd_cache() function uses tdb_fetch_uint32_byblob()
to check if the cache version is valid and up to date. As
tdb_fetch_uint32_byblob() returns false for a successful fetch, we
always remove the winbind cache database. This breaks the winbind
offline logon feature.

This also affects other caches and pdb.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed May 12 21:19:03 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9be3be8aca8d1ee198791c5ffebeddf997372caf">9be3be8a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-14T01:50:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: wscript. Fix the build on FreeBSD with the clang ld.lld-XX linker..

FreeBSD is broken. It doesn't include 'extern char **environ'
in any shared library, but statically inside crt0.o.

If we're running on a FreeBSD with the GNU linker ld we
can get around this by explicitly telling the linker to
ignore 'environ' as an unresolved symbol in a shared library.

However, the clang linker ld.lld-XX is broken in that it
doesn't have that option.
First try to see if have '-Wl,--ignore-unresolved-symbol,environ'
and just use that if so.

If not, we have to use '-Wl,--allow-shlib-undefined' instead
and remove all instances of '-Wl,-no-undefined'.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri May 14 01:50:25 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6df8709fc9879049e95176f72193aa255e1b1452">6df8709f</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-05-14T20:04:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Add SMB_VFS_FREADDIR_ATTR()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/45578328a6f25617ff183257d719dd9100590545">45578328</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-05-14T20:04:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fruit: Implement SMB_VFS_FREADDIR_ATTR()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/289b9b1382cf62f5ce7d3ac384276da4ab12d733">289b9b13</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-05-14T20:04:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Switch from SMB_VFS_READDIR_ATTR() to SMB_VFS_FREADDIR_ATTR()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/36a074bb1a23df2bc6e4d6c6b6cfd7023e6ea58d">36a074bb</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-05-14T20:04:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Skip calling SMB_VFS_FREADDIR_ATTR() for symlinks

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb563e63267c239dde1900d6f3fc03005da04d36">cb563e63</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-05-14T20:04:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: catia: Remove SMB_VFS_READDIR_ATTR()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1fa6d75b434f27962f76b339d6a4bb28756c836a">1fa6d75b</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-05-14T20:04:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fruit: Remove SMB_VFS_READDIR_ATTR()

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/96f1af04ffce5e276443e390d5d6339dbf17a06d">96f1af04</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-05-14T20:04:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Remove SMB_VFS_READDIR_ATTR(), no longer used

                             ----------------
                            /                \
                           /       REST       \
                          /         IN         \
                         /         PEACE        \
                        /                        \
                        |                        |
                        |  SMB_VFS_READDIR_ATTR  |
                        |                        |
                        |                        |
                        |         13 May         |
                        |          2021          |
                        |                        |
                        |                        |
                       *|     *  *  *            | *
              _________)/\\_//(\/(/\)/\//\/\///\/|_)_______

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/52744d35a37680c382800539a4c88d553496dbec">52744d35</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-05-14T20:52:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nmbd: Reduce the wait interface loop sleep time

Under some circumstances the network-online.target can be reached
without an IPv4 address, for example when using systemd-networkd and
having systemd-networkd-wait-online.service disabled. This will trigger
a five seconds sleep which seems a bit excessive. It is specially
critical when winbind.service is enabled as it won't be started until
nmbd.service is running, delaying the systemd-logind.service five seconds..

Reduce the sleep time from 5 seconds to 250ms to exit the loop as soon
as possible.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri May 14 20:52:47 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/33bb6ad35635590be112e94941dbfc02b4db1d30">33bb6ad3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-17T21:39:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool:testparm: Test that --section-name works without --parameter-name

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Rowland Penny <rpenny@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e54563861b2b06370fe3a2a10d7e7df2e3e18f24">e5456386</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-17T21:39:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool:testparm: Fix error with --section-name

Pass the correct parameters into LoadparmService.dump() so that
--section-name works properly.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Rowland Penny <rpenny@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/11f26877ce1849439948c8d1f12dc9dd43cd534d">11f26877</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-17T21:39:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool:testparm: Test error handling for unknown sections and parameters

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Rowland Penny <rpenny@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d7017b30248c2855248a9bab56fd5b91597686c">7d7017b3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-17T21:39:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool:testparm: Display nicer parameter dump error messages

Now we catch errors for unknown sections or parameters and turn them
into CommandErrors.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Rowland Penny <rpenny@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3ef2b588e85ae47c52da16245fe873619a49e2fb">3ef2b588</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-05-17T21:39:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dlz torture: update to supported DLZ API

Bind 9.8 went EOL in 2014, but we still run our tests using the API
version that it alone uses.

This patch changes it to use the API of versions 9.10 onwards.

We don't change what we test or make use of the new API, just pass
around some NULL pointers.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3103d948f6b94872326d8b7e88fe328fed910eae">3103d948</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-05-17T21:39:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dlz: do not build for Bind 9.8 or 9.9

If we drop support for versions before Bind 9.10 (which itself went
EOL in 2018) we can get rid of a whole lot of ifdefs for old API
versions that no-one should be using.

This patch stops the build, the next one clears out the ifdefs.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a204e42c2f84cb0930f6996880af4de85f5794ec">a204e42c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-05-17T22:29:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dlz: remove support for ancient binds

We no longer support versions of bind that have
DLZ_DLOPEN_VERSION != 3, so we no longer need all these ifdefs.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon May 17 22:29:01 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f188c9d732e4b9b3d37c4cb09608aba747845997">f188c9d7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-18T10:42:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: fix typos

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14475
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9398d4b912387be8cde0c2ca30734eca7d547d19">9398d4b9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-18T10:42:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Call run_event_recv() in a callback function

Triggers a different code path in run_event_* and aligns it more what
the ctdb eventd really does.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14475
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/07ab9b7a71d59f3ff2b9dee662632315062213ab">07ab9b7a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-18T10:42:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Introduce a helper variable in run_event_test.c

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14475
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/19290f10c7d39e055847eb45affd9e229a116b18">19290f10</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-18T10:42:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Wait for SIGCHLD if script timed out

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14475
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f320d1a7ab0f81eefdb28b36bfe346eacb8980de">f320d1a7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-18T10:42:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Introduce output before and after the 10-second timeout

This will lead to a crash in run_event_test.c soon

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14475
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/adef87a621b17baf746d12f991c60a8a3ffcfcd3">adef87a6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-05-18T10:42:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Fix a crash in run_proc_signal_handler()

If a script times out the caller can talloc_free() the script_list
output of run_event_recv, which talloc_free's proc->output from
run_proc.c as well. If the script generates further output after the
timeout and then exits after a while, the SIGCHLD handler in the
eventd tries to read into proc->output, which was already free'ed.

Fix this by not doing just a talloc_steal but a talloc_move. This way
proc_read_handler() called from run_proc_signal_handler() does not try
to realloc the stale reference to proc->output but gets a NULL
reference.

I don't really know how to do a knownfail in ctdb, so this commit
actually activates catching the signal by waiting long enough for
22.bar to exit and generate the SIGCHLD.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14475
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bebe313ced732ebd53e127c5baf059eb1ae2b528">bebe313c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-18T11:32:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Fix setting 'log file' from smb.conf

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue May 18 11:32:41 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7127cba145973ede5f64b5d8b49ab29a79f230b7">7127cba1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Add SMB_VFS_SYS_ACL_DELETE_DEF_FD(),

Not yet used. Eventually will replace SMB_VFS_SYS_ACL_DELETE_DEF_FILE().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b5344570b8ca75da104871c0451b377263b1b823">b5344570</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: aixacl: Add aixacl_sys_acl_delete_def_fd().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca733d8b47a1f1a5b5251cd0549d3ecd7f0eb905">ca733d8b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: aixacl2: Add aixjfs2_sys_acl_delete_def_fd().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0d9e30a1bdb7c8c3d8e2773e0276c8477eeccc9d">0d9e30a1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: posixacl_xattr: Add posixacl_xattr_acl_delete_def_fd().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c2396a282afd7e58b0e097c885f52cdc88c6cc6">2c2396a2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: Make ceph call posixacl_xattr_acl_delete_def_fd().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a99e67c584b4d276fb97dfbb542a566d371bb47">2a99e67c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: glusterfs: Make gluster call posixacl_xattr_acl_delete_def_fd()..

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1eeb650bdd1977a2a020cfd84ef767a8d82cdc97">1eeb650b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: gpfs: Add gpfsacl_sys_acl_delete_def_fd().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d39b19317d1a13f9d45d72c9fcfb06487261b766">d39b1931</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fake_acls: Add fake_acls_sys_acl_delete_def_fd().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f6d91e33c25897f24c3c8840772bf7cadf44f696">f6d91e33</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: hpuxacl. Add hpuxacl_sys_acl_delete_def_fd().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a2862968ba86a08a8956afef00e76895af6dfdc0">a2862968</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: nfs4acl_xattr. Add nfs4acl_xattr_fail__sys_acl_delete_def_fd().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c72c4b5b3229532db18618b9e0b16a20c2087b43">c72c4b5b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: posixacl: Add posixacl_sys_acl_delete_def_fd().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/88a2e9f98040745117888e3d0754387db0042f5c">88a2e9f9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: solarisacl: Add solarisacl_sys_acl_delete_def_fd().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/33b76a6f248f20dc315435729e74e74b37fd24ee">33b76a6f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: zfsacl: Add zfsacl_fail__sys_acl_delete_def_fd().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f75e93ef77e150c23d59791a53c560d71fb5bc04">f75e93ef</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: sysacls: Add sys_acl_delete_def_fd().

In the default (posix) case goes to posixacl_sys_acl_delete_def_fd().
For all other systems goes to their relevent backends.

Now we can fill in the delete_def_fd() function in vfs_default.c

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/165de1ca1d623c8b9f3567ff2266626044b73f44">165de1ca</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: default. In vfswrap_sys_acl_delete_def_file() remove the placeholder code and call sys_acl_delete_def_fd().

This will redirect to the correct backend.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd16f9da7c07f1ec03f1730470e831debc874b57">fd16f9da</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change SMB_VFS_SYS_ACL_DELETE_DEF_FILE() -> SMB_VFS_SYS_ACL_DELETE_DEF_FD().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6700044de66fb0a1869cc939e7053f28cb93f27">b6700044</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: cmd_sys_acl_delete_def_file: Move SMB_VFS_SYS_ACL_DELETE_DEF_FILE() -> SMB_VFS_SYS_ACL_DELETE_DEF_FD().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9e1d79dbb2abe49f451b4563f6e3060772626218">9e1d79db</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: aixacl: Remove aixacl_sys_acl_delete_def_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/981fbf55a6819f5d189941b874b69a5a37c9a20c">981fbf55</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: aixacl2: Remove aixjfs2_sys_acl_delete_def_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/109dfac02b3411bf88b5b709055caab0f5788b40">109dfac0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: cap: Remove cap_sys_acl_delete_def_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/51c732a6c4f4fbc041f8053505baa2f6346ef517">51c732a6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: catia: Remove catia_sys_acl_delete_def_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce5fb5b4a0f5e5956d988af3ea9672caeb149b66">ce5fb5b4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: Remove sys_acl_delete_def_file_fn() pointer.

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/331d772cc7173233fc664500450646bbc3681bca">331d772c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fake_acls: Remove fake_acls_sys_acl_delete_def_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d646c54c899905c28d89435f1d9c73d33fe2c6da">d646c54c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: glusterfs: Remove sys_acl_delete_def_file_fn pointer.

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fedbbc9f636beb9df0b6b8cb18c16d0ca2afb1d3">fedbbc9f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: gpfs: Remove gpfsacl_sys_acl_delete_def_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9cde624d2a41c57dd9a270dec3a153f644533b8b">9cde624d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: hpuxacl: Remove hpuxacl_sys_acl_delete_def_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/46bc4555828b4ae960de3d9b2278653674bf27ad">46bc4555</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: media_harmony: Remove mh_sys_acl_delete_def_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3607212b388554cc61d09546eaf14ae6f8d27028">3607212b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: nfsacl_xattr: Remove nfs4acl_xattr_fail__sys_acl_delete_def_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/25507668d171f9e81386e70fd4dead293f521490">25507668</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: solarisacl: Remove solarisacl_sys_acl_delete_def_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cfa4448341750b76be3f16d0a13f3382e65e8543">cfa44483</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: unityed_media: Remove um_sys_acl_delete_def_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/39901d17540ae193e8f7223d5f6bcfd329db0894">39901d17</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: zfsacl: Remove zfsacl_fail__sys_acl_delete_def_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/97821542d33baacefe2c27f620e8bca692f775f4">97821542</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: posixacl: Remove sys_acl_delete_def_file_fn pointer.

Leave the called function as that's in the public API.
We will be able to get rid of it when we delete sys_acl_delete_def_file()
after all the callers are gone.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf34438ef51cd16b5573fa56492ee91887bb84e5">bf34438e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: posixacl_xattr: Remove posixacl_xattr_acl_delete_def_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/569474f153c3dd4f8bfd7735e8dc629adfd16f9b">569474f1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: RIP SMB_VFS_SYS_ACL_DELETE_DEF_FILE()

              .--. .-,       .-..-.__
            .'(`.-` \_.-'-./`  |\_( "\__
         __.>\ ';  _;---,._|   / __/`'--)
        /.--.  : |/' _.--.<|  /  | |
    _..-'    `\     /' /`  /_/ _/_/
     >_.-``-. `Y  /' _;---.`|/))))
    '` .-''. \|:  .'   __, .-'"`
     .'--._ `-:  \/:  /'  '.\             _|_
         /.'`\ :;   /'      `-           `-|-`
        -`    |     |                      |
              :.; : |                  .-'~^~`-.
              |:    |                .' _     _ `.
              |:.   |                | |_) | |_) |
              :. :  |                | | \ | |   |
              : ;   |                |           |
              : ;   |                |  SMB_VFS  |
              : ;   |                |  SYS_ACL  |
              : ;   |                |DELETE_DEF |
            .jgs. : ;                |  FILE     |
    -."-/\\\/:::.    `\."-._'."-"_\\-|           |///."-
    " -."-.\\"-."//.-".`-."_\\-.".-\\`=.........=`//-".

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0680a383019748a30f4a88f5d3a618964a3daa00">0680a383</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T17:29:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove all references to utility and backend functions supporting sys_acl_delete_def_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b4c597b6a13d00c2a2b8668a662df62845dddcef">b4c597b6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T18:19:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Update status of SMB_VFS_SYS_ACL_DELETE_DEF_FILE() and SMB_VFS_SYS_ACL_DELETE_DEF_FD().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue May 18 18:19:28 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2867950721993c62a636d754e50d483fda39e19c">28679507</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-18T19:23:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: Fix the solaris build. Commit 8d0ea8bafa00 added SMB_ACL_TYPE_T type to solarisacl_sys_acl_set_fd() in the .c file, but not the .h.

The fact no one noticed means currently no one is
building master on Solaris/Illumos/OmniOS.

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue May 18 19:23:25 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1ea2de561839ad948efab5112fbe4c1eae44d9ee">1ea2de56</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Remove unused variable

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d05268aa0904221c452fc650fcdfb680efc20bb">2d05268a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Fix parameter in creds.set_named_ccache()

Use the passed-in value for 'obtained' rather than always using
CRED_SPECIFIED.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/50ade4cadc766a196316fd5c5a57f8c502f0ea22">50ade4ca</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pygensec: Fix method documentation

This changes the docstrings to use the correct method names.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f144d49b5281a08bf7be550b949f4d91e8fe19b">6f144d49</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "s4-test: fixed ndrdump test for top level build"

This essentially reverts commit
b84c0a9ed6d556eb2d3797d606edcd03f9766606, but the datapath is now in the
source4 directory.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/74fb2cc473cea0eebf641fc4d32d706bac8aa6f2">74fb2cc4</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">krb5ccache.idl: Add definition for a Kerberos credentials cache

Based on specifications found at
https://web.mit.edu/kerberos/krb5-devel/doc/formats/ccache_file_format.html

This is primarily designed for parsing and storing a single Kerberos
ticket, due to the limitations of PIDL.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f17b1edca9c1638ef404fadce3ca7a4d176de12">1f17b1ed</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Test parsing a Kerberos 5 credentials cache with ndrdump

This is the format used by the FILE: credentials cache type.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d88a6ff3dbcf650b09ef9c8c37170ca6663b533">2d88a6ff</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">krb5: Add Python functions to create a credentials cache containing a service ticket

This is a FILE: format credentials cache readable by the MIT/Heimdal
Kerberos libraries. This allows us to glue the Python ASN1 Kerberos
system to the MIT/Heimdal one.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c15f26ec40860782b22e862f9bdf665745387718">c15f26ec</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Add credentials cache test

Test that we can use a credentials cache with a user's service ticket
obtained with our Python code to connect to a service using the normal
credentials system backed on to MIT/Heimdal Kerberos 5 libraries. This
will allow us to validate the output of the MIT/Heimdal libraries in the
future.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7663b5c37fa3413f7c67c018107322494e4a6fd9">7663b5c3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Add LDAP credentials cache test

Test that we can use a credentials cache with a user's service ticket
obtained with our Python code to connect to a service through LDAP.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/072451a033da07c0cdaa005dd1020ef1c7951e99">072451a0</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Add RPC credentials cache test

Test that we can use a credentials cache with a user's service ticket
obtained with our Python code to connect to a service through RPC.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2b487890d946df88abce67c3d07d74559f70f069">2b487890</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "libsmb: Use sid_parse()"

This reverts commit afd5d34f5e1d13ba88448b3b94d353aa8361d1a9.

This code originally used ndr_pull_struct_blob() to pull one SID from a
buffer potentially containing multiple SIDs. When this was changed to
use sid_parse(), it was now attempting to parse the whole buffer as a
single SID with ndr_pull_struct_blob_all(), which would cause it to fail
if more than one SID was present.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/db5b34c7682e36630908356cf674fddd18d8fa1f">db5b34c7</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Remove overflow check

Pointer overflow is undefined, so this check does not accomplish
anything.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d8aeed33d8edf7a5dc96dbe35e4e164e2baeeeb">9d8aeed3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Avoid undefined behaviour when parsing whoami state

If num_gids is such that the gids array would overflow the rdata buffer,
'p + 8' could produce a result pointing outside the buffer, and thus
result in undefined behaviour. To avoid this, we check num_gids against
the size of the buffer beforehand.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9e414233c84d2f2fa4a9415be9ee975eca8b9bfd">9e414233</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Check to see that whoami is not receiving more data than it requested

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9b96ebea5c6966b096cf1100a0895a9c41f2aa1d">9b96ebea</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Ensure that whoami parses all the data provided to it

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/482559436f12a85adb3409433aac3ab06baa82b1">48255943</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pylibsmb: Add posix_whoami()

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/78a0b57b51642df07deed8aeb6e39e608fafda60">78a0b57b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Add SMB credentials cache test

Test that we can use a credentials cache with a user's service ticket
obtained with our Python code to connect to a service through SMB.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/290c1dc0975867a71c02e911708323d1f38b6f96">290c1dc0</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Ensure reference counts are properly incremented

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/66695f0f94775c4db24fb625fe78ff44d964b5ad">66695f0f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Fix erroneous increments of reference counts

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b9006f33343ba8bb82ef8ffe1fd90c780961b41e">b9006f33</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T01:32:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Fix ticket timestamp conversion when local timezone is not UTC

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7791acb074b84ec7b571a81f15b56d33e2214ce9">7791acb0</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-19T02:22:00+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Make credentials cache test run against Windows

Windows, unlike Samba, requires the service principal name to be set
when requesting a ticket to that service.

Additionally, default_realm from the libdefaults section of krb5.conf
should be set so that the correct realm is used.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed May 19 02:22:01 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/544289b54bbf85098f4cc354f655290600c7f5ba">544289b5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-19T08:34:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Add test for bug 14708 - POSIX default ACL not mapped into returned Windows ACL for directory handles.

Knownfail for now.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b7f62e13933da14c381f70cd46ad13849b108e68">b7f62e13</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-19T09:22:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Ensure POSIX default ACL is mapped into returned Windows ACL for directory handles.

Remove knownfail.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Wed May 19 09:22:56 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c216e056b229a9e018c23b7c4500a31711bb30aa">c216e056</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-19T20:01:00+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Rename offline logon env to ad_member_offlogon

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed May 19 20:01:00 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e4474ac0a540c56548b4d15e38f2e234455e19b6">e4474ac0</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:client: Migrate smbclient to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/64b8a3abeeb7b5c2069eada23224a7913cefc498">64b8a3ab</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:client: Remove duplicate name-resolv (R) options

Detected by samba_popt_get_context(), see next commit.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7b70a72b15c64347d00f5e081b1ce5c82c5c8bcb">7b70a72b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:client: Use samba_popt_get_context()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/74b2a52eebc7be3b73904c5e2375c3b9dc99056d">74b2a52e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update smbclient manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff7d4a65cab9c08b58a885a967f2363f896d00f3">ff7d4a65</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Add more smbclient kerberos tests for new cmdline options

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/894b8b3cab6cebc0955276087fa1a4d3dac5bf82">894b8b3c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Pass cli_credentials to do_cmd()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f9c07c021280c41cc71abe8175ae35bcd5cd651">4f9c07c0</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Pass cli_credentials to process_cmd()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4fb4da396c60992acf890305230b560c97320f2c">4fb4da39</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Migrate rpcclient to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/75088fdba74e010a3f9673834eb1fc21add7caad">75088fdb</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update rpcclient manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ba7c2cee9d04d2e8a1ff46eaf0332594ac5b89a8">ba7c2cee</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Rename test_rpc_getusername_legacy()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7fa1ae04df6fb0a3dc48471c2a468b569e0231f7">7fa1ae04</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Add additional rpcclient tests for new cmdline options

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0433896ee8a0184d7e17b94f2309b457c65fc72d">0433896e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Add a debug only option

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9caa71efa96b502b65ae59fb54397eb43b55e333">9caa71ef</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Add SAMBA_CMDLINE_CONFIG_NONE

This will prevent loading a config file. This will be needed for
testparm.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b87c36cb7832910edbe2cff11cd7570b23f8013b">b87c36cb</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:param: Migrate test_lp_load to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f6c86b201367675e1181cb31bcf5ed249683f9a">0f6c86b2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Migrate smbconftort to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f81fe73f531798a2530efe6b01700135585510d6">f81fe73f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server: Migrate test_mdsparser_es to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/279c95cebfed3aa8adbad6edad57e5bdbad6abf2">279c95ce</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:torture: Migrate vfstest to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a19b9a2d4b975fc13b882bfa2d714791d922dfea">a19b9a2d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update vfstest manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de159c40c5be8862270ca07b40c522cd9bacf6f4">de159c40</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T02:58:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:torture: Migrate pdbtest to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/09fed102c584caa5587df7bebde317f0dc51fbb7">09fed102</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T03:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate tevent_glib_tracker to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu May 20 03:49:30 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/73e68c38e74a423f03a1f0c7e6a5bf47d5bdb01e">73e68c38</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T11:12:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Initialize command for spools printer control

./../source3/smbd/lanman.c: In function ‘api_WPrintQueueCtrl’:
../../source3/smbd/lanman.c:3342:9: error: ‘command’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/170d2f85a19bb97d59be83c28d3304e6fb6b48df">170d2f85</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-20T12:01:06+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Install devel files for tracker-sparql (spotlight backend)

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): Thu May 20 12:01:06 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24fb40a812184fa57458ae9f0f4ffbced1dee09a">24fb40a8</a></strong>
<div>
<span>by Dmytro Bagrii</span>
<i>at 2021-05-20T15:07:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Fix log level for normal startup message

Message "daemon 'smbd' finished starting up and ready to serve connections"
indicates normal startup but printed with 'error' log level and may be mistakenly
treated as error during logs analisys. This patch changes log level to 'info'.

Signed-off-by: Dmytro Bagrii <dimich.dmb@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu May 20 15:07:28 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5a976b42f075b0a1ef4a5cc911659f0ed7884dd4">5a976b42</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-20T19:59:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change set_create_timespec_ea() to take the existing fsp.

Removes an unneeded synthetic_pathref() call.

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu May 20 19:59:44 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/570ec75c7e8af49cee3a12ab20f97663d3b92ddf">570ec75c</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-05-21T14:14:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: Fix stray line introduced in 470b6223e7283ce1308e0b273eb893d20ab72d5b

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri May 21 14:14:38 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac9042ff4dc6c892764abd23a9445116ad40e62a">ac9042ff</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-05-24T16:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: add a test that verifies SMB2 close fields without postqueryattrib

The server must set all fields to 0 if postqueryattrib is not set.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f96cc29711181b5237a5b92c4bfb5e75fe2a73b9">f96cc297</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-05-24T16:56:22+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: correctly initialize close timestamp fields

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

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon May 24 16:56:22 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6917e3246603b9d84133b10f0415e1cc11d184f7">6917e324</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-24T16:57:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove use of synthetic_pathref() in rename_internals_fsp().

As we're renaming an open file we don't need to do another
open, we already have an fsp here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0c2ceb0435c7d03d72c7f9c29b0240f944f6cc42">0c2ceb04</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-24T16:57:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Add regression test for renaming SMB1+POSIX symlinks, dangling and real.

Mark as knownfail.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d781bbff84667b3ada4afc06c1d15829754dcb4">1d781bbf</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-24T17:47:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Allow SMB1+UNIX extensions rename of dangling symlink.

Remove knownfail. Only in master, so no bug number needed.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Mon May 24 17:47:40 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/139cefceca20bd21ad557830f551eb51b343c660">139cefce</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Document command of witness protocol

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d7740f65c69497de665043051228f6315de4f5c">2d7740f6</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Update list of available commands in rpcclient

The list of available commands in rpcclient.1 manpage is updated to
match the current state, which is visible via help commnad of rpcclient.

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d9ed421b26f733c59f9fac44e2034df704cef6a">9d9ed421</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update smbcacls manpage

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d6608d1f9194c06de2db7e89b049a4963982aeb">7d6608d1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate profiles to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/00cbce7bc9b0a88547f2c1fe2a7ab6727cfb33c5">00cbce7b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update profiles manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e1fe474c9b10e64168e4d473b1203ff4ab2bb3f">8e1fe474</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate dbwrap_tool to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17513416714d719172c4ff5360ac96c42e1b3521">17513416</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update dbwrap_tool manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/60427f5191e8cb8e8dc9a5454ee5bfb523d4731d">60427f51</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Remove duplicate '-R' option from nmblookup

-R is already use for 'name-resolve'. The long option --recursive is
still working and available.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4a8a77c21d483331a09aaca95261666a6035897e">4a8a77c2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate nmblookup to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e2b2baeb549ee190c2c08fce65238d304c53020f">e2b2baeb</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update nmblookup manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a5a2636e20d6e33327d9e06359f5512141961403">a5a2636e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Add a --option only parser for testparm

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e63bf24d89ad7d5930efc3fa2ac4dc66ecad04a2">e63bf24d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate testparm to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/667da24bd34b8a7a1b96541aa585562f468ef93b">667da24b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update testparm manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6b4710b5f3c49759d920c570cd1aba16e356f168">6b4710b5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate mdfind to new cmdline option parser

The signing_state is correctly handled by --client-protection now!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c88a8a3cbeaab0441788763503b1aeb64e84546f">c88a8a3c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update mdfind manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f0cd9afa8cb2444b9289f19bd05b4e8d13b9c0cc">f0cd9afa</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Add a --configfile only parser for ntlm_auth

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c96e94fbef83ed2658ea08eb17cfcab19de89371">c96e94fb</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate ntlm_auth to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/54f14587353a02c392a457ec4ecc1d5f3691d0a7">54f14587</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update ntlm_auth manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee5e420dc5c56e0ce56763a3cbe52da0ae80c293">ee5e420d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate smbstatus to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6bb6e0c54f8b34103f8a632a676ce81bd59f0583">6bb6e0c5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update smbstatus manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/774663094d5bcbf47453fdcf69dabf1793fbcf56">77466309</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate dbwrap_torture to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/824c355ed786994e0b696c446edfb86e6a79d2c1">824c355e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate smbcontrol to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0a6d6a28594813f40e773f0205907947b02077d2">0a6d6a28</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update smbcontrol manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d8b6e843fb4dbb6f2e5e21015e14136f6103b677">d8b6e843</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate spilt_tokens to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f81d8459a48aecf6d342045caa1531234f4f87f">4f81d845</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Remove '-V' for '--viewsddl' from sharesec

The '-V' is already used for '-V|--version' in the common options.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b41a0cd199dfc0e67664026b90ba3b5cb87e5c23">b41a0cd1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate sharesec to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/95e82b5b5f87836ae1c6efca970d9059d1cfeca4">95e82b5b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update sharesec manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aff65c0754c7727e8fe9b9449ad8c2a90d715086">aff65c07</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T00:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate pdbedit to the new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a4c0666f6bc3ccb6eedb3f5c3ff3746ae07d1c47">a4c0666f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-25T01:14:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update pdbedit manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue May 25 01:14:09 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2f0cfe82907516ecf23cc385d41b8d29ed6b8c96">2f0cfe82</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-05-27T17:25:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix uninitialized memory read in process_symlink_open() when used with vfs_shadow_copy2().

Valgrind trace follows.

==3627798== Invalid read of size 1
==3627798==    at 0x483FF46: strlen (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==3627798==    by 0x55DE412: strdup (strdup.c:41)
==3627798==    by 0x4F4657E: smb_xstrdup (util.c:660)
==3627798==    by 0x4C62C2E: vfs_ChDir (vfs.c:988)
==3627798==    by 0x4C4A51C: process_symlink_open (open.c:656)
==3627798==    by 0x4C4ADE7: non_widelink_open (open.c:862)
==3627798==    by 0x4C4AFB7: fd_openat (open.c:918)
==3627798==    by 0x4BBE895: openat_pathref_fsp (files.c:506)
==3627798==    by 0x4C48A00: filename_convert_internal (filename.c:2027)
==3627798==    by 0x4C48B77: filename_convert (filename.c:2067)
==3627798==    by 0x4C32408: call_trans2qfilepathinfo (trans2.c:6173)
==3627798==    by 0x4C3C5DA: handle_trans2 (trans2.c:10143)
==3627798==  Address 0xda8bc90 is 96 bytes inside a block of size 217 free'd
==3627798==    at 0x483DA3F: free (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==3627798==    by 0x4FCA3C9: _tc_free_internal (talloc.c:1222)
==3627798==    by 0x4FCA481: _talloc_free_internal (talloc.c:1248)
==3627798==    by 0x4FCB825: _talloc_free (talloc.c:1792)
==3627798==    by 0xDB248DD: store_cwd_data (vfs_shadow_copy2.c:1473)
==3627798==    by 0xDB24BEF: shadow_copy2_chdir (vfs_shadow_copy2.c:1542)
==3627798==    by 0x4C662A4: smb_vfs_call_chdir (vfs.c:2257)
==3627798==    by 0x4C62B48: vfs_ChDir (vfs.c:940)
==3627798==    by 0x4C4A51C: process_symlink_open (open.c:656)
==3627798==    by 0x4C4ADE7: non_widelink_open (open.c:862)
==3627798==    by 0x4C4AFB7: fd_openat (open.c:918)
==3627798==    by 0x4BBE895: openat_pathref_fsp (files.c:506)
==3627798==  Block was alloc'd at
==3627798==    at 0x483C7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==3627798==    by 0x4FC9365: __talloc_with_prefix (talloc.c:783)
==3627798==    by 0x4FC94FF: __talloc (talloc.c:825)
==3627798==    by 0x4FCCFDC: __talloc_strlendup (talloc.c:2454)
==3627798==    by 0x4FCD096: talloc_strdup (talloc.c:2470)
==3627798==    by 0xDB24977: store_cwd_data (vfs_shadow_copy2.c:1476)
==3627798==    by 0xDB24BEF: shadow_copy2_chdir (vfs_shadow_copy2.c:1542)
==3627798==    by 0x4C662A4: smb_vfs_call_chdir (vfs.c:2257)
==3627798==    by 0x4C62B48: vfs_ChDir (vfs.c:940)
==3627798==    by 0x4C4A92D: non_widelink_open (open.c:755)
==3627798==    by 0x4C4AFB7: fd_openat (open.c:918)
==3627798==    by 0x4BBE895: openat_pathref_fsp (files.c:506)
==3627798==

Even though SMB_VFS_CONNECTPATH() returns a const char,
vfs_shadow_copy2() can free and reallocate this whilst
in use inside process_symlink_open().

Take a copy to make sure we don't reference free'd memory.

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

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu May 27 17:25:43 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/31ea8ea875f960970661097b25a9d172be1bedb2">31ea8ea8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-05-27T19:01:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture/smb2: ACL inheritance flags test with non-canonical behaviour

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/86e0901392008b5d76e2cb5230609809e752d658">86e09013</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-05-27T19:01:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: pass fsp to canonicalize_inheritance_bits()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9f57a3194a4cf5e0c383a8c6fdcf60c4e922a978">9f57a319</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-05-27T19:51:57+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">loadparam: add option "acl flag inherited canonicalization"

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu May 27 19:51:57 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e9a804c9bdbcc68263857d8abb366fa08a820bb8">e9a804c9</a></strong>
<div>
<span>by Andrew Walker</span>
<i>at 2021-05-27T22:07:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:param:py_param - allocate buffer for nt_name and comment

nt_name and comment are allocated via talloc_strdup(). Length
is not guaranteed to be sizeof(fstring) and so rather than use
fstrcpy into a possibly NULL buffer, free original string, then
talloc_strdup() the one provided to us.

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu May 27 22:07:45 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1280531a73db20a2df663daeda2aee44dd068d4c">1280531a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Pass cli_credentials to connect_one()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/83eea54ff6e83a112b3c747be9aab282212270b2">83eea54f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use cli_credentials in 'struct cacl_callback_state'

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e652f542e07f7562db9fa8620e39bcc9e2ebe777">e652f542</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate smbcacls to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/57434b1484ad67b420bf24162335070be63274b6">57434b14</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update smbcacls manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b58dc5056e8af2beb732e4e74b7a6eeaa2421844">b58dc505</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate samba-regedit to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c31d9fa8f5e8d53996b63fef79df555c204d870b">c31d9fa8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update samba-regedit manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fb89a5f38e1e7b482285e7e9fb88cd69705348b6">fb89a5f3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use samba_cmdline_burn() in smbget

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9fccbfd5d955724ca4aed40975411d779aa142f0">9fccbfd5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Rename --user to --quota-user in smbcquotas

This conflicts with the common -U|--user option

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7b0b9826c289a4e2e5a684639a8bd0c735602a06">7b0b9826</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate smbcquotas to the new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5faa0cc81f316fe1fb9e4dfc77c65d605b0b6f84">5faa0cc8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update smbcquotas manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8ba85b4a806b242f7e944719dca801880d6f15d">e8ba85b4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate smbtree to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8b01db48f430d7e0cc6bac8dc4bd0d913d1cfcc4">8b01db48</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update smbtree manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/06a1861ca86dad4d9acd7301324c1c3267bb60f9">06a1861c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">examples: Pass cli_credentials to connect_one in smb2mount

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f2b80723d3803f4e21be17f91e5894a46ca39648">f2b80723</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">examples: Migrate smb2mount to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/94fc9ca4c506468ab1907d501c0964d67b9d963c">94fc9ca4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Remove '-l' for '--long' from net

This conflicts with '--log-basename' from the commend cmdline parser.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6fe55b2f261362e462ae2867af9321f9a66af093">6fe55b2f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Migrate net to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/91d20d1d1113f602fad5bb29c2b3186f76682f03">91d20d1d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Add cli_credentials and loadparm_context to net_context

Will be filled later.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea071d278a614f17b5417d3ff98e1b8d1fd8970d">ea071d27</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use connection and credentials parser in net util

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1796737eaee9d2e16bb034ce50c095a9546232f2">1796737e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update net manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/84b5440eb4f3c10e2729e916d097f5af07150dcd">84b5440e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Use cli_credentials to store traversal creds

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c90b3db95a9ae43327d8e2f09d39b27505c38f7c">c90b3db9</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:printing: Migrate samba-bgqd to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c377845d27d4dcd7c1791e8b2b42b0f21c9d8bf3">c377845d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T02:55:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Remove popt_samba3

                _|_
                 |
             .-'''''-.
          .-'    '-.
       .-'  :::::_:::::  '-.
   ___/ ==:...:::-:::...:== \___
  /_____________________________\
':'-._________________________.-'_
 ':::\ @-,`-[-][-^-][-]-`,-@ / _| |_
  '::| .-------------------. ||_ @ _|
   ::|=|*   ___  _  ___   *|=|'.| |
   ':| |'   ))_) )) ))_)  '| |::.^|
   _:|=|'  ((`\ (( ((     '|=|::::::.
 _| || |'        _        '| |:::::::.
|_   |=|'2003  _( )_  2021'|=|':::::.
  | || |' (   (_ ~ _)   ) '| | ':::'
  |^||=|*  )    (_)    (  *|=| '::'
     | '-------------------' .::::'
     |_____________________.::::::'
   .'___________________.::::::''
   |_______________.::::'':::'''
 .'_____________.::::::''::::''
            .:::''''     .'::::'
         .:::::''':.   .:::::'

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f753e2f7acf8f3394a5f1107344d0323acc05694">f753e2f7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-05-28T03:41:52+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Remove util_cmdline

                  _  /)
                 mo / )
                 |/)\)
                  /\_
                  \__|=
                 (    )
                 __)(__
           _____/      \\_____
          |  _     ___   _   ||
          | | \     |   | \  ||
          | |  |    |   |  | ||
          | |_/     |   |_/  ||
          | | \     |   |    ||
          | |  \    |   |    ||
          | |   \. _|_. | .  ||
          |                  ||
          |   1992 - 2021    ||
          |                  ||
  *       | *   **    * **   |**      **
   \))ejm97/.,(//,,..,,\||(,,.,\\,.((//

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri May 28 03:41:52 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/55d4b3438f2c44a12b4c513ef26e2d1c4fa9f5b4">55d4b343</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-05-28T06:46:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Factor out function dump_stacks()

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ffb56c9143d1d4b9a2dfaa8300be6ce5d6881ab1">ffb56c91</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-05-28T06:46:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Avoid direct /proc access

The main reason for this is to facilitate testing.

Avoid some /proc accesses entirely by using ps(1) (which can be
replaced by a stub when testing) because this script might as well be
more portable in case anyone wants to add lock debugging for a
non-Linux platform.  While the "state" format specification isn't
POSIX-compliant, it works on both Linux and FreeBSD so it is a
reasonable improvement.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a3e7fd9c61bf37de3d6952fa8c7134a4df0b9c6c">a3e7fd9c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-05-28T06:46:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Fix nonsense arguments to ps stub

These were fine (though still lazy) when these tests were the only
user of this stub.  However, the ps stub is about to be enhanced, so
fix these uses of it to represent the intended usage.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c7dbb043f3b7c0fa31791a033f21e249593d9f7">2c7dbb04</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-05-28T06:46:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Add debug_locks.sh testing

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d07875330a6dbf44c1d65c029af80b53e5836d2d">d0787533</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2021-05-28T06:46:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-locking: Pass additional arguments to debug locks script

1. PID of lock helper waiting for lock
2. Scope of lock: "record" or "db"
3. Path to database that lock helper is trying to lock
4. Whether the database uses mutexes: "mutex" or "fcntl"

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1dfff9751b1ef96d0ec5e4a72f7e687702c35a78">1dfff975</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-05-28T06:46:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Move current lock debugging to a function

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e62ae53ef6d04016e3a3453380c9add3ce888e3c">e62ae53e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-05-28T06:46:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Update debug_locks.sh to handle arguments

Don't use the  arguments yet.  They will be used in a simplified
version of the code.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd5972b69916fa08b114193d644faf3ae58c550b">dd5972b6</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-05-28T06:46:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Simplify logic in debug_via_proc_locks()

The path of the TDB is known, so calculate the file ID (device number
+ inode number) from it and use this to directly filter /proc/locks to
find processes holding locks.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb55b68b3e63b438f4695e362ffa8faae47d0aee">cb55b68b</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2021-05-28T06:46:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-utils: Add tdb_mutex_check utility

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/99c3b49260ffcb582122017bc545502a88b3cd31">99c3b492</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2021-05-28T06:46:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Add lock debugging for tdb mutex locks

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Signed-off-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f7cf8132b007aadc861efcb26060c075c45978b5">f7cf8132</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-05-28T07:34:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Add debug_locks.sh tests for mutexes

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri May 28 07:34:23 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9019e08c61a9b0bfce9ef295089ad42e46e784e2">9019e08c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-28T09:00:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest:segfault: Add test for assigning to an inline array

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/537f2d19b5513fa9c29034bc53958a2c05768e81">537f2d19</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-05-28T09:50:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl: Handle assigning to an inline array from Python

When obtaining a reference to items in an assigned-from list, ensure
that we do not try to use the first element of the inline array as a
talloc context, but instead use the talloc context associated with the
Python object.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri May 28 09:50:02 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eeaa1380325379ad58f7ff3a40ba5635028e540e">eeaa1380</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-02T03:56:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool dns: move dns_record_match to dnsserver.py

This function is used here and in tests, but the tests should not be
importing things from netcmd.dns, which is really supposed to be UI
code. So we move to a common place.

the only difference is the function raises DNSParseError instead of
CommandError, and netcmd.dns has to catch and wrap that.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b11ea9d7adad8c6f147a8f6c610311004bf60c93">b11ea9d7</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-02T03:56:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool dns: remove unused imports

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/074f9e1486613c6e4f6bbff9222a23ba6bdf3603">074f9e14</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-02T03:56:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest:samba-tool dns: more robust clean-up

If setUp() fails (and here we have a big .setUp), .tearDown is not run,
and that can leave the zone undeleted, breaking all the other tests who
expect to be able to recreate it.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2f7aa81a9f36685f0a349ae125fa4fce54c4c442">2f7aa81a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-02T03:56:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool dns zoneoptions: timestamp manipulation options

There was a bug in Samba before 4.9 that marked all records intended
to be static with a current timestamp, and all records intended to be
dynamic with a zero timestamp. This was exactly the opposite of
correct behaviour.

It follows that a domain which has been upgraded past 4.9, but on
which aging is not enabled, records intended to be static will have a
timestamp from before the upgrade date (unless their nodes have
suffered a DNS update, which due to another bug, will change the
timestmap). The following command will make these truly static:

$ samba-tool dns zoneoptions --mark-old-records-static=2018-07-23 -U...

where '2018-07-23' should be replaced by the approximate date of the
upgrade beyond 4.9.

It seems riskier making blanket conversions of static records into
dynamic records, but there are sometimes useful patterns in the names
given to machines that we can exploit. For example, if there is a
group of machines with names like 'desktop-123' that are all supposed
to using dynamic DNS, the adminstrator can go

$ samba-tool dns zoneoptions --mark-records-dynamic-regex='desktop-\d+'

and there's a --mark-records-static-regex for symmetry.

These options are deliberately long and cumbersome to type, so people
have a chance to think before they get to the end. We also introduce a
'--dry-run' (or '-n') option so they can inspect the likely results
before going ahead.

*NOTE* ageing will still not work properly after this commit, due to
other bugs that will be fixed in other commits.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e583140e81bce9853ccb86370a2143c8b27b4984">e583140e</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-02T03:56:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">spoolss: Avoid indirection via ndr_get_array_size()

This is set in the call just above and otherwise we will (in the next commit)
need an intermediate variable once we need to check error codes from
ndr_get_array_size().

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0cc4478070b9c980d653adf31647dd541cf4be22">0cc44780</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-02T03:56:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add test of NDR marshalling from python, starting with wbint

These patches are to address an issue unpacking a very large
winbind.wbint_Principals array (100,000).

We need the NDR_TOKEN_MAX_LIST_SIZE value exposed as
otherwise a well-meaning incrase of this value would
invalidate the test.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c35f4180a44eb3caecad0f2daab46574bc52be83">c35f4180</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-02T03:56:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libndr: Return error code from ndr_token_peek()

This makes it safer to change our code to remove tokens after use
if failing to obtain a token would result in an error.

This means changing ndr_get_array_size() and ndr_get_array_length()
to also return an error code.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40aabcb5cf76ff076e04bff00f4ff0b4374f2354">40aabcb5</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-02T03:56:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Add const to cookie pointer in ndr_check_array_{size,length}

This pointer is only used to find the right token in the list
so can be declared const.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/139cca7c206efc6c6e9a93fd4045285f25117414">139cca7c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-02T03:56:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Use helper function ndr_get_array_size() in ndr_check_array_size()

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a7d4f93cfdee0a2005be11880f8dd31f55149369">a7d4f93c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-02T03:56:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl: Avoid leaving array_length NDR tokens around

In many cases these can and should be consumed as soon as
they are used.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3bc680c1e38bef75d5b212992e15f094c523923b">3bc680c1</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-02T03:56:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl: Avoid leaving array_size NDR tokens around

In many cases these can and should be consumed as soon as
they are used.

This is not a complete fix, we don't clean up the array_size
token after using it split between an NDR_SCALARS and
an NDR_BUFFERS pass, but it is much better than it was
and helps the winbind case with a large number of groups
(eg 100,000) as otherwise we hit the 65535 NDR token limit.

(This is an arbitary Samba-only limit to avoid DoS conditions)

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/58b5513d5237c29489f0e8abb4cc02ccee7bd67a">58b5513d</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-02T04:46:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: standardise and shorten winbind socket name

The full path to the winbindd socket must fit within a struct sockaddr_un and this helps us work
where this is quite deep on the server.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Wed Jun  2 04:46:39 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c500d99e2f5aaec102bf952b7941a2596b3e35a1">c500d99e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: Fix talloc heirarcy error in parent_smb_fname().

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0e75f9ffabc751231e80f9583837f6afbc2d6233">0e75f9ff</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Add SMB_VFS_PARENT_PATHNAME().

Not yet used.

Default is NTSTATUS version of parent_smb_fname(). Now
to replace all users of parent_smb_fname() with
SMB_VFS_PARENT_PATHNAME() and then remove parent_smb_fname().

Needed due to snapdirseverywhere code in vfs_shadow_copy2.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/71f69b6c1cc836b33159ddb8716a5e73ef83a90b">71f69b6c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: shadow_copy2. Implement SMB_VFS_PARENT_PATHNAME().

Allows the snapdirseverywhere code to still find
snapshots even when not in the parent path.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9cd853da6bf3e942f5f3c8bee1d4e13ba99e4b06">9cd853da</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: acl_common. parent_smb_fname() -> SMB_VFS_PARENT_PATHNAME().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d0e84e28bfc6b8ed0cc44bcc9cf6f021e633895e">d0e84e28</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: error_inject. parent_smb_fname() -> SMB_VFS_PARENT_PATHNAME().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fb5749fa6b417c89cc8a150f00a79dbb46e23d42">fb5749fa</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: gpfs. parent_smb_fname() -> SMB_VFS_PARENT_PATHNAME().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/97c12be097f5b26fdcc2ee50da1d169ddce7731b">97c12be0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: linux_xfs_sgid. parent_smb_fname() -> SMB_VFS_PARENT_PATHNAME().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ad99ee7578558358a79e748d53402fcc66ae72c3">ad99ee75</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In can_delete_file_in_directory(), parent_smb_fname() -> SMB_VFS_PARENT_PATHNAME().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b2027f982fe49023baca36101451e38df0b898c6">b2027f98</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In parent_pathref(), parent_smb_fname() -> SMB_VFS_PARENT_PATHNAME().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0dde001c369743c3a5078134461f98c1eee471fa">0dde001c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: copy_internals(). parent_smb_fname() -> SMB_VFS_PARENT_PATHNAME().

Off-topic. This function is insane and should be removed..

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38410ea2f7e19e0e4586d7a5c5453658edde6007">38410ea2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In check_parent_access(), parent_smb_fname() -> SMB_VFS_PARENT_PATHNAME().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f5928d286d5afd1ba2277f51de99ee637f3a07b">4f5928d2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_file_ntcreate(), parent_smb_fname() -> SMB_VFS_PARENT_PATHNAME().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0dc842b4fab43c025ef79814684dbf33e936c972">0dc842b4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In inherit_new_acl(), parent_smb_fname() -> SMB_VFS_PARENT_PATHNAME().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6263338f45598b8fb2a712dab562b5458a7e69d3">6263338f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: non_widelink_open(), parent_smb_fname() -> SMB_VFS_PARENT_PATHNAME().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e41ffe104579b0e7f5d09a2f02fb3b8e2b00d83">2e41ffe1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: parent_dirname_compatible_open(), parent_smb_fname() -> SMB_VFS_PARENT_PATHNAME().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7dc7a2c04823e8a472b51d1728c840d7c88bd961">7dc7a2c0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: check_reduced_name_with_privilege(), parent_smb_fname() -> SMB_VFS_PARENT_PATHNAME().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/50a6da636c59d5cd3af269828e201efae7eedb47">50a6da63</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T05:39:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: check_reduced_name(), parent_smb_fname() -> SMB_VFS_PARENT_PATHNAME().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b0f28dcd7a32447ec55cce457664ef112baf2a7d">b0f28dcd</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-02T06:30:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove parent_smb_fname(), no longer used.

Moved into the VFS as SMB_VFS_PARENT_PATHNAME() to
allow modules to process the returned parent dirname.

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Jun  2 06:30:36 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/292abd2884ba80a5797135920f4b471d0b0faffe">292abd28</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-03T20:23:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix bug (only in master) introduced by 60ddee64f6e6c178766325591e80d63a673ad111.

Commit 60ddee64f6e6c178766325591e80d63a673ad111 - smbd: simplify rmdir_internals()

had a bug where it carefully set unlink_flags but then didn't use them in the
following SMB_VFS_UNLINKAT() call.

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Jun  3 20:23:38 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8089f5190cb17d519f2dee27a74eccb5b8560e8a">8089f519</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-04T16:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbwrap: Remove unused dbwrap_try_fetch_locked()

Small simplification, this has not been used since 2014 when the
notifyd went in. Can easily be added if needed again.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a41af25ebd424184ceb300a181cbfca7a9eb014c">a41af25e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-04T16:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbwrap: Remove "db_context->try_fetch_locked()" fn pointer

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3f4d85f749cd47cd7d1372ef400acc664f1c7840">3f4d85f7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-04T16:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbwrap_ctdb: Remove "tryonly" from fetch_locked_internal()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4388ad2a900a931770756e8c3cb2e61216722c92">4388ad2a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-04T16:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/93a28a5f2456bbcdd3104c251a019f1f4f354219">93a28a5f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-04T16:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Simplify pack_devicemode()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d4e5ce90cf6f118c32dd71210889b76c5de28d63">d4e5ce90</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-04T16:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Factor out remove_from_jobs_list()

remove_from_jobs_changed() and remove_from_jobs_added() only differed
by the keystr.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/87a0a20417cbefaa913e29233280908c198e9fd1">87a0a204</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-04T16:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Avoid a cast

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6191956899d3a962dbddc19b39d509141774208">b6191956</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-04T16:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Open tdb files with O_CLOEXEC

After an exec() the fd's don't make sense anymore

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8ee391bbd0610c376e914ddbf236dbd68d5f40cb">8ee391bb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-04T16:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tevent: Remove single-use ev_str_list_[length|add]

This also adds proper error checks, the previous code could (very
theoretically) have leaked memory if an intermediate _add had failed.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7f967589ea4a87536c7eb9d60f5df00b29e03600">7f967589</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-04T16:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Use correct PRIu16 for printf of a uint16

Don't rely on correct casting

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5acb37fd564804cd889c37b8ec610a1c6c1ef60c">5acb37fd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-04T16:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b9f903fbd564d98df32570e083c855464e8042a9">b9f903fb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-04T16:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libnet: Align a few integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c2092cfc4489ad245ffd40bb4865e64ee37fadc2">c2092cfc</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-04T16:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libnet: Initialize pointers

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/581ebbcc312ba88e02a3b2d9a4776d5e6db39135">581ebbcc</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-04T16:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Simplify share_mode_entry_do()

Looking at the logic of "ha[d|ve]_share_mode_entry" d->modified=true
can only happen if we remove the last share mode entry . Make this
more explicit, avoid booleans.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9cb3e4314b00629391919d8f74080d0dfc1aae18">9cb3e431</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-04T17:34:06+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Slightly simplify server_id_set_disconnected()

The NULL assert is not really required, it will crash nicely if that's
not fulfilled.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jun  4 17:34:06 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f9ffed06862c222da4adcf2259bc45c18edb1dc3">f9ffed06</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-08T12:35:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Also set logfile for the debug system

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Jun  8 12:35:34 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d3c0d68aa12ac9fb8479a9b2d5b22d8e6e00828f">d3c0d68a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-06-08T14:13:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:cmdline: Use D_ERR() instead of DBG_ERR() for talloc log

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7645aca4d05a74504da8cc82131a7d4fded42251">7645aca4</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-06-08T14:58:58+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Use getprogname() to avoid possible issues with setproctitle()

Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Jun  8 14:58:58 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8a427783e5e780d3ffbe4f9710ac4a17c483ca33">8a427783</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-08T20:44:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: fix pathref unlinking in create_file_unixpath()

This is really subtle. If someone passes in an smb_fname where smb_fname
actually is taken from fsp->fsp_name, then the lifetime of these objects is
meant to be the same.

This is commonly the case from an SMB1 path-based call
(eg call_trans2qfilepathinfo()) where we use the pathref fsp
(smb_fname->fsp) as the handle. In this case we must not unlink smb_fname->fsp
from it's owner.

The asserts below:

  SMB_ASSERT(fsp->fsp_name->fsp != NULL);
  SMB_ASSERT(fsp->fsp_name->fsp == fsp);

ensure the required invarients are met.

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

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Jun  8 20:44:41 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fc8b3f1878f3654379de2c9ca30bfe4084bc6633">fc8b3f18</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: posixacl: Missing acl_free() in error code path.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/250a5df6bc6602f2ca7b39725b7c3c29f6e70853">250a5df6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: posixacl: Fix the fallback code in posixacl_sys_acl_set_fd().

We weren't maping or using the incoming SMB_ACL_TYPE_T type
parameter correctly.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a80456e61de2d79a9f896b22ca2772c53994f8ec">a80456e6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: shadow_copy2: Code cleanup. In shadow_copy2_get_shadow_copy_data() preserve errno accross cleanup syscalls.

This VFS function should really return an NTSTATUS but that is
a patch for another day.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/99c02ff6c157c728f766c4891c74d365ecd36a4b">99c02ff6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Cleanup. open_file_ntcreate(). This returns NTSTATUS, don't set errno explicitly internally.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aaba2918f8bae15156bce88ef04f821d7e2ea89b">aaba2918</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Cleanup. open_file(). This returns NTSTATUS, don't set errno explicitly internally.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/68124e2a46fe1766c8265a644c3f1994c2f125e7">68124e2a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Cleanup. open_file(). If SMB_VFS_FSTAT() fails report the error.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f1ca59b81b20b17827c1ce5425f7da0e45a002af">f1ca59b8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Make open_file() fail early for an existing directory we are trying to open.

Makes sure we keep the pathref fd open for the NT_FILE_IS_A_DIRECTORY case.

Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d2d52ebb6ccadc5b1287935b245a8b06abe03cb9">d2d52ebb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In open_file(), remove post-open check for opening a directory..

Now we do an early check for opening a directory, this code
could never have been triggered.

The only case we need to consider now is when the filesystem
object exists as a file when we enter open_file() and another
smbd removes and then re-creates the object as a directory before we
call reopen_from_fsp(). In that case, we will open the object,
and come back out to open_file_ntcreate(), where the race
condition detection code that calls check_same_dev_ino()
will catch the case and error out the client request.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ae8313a4458fc314a841f90c00edf6b1ad4e44cf">ae8313a4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In open_directory() move the call to smbd_check_access_rights() until after the fsp is set up.

This doesn't matter now, but later we will move to a handle-based call to
check access rights, so we will need the full handle setup.

Add a fd_close(fsp) in the error path now this is done after the fd open.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7a591e90e3359fd995c858282b0865519c40bb14">7a591e90</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Cleanup - fix the comment for dptr_SearchDir().

It doesn't and never has skipped VETO or unreadable files.

It's only used in call_trans2findnext() in the SMB1 code
given a name already returned to the client to find a
resume position. Even if the client gave us a name that
it had never been given to it (client bug or malicious
client) we'd just start the search from the wrong position,
which doesn't cause problems (we still check for VETO
or unreadable before returning any names).

Worst thing that actually happens is the client messes
up their own search, which is what you'd expect from
giving an incorrect resume name.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12ede1732a59f60453815471f7f56870dc2e9046">12ede173</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Cleanup - make SearchDir() static.

It's only used in dir.c

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ae5cb84fae60663cdd8a507a015ac3f9b8296647">ae5cb84f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Subtle change to semantics needed for smbd_check_access_rights_fsp().

smbd_check_access_rights() is checking permissions on a file *before*
open, so getting ACCESS_DENIED and mapping to NT_STATUS_OK when
reading the security descriptor is fine, as if we really don't have
access the open will fail.

smbd_check_access_rights_fsp() takes place *after* the open (pathref
or otherwise), so being unable to get the security decriptor should
be reported back to the caller and not mapped to NT_STATUS_OK.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c11f25b7ea132979ff0070ac4b29439ec3c9a279">c11f25b7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix smbd_check_access_rights_fsp() to cope with fake/printer fsp's.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/153da186a1c85c5b33ddde43f6b81233f60f90d2">153da186</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: smbd_check_access_rights_fsp(), for a symlink handle just check the handle bits.

For the pathname verison of this function smbd_check_access_rights()
we return the st_mode bits turned into an NT ACL for a symlink.

For a symlink the mode bits are always 'lrwxrwxrwx' which means
smbd_check_access_rights() version always returned NT_STATUS_OK
for any access rights requested on a symlink.

For smbd_check_access_rights_fsp() to a symlink use the handle
access bits as this is a better representation of the access
allowed.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d880116fae16a17c36550c7915068b65a45b88c4">d880116f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: rmdir_internals(). Coding cleanup. Always use ISDOT(dname) || ISDOTDOT(dname).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/92d143dbcb80fda46894f514d04d8f40c0c935c7">92d143db</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: rmdir_internals(). Coding cleanup. Move TALLOC_FREE(dir_hnd) into the generic exit path.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b3ca31905ed87d5c25f8bcca7d0e14ccefa70abe">b3ca3190</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: rmdir_internals(), when calling synthetic_pathref() for a directory entry we've already stat()'ed, re-use the stat struct.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ddc226c8497d3c653d35f5811ddba1e71f626420">ddc226c8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: recursive_rmdir(), when calling synthetic_pathref() for a directory entry we've already stat()'ed, re-use the stat struct.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f9606b26d69ecb0c42d044f6ce183186d97af7f">8f9606b2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove the NULL fsp use of refuse_symlink().

It makes no sense here and will allow us to rename
refuse_symlink() -> refuse_symlink_fsp() and clean it up.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/580d691c9bbd65a7ce0e28ff9f4ed2acc4fdf51a">580d691c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change refuse_symlink() -> refuse_symlink_fsp()

Simplify the interals to check for everything that
would make an fsp something that is open on a symlink.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c66305f4c8161a5eef4cb541ae496fca9383296f">c66305f4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Make refuse_symlink_fsp() public so we can reuse in nttrans.c

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a706a544775fca18a40eb063656a8deb57867ec3">a706a544</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Re-use refuse_symlink_fsp() in set/get security descriptors.

Now we have one common function for refusing access on symlinks.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5504a5502d5146d38927f17bcda590e86c3427bc">5504a550</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: SMB_VFS_SYS_ACL_GET_FD: Add SMB_ACL_TYPE_T type arg

preparatory patch for api change to SMB_VFS_SYS_ACL_GET_FD to add new
SMB_ACL_TYPE_T arg to SMB_VFS_SYS_ACL_GET_FD.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e59244461f477b01fe3110fcf5d73f2d9962bf4f">e5924446</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: SMB_VFS_SYS_ACL_GET_FD: Modify api to take additional type param

Modify all implementations (and the definitions) related to
SMB_VFS_SYS_ACL_GET_FD to accept additional SMB_ACL_TYPE_T type param.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7e8849032ff4536649c633af33a1140d54db0322">7e884903</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In smb_query_posix_acl(), remove a use of SMB_VFS_SYS_ACL_GET_FILE().

We can now use SMB_VFS_SYS_ACL_GET_FD() on the directory fsp instead.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b62d90f91f4361d98ff7912c15efc031646f8be7">b62d90f9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: vxfs: Change use of SMB_VFS_SYS_ACL_GET_FILE() -> SMB_VFS_SYS_ACL_GET_FD().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8e49253d734fd84e416cd4a5ff430af6a744e7e">a8e49253</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: cmd_sys_acl_get_file(), SMB_VFS_SYS_ACL_GET_FILE() -> SMB_VFS_SYS_ACL_GET_FD().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/91cd0e87f92b3aa2e960a4d697c470a48df52ee2">91cd0e87</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: make posix_sys_acl_blob_get_fd actually use handle api with the changes to underlying sys_acl_get_fd_fn we now can pass the acl type down

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d2ff049ba9b68d017002ce92251e3a03593ef8c5">d2ff049b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Ensure we only call get_acl_group_bits() with a valid smb_fname->fsp.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9042bdd0dd82d8c1f64c94c660ff53c2ed106de2">9042bdd0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In get_acl_group_bits(), SMB_VFS_SYS_ACL_GET_FILE() -> SMB_VFS_SYS_ACL_GET_FD().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/23217ced3e611fe3c52277bd1efb09deaecfa382">23217ced</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: directory_has_default_posix_acl(), SMB_VFS_SYS_ACL_GET_FILE() -> SMB_VFS_SYS_ACL_GET_FD().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f3599fab00ba8ba238a84d301394760d4d0b307">5f3599fa</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: copy_access_posix_acl(), SMB_VFS_SYS_ACL_GET_FILE() -> SMB_VFS_SYS_ACL_GET_FD().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e81aa6e3580e74ea12ca0f6885b311ea9c1ae1ff">e81aa6e3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Change cmd_sys_acl_blob_get_file() to be handle based.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/133196790a6fee0aa522937773e31210202ac96b">13319679</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add check_parent_access_fsp().

Next migrate check_parent_access() users over to it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d5e5095c062adf83492939fdfb11fdce11027aa">8d5e5095</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Make mkdir_internal() use check_parent_access_fsp().

We already have a parent pathref fsp here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/daadab4a85bdcb9242c1821b4d62377dbc77d681">daadab4a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change rename_internals_fsp() to use check_parent_access_fsp()..

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7aa5acb895f9401ab43bac4880e266f49620ce1c">7aa5acb8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Get a parent pathref in create_file_unixpath().

Not yet used.

We will be passing this down to open_directory() and
open_file_ntcreate() and using it within create_file_unixpath()
as all of these functions need a parent pathref to check parent
ACLs etc.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/00baf898e8c0d09ac2f6f712e9818dc35b05b380">00baf898</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Pass in the newly created parent_dir_fname and smb_fname_atname to open_directory().

Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7a06544d188daca6c63bdea6d531f2ddc501b54f">7a06544d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Pass parent_dir_fname_in, smb_fname_atname_in to mkdir_internal().

Not yet used. Next step will be to use them to replace the
internal parent_dir_fname,base_name variables inside mkdir_internal().

Annotate them so we know what these extra params are.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da5762de7163ffcc8aaec70b0733abafb9a2b129">da5762de</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In mkdir_internal() assign the passed in parent_dir_fname_in, smb_fname_atname_in to the local variables.

We don't need the parent_pathref() and more, and as we don't
own parent_dir_fname anymore, don't free it on exit.

Next step will be to remove the local variables.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d4a73db8be6a7da930207893a7433d1fbcf8cf5">8d4a73db</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In mkdir_internal(), use the passed in 'smb_fname_atname' instead of a local 'base_name' variable.

atname is a better name, as base_name refers to the name without streams
and this is nothing to do with streams.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/748f693a9c5a03542e77da893d3f4b957697482a">748f693a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In mkdir_internal(), remove the local parent_dir_fname. We pass it in from the caller now.

This will allow us to change directory_has_default_acl() to
directory_has_default_acl_fsp() later.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/64bd0ae35836bd9213c1f5c15f208052ac290b04">64bd0ae3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Pass parent_dir_fname_in, smb_fname_atname_in from create_file_unixpath() to open_file_ntcreate().

Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/066729f8ce84240026ab02a26c3824e2a31d226b">066729f8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In open_file_ntcreate() initialize the local parent_dir_fname from the passed in parent_dir_fname_in.

We can now remove the call to parent_smb_fname().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1509ba3c44e7f092377360b71eee2c9916eefdb9">1509ba3c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In open_file_ntcreate(), remove the local parent_dir_fname and rename the passed in parameter to be the same.

open_file() can now use parent_dir_fname->fsp for handle-based
access calls.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0e88fc373561ca959423bb565ea9d68b32c4dc0e">0e88fc37</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change open_file() to use check_parent_access_fsp() instead of check_parent_access().

No more uses of check_parent_access().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/580226610f8dc11ed29b2395521a2de629e9e6c4">58022661</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove check_parent_access().

No more callers.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a87182b2eb8439725a141e182ff2be12d2ad6701">a87182b2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: Add directory_has_default_acl_fsp().

Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/428bceb127cac9261c3b22636dfd3d4a6fff5336">428bceb1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change directory_has_default_acl() -> directory_has_default_acl_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d615e90965dd35a46ca4a13c616b2cba3a30b23">8d615e90</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove directory_has_default_acl().

No more users.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/110de2f476296405892c1736652ba591b724bbf3">110de2f4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Pass parent_dir_fname parameter to inherit_new_acl().

Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3bd2cfc2920b5a3b4dab202b3fb3db59ad6fe258">3bd2cfc2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Inside inherit_new_acl(), change from SMB_VFS_GET_NT_ACL_AT() -> SMB_VFS_FGET_NT_ACL().

One more pathname-based call gone.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5c9f8f693cf4826b563090d21f8885cef9fc3b7f">5c9f8f69</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: pysmbd: SMB_VFS_SYS_ACL_GET_FILE -> SMB_VFS_SYS_ACL_GET_FD

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/32b92d7cdf127a506b46c26d1415a101cf531a08">32b92d7c</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: pysmbd: Ensure SMB_VFS_GET_NT_ACL_AT() has an fsp when called.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1c8c2095d24a7522065eb63fbc327d0229940bbb">1c8c2095</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: get_nt_acl_conn(), SMB_VFS_GET_NT_ACL_AT() -> SMB_VFS_FGET_NT_ACL()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/82efcc2359742c830ad192e82835e816ebc72642">82efcc23</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: cmd_get_nt_acl(), SMB_VFS_GET_NT_ACL_AT() -> SMB_VFS_FGET_NT_ACL()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8723bec340b87e5889f3ed553bb07ecfb7c647c5">8723bec3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: eventlog: get_nt_acl_no_snum(), SMB_VFS_GET_NT_ACL_AT() -> SMB_VFS_FGET_NT_ACL().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d79eddbb3d553efa469b49f2e30d5e01af46389">2d79eddb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add can_write_to_fsp(). Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dc069500647f958353c0c4fb9d8c6a133ea205bd">dc069500</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In reply_ntcreate_and_X(), can_write_to_file() -> can_write_to_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/66dd861245e2bf171322d7af9aa8d4d1c6a69fb8">66dd8612</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: call_nt_transact_create(), can_write_to_file() -> can_write_to_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/161836b24d16b7ea2946991ab5d9a696fb91800c">161836b2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: set_ea_dos_attribute(), can_write_to_file() -> can_write_to_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/92eff16d5a14eae4eebb7933dac3e6a2124af83e">92eff16d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change acl_group_override() -> acl_group_override_fsp().

We always have a valid fsp here. Inside acl_group_override_fsp()
change can_write_to_file() -> can_write_to_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d0fced71416e885a01d749fe40848a7c7747c0f3">d0fced71</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: dos_mode_from_sbuf(), can_write_to_file() -> can_write_to_fsp().

Code with MS-DFS link where smb_fname->fsp == NULL.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fad211a7068a5afe5e8fa9e1a0c4ab51ef0ac5d9">fad211a7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: file_set_dosmode(), can_write_to_file() -> can_write_to_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/868457d7779361d05ffd0cef120863f512accbe2">868457d7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: file_ntimes(), can_write_to_file() -> can_write_to_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b8ef83e1f92afe7d698edcb8259272becdb3ba9c">b8ef83e1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: reply_setatr(), smbd_check_access_rights() -> smbd_check_access_rights_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c970badb511f196abe34e78893dc7c7ed4462e88">c970badb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: set_ea_dos_attribute(), smbd_check_access_rights() -> smbd_check_access_rights_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b25109d4f4ea56917f4f7d2b17a1b6709c8d4511">b25109d4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add is_visible_fsp().

Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/53877296de2cee8250030f8b91f1c7da80db5aad">53877296</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add user_can_read_fsp().

Change is_visible_fsp() to use it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c064758fce44b78b5c092207de2af2977ed7ce5c">c064758f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add user_can_write_fsp().

Change is_visible_fsp() to use it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e6377a909a1692eb5054812d52c24ea935c5371f">e6377a90</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change recursive_rmdir(), is_visible_file() -> is_visible_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/452dbd10d928debcbb61effc347e5cedfd5e7681">452dbd10</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In rmdir_internals(), Change is_visible_file() -> is_visible_fsp().

This needs some slight re-arranging, as previously
is_visible_file() preceeds the call to recursive_rmdir().

As we have to move the call to is_visible_fsp()
until after we have direntry_fname->fsp, then
we must also move the recursive_rmdir() to be
after is_visible_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf36c88516a96a224b0abdd3ca831f895d877b7b">bf36c885</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Allow rmdir_internals() to cope with veto'ed symlinks.

We are only dealing with VETO'ed objects
here. If it's a symlink, just delete the
link without caring what it is pointing
to as this operation is safe.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/41238eb4750f92731f14fda7a15bb112614402c4">41238eb4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: rmdir_internals(), fix the initial directory scan pass to use is_visible_fsp().

Add the same symlink accomodation as before.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/146f7bf4fbc06661c821f897303f777671eccf14">146f7bf4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In unlink_internals(), is_visible_file() -> is_visible_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5987fab76fdd4636fbcfacff88531105573c37f8">5987fab7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: rename_internals(), is_visible_file() -> is_visible_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12cb13691e0fedd82a71d5f54d1eaf5da28a12ca">12cb1369</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: reply_copy(), is_visible_file() -> is_visible_fsp().

Offtopic, the function reply_copy() is insane and should be removed.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/138078c94497882e0b1cd0f2c3aba67b38a2db85">138078c9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix old bug in reply_copy() where is_visible_file(), now is_visible_fsp() wasn't checking VETO files.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/25debb608ed6f356f8f1b1d21a215f52e78ae6aa">25debb60</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: is_visible_file() is now static to dir.c.

Once fully replaced in there it can be removed.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2dfd30384e7849c2f38717ead43ab42287b127c9">2dfd3038</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Allow is_visible_fsp() to cope with POSIX symlinks/MSDFS links..

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5d761421d1c720cc33df306bd758cd62e018a7c9">5d761421</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In can_delete_directory_fsp() explicitly call IS_VETO_PATH().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f8a88473d3861f34ba731fbbbe6cb370c99f9416">f8a88473</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In can_delete_directory_fsp(), is_visible_file() -> is_visible_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d3161dd1e48507f568af8ddbe2b277081290a945">d3161dd1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In smbd_dirptr_get_entry(), add an early check for VETO_PATH.

Eventually we will be able to remove the 'bool use_veto' parameter
from is_visible_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a66b7de76aa11cd16acc83042cb149b495bb5d75">a66b7de7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In smbd_dirptr_get_entry() add a call to is_visible_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/75f7c11bb35c3977ec7e9fd937bd6fd40f5013bf">75f7c11b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove is_visible_file() from dptr_ReadDirName().

dptr_ReadDirName() is only called from smbd_dirptr_get_entry(),
which is now doing it's own call to is_visible_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9f2f4affa0a376ea342caf7f748eceb5649fb2f7">9f2f4aff</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Now all callers of is_visible_fsp() pass 'false' for the use_veto parameter, remove it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f47f55501276a49a57d3e2999a096c9dc1115bf3">f47f5550</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Now smbd_dirptr_get_entry() is doing the filtering, dptr_normal_ReadDirName() is an unneeded wrapper for ReadDirName().

Just call ReadDirName() directly.

This also means:

is_visible_file()
user_can_read_file()
user_can_write_file()

are no longer used, so commen them out for subsequent removal.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a9be0e26b5a1f11f0e5e868d0a14044faed3ac7c">a9be0e26</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove dptr_normal_ReadDirName().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b98cf3a12daedc572ec0fdd0d90918e42c2534ec">b98cf3a1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove is_visible_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b5e12fed54f0b06021661fb829327dd7b9c68c8e">b5e12fed</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove user_can_read_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0c8f928198c99b183ca60e4372d73ebafb8100d3">0c8f9281</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove user_can_write_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b56fc4b0d8e7b0ae327802a66c7c0526acf51cac">b56fc4b0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove can_write_to_file(). Pathname call no longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/342a0c92c98927ecd5e5983c72960aad07986137">342a0c92</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: shadow_copy2: In shadow_copy2_get_shadow_copy_data(), check for DIR_LIST access once we already have a handle on the snap directory.

There's no sense in opening a synthetic pathref first in
order to check for DIR_LIST access, then open again to
do the SMB_VFS_NEXT_FDOPENDIR() for listing.

Just open once, and check for DIR_LIST access on the
open handle before calling SMB_VFS_NEXT_FDOPENDIR() for listing.

We no longer need check_access_snapdir(), which is
static, so comment it out. Removal next.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b3d54e20da45f0d00865092ca4df1b5f708b5b7f">b3d54e20</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: vfs_shadow_copy2: Remove check_access_snapdir().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d0bda46ceef0f0ba143cc86663bdffa06852458">4d0bda46</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph_snapshots: In ceph_snap_enum_snapdir(), re-use the directory handle for checking SEC_DIR_LIST permission.

Similar change to the one that went into shadow_copy2.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff8a41a1c59e9d2f5edfd36e3a7fcb0806608fa6">ff8a41a1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph_snapshots: In ceph_snap_gmt_convert_dir(), re-use the directory handle for checking SEC_DIR_LIST permission.

Similar change to the one that went into shadow_copy2.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5c9cfb04296e385dea227e5efccb78575f3977a">e5c9cfb0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In notify, user_can_stat_name_under_fsp(), smbd_check_access_rights -> smbd_check_access_rights_fsp

Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/26dc10bdb2cff3eece4a2874931b4058f9f87d68">26dc10bd</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_file(), smbd_check_access_rights() -> smbd_check_access_rights_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/11910757c6846016a5a3701577c8d46d6440e6cc">11910757</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: check_base_file_access(), smbd_check_access_rights() -> smbd_check_access_rights_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/af291abefa7d085460be215bc616c721d88b15a4">af291abe</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_directory(), smbd_check_access_rights() -> smbd_check_access_rights_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3f61369d153419158c0f223e6f81c0bb07275833">3f61369d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_file(), smbd_check_access_rights() -> smbd_check_access_rights_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b8d43466e1f202da90139dba492980eaf1af11c8">b8d43466</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_file(). Cleanup debug message to refer to correct function.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bed09bc2d66b9a6f1f4b28f37ad7b5c200939b35">bed09bc2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_file(). Cleanup debug message to refer to correct function.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/845aaadccdb2dd7ab670da16b25b73593db8ebd5">845aaadc</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_directory(). Cleanup debug message to refer to correct function.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c32cb18fc9c1a1b98f32d666ca85559a2a95772">2c32cb18</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add new smbd_calculate_access_mask_fsp() function.

Commented out as not yet used.

Signed-off-by: Noel Power <noel.power@suse.com>
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/03352e981b99c1272f5c5e85cb7eca7dc75af5cf">03352e98</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add smbd_calculate_access_mask_fsp().

Not yet used but this now uses smbd_calculate_maximum_allowed_access_fsp(),
so uncomment it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/07a81f6982b57c9d1e77900fc361e935ad4e3938">07a81f69</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change check_base_file_access() to take an fsp as the first argument.

Internally, change check_base_file_access(), smbd_calculate_access_mask() -> smbd_calculate_access_mask_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7c80e0856a717c98a1129331e9b599893bc7bc37">7c80e085</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: smbd_smb2_create_after_exec(), smbd_calculate_access_mask() -> smbd_calculate_access_mask_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3293cc8d75bb7793a7999bed343fa643cfbbcc42">3293cc8d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fruit: fruit_freaddir_attr(), smbd_calculate_access_mask() -> smbd_calculate_access_mask_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5abb0409ff4de3b7184ee1f0bddeb5e9c3335e91">5abb0409</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_file_ntcreate(), smbd_calculate_access_mask() -> smbd_calculate_access_mask_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18d9282c1e09cf81d5747a3ef9686b5232477951">18d9282c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_directory(), smbd_calculate_access_mask() -> smbd_calculate_access_mask_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1146fb3826cf737ffd339eedd188c0d205000f9d">1146fb38</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_fake_file(). Move the smbd_calculate_access_mask() check until after we've initialized the file handle.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/99ed7693633198681651bd55e32dedff97cceda2">99ed7693</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_fake_file(), smbd_calculate_access_mask() -> smbd_calculate_access_mask_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f700460c07013ffffee65e9b16773068c916cb45">f700460c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove smbd_calculate_access_mask(). No longer used.

Comment out smbd_calculate_maximum_allowed_access() as it is
a static function and we just removed the only caller.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1e90d91b0334c9f6f1ca4fd08f107b71f06e8a19">1e90d91b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove smbd_calculate_maximum_allowed_access(). No longer used..

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7e4a9a1e5f18db2ae77de944de75e3c6c3df9dc8">7e4a9a1e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In can_delete_file_in_directory(), move a fast-path exit to before any pathname manipulation.

If we're root we always return true on a writable share.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e370c0826948342eee9b3a9952bf9c369430eac9">e370c082</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In can_delete_file_in_directory(), remove the assertion that dirfsp == conn->cwd_fsp.

Allow a real parent directory fsp to be passed in. We're not doing this
yet but this will allow more efficient calling from the open code
where we have the parent directory fsp available.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5e268266f8f602225ddc1bfbdc84c61c2690270b">5e268266</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In can_delete_file_in_directory(), get a real parent pathref.

Not yet used but we will use this to get the parent ACL via handle.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/120ce4f56f5ead293de6729b123b2d1ad3e60c6b">120ce4f5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: can_delete_file_in_directory(), we no longer need to do the SMB_VFS_STAT() call.

All code paths must have a valid stat here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd7c489cd3829085d3638e3b0dbfbb915d18a25a">dd7c489c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: can_delete_file_in_directory(), smbd_check_access_rights() -> smbd_check_access_rights_fsp().

Last user of smbd_check_access_rights().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eaff826aed31169b09d89a9f1b12015ee2e62f03">eaff826a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove smbd_check_access_rights(). No longer used.

There are now no more callers of SMB_VFS_GET_NT_ACL_AT().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6503bb48ca3fb839e703f8a88a1ff8601cc7cacd">6503bb48</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: smbd_calculate_maximum_allowed_access_fsp(), add parent dirfsp parameter and pass to can_delete_file_in_directory().

Pass the same fsp->conn->cwd_fsp parameter to can_delete_file_in_directory()
dirfsp for now.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/492d105b442b880ab5ab99861ec6bdabd7e342bb">492d105b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: smbd_calculate_access_mask_fsp(). Add dirfsp parameter.

Pass this down into smbd_calculate_maximum_allowed_access_fsp().

Currently pass fsp->conn->cwd_fsp everywhere.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eea3a3c1565451e3e47b6b547d7718651e5569cf">eea3a3c1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_file_ntcreate(). Start passing a real parent dirfsp to smbd_calculate_access_mask_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d4f4c832630325ff049f5ed02e03d67215ac2a7">7d4f4c83</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_directory(). Start passing a real parent dirfsp to smbd_calculate_access_mask_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b1d2ddc79c2bb5146873200832de1e6b9f28862">3b1d2ddc</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: parent_override_delete(). Add dirfsp parameter.

Pass down to can_delete_file_in_directory().

Always pass conn->cwd_fsp for now.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/88881510c7472721f6968b68a33f35b9b0bdd229">88881510</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: smbd_check_access_rights_sd(). Add dirfsp parameter.

Pass down to parent_override_delete().

Always pass fsp->conn->cwd_fsp for now.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/699356a245ed941b5d7e7446afc700fdd9a34bbf">699356a2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: smbd_check_access_rights_fsp(). Add dirfsp parameter.

Pass down to smbd_check_access_rights_sd().

Always pass conn->cwd_fsp for now.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/63fb55cd6c697e3f605161a2f8ba01c528ac8238">63fb55cd</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_file(). Pass down the real parent_dir->fsp to smbd_check_access_rights_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6ef5ed23097b598451d9453509ac36bb18c38507">6ef5ed23</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_directory(). Pass down the real parent_dir->fsp to smbd_check_access_rights_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca5d2c35bc26795187c075c66c9b8461ed5a26d7">ca5d2c35</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3 VFS: glusterfs: Remove get_nt_acl_at_fn().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7da81bfbe57ab560f1f3fb092f03f5e922502811">7da81bfb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: shadow_copy2: Remove shadow_copy2_get_nt_acl_at().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2cff96d9bdba7be116055e475c2bd52be7d95165">2cff96d9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: afsacl: Remove afsacl_get_nt_acl_at().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d677cee97241c5c9fbdbb3e14ac90bc44ac2a462">d677cee9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: aixacl2: Remove aixjfs2_get_nt_acl_at().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aab4970be8419453f1494dc09476508efb2a4179">aab4970b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: acl_tdb. Remove acl_tdb_get_nt_acl_at().

Comment out get_acl_blob_at() as no longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/403cf571e480013d490647e13643b7685253cb1f">403cf571</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: acl_tdb: Remove unused get_acl_blob_at().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd8a2cfd4e17f8dea114bd6a31cbfeff87ade87a">fd8a2cfd</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: acl_xattr: Remove acl_xattr_get_nt_acl_at().

Comment out get_acl_blob_at() as no longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/45341cee0173ef9fbebc9bdab24acba2c31a63cf">45341cee</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: acl_xattr: Remove unused get_acl_blob_at().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ccc9613eba5e7a4f9d12a9ed86431d3d0099a72c">ccc9613e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: catia. Remove catia_get_nt_acl_at().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e96b2deef454dc618bcaebcf2bf50e64c7e9a7d3">e96b2dee</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph_snapshots. Remove ceph_snap_gmt_get_nt_acl_at().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/058ac279a675fe59559ef932e73278e219aaf439">058ac279</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: gpfs. Remove gpfsacl_get_nt_acl_at().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/72cf25f62ad6886ade123bd49ec1d0f84d355502">72cf25f6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: media_harmony. Remove mh_get_nt_acl_at().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7994c0c283f74751b122a6b4e036f55e34aa1ae9">7994c0c2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: nfs4acl_xattr: Remove nfs4acl_xattr_get_nt_acl_at().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e24e5ec70cc36f7ea46899a1b16e28fc43857267">e24e5ec7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: snapper: Remove snapper_gmt_get_nt_acl_at().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d2a2d5f0679f42c1434f79299cb4b9f02a00102">7d2a2d5f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: zfsacl: Remove zfsacl_get_nt_acl_at().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/613fed318c8ab0eefa1fa7d041f856380c8212b9">613fed31</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: acl_common: Remove get_nt_acl_common_at().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a28a686714e2d0e09d050d8df1df328d6fa581d0">a28a6867</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: acl_common: Remove the pathname-based calls in validate_nt_acl_blob().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/737c68146d1cd36d8143632461dabcc156694b57">737c6814</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: acl_common: Remove the dirfsp parameter from validate_nt_acl_blob().

No longer needed.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3cbf0acc0dbee67d041b472bf7902a2a44f5b463">3cbf0acc</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: RIP SMB_VFS_GET_NT_ACL_AT()

                  .--. .-,       .-..-.__
                .'(`.-` \_.-'-./`  |\_( "\__
             __.>\ ';  _;---,._|   / __/`'--)
            /.--.  : |/' _.--.<|  /  | |
        _..-'    `\     /' /`  /_/ _/_/
         >_.-``-. `Y  /' _;---.`|/))))
        '` .-''. \|:  .'   __, .-'"`
         .'--._ `-:  \/:  /'  '.\             _|_
             /.'`\ :;   /'      `-           `-|-`
            -`    |     |                      |
                  :.; : |                  .-'~^~`-.
                  |:    |                .' _     _ `.
                  |:.   |                | |_) | |_) |
                  :. :  |                | | \ | |   |
                  : ;   |                |           |
                  : ;   |                |  SMB_VFS  |
                  : ;   |                |  GET_NT_  |
                  : ;   |                |  ACL_AT   |
                .jgs. : ;                |           |
        -."-/\\\/:::.    `\."-._'."-"_\\-|           |///."-
        " -."-.\\"-."//.-".`-."_\\-.".-\\`=.........=`//-".

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b0842364d638df313698a882b395a14b9eacb678">b0842364</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Update status of SMB_VFS_NT_ACL_AT.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ccef64dab785b8495f637538ec585a03bdef6ca8">ccef64da</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove posix_get_nt_acl().No longer used.

Comment out load_inherited_info() as that was the
only caller.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7eb206517faaab6819bf248d97f2c5c3f5dd6f15">7eb20651</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: aixacl: Remove aixacl_sys_acl_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c0694d44ae67d7557888d66f7eea4f6cd314fb8e">c0694d44</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: aixacl2: Remove aixjfs2_sys_acl_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d6b47f0e5d56791a56759ae51c7d19209045a7f">7d6b47f0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: cap: Remove cap_sys_acl_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/71bcd205c45b71f6f7ec901ab4d6aab55d8224fc">71bcd205</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: catia: Remove catia_sys_acl_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4ba0d4bebe5ca9b0d747742541fdcc2c8528a492">4ba0d4be</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: Remove call to posixacl_xattr_acl_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/316235ef0fb3bae62e61834ff7ee73def786c9ed">316235ef</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fake_acls: Remove fake_acls_sys_acl_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a5b7ccb1b148e16fe0755bc93a8949bb9c749a06">a5b7ccb1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: glusterfs: Remove call to posixacl_xattr_acl_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a46e9aaadcb4f07530a985a41f077cef177de72a">a46e9aaa</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: gpfs: Remove gpfsacl_sys_acl_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a1298c3f7c3932ac401d32c583a41a3db39ebf77">a1298c3f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: hpuxacl: Make hpuxacl_sys_acl_get_file() static.

Called internally as HPUX has no fd-based acl functions.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c0d70d4daf12fa07ab42f8c1e12d6faff29c4ed4">c0d70d4d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: media_harmony: Remove mh_sys_acl_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/155a660e2c5f60cd79c6c8ecb7feded0790c92a2">155a660e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: nfs4acl_xattr: Remove nfs4acl_xattr_fail__sys_acl_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d24b6c7a21373454398bc28823518de5ed7e9707">d24b6c7a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: solarisacl: Make solarisacl_sys_acl_get_file() static. Still called internally.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8a6e84287e2f2b606d39172e1c7f8f351d7774fb">8a6e8428</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: unityed_media: Remove um_sys_acl_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/99650debdc329349534e780d8290298ac2fe8a39">99650deb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: zfsacl: Remove zfsacl_fail__sys_acl_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b828784caedc92ebd2941e5091502a26fc16c2e3">b828784c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: posixacl: Remove call to posixacl_sys_acl_get_file().

We can't remove the code yet until the callers inside sysacl.c
are gone. We must remove the VFS function first.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bb038f2b8974cf73ef46b39ad99b3f596089f551">bb038f2b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: RIP SMB_VFS_SYS_ACL_GET_FILE()

                    (\  _  /)
                    ( \ O / )
                     (// \\)
                        X
                       / \
                      /___\
               _____/      \\_____
              |         +         ||
              |                   ||
              |   SMB_VFS_SYS_    ||
              |  ACL_GET_FILE()   ||
              |                   ||
              |                   ||
              |                   ||
              |  _     ___   _    ||
              | | \     |   | \   ||
              | |  |    |   |  |  ||
              | |_/     |   |_/   ||
              | | \     |   |     ||
              | |  \    |   |     ||
              | |   \. _|_. | .   ||
              |                   ||
      *     * | *   **    * **    |**     **
       \)),.,\(/.,(//,,..,,\||(,,.,\\,.((//

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d427df221ea0a12d57d84ee4dd3149938725f7d0">d427df22</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Update status of SMB_VFS_SYS_ACL_GET_FILE

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0ecc56cb2ea8b42ca19b2d9ce50a20f88dae552c">0ecc56cb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: afsacl: Remove afsacl_sys_acl_blob_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b75e459bdf7de154ea600286fc759e2437498844">b75e459b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: aixacl: Remove call to posix_sys_acl_blob_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/07fe1afb97e8400ea7b839637d8da120b70ade66">07fe1afb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: aixaxcl2: Remove aixjfs2_sys_acl_blob_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6605b05e23c23ad0cc59c202ec06f4fbb9be6336">6605b05e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: Remove call to posix_sys_acl_blob_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eeb2a3ce8ffc844412b33ded67eb98e5738c5b5f">eeb2a3ce</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fake_acls: Remove call to posix_sys_acl_blob_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eff0afa61e526eef216845b94f11d83b027b4cde">eff0afa6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: glusterfs: Remove call to posix_sys_acl_blob_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6a0d127437d6ccf34d534528fc88ca76bb2f9794">6a0d1274</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: gpfs: Remove gpfsacl_sys_acl_blob_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e716563700abefa007bcf1e42f65c01f01d2555d">e7165637</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: hpuxacl: Remove call to posix_sys_acl_blob_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24382af0b17ef3ae6212979986bf6c1045884af3">24382af0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: nfs4acl_xattr: Remove call to nfs4acl_xattr_fail__sys_acl_blob_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ed988917c90749630606390a2002bf3dba54b998">ed988917</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Remove call to posix_sys_acl_blob_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5bd95225109167efeab0ae533c2ed4a4d89ed7aa">5bd95225</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Remove zfsacl_fail__sys_acl_blob_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c8f468d29d8fde67c2e39b375e5a5e8ffac6b282">c8f468d2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: posixacl: Remove call to posix_sys_acl_blob_get_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/71b278d1626ef4c81ec8503c0a9435be77b10238">71b278d1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: RIP SMB_VFS_SYS_ACL_BLOB_GET_FILE()

                        (\  _  /)
                        ( \ O / )
                         (// \\)
                            X
                           / \
                          /___\
                   _____/      \\_____
                  |         +         ||
                  |                   ||
                  |   SMB_VFS_SYS_ACL ||
                  | BLOB_GET_FILE()   ||
                  |                   ||
                  |                   ||
                  |                   ||
                  |  _     ___   _    ||
                  | | \     |   | \   ||
                  | |  |    |   |  |  ||
                  | |_/     |   |_/   ||
                  | | \     |   |     ||
                  | |  \    |   |     ||
                  | |   \. _|_. | .   ||
                  |                   ||
          *     * | *   **    * **    |**     **
           \)),.,\(/.,(//,,..,,\||(,,.,\\,.((//

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/386f75f3ec08d0c94e028abbd4bbb067e6cddb38">386f75f3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Update status of SMB_VFS_SYS_ACL_BLOB_GET_FILE

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8ed07fa8d2da66e76d8d85af32fb2f4212790fa3">8ed07fa8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: sysacls: Remove sys_acl_get_file(). No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bfe2d8f54c23f08389261be94e9ea3fafac18842">bfe2d8f5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: posixacl: Remove posixacl_sys_acl_get_file().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d5e3dcc8a5cd29bbff5bcea84857f84a83d29e99">d5e3dcc8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: non_posix_acls: Remove non_posix_sys_acl_blob_get_file_helper(). No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac77b2c6f80e88bb09b4997de73b166e5846206f">ac77b2c6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: sysacls: Add the 'SMB_ACL_TYPE_T type' parameter to sys_acl_set_fd().

Pass it through to the backends. The default posixacl_sys_acl_set_fd()
already copes with this anyway, as does the AIX, and Solaris backends.

The HPUX code isn't compiled and was broken anyway (there was a
missmatch of the number of parameters being passed to the
sys_acl_set_fd_fn backend hpuxacl_sys_acl_set_fd()), and HPUX
doesn't have fd-based ACLs, so just switch to calling hpuxacl_sys_acl_set_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4266b6a7fbd790f662be9f8590fa1cba98d102b1">4266b6a7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: hpuxacl: Fix the funtion signature for hpuxacl_sys_acl_set_fd()

This is really unmaintained code and should be removed unless
someone from HP steps up..

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/303185621178aa76a91458788eb13b731a3ce19f">30318562</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: default: Remove the sys_proc_fd_path() fallback code in vfswrap_sys_acl_set_fd().

Just pass through to sys_acl_set_fd(), which goes to posixacl_sys_acl_set_fd()
on posix ACL systems.

We already have identical code in posixacl_sys_acl_set_fd()
and these fallbacks are really system specific so we shouldn't
be doing them in more than one place.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f0c22f741562221aac905386698b69aebd070420">f0c22f74</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: sysacls: Remove all implementations of sys_acl_set_file().

No longer called.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2f4c5b9b1add1195f38af430edf16d696a3a92cb">2f4c5b9b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: posixacl: Remove posixacl_sys_acl_set_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fcca720e60f7a38b3ab51be0285676462135babb">fcca720e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T13:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: aixacl: Remove aixacl_sys_acl_set_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/96ef845430f6f5bb43778c3fbdde57f07a61b575">96ef8454</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-09T14:04:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: solarisacl: Remove solarisacl_sys_acl_set_file().

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Jun  9 14:04:13 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/14383909d22b3b028e59366875847509a2968af1">14383909</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-09T16:54:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:mscat: Don't use deprecated types

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Jun  9 16:54:23 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1cd65280abbcbc02507459c6b6a4a0a859f694c7">1cd65280</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-06-09T16:55:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Add GNOME Settings ADMX templates

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/97593a49b0b8a0dd693914fb141a27413f085e6b">97593a49</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-06-09T16:55:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Group Policy GNOME Setting

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/694dc56faf80263697a972a1e43ddb038942b272">694dc56f</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-06-09T17:44:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy GNOME Settings

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jun  9 17:44:25 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1e338d51602a7dca6108e5e8704f5cdde4740713">1e338d51</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-09T19:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbtorture: verify attributes on fake quota file handle

The expected DOS attributes are taken from a Windows 2016 server. The expected
timestamps are what Samba has returned before commit 572d4e3a56eef00e29f9348:
NTTIME(0), ie no value.

The upcoming fix will restore this behaviour. Windows of course does
return *some* timestamps, but as it's neither documented nor was I able to
figure out where they would be coming from, as well as the Windows client apparently
doesn't care, I didn't bother with implementing some sophisticated heuristic to
return some timestamps.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/51b0fd0c566ff6bf112ab9752d9b105a6bb786a8">51b0fd0c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-09T19:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add dosmode_from_fake_filehandle()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e093eaed1046638193d973c39fa9df74e41148d3">e093eaed</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-09T19:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: handle fake file handles in fdos_mode()

This ensures SMB requests on the quote fake file "$Extend/$Quota" don't hit the
VFS, where specifically in vfs_gpfs we log an error message if we fail to read
the DOS attributes for a file with

  vfs_gpfs_get_dos_attributes: Getting winattrs failed for $Extend/$Quota

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/52a421111218d94d2e5cb131648bcdf5411d910b">52a42111</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-09T20:38:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: return correct timestamps for quota fake file

Prior to 572d4e3a56eef00e29f93482daa21647af7310d0 it was sufficient to
initialize struct timespec to zero to return NTTIME 0 (ie not set) over
SMB.

This fixes the same problem from bug 14714 where the timestamps in an SMB2 CLOSE
response.

Windows of course does return *some* timestamps, but as it's neither documented
nor was I able to figure out where they would be coming from, as well as the
Windows client apparently doesn't care, I didn't bother with implementing some
sophisticated heuristic to return some timestamps.

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

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jun  9 20:38:02 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/29e8c30f123f862b002ed2d9345dae4294be8968">29e8c30f</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-06-09T22:26:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: gpo admxload mkdir -p

Ensure all directories in the path are created,
otherwise admx upload fails here.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Wed Jun  9 22:26:42 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8fa8bbe19e6833a4bd41953ebc64088f86c8196b">8fa8bbe1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-10T00:24:22+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:tests: Fix the test_smbclient_netbios_aliases

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jun 10 00:24:22 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a9ef5555ba92374f5fae75456bd747134ffb22e0">a9ef5555</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-10T00:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool domain: improve error message when `patch` fails

The old message confused even the wisest among us:

https://lists.samba.org/archive/samba/2021-May/236021.html

and while /user/bin/patch might be overly specific, it should point
people in the right direction.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8eb307f22d7db6d3848b36dd57afaf20942eb315">8eb307f2</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-10T00:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: remove obsolete samba_external directory

It seems this was once meant to contain third-party python libraries
that we hoped would already be on the system, of which there was only
ever one candidate, dnspython, which we moved then stopped bundling
years ago.

The ancestor of this directory, 'source4/scripting/python/samba_external/'
was unused since 4bbc3ff037026c72f3249f59c1b5af69a6ad6d69 (2010) and
the current location has never done anything.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef863de140d2b5243e753f793bd0b0680334df2f">ef863de1</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-10T00:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:pylibsmb: avoid small leaks in cli_notify_get_changes

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b54a24049f23165b445e79a3124460eed3d71bde">b54a2404</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-10T00:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:pylibsmb: improve return types (false => NULL)

NULL, a.k.a. (void *)false;

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/997b90e0755b8fe773985ec2334dc1fcc83b0224">997b90e0</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-10T00:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idl: two comment typos in two lines

it is the density that got to me.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8515973dd875cecaa4cbdfc0aca52c6dc4e1d622">8515973d</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-10T00:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool dns zoneoptions --help improvement

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fe91e643cb5215efa7269edeb91d2f9577c33258">fe91e643</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-10T00:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: stick to the point with --version

We were doing this:

    $ bin/samba-tool --version
    samba-tool: no such subcommand: --version

    4.15.0pre1-DEVELOPERBUILD
    $

which is silly. Now we'll just see the version.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/767287920aa523512da9f27aec9825bb4972c4ee">76728792</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-10T01:17:52+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/gdb_backtrace: remove duplicate assignment.

See 18 or so lines up.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jun 10 01:17:52 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f44918e6c83c89936156eb24c982a897c9c45f61">f44918e6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-10T09:16:22+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: default: Add proc_fd's fallback for vfswrap_fchown().

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Thu Jun 10 09:16:22 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9b7bef7f8761b05e946185b9262dd089d1eeed15">9b7bef7f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-10T10:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Make sure smb_fname is set and not NULL in dos_mode_post()

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6eff9c413fe4789a061fdde7105d0553a419f59">d6eff9c4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-10T10:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Make sure num_protocols is initialized

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8204e5f93f8a8721973095a3475d14594401dc3e">8204e5f9</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-10T10:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Remove unnessesary NULL check for fsp

We already dereference fsp earlier. So if it is NULL it already
segfaulted much earlier.

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eef0f73620912a6a299a2558bd76e9454141c6cd">eef0f736</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-10T11:22:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Remove unnessesary NULL check for req

We already dereference req earlier. So if it is NULL it already
segfaulted much earlier.

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Thu Jun 10 11:22:19 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5c7ba35be483691577eff5a543e3e65ef40b2978">5c7ba35b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-10T19:22:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove unneeded code from dos_mode_at_vfs_get_dosmode_done()

This is not used anymore since e7a90fd7a173d8e3cd5a2bb163df61758b2b973f.

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jun 10 19:22:23 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/210e7628ac4c28743070641b8ecfd910ecae4931">210e7628</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-10T20:45:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: remove more dead code from dos_mode_at_vfs_get_dosmode_done()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a602256269aa13ed1cfaece6ed1b175e8becd01c">a6022562</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-10T21:36:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Cleanup - Remove #ifdef'ed out load_inherited_info().

I commented this out but forgot to remove in the
previous mega-patch.

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jun 10 21:36:11 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e1d362c48d15d1b26992ba49069b1226fb35921d">e1d362c4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-11T00:36:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:tests: Fix passing the configuration to Smbclient_netbios_aliases test

Signed-Off-By: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e165dcc770ec58c3749d653d6cb85f6ecf9479d6">e165dcc7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-11T01:26:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Only set netbios aliases for the ad_member env

The provision_ad_member() function is reused by different
setup_ad_member*() functions. Each environment needs to have unique
netbios aliases as they are all in the same network.
The aliases should only be set for the 'ad_member' environment.

Signed-Off-By: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jun 11 01:26:36 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/51afb64d68f7fafb475a71596b3a58a71772adad">51afb64d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove duplicate variable assignment

This line currently produces a warning.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fec996ff277479e5bac2159e2aab78d838d86b4c">fec996ff</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samldb: Fix function name typo in error message

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e7754b56a1d4f1e4a9a5cb858420ec712385e828">e7754b56</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: Fix typo in docstring

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bb4d06e15e427a69193cc11c2819d2c769cb73de">bb4d06e1</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sambadns: Fix docstring for create_dns_dir()

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/79a898e2b717a75004f5c64dfb5adcf28372760b">79a898e2</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyldb: Add test for Message.items()

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e4ec0a90a222c1cff4a91912afc703ca4cbbb0e">3e4ec0a9</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyldb: Fix Message.items() for a message containing elements

Previously, message elements were being freed before the call to
Py_BuildValue(), resulting in an exception being raised. Additionally,
only the first element of the returned list was ever assigned to.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6b2846c9d6d235cd833c5425723260368cef101">c6b2846c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Test that dns.keytab is created after a dns upgrade

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f5c26f7231e9c5558e40ef70529693a35a8442f2">f5c26f72</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba_upgradedns: Create binddns_dir if it doesn't already exist

Without doing this, the upgrade process can fail if the directory is not
present, e.g. after restoring from an offline backup (which specifically
ignores this directory).

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ae5964be42459beed8c174b8e2dd4d4167623158">ae5964be</a></strong>
<div>
<span>by Derek Lambert</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sambadns: Create BINDDNS_DIR/dns.keytab link to PRIVATE_DIR/dns.keytab on DC join

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

Signed-off-by: Derek Lambert <dlambert@dereklambert.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9f1e5637bc5fe51c56ad996dd881779e6ef3c0aa">9f1e5637</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision: Refactor another usage of create_dns_dir_keytab_link

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8c242bed19432d96e78dc345ab5f06422c5b104">e8c242be</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Fix error-checking condition

This condition probably meant to check the argument of the most recently
thrown exception, rather than the previous one again.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/658e5a6cc20b57f48477affd370fe25458178b92">658e5a6c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Ignore rIDUsedPool attribute in offline domain backup test

The RID Set of the newly created DC account has all its values
initialised to zero. If the rIDUsedPool attribute was previously
non-zero, then the restore process will cause its value to change.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/11dae9cf36781eb62b4f747988c21baa7e4ba06a">11dae9cf</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Specify additional modules for 'vfs objects' parameter

This helps to avoid a warning 'vfs objects specified without required AD
DC module'.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fb0d71b358702f1d57568fd016251587c2050386">fb0d71b3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Use correct path for state directory during offline backup

During the restore process, we use make_smbconf() to create a new
smb.conf file with the default paths. The default location for 'state
directory' is 'state', but we currently rename this directory to
'statedir' on backing up, so it will end up pointing to a non-existent
directory. This commit ensures the names are consistent.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9bfba62c4843cad3443a1855f3be1c70dd1c1653">9bfba62c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Refactor seizing DNS roles while restoring from a backup

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4feb353f7050a81e723906e61a3873c5973e512b">4feb353f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: check correct RID set attributes when looking for SID conflicts

The previous code would only work for the first rid set ever given to a DC
because the names are so misleading.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b7e6a1c5da7283c49586dc29f85ab19e0e57b0f6">b7e6a1c5</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Add tests for performing an offline backup immediately after joining a domain

This currently fails due to the DC not having a rIDNextRID attribute,
which is required for the restore process.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cc98e03e7a0f2bf7a1ace2950fe6500f53640c1b">cc98e03e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Add next_free_rid() function to allocate a RID without modifying the database

If used to generate SIDs for objects, care should be taken, as the
possibility for having duplicate objectSIDs can arise.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7c7cad81844950c3efe9a540a47b9d4e1ce1b2a1">7c7cad81</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/tests/dsdb: Add tests for RID allocation functions

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/59d293b60608172ae61551c642d13d3b215924e4">59d293b6</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Use next_free_rid() function to calculate a SID for restoring a backup

This means we won't get errors if the DC doesn't have a rIDNextRID
attribute, but we will still error if there is no RID Set or if all its
pools are exhausted.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a3b82ae2373c39a0a113d75a27a196b5233fe32">2a3b82ae</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ridalloc: Don't skip the first RID of a pool

Previously, if either of the rIDPreviousAllocation and rIDNextRID
attributes were not present in a RID Set, the first RID in
rIDAllocationPool was skipped over when determining their values.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/739d7e54e78046dc77385b882fbba38ab5e7bd60">739d7e54</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Avoid conflicting SIDs when creating an offline backup

To allow the new DC object to be created in a restored domain while
avoiding conflicts with existing SIDS, we fetch a SID that is available
at the time of backing up and store it in the backed-up database.
However, if a new security principal is created on this DC during the
backup process, the stored SID may be reused for that object, resulting
in an error on restoration.

By getting the SID for restore only after all the database files have
been backed up, we ensure that the chosen SID does not conflict with any
objects in the backed-up database.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5bf75d01c792793ef60219250b7e22ea0846ab03">5bf75d01</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T07:41:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: Refactor RID Set check to use free_rid_bounds()

This function provides a simpler method of getting the bounds of the
range of RIDs we want to check. We also now check that the low bound is
less than the high bound for both rIDAllocationPool and
rIDPreviousAllocationPool.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18394daf1e6e7b71fe903d8061dc30e1b58ca3dd">18394daf</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T08:28:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: formatting

Reduce the length of some lines to 79 characters or less.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Jun 11 08:28:28 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3031e8071c8938f0e64212fd4f767de694032be3">3031e807</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T08:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:subunit: Fix skipping a test with no reason given

Not specifying a reason means addSkip() is passed an empty string rather
than None. As a result, this condition was never hit, and the call to
_addOutcome() had an incorrect parameter.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18b78fa4b464200120f72a498530c5e9471a2565">18b78fa4</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T08:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:subunit: Remove write_traceback()

This functionality is already present in the Python unittest framework,
and so is not necessary to include here.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/421dc7fc4d83629d3a5f9e558d378f44c7b9dad3">421dc7fc</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-06-11T08:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:subunit: Avoid misleading "Test was never started" error message

subunithelper.py keeps track of tests that have been started, and
displays an error message if a test reports an outcome without having
previously been started. However, it makes the assumption that a test
has finished once it has reported a single outcome. This means that a
misleading error message will be displayed if it receives multiple
outcomes from the same test (which can happen if a test using the Python
unittest framework does not complete successfully, and the cleanup
subsequently fails), and any actual errors from the cleanup remain
undisplayed.

This commit ensures that only a single outcome is reported for each
test, and only after the test has finished. Outcomes are buffered up
until the stopTest() function is called, when a single outcome is
determined and all errors received for that test are output.

FilterOps still needs to output test outcomes immediately rather than
buffering them, otherwise they are never picked up and passed on to the
remote test case by subunithelper.parse_results(). This would result in
an error as the test would be considered to have never finished.

    Example subunitrun output before the change:

time: 2021-04-28 01:28:49.862123Z
test: samba.tests.example.ExampleTests.test
time: 2021-04-28 01:28:49.862215Z
failure: samba.tests.example.ExampleTests.test [
Traceback (most recent call last):
  File "bin/python/samba/tests/example.py", line 28, in test
    self.fail()
AssertionError: None
]
time: 2021-04-28 01:28:49.862407Z
failure: samba.tests.example.ExampleTests.test [
Traceback (most recent call last):
  File "bin/python/samba/tests/example.py", line 31, in tearDown
    self.fail()
AssertionError: None
]
time: 2021-04-28 01:28:49.862467Z
time: 2021-04-28 01:28:49.862510Z

    and after:

time: 2021-04-28 01:29:19.949347Z
test: samba.tests.example.ExampleTests.test
time: 2021-04-28 01:29:19.949440Z
time: 2021-04-28 01:29:19.949590Z
time: 2021-04-28 01:29:19.949640Z
failure: samba.tests.example.ExampleTests.test [
Traceback (most recent call last):
  File "bin/python/samba/tests/example.py", line 28, in test
    self.fail()
AssertionError: None
Traceback (most recent call last):
  File "bin/python/samba/tests/example.py", line 31, in tearDown
    self.fail()
AssertionError: None
]
time: 2021-04-28 01:29:19.949702Z

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f6025d9f3409174ae1889caa4b94b4df2dcfa874">f6025d9f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-11T08:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dlz_bind9: remove redundant logging in b9_record_match()

This log message will never be seen. We know because:

1. Always (two places) we are comparing an incoming record against a
   database record.

2. The incoming record has come from b9_parse(), which makes the same
   check.

3. If the database record is bad, we will never get here because the
   first check is b9_record_match() is

       if (rec1->wType != rec2->wType) {
               return false;
       }

   and rec1->wType is not going to equal the corrupt database record's
   wType, because point 2.

OK, but why? So we can shift this into dnsserver_common.c, because
the internal dns server has an inferior record_match() and it could do
with sharing this one.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/070e7113d4c9f267db856eb4db6d6c2505047a64">070e7113</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-11T08:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns: merge dlz/internal dns_records_match()

We have had three nearly identical functions called
dns_record[s]_match. This patch merges two of them, attempting to keep
the good bits and not the bugs.

That means:

1. We use the AAAA match from dlz, which is agnostic to all the
billions of ways you can write the same IPv6 address (case sensitivity
is just the beginning).

2. We lean more on the TXT match from dns_utils, because the dlz used
a weird bitwise &= operator, but we adjust to exit early.

3. Keep HINFO from dlz (for now).

4. Use the dns_name_equal() that was already in dns_common, which was
used by dlz. dns_utils had a strange one that probably did the same
thing.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/341febfb264c68b2e459e066c0824b38cb6be84a">341febfb</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-11T08:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns common: dns_records_match() matches tombstones

This will be needed by the RPC server. Other callers already filter
out tombstones, so this is OK.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/51ace4d00106920cfae560d3d4489c5daefdeb79">51ace4d0</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-11T08:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns_record_match: drop pretense of HINFO support

We don't support it really, and if we did there is no sense in which
it could be updated, which is the context in which this function is
used.

(modern HINFO returns the constant string "RFC8482". See RFC 8482).

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/64e637802fc58f0215160449fbdd7686150d10d2">64e63780</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-11T08:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dlz: remove pretense of HINFO support

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b7077203256aac45e64497614f58555b182d4a33">b7077203</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-11T08:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns: merge dns_records_match and dns_record_match

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e37437f1ff0975d0923a89c0ed8a140cf005ba5b">e37437f1</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-11T08:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pydns: expose dns_records_match() as dsdb_dns.records.match()

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/581d7a528e86a8354ec20243deb2c436d9cf861d">581d7a52</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-11T08:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest:dns_base: make_txt_update can set arbitrary TTL

Also, improve a variable name.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e9a265612a71d5b68197d2bcb205ec58c29463e5">e9a26561</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-11T08:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py: samba.dnsserver: add helper for record buffers

We *always* make these steps when we get a record.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4152499652c2d5e5eb9ccf5a6a61c273ac6e5f13">41524996</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-11T09:29:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytests: add dns_aging, embracing and extending ageing tests

This incorporates tests from various dns*.py files, but makes them
correct.

All but one of these tests pass against Windows 2012r2.

Further patches will remove the broken tests in other files, and fix
Samba so it passes these.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Jun 11 09:29:23 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/72ace149f96cf98c2ea68f93306b5b50228f6e65">72ace149</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-11T09:30:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Protect dos_mode_at_send() from running into a symlink.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power<npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/34a6ed2136c08d2465c72e68121501a46fd7d1e6">34a6ed21</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-11T09:30:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: call dos_mode_post with fsp

Next commit can remove smb_name param from dos_mode_post
signature.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/77f15f58349b53ad21802a2e4c61fdc57c5fc7fc">77f15f58</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-11T09:30:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: dos_mode_post: remove smb_fname param

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eb8d1265dc053086e9fb802eec0f91dff2ee6aee">eb8d1265</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-11T09:30:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: dos_mode_check_compressed: remove smb_fname, conn fn parms

smb_fname is unused and we can get conn from the fsp passed in

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f5c6c0aa01245276d8d399269576f5296e00f36">0f5c6c0a</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-11T09:30:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: Remove unecessary 'else' block

This is an inconsequential cosmetic change, it just caught my eye
as looking a bit out of place compared to the surrounding code style.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/748189b29c58cebe70e16ee82a7dfd2ace1955b9">748189b2</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-11T09:30:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: vxfs: ifdef out vxfs_sys_acl_set_fd

as the sys_acl_set_fd_fn definition for vxfs_sys_acl_set_fd is ifdef'ed
out we also need ifdef out the vxfs_sys_acl_set_fd implementation itself
otherwise we get the following error.

source3/modules/vfs_vxfs.c:484:12: error: ‘vxfs_sys_acl_set_fd’ defined but not used [-Werror=unused-function]
 static int vxfs_sys_acl_set_fd(vfs_handle_struct *handle,

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f4f1206c75ea0b3da513e9a11012f693780ff486">f4f1206c</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-11T09:30:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFX: vxfs: Fixup some warnings

../../source3/modules/vfs_vxfs.c:343:6: error: unused variable ‘i’ [-Werror=unused-variable]
  int i, offset = 0;
      ^
../../source3/modules/vfs_vxfs.c:342:17: error: unused variable ‘n_id’ [-Werror=unused-variable]
  uint32_t e_id, n_id;
                 ^~~~
../../source3/modules/vfs_vxfs.c:342:11: error: unused variable ‘e_id’ [-Werror=unused-variable]
  uint32_t e_id, n_id;
           ^~~~
../../source3/modules/vfs_vxfs.c:341:35: error: unused variable ‘n_perm’ [-Werror=unused-variable]
  uint16_t e_type, n_type, e_perm, n_perm;
                                   ^~~~~~
../../source3/modules/vfs_vxfs.c:341:27: error: unused variable ‘e_perm’ [-Werror=unused-variable]
  uint16_t e_type, n_type, e_perm, n_perm;
                           ^~~~~~
../../source3/modules/vfs_vxfs.c: In function ‘vxfs_compare’:
../../source3/modules/vfs_vxfs.c:407:6: error: unused variable ‘i’ [-Werror=unused-variable]
  int i, count = 0;
      ^

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f20d310af2bb1f96dea4810a7130492cc4cfc55">4f20d310</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-11T10:17:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove erroneous TALLOC_FREE(smb_fname_parent) in change_file_owner_to_parent() error path.

Caller is still using this !

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power<npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Fri Jun 11 10:17:46 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0ec865d979540a63362a2014358c8bb27efc0081">0ec865d9</a></strong>
<div>
<span>by Julien ROPÉ</span>
<i>at 2021-06-11T19:28:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix for https://bugzilla.samba.org/show_bug.cgi?id=9634

Add an option to smb.conf to list authorized zone transfer clients.
Implement restriction in dlz_bind9 module to allow transfers only to selected IPs.
Deny zone transfer by default in dlz_bind9.

Adds test for the restriction in DNZ zone transfer clients.

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

Signed-off-by: Julien ROPÉ <jrope@linagora.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jun 11 19:28:10 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/582030bae25c65b2ae7176d427923c24b7e54220">582030ba</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-15T11:06:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Add POSIX-SYMLINK-GETPATHINFO regression test.

This ensure we never blunder into indirecting a NULL fsp pointer
in the server. We already pass this, but this test will ensure
we continue to do so as we make fileserver changes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power<npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Tue Jun 15 11:06:23 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa147153c10b94e2db40d772677efacd5d0b31ee">aa147153</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-15T18:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Don't rely on TCP-bind() to return EADDRINUSE

socket_wrapper can't do EADDRINUSE because unix domain sockets don't
do it.

This currently works correctly because right now all RPC servers
either use explicit ports or all listen on the same socket.

The new code uses a static variable, so it only helps if a single
process listens for multiple RPC sockets. It won't work if multiple
processes start listening. But in case samba-dcerpcd goes in this will
be exactly the right thing to do.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/76c1b77e79c273db4c768a899fa8383e9630dc59">76c1b77e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-15T18:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Make errno return of get_logged_on_userlist explicit

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/35a43de18d541968a5a0de721b4ec429e61ad23b">35a43de1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-15T18:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Make get_domain_userlist() independent of errno

In the "num_users==0" case (previously just return NULL) we depended
on errno==0 implicitly. When list_sessions() above in this routine had
to open smbXsrv_session_global, it could however happen that errno was
set. If then there were no users, get_domain_userlist() returned NULL
with errno set, which the callers interpreted then as a real error.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f877d832095fdaacd3b871966b9189faf8420f5f">f877d832</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-15T18:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Factor out cli_status_to_errno() from cli_errno()

cli_errno() calls far too many trivial but subtle functions, all
referencing cli->raw_status. This might be the first step towards
getting rid of that.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f5c45a12d3f8a083bd6ee4e832b33d3518b05b3">5f5c45a1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-15T18:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmbclient: Avoid a call to SMBC_errno() in SMBC_mkdir_ctx()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d0b6904cc4d5e66860f0f851ca1ccf539423c9d">7d0b6904</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-06-15T19:02:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Improve wording, fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jun 15 19:02:18 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4be71c7a0594fd54fbf6949df49973cd4f9eabe8">4be71c7a</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-15T22:41:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Rework Heimdal warning handling

If we have all the right -Wno-error flags then we can enable warnings
more generally, otherwise just set -Wno-strict-overflow (if available)

Adapted from patches by Stefan Metzmacher <metze@samba.org> in his
branch to update Heimdal.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f810e9119f3862bf238297f82940420c5bd2df4a">f810e911</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-15T22:41:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Set up new build groups for the Heimdal hostcc components

This is based on various patches by Stefan Metzmacher in the patch set for
the Heimdal upgrade.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a1fa1f695f9387880218440b5787fd98396f107d">a1fa1f69</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-15T22:41:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: check for secure_getenv

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7b4aef782cdc8d801b91a2538a942a4e5bab4f94">7b4aef78</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-15T22:41:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gse_krb5: Provide keytab name in fill_mem_keytab_from_dedicated_keytab() error strings.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d62917d3d7eeb9c5782d7230a4012b5a9235154f">d62917d3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-06-15T22:41:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Provide C defines showing which Kerberos library is in use

Squashed from patches by Stefan Metzmacher as part of his Heimdal update branch

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/59eac15a4ff17cdb52b2b28b120e3fee4b085b68">59eac15a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-06-15T22:41:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: in SAMBA_BINARY use TO_LIST(cflags)

This avoids unfortunate issues when the cflags is
already a list, as then -fPIC becomes ['-f', 'P', 'I', 'C'].

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d84c4f68f00d4f2b941531235d3d5ba6da73ca6f">d84c4f68</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-06-15T22:41:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Add C99 struct initializer in source4/heimdal_build/krb5-glue.c

This avoids uninitiliased structure members in this dummy
structure we include to avoid including more of Heimdal.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f724a9f9bb5cf133bb21222cdc23eaad57eed85">1f724a9f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-15T23:25:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Use lib/asn1/rfc2459.opt rather than hard-coded

Based on patch by Stefan Metzmacher in his Heimdal upgrade branch

lib/asn1/rfc2459.opt imported from
lorikeet-heimdal-abartlet/lorikeet-heimdal-201107241840-plus-recent-changes
which is the closest tree I could find, and matches the options being
removed from the wscript_build file.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jun 15 23:25:27 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/db876e95b52dcf9fa9f08c895768f939bbff36bb">db876e95</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Remove --debuglevel from test_kinit_trusts_mit.sh

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea6c2fbfa97cb434060ced6d0cddf048c29fb4a2">ea6c2fbf</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:client: Use a creds helper variable

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b49a8605563c90467b5e22cea755bdbf1248c846">b49a8605</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:client: Migrate smbclient4 to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c01213471fe77c6b07c1008a4b4f5153afffa71e">c0121347</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Use new kerberos options for smbclient(4) tests

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/48a5f934bbdb6b879febeec84064660d3d4e3829">48a5f934</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:client: Migrate cifsdd to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/30fb11dafdeab53608e561f7615addd3abafbf08">30fb11da</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Remove unused include

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/59c97b09a82ba7b89b6c7570e1bdbef530775375">59c97b09</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Write better error on invalid cmdline option

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/10caa8590c77ea0929327f005a912241fb4cf423">10caa859</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: For NTLM make sure we have CRED_USE_KERBEROS_DESIRED

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/092d26af6adda3d1c476e869f48a2a76065658aa">092d26af</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Pass the pkinit ccache via a torture variable

Mixing -Uuser%password and --krb5-ccache doesn't really work on the
cmdline as -U overwrited the ccache.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a40bc1d0eecf46ff577ebdaa55b92a63c24f4514">a40bc1d0</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Migrate smbtorture to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b4fd5340a3a3472837aa72e266b688370ad5b09">4b4fd534</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Add smbtorture tests with new options

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a0471df01fc81b638aa4b9c61714a6181f5e980">2a0471df</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Change -U|--user to --user1 and --user2

The '-U' option is already defined by the default cmdline parser!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b4c1f438455c91f19957ab9b69c32947c55bdf79">b4c1f438</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Migrate gentest to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c0034d309e18a888a93f0c42dcd0d95c35ce8bad">c0034d30</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Change -U|--user to --user1 and --user2

The '-U' option is already defined by the default cmdline parser!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/caafb3cd4a229974a88d1b355890e31b65e15e8d">caafb3cd</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Migrate locktest to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ba32b542cdc0a8f4164012e002e519c370ba2ff2">ba32b542</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Migrate masktest to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a593065c7f22e17434f33d0132cc6a7073acf414">a593065c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:ldb: Use C99 initializers for builtin_popt_options[]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c2c7c1f50a8acb3169e19ba4329aa78839b66def">c2c7c1f5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:ldb-samba: Improve calculate_popt_array_length()

Note that memcmp() doesn't work well with padding bytes. So avoid it!

(gdb) ptype/o struct poptOption
/* offset    |  size */  type = struct poptOption {
/*    0      |     8 */    const char *longName;
/*    8      |     1 */    char shortName;
/* XXX  3-byte hole  */
/*   12      |     4 */    unsigned int argInfo;
/*   16      |     8 */    void *arg;
/*   24      |     4 */    int val;
/* XXX  4-byte hole  */
/*   32      |     8 */    const char *descrip;
/*   40      |     8 */    const char *argDescrip;

                           /* total size (bytes):   48 */

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d3af5d336383a7511c50542f4262764309d8230">1d3af5d3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T00:34:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:ldb-samba: Use talloc_zero_array() and use ldb as the mem context

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d37462d79a4063ac06d2f5e6514b7c082cc26b21">d37462d7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-16T01:25:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:ldb-samba: Migrate samba extensions to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jun 16 01:25:28 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e2486d76b611f07b85b26c54fe14da7b76bd01c2">e2486d76</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-16T05:08:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mdssvc: use a helper variable in mds_add_result()

No change in behaviour.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8847f46f75ac5c1a753a0e7da88c522be25ef681">8847f46f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-16T05:08:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mdssvc: don't fail mds_add_result() if result is not found in CNID set

Just skip adding the result to the pending results set, don't return an
error. Returning an error triggers an error at the MDSSVC RPC error which is NOT
what we want here.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1ef2828e1025e4c89292df1dfa6161c4453b3afe">1ef2828e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-16T05:08:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mdssvc: pass messaging context to mds_init_ctx()

This is needed in a subsequent commit. Note that I prefer to do the event
context unwrapping in the caller and pass both the event and messaging context
explicitly to mds_init_ctx().

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/16c39b81d6f2c7d75cfe72bbbe2f6a5bde42c7b0">16c39b81</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-16T05:08:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: pass tevent context to create_conn_struct_as_root()

The next commit will add another caller of create_conn_struct_as_root() that is
going to pass a long-lived tevent context.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9a2d6bcfd5797dd4db764921548c8dca6dd0eb21">9a2d6bcf</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-16T05:08:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add create_conn_struct_cwd()

Compared to create_conn_struct_tos_cwd() this takes a TALLOC_CTX and
tevent_context as additional arguments and the resulting connection_struct is
stable across the lifetime of mem_ctx and ev.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8b681cfb5d9b1ece03f7e7b9d3a08ae6c461d679">8b681cfb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-16T05:08:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mdssvc: maintain a connection struct in the mds_ctx

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6de3a88494b5932d0fd10f5c8c8ec57916aeefc5">6de3a884</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-16T05:08:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mdssvc: chdir() to the conn of the RPC request

In preperation of calling VFS functions.

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

Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/620b99144359f45aa69c13731db8d793cfbba197">620b9914</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-16T05:59:12+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mdssvc: avoid direct filesystem access, use the VFS

This ensures mdssvc uses the same FileIDs as the fileserver as well as Spotlight
can be used working on a virtual filesystem like GlusterFS.

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

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): Wed Jun 16 05:59:13 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac10058d7f6b4605157f508189a448310f5f18da">ac10058d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-16T11:10:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Add POSIX-SYMLINK-SETPATHINFO regression test.

This ensure we never blunder into indirecting a NULL fsp pointer
in the server. Currently this crashes the server in several info
levels.

Add knownfail.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/263c95aee38c9198ad9a30c4d960d72f46b7c27a">263c95ae</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-16T11:58:00+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix smbd crash on dangling symlink with posix connection calling several non-posix info levels.

Tidy up fsp == NULL checks. Remove knownfail.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Wed Jun 16 11:58:00 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c9350fef6e1141858ae2c3f200f3aaca5a8a29b8">c9350fef</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-16T14:43:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Improve error and warning handling on old and new compilers

The previous commit 1eadeaed0a6ca3a58eb9fd176a7ae5bcc28f64ef had a couple of
errors, the unpicky flags were being set on all builds (not just old
compiler builds) due to confusing variable names, and Ubuntu 16.04
would not build (for fuzzing) because it thought some variables
were maybe-uninitialized.

This keeps stricter warnings->errors on modern compilers while
allowing the full build, even in the near future when a modern
Heimdal is imported.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Jun 16 14:43:17 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d39715b86ad06293d5055ff2233b8e528623f986">d39715b8</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2021-06-17T04:21:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">join: provision_fill does not return anything

Discovered by Semmle code analysis:
https://lgtm.com/projects/g/samba-team/samba

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d0483b552164e8abe075fa48e33a74ed1fb8ada7">d0483b55</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2021-06-17T04:21:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">perf_tests: Implicit string concatenation

Discovered by Semmle code analysis:
https://lgtm.com/projects/g/samba-team/samba

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f2ce49bd3a5fab73f33eab8d7be30ab7d7faa6f">1f2ce49b</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2021-06-17T04:21:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">upgradeprovision: Remove duplicate key

Discovered by Semmle code analysis:
https://lgtm.com/projects/g/samba-team/samba

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1c3821c9f9ce93a7bcaeb26ccdacfba221223110">1c3821c9</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2021-06-17T05:12:03+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Incorrect arguments to Exception constructor

Discovered by Semmle code analysis:
https://lgtm.com/projects/g/samba-team/samba

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Thu Jun 17 05:12:03 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/50047588c0c8da2e1ffa0b08a8dc5d31e49f6a3b">50047588</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-18T03:39:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: talloc_string_sub tests for utf-8 brevity

If we allow overly long UTF-8 sequences (in the tests, encoding '\0'
as 2, 3, or 4 bytes), it might be possible for bad strings to slip
through.

We fail. But wait for the next commit.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1ea1816629104e16d9b180bee8f4ccc6292869ed">1ea18166</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-18T03:39:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util/iconv: reject improperly packed UTF-8

If we allow a string that encodes say '\0' as a multi-byte sequence,
we are open to confusion where we mix NUL terminated strings with
sized data blobs, which is to say EVERYWHERE.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4711ad9e81326c40309614df41ac36994fa9b961">4711ad9e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-18T04:27:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util/charset: warn loudly on unexpected E2BIG

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jun 18 04:27:17 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/21d4aec1ad34c0a34f5024ff9d8c11213ff030e9">21d4aec1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-18T16:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: open_directory(). Cleanup. We don't need 'int flags' here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/610c3ff8744eafea5f98d4e335660c77a3a3caa1">610c3ff8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-18T16:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change change_dir_owner_to_parent() -> change_dir_owner_to_parent_fsp().

Operate on handles only.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f9022f658ba9925af894719197ad9cf224cac05a">f9022f65</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-18T16:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: change_dir_owner_to_parent_fsp(). Don't re-stat the pathref.

Optimization now becomes clear. We already have a valid stat of the parent
directory so we don't need to re-do a system call.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6f6e5f7eb9943486ca6964777d981aeae7919b7">d6f6e5f7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-18T16:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Make change_file_owner_to_parent() static.

Only used inside open.c.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bdc749ca7e27b173f0c6e9f319d90097c5413b9a">bdc749ca</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-18T16:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change change_file_owner_to_parent() -> change_file_owner_to_parent_fsp().

Same changes as for change_dir_owner_to_parent_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c8e8633b98a2d68e51b0b271bf6f0ee36ddb6283">c8e8633b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-18T16:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: change_file_owner_to_parent_fsp(). Don't re-stat the pathref.

Optimization now becomes clear. We already have a valid stat of the parent
directory so we don't need to re-do a system call.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ae2d4e4d0fa3403bd571dbbbbf01cf84ddfa8f2">5ae2d4e4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-18T17:21:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Optimization in non_widelink_open(). Don't need to vfs_ChDir(parent_dir_fname) if parent is "."

Save several system calls if we're operating at the root of the share.

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Jun 18 17:21:31 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4079efae76718a84a4cf24b6613cdc53cdb2dd39">4079efae</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-18T18:14:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules: Reduce debug level if file doesn't exists on dfs share

There is software out there trying to open desktop.ini in every
directory. Avoid spamming the logs with error messages.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jun 18 18:14:11 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/779d0f02718b3812024bafcd5477ec3039c7a0cf">779d0f02</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-06-20T22:06:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Enable samba-tool without ad dc (but with ads)

Much of samba-tool can operate without the full AD DC,
for remote operations.

However the samba-tool gpo command depends on ads being
built. Without ads, every samba-tool command
crashes because ads imports fail.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fb5fe30e824d2d511188053ce04cf797b769727a">fb5fe30e</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-06-20T22:06:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Disable AD DC options in samba-tool domain

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f241fe5d46e8dd2b3265be7eddbd6686a6f920db">f241fe5d</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-06-20T22:06:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns: Enable dnsserver_common install when not ad dc

dnsserver_common is enabled without the ad-dc to
prevent imports from failing when samba-tool is
called where the ad-dc was not built. The
server-side dns code is used in the client when
we do direct LDAP modification of DNS records.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a45ea91cd7e8335319c96ea5bda02014f584df63">a45ea91c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-06-20T22:06:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Ensure commands don't crash without ad-dc

This simply ensures against import errors when
samba is built without the ad-dc. Calling every
help message guarantees the imports succeeded.
The test is intentionally run against the
fileserver test environment, because it's
configured --without-ad-dc and does not disable
ads.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f47ea8716f02fd4de44d3e0edbaeb26a9451f90d">f47ea871</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T22:06:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:tests: Fix contact_edit test with system libldb

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/084e8616a898fd9d645ebcdf4721a9c72631d8d3">084e8616</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T22:06:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:tests: Fix user_edit test with system libldb

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c09a56ea20333c1023c3873cbb0432fc68bae385">c09a56ea</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T22:52:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:tests: Fix group_edit test with system libldb

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sun Jun 20 22:52:05 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c1504ae59bb251615673e686e517e2d0ea8bedad">c1504ae5</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytests: dns_aging get informative assertions

When trying to understand the results of these tests, it is not very
helpful to have messages like:

AssertionError: 3685511 != 3685343

when the only thing you want to know is the difference between these two
numbers. So here we make timestamp specific assertions.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/701e21ade9180507c24fb594d7a212d603b67a0e">701e21ad</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: adjust dns_aging to handle some non-TXT records

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/559384beb7272f9d30fb20177d4b9f5292516bb6">559384be</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: add A and AAAA aging tests

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0423b0b88446ce4196b10414d885f6cf5921b9f1">0423b0b8</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dns_aging: use assert_timestamps_equal() widely

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d7d4fd98be0c3c200442cd61bfd0d4c75619394e">d7d4fd98</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dns_aging: remind developers to use fl2003

By "developers", I of course mean "me".

Other environments insist on secure updates, which these tests don't
do.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/983955a2bc810248726339deb63fbe9ebc783563">983955a2</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dns_aging: correct typo mis-assertions in 2 tests

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ad6d5a9c165fd887e2f79e398235f5225910fcff">ad6d5a9c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dns_aging: add helper for DNS delete updates

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b1730288368ade0daef637aace47de64f2aa8442">b1730288</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dns_aging: helper to get non-tombstoned records

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3cee6c94109c7db107d03a13ab8ab847f2c0eac1">3cee6c94</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dns_aging: remove/fix unused helper functions

self.rpc_delete_txt() will be used next commit.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a7c0a17c48ee259db2c225f9dc9e674e1d51aa5f">a7c0a17c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dns_aging tests deletions using DNS update

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b5c01f56f30ca3e954c4a53011ef5aceb5b897bb">b5c01f56</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dns_aging: try queries of recently tombstoned nodes

Windows fails this one.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0c5dc26ddc0602c8d2eeb7599efd8a9e0f252ffe">0c5dc26d</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dns_aging: add Samba-specific scavenging test

We can't make scavenging happen on demand on Windows, so we just
concentrate on Samba here.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/16875db27e8f9df8c989321a12897a13c05b35c8">16875db2</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dns_aging: remove a test that fails on Windows

This fails on Windows due to apparent races between the RPC, DNS, and
LDAP servers. There is no point having it sit there doing nothing.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bdd755a6795eec20f2ef5b91d7d9dfa4173f8aa3">bdd755a6</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest dns_aging: test tombstone timestamp ranges

We have always used hours where we are meant to use NTTIME. Let's make
sure we don't break old tombstones.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dbfbbd429766c1c8a161b8950fbed98c5cfbcc16">dbfbbd42</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns scavenging: tombstone deletion uses correct time units

Before we were comparing hours to 1e-7 second units.

Now we do it both ways. That's because in dns_tombstone_records (in
this same file) we have been putting hour timestamps in EntombedTime,
but this field is supposed to have NTTIME timestamps, and those
timestamps won't have updated themselves.

This wouldn't matter much in pure Samba networks if we weren't also
using the correct timestamp in dns_common_replace().

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/546c64b3fcf22d7eea253dd46e73e767ec54cad7">546c64b3</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns scavenging: correctly set tombstome timestamp

In a DNS tombstone record, the dwTimestamp is, as always, uint32_t hours
since 1601, while the wType-switched .data.EntombedTime timestamp is NTTIME.

We had that wrong, putting the hours in both places.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f8eb92903c0bdafa98d88429d1580868d5605dc">8f8eb929</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns scavenging: avoid a small memory leak

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/25be60a1cc4779eee5613e2b3540d29890299a92">25be60a1</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns scavenging: avoid another small memory leak

We weren't freeing the zones, which is admittedly tricky with the dlink
list.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c6a0265f2b577be485744edc5e8951f31d7ecfd">2c6a0265</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns scavenging: avoid setting same flags twice

We already did this with db_msg_add_empty(), ~20 lines up.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d98d733ab7e782e454d19dbc92cab669d89bd58">2d98d733</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns scavenging: ensure usual ownership of element values

An ldb message, its elements, and their values usually all share a
little talloc sub-tree with each other and nobody else. It is
conceivable that somewhere we rely on that.

In this case we were sharing an out-of-subtree values array across
multiple messages, which seems to be asking for trouble.

Also, add a comment explaining what we want.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/95e9da2fd7ae46fc8b0947dc51447fe1ecac606f">95e9da2f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns scavenging: avoid passing blobs

We can construct these ldb values for each zone with minimal cost and
it is less bamboozling to do so.

While we're fiddling with signatures, we can make this used-once local
function static.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/444b8178b8652f6e5273879a7036b23fe0057b37">444b8178</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns scavenging: simplify copy_current_records

We don't need to pull and push to make a byte identical copy of an ldb
value, nor do we need a temporary array.

As part of this, we avoid leaving a dangling el->num_values pointing
into space where there were no actually allocated values, which is not
how we do things, even briefly.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4a2bfd249d06e229b080cb6f50a68086a8aa1e52">4a2bfd24</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns scavenging: avoid useless copy of msg

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9fb69274cab58ddd12f4af2cbd3deb40e42ef4d6">9fb69274</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns scavenging: tighten lifetime of filtered records

We were ending up with everything lasting as long as
kccsrv_periodic_run(), which could add to quite a pile.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef7daa51d88271a3d57a3418e2f2cc5c14e0e819">ef7daa51</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns scavenging: log tombstone inconsistency

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f52ce9f954afe155ee30ddfeedfcff777aae8492">f52ce9f9</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns scavenging: avoid leak in dns_tombstone_records

As always, we forget to free our zones. Also to check our zones.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3dd5ae46c91cc00db4809db9b2fadae4281a1feb">3dd5ae46</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns scavenging: ensure tombstoned node has one record

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/020c76a523a256e9f2494c9bd5d4ea3b822f33a8">020c76a5</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns scavenging: add an explanatory comment

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2af06390c3aea5eed1c469fde0b403e9b1f44292">2af06390</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb periodic: DNS: split aging from tombstone deletion

We have been conflating two things (under the term "scavenging"):

1. aging out stale DNS records into tombstones, which only happens if
   this feature is switched on in general and for the zone.

2. removing expired DNS tombstones, which should always happen
   (because we tombstone nodes in *other* ways).

With this patch, we un-conflate.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4982beaabc6ede4c029619a314963473139eb81c">4982beaa</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:registry: Migrate regshell to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd52627e5bfd5a891b884eb03b4eb97159becc0a">bd52627e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:registry: Migrate regdiff to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8123c90edc07db16d3817c1f17ebc60779c77bda">8123c90e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:registry: Migrate regtree to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12ba3d9d8f2e480d92da16831e09af0d16709724">12ba3d9d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:registry: Migrate regpatch to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/91c8c480f6f7b05cc86b55160b224cd489af95e4">91c8c480</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:utils: Migrate oLschema2ldif to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e520feace893411522bf02718dd91d12de91074">2e520fea</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:nbt: Migrate nmblookup4 to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/387bb56bcdf7701717c85595d535d979bc043c71">387bb56b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: Migrate wbinfo to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/212038bbc6f1250bc55b346122c83439714a20a3">212038bb</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update wbinfo.1 manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/70a09d2cee776dc5a5e99d0bb682e92e90de3f8f">70a09d2c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc:tools: Remove '-l' which conflicts with '-l|--log-basename'

The common cmdline parser already provides '-l'.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8052d70cbbef61a081fe74fd898b5c25c973875">a8052d70</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc:tools: Migrate ndrdump to new cmdline option parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9f514b37fbe5a87b78ecba9f0518ca791d6919b8">9f514b37</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:lib: Remove obsolete popt cmdline parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/32a71e50b49db2b06ea7a8a2b8aa0606b0455f1f">32a71e50</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winexe: Use the new cmdline option parser

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f4bf1b2f528ee7c5a02686bc2c54f436ccd5dc60">f4bf1b2f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winexe: Some code cleanup and fixes

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/84f7db5f6772360f97c36e55b4c6739190486cbd">84f7db5f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update winexe.1 manpage for new cmdline opition parser

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7f27bbd540bbf05fae2611faeb1367259f407752">7f27bbd5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Use new cmdline entities for traffic_replay.7 manpage

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/36bb6686cb23971844585f29ae5eb6bbe4b5a12b">36bb6686</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Streamline option parser of python tools

The python tools, especially samba-tool should have the same option set
as the rest of the client utils.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fad6786e74e04f7068c0657d731def3c8f5d2d59">fad6786e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update samba-tool manpage for option parser changes

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/69368d8aca353b9bc498ea2c347036e42100f671">69368d8a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Remove unused manpage entities

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18eabaf34f6d0d599c0e4b7eaa382258304f6a83">18eabaf3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-20T23:26:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Improve doxygen documentation

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/84de4eb19e5f72550fbef52e22ff7b063d735638">84de4eb1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-21T00:10:21+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Improved cmdline user experience

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jun 21 00:10:21 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e9e6d1569b6fba787288d456a285448208b06eec">e9e6d156</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-21T00:58:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/samba/tests: Remove DCs joined to test samba-tool behaviour

Otherwise we have the live DCs spamming the logs looking for the
long-gone test servers:

Failed to connect host fd00::5357:5f0b on port 135 - NT_STATUS_OBJECT_NAME_NOT_FOUND
Failed to connect host fd00::5357:5f0b (6f44653d-18c8-4bf4-b2e7-6f85cf7b0f74._msdcs.addom.samba.example.com) on port 135 - NT_STATUS_OBJECT_NAME_NOT_FOUND.
Failed to connect host 10.53.57.11 on port 135 - NT_STATUS_OBJECT_NAME_NOT_FOUND
Failed to connect host 10.53.57.11 (6f44653d-18c8-4bf4-b2e7-6f85cf7b0f74._msdcs.addom.samba.example.com) on port 135 - NT_STATUS_OBJECT_NAME_NOT_FOUND.
Failed to connect host 10.53.57.12 on port 135 - NT_STATUS_OBJECT_NAME_NOT_FOUND

This avoids spamming the GitLab pipeline logs with a lot of noise,
as there is a size limit to the output, as well as being cleaner.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bbff4f5e6bb7b6c50b2b4a87bb1ad143b9f14958">bbff4f5e</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-21T00:58:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs/blackbox: Remove joined dc for ldapcmp

We don't need this DC once the ldapcmp is over, and it avoids
the running DC spamming the logs looking for it.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/91f5b5f3d07787540b01147fb18bc3018e47bf22">91f5b5f3</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-06-21T01:46:58+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove -d10 from test startup

It looks like "python:tests: Add SAMR password change tests for fips"
(which is also the title of 9a3ba502d8193b25799ef92917efafd52de2e8c2,
but this is also unrelated) and was a probalby a rebase artifact,
being a debugging aid that should have been omitted.

This reverts commit ebd687335b9accfdbae7dbc65c9882ab4d5c0986.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Mon Jun 21 01:46:58 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d32cdf18490be254e3d2c780af1a234ad86cc39">8d32cdf1</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python dns: dns_record_match() matches IPv6 semantically

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b24b82336f22570314c8240872213109d80ef641">b24b8233</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dns_aging: test RPC updates of disparate types

Can a TXT record be replaced by an A record in an RPC update?

According to Windows, yes.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6fb83b454ccac7e01ab0f5d48c1c5b6a66bea173">6fb83b45</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dns_aging: test delete multiple records

Using dns.DNS_QCLASS_ANY we can delete all the records of a certain
type. What happens to other timestamps? The answer should be nothing.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b2453a0f5c2fbb0c002ebb5fd274ca57ff66ee9f">b2453a0f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: samba-tool dns: allow valid updates

Without this patch we will get errors like this when in-place RPC
updates start to work:

   AssertionError: unexpectedly None : Successfully updated record
   '192.168.0.1' to '192.168.0.1', even though the latter is of type
   'A' where 'A' was expected.

That's because we have always rejected updates that try to modify an
existing record. We shouldn't.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/663a154e3e0e25b50772063cba9a99ac7fa338c4">663a154e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: samba-tool dns: allow identical updates

We know this should work from tests of the underlying RPC calls on
Windows (see dns_aging).

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/61355d36cbfc123ee61479257845eff4864d3d0b">61355d36</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest dns_aging: add simple delete tests

When records are added and deleted and added again, Windows gets all
kinds of ideas about what should happen, and many of our tests explore
that. Here we focus the simplest case with a variety of timestamp
combinations.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eac8d6b30b3045021667bf4eda521eb64bea5075">eac8d6b3</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest dns_aging: add sibling tests

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebfa200bfd9e63588d59c97232ade2ca4d0ae996">ebfa200b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dns_aging: fix two tests (bad arithmetic)

oops.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7fbb8f8e95786e7361e25ff647326b1f37911c2b">7fbb8f8e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest dns_aging: add windows_variation

We want to sometimes be able to say "we know Windows fails, it fails
like this, it is OK", so that when we run the tests on Windows we know
the failures are not unexpected.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ad6637afa5e912f97dc21cb43f7893bd435c88b2">ad6637af</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dns_aging sibling test fails on windows

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de2b775e9ac3af87010a2d4b71220980f8e04f07">de2b775e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dns_aging: do not insist on non-aging timestamp updates

With Windows, when aging is off, the record timestamps are updated
anyway, but the timestamp change is not replicated.

We are not going to do it like that. With aging off, our records will
keep their first timestamp.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24493ccceb16b2b1b05040659216535c89069c54">24493ccc</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest samba-tool dns: avoid testing update of '.' PTR

This will fail for reasons that maybe we don't care about.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa97974c0e42f5eb7c663b05407964ff816dae3b">aa97974c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest segfaults: add a couple more failing tests

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/97b9f45a76434c5c00f467ec93f21a111bf35c0f">97b9f45a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/dns_forwarder: remove unused function and imports

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5e559528b34e4b6b26fc708cdc0976e042d91eb3">5e559528</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dcerpc/dnsserver: fix tombstone test

It worked accidentally, like all our tombstone tests.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/43ab8a4a1b4152ae86e3dad23f10b40d4f61fb89">43ab8a4a</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samdb: Create user in wellknown user container

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9143
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4602f4fc1b537e74fdee8d9f1a390a4ea1ba18d5">4602f4fc</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samdb: Create group in wellknown user container

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9143
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fee11c35586adfa7e3ce79f03798732ffb870829">fee11c35</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samdb: Create computer in wellknown user container

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9143
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/151f432ca8c173e7bad488dfbd507517908102da">151f432c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Demote computer to wellknown container

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9143
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0db57db80a59e2ecfb1c626f66a72987d9fedcef">0db57db8</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Provision search DnsAdmins from wellknown container

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9143
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e267cea8179886995b46f0796c969a56a1becd3f">e267cea8</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-06-22T01:14:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: dbcheck search DnsAdmins from wellknown container

BUG: https://bugzilla.samba.org/show_bug.cgi?id=9143
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/002ef728bb02819385c0a8c2ca1b216ed712d153">002ef728</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2021-06-22T02:05:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Fix build on freebsd, missing deps on cmdline

Missing dependency causes build failure on freebsd.

[2928/3944] Compiling source4/torture/util_smb.c
In file included from ../../source4/torture/util_smb.c:22:
../../lib/cmdline/cmdline.h:22:10: fatal error: 'popt.h' file not found
         ^~~~~~~~
1 error generated.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jun 22 02:05:17 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c04df97ee52d8fae4b4438a6634d7ed10320a9f3">c04df97e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Cleanup. Remove SMB_VFS_FSYNC() macro.

This hasn't been used since bc71cd035c816de4ca98002860496bf8f5d50fe3.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ec0c271071ec053a29337eac13325a2793ba950a">ec0c2710</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: In adouble_path(), if the parent directory name is ".", don't prepend "./" to the outgoing filename.

We expect smb_fname->base_name values to not contain "./name".

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8848ebf504f08dfe9a81af233b0909f92a411075">8848ebf5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: syncops. Add 'connection_struct *conn' to syncops_smb_fname().

Not yet used. This will allow us to make syncops really stackable later.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1687df4d07a9037e3cf4b23daad8626eef0267da">1687df4d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Add 'connection_struct *conn' parameter to syncops_two_names().

Not yet used. This will allow us to make syncops really stackable later.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6d1972b79ea30944859e7bef57bf5b53516967d2">6d1972b7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: syncops: Add 'connection_struct *conn' to syncops_sync_directory().

Remove 'const' from 'char *dname' parameter. This is always a talloc
allocated pointer.

Not yet used. This will allow us to make syncops really stackable later.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fbeefe3b7e66df7212a407f601163d9b5e81480e">fbeefe3b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: syncops: Remove direct system calls and use OpenDir()/smb_vfs_fsync_sync()/TALLOC_FREE() to sync a directory.

syncops is now *really* stackable.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5da0d75dd47e2e4e44663fc75b0b7df27b261ee8">5da0d75d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: syncops: Do early returns in SYNCOPS_NEXT_SMB_FNAME() macro.

Makes the macro much clearer.

We should always do the operation first, then try the sync.
Failure to sync is not reported as an error, so failure
to create the full_fname shouldn't fail the operation either.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d76abb322390609766b6463e64ff83289f8361c0">d76abb32</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: syncops. Do early return in syncops_linkat()

We should always do the operation first, then try the sync.
Failure to sync is not reported as an error, so failure
to create the full_fnames shouldn't fail the operation either.

Makes the code path clearer.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/abc210943d8d29bff10eaa78bb60de6a05f297ba">abc21094</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: syncops. Do early return in syncops_renameat().

Makes the code path clearer.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bb8e66cd2dc2af6b666370cb7b4ff9cc33a3afcd">bb8e66cd</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Make copy_internals() public. vfs_crossrename() will be changed to use this.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5c18f074be92beea8357a93d64e7118376255ac0">5c18f074</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: crossrename. Use real dirfsp for SMB_VFS_RENAMEAT()

Finally fix the promise from the docs that this module is stackable. Re-use copy_internals().

This is a horrible module that must be removed !

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7785da8dde5c103cf548810fe6781e341f38de68">7785da8d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: audit: Use real dirfsp for SMB_VFS_RENAMEAT()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a9832db6ac07916b91a10e4f3db52426a5ef1bd8">a9832db6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: cap: Use real dirfsp for SMB_VFS_RENAMEAT()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5235ffea593469d746213ed1ed42f7930f7b1f57">5235ffea</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: Use real dirfsp for SMB_VFS_RENAMEAT()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/770357f666fe1f6a18742cbad45ce0058fa85063">770357f6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: extd_audit: Use real dirfsp for SMB_VFS_RENAMEAT()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f02f55e84d577a6712433a39aeca504b7411a4a4">f02f55e8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: full_audit.c: Use real dirfsp for SMB_VFS_RENAMEAT()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/69f3858904456f0e8490eab9df87385373973e64">69f38589</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: glusterfs: Use real dirfsp for SMB_VFS_RENAMEAT()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c5ead7fd615843c3957751d8d1acedbdc1ec9e1">2c5ead7f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: media_harmony: Use real dirfsp for SMB_VFS_RENAMEAT()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/11ec689c1d8ade1fbe42117d51c6893bdedcbd7a">11ec689c</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: virusfilter: Use real dirfsp for SMB_VFS_RENAMEAT()

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c04d6e8464f6db634e74de720433794e9ae19e8d">c04d6e84</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: syncops: Use real dirfsp for SMB_VFS_RENAMEAT()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a2f3c4f5ed2d16e34e034a92b5fabb769ad46c04">a2f3c4f5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: time_audit: Use real dirfsp for SMB_VFS_RENAMEAT()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/395cee80e916e39f65022b7a06557339e7bc7c7c">395cee80</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: unityed_media: Use real dirfsp for SMB_VFS_RENAMEAT()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5274ecdb60cff9ec947a9a196891ef089bbeadd">e5274ecd</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_depot: Use real dirfsp for SMB_VFS_RENAMEAT()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ab01a36d4a34a5b2112392b45d679e958aab5faf">ab01a36d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: Use real dirfsp for SMB_VFS_RENAMEAT()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5059d37f1f58e648c7fbf11fa1bb6f0bd3ae65d7">5059d37f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T13:44:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Make SMB_VFS_RENAMEAT() a relative call.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fb665462b1739f3bda8b9f02f34144e856d70eed">fb665462</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-22T14:34:06+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Update status of SMB_VFS_RENAMEAT.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Tue Jun 22 14:34:06 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1a2ca1432188e5ea239cfac37141b501dd769f99">1a2ca143</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-23T08:19:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:ldb-samba: Set log level for ldb tracing to 11

We should not enable ldb tracing on debug level 10 which is meant for
Samba debug logs and not trace logs.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0fe2ae660893104090ba09556d810756fb2f207f">0fe2ae66</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-23T09:03:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:ldb-samba: Use debug level defines

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): Wed Jun 23 09:03:42 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/246a19661026ddfbcebeba7b291a779f6bac9a55">246a1966</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-23T09:04:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: posixacl_xattr: Remove posixacl_xattr_acl_get_file(). No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1139f96cc788baefe25068788c33e9ca6b860e64">1139f96c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-23T09:56:00+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: posixacl_xattr: Remove posixacl_xattr_acl_set_file(). No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Wed Jun 23 09:56:00 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/abb022b957a0ac8b381059c3199a8b179502fac2">abb022b9</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-23T09:56:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Fix description of `winbind use krb5 enterprise principals`

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/106c2b3977e35b2d9ad3535710fcbda80aa7fa97">106c2b39</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-23T09:56:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Enable `winbind use krb5 enterprise principals` by default

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e0fbc79b9c53a7244a35649bb5c6615390a1453">3e0fbc79</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-23T09:56:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Disable `winbind scan trusted domains` by default

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62875044ec41449967ff7a139e0c5816fa471428">62875044</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-23T10:46:22+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Document changes of trusted domains scanning and enterpise principals

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): Wed Jun 23 10:46:22 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e40d452722d04d21e1c8cee2af2d175540634070">e40d4527</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-06-25T09:16:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Close server socket when switching to client

The socket is set close-on-exec but that doesn't help for processes
that do not exec().  This should be done for all child processes.

This has been seen in testing where "ctdb shutdown" waits for the
socket to close before succeeding.  It appears that lingering
vacuuming processes have not closed the socket when becoming clients
so they cause "ctdb shutdown" to hang even though the main daemon
process has exited.  The cause of the lingering vacuuming processes
has been previously examined but still isn't understood.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/23b2fab2c886a5cdc72a87aa0d2e14c9e6b96b1c">23b2fab2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-06-25T09:16:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Drop unused include of mkdir_p.h

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fc0da6b0f878d70ff19a568cbb2e47972b45c0b1">fc0da6b0</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-06-25T09:16:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Force stub version of service in eventscript tests

Fedora 34 now has a shell function for the which command, which causes
these uses of which to return the enclosing function definition rather
than the executable file as expected.

The event script unit tests always expect the stub service command to
be used, so the conditional in these functions is unnecessary.
$CTDB_HELPER_BINDIR already conveniently points to the stub directory,
so use it here.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/466aa8b6f5a61d523d708ceb3d5ab1c409bccc1b">466aa8b6</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-06-25T10:06:48+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Ignore ShellCheck SC3013 for test -nt

In ShellCheck 0.7.2, POSIX compatibility warnings got their own SC3xxx
error codes, so now both the old and new codes need to be ignored.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Jun 25 10:06:48 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0d78398beea47b25d3e701db23933280cf1e1919">0d78398b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: Improve error messages in check_stream() and read_stream() to include the filename and NTSTATUS.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a6df051dd5e8c63f2fdfdb20ee01169d2bdb97dd">a6df051d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In openat_pathref_fsp(), just check we're opening the same file type, not dev and inode.

As this is an internal open and we don't have any
locks around, we don't have to mandate the dev and ino
pair are the same (and in fact not doing so fixes bugs
when this is called by VFS modules that like to play tricks
with ino number on stream paths (fruit, and streams_xattr
are the two that currently do this).

There's no security advantage to checking that, as the
fd_openat() ensures this is safe. As fd_openat() does an
FSTAT on the handle, update the smb_fname stat info with
the "correct" values from the handle.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd0bad6f58ab9aff789392ba1a8e817d7bdca5c8">bd0bad6f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: On startup file_name_hash() can be called with an absolute pathname.

This occurs on first CHDIR to the root of the share.
Ensure we don't add conn->connectpath twice when doing
creating the file name hash.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b63ac2ed97f92e1c435e72e8edaee00a8366a31d">b63ac2ed</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Move the call to fsp_set_fd(conn->cwd_fsp, AT_FDCWD) to just after SMB_VFS_CHDIR().

Once SMB_VFS_CHDIR() has been called and returned success, cwd_fsp *must* be AT_FDCWD.

We needs this so that SMB_VFS_STAT() can work correctly with
at startup time with modules that need to create pathref fsp's.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2dd7ac6a6eb88443a44564ad12799f05e8be764c">2dd7ac6a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: get_ea_value(). If we have an fsp, *always* use it for SMB_VFS_FGETXATTR().

If the underlying fd is -1, we want this to fail with EBADF.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4670cf1da6feb7e7316db42079ce43ff22f7015e">4670cf1d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Temporarily add protection to get_ea_value() for fsp==NULL and smb_fname==NULL.

This will go away once get_ea_value() is fully handle-based
and renamed to get_ea_value_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f694b36335ef650b9eee6666b10ae3aafd7bee7d">f694b363</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: modules: acl_xattr: getxattr_do(). Remove the smb_fname parameter.

It was always NULL. Always use the passed in fsp.

If the underlying fd is -1, we want this to fail with EBADF.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/757b7d5c6ae830975513a95296c6faf160cd04f3">757b7d5c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: fload_inherited_info(). Always use SMB_VFS_FGETXATTR().

If the underlying fd is -1, we want this to fail with EBADF.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/198413da763ee652dad65a430962031be974b51c">198413da</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: get_ea_list_from_fsp(). Make it clear we're using only the fsp by replacing the fsp->fsp_name with NULL.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff09fc77a21dd8baa75e64037b4cbdfc841ffb78">ff09fc77</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: In cmd_getxattr(), SMB_VFS_GETXATTR() -> SMB_VFS_FGETXATTR().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/303d15e14fc47a7c3f5cb9cc8c074281f58e4f9b">303d15e1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: adouble: Protect ad_read_meta() from accidently using a NULL fsp.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/981f714369b2b5e5f26a6408778a852a889720e2">981f7143</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: adouble: Remove ad_set() - Dead code. Not used anywhere.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c308ffa41c2020d3287bd19f743a2cd43e035d9e">c308ffa4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_depot: file_is_valid(), SMB_VFS_GETXATTR() -> SMB_VFS_FGETXATTR().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/13778b4c73155cef09709f676d23046e6a94f8bc">13778b4c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fake_acls: In fake_acls_lstat() - remove call to get_full_smb_filename().

It serves no purpose here. We no longer need the frame pointer.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cf51681aac924ce203c84b8f99b0ef7a0b10a3e0">cf51681a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fake_acls: In fake_acls_lstat() - get a pathref on whatever the link points to and use the handle-based functions.

Add a recursion guard so that synthetic_pathref() can't
recurse into itself by calling SMB_VFS_LSTAT().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6e6f532c5fc7daad019d717302abe72f6fc97de0">6e6f532c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fake_acls: In fake_acls_stat() - remove call to get_full_smb_filename().

It serves no purpose here. We no longer need the frame pointer.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d2b78728514a68df29efc483ede90cd804880685">d2b78728</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fake_acls: In fake_acls_stat() - if we have a pathref fsp, use it.

We will add a pathref open for the case where we don't next.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/243bce415830885a70ff0aba0b829291bb0dc760">243bce41</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fake_acls: In fake_acls_stat() - use openat_pathref_fsp() to always get a pathref fsp.

Add a recursion guard so that openat_pathref_fsp() doesn't
end up recursing into itself when it calls SMB_VFS_STAT().

We now always have a valid fsp inside fake_acls_stat().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e5180783882ed842fcee172ed67f4eae5099697">2e518078</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fake_acls: In fake_acls_stat() - Now we always have a valid fsp, remove the calls to the path-based functions.

Comment out fake_acls_uid()/fake_acls_gid(), they are no longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da18c67732f847a037e505a6db395de2b757dabb">da18c677</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fake_acls: Remove unused fake_acls_uid()/fake_acls_gid().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fe9575c88f048ac760a33fd5f65c18e8f2714e70">fe9575c8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph_snapshots: Add ceph_snap_get_btime_fsp().

Handle-based copy of ceph_snap_get_btime(). Uses
SMB_VFS_NEXT_FGETXATTR() instead of SMB_VFS_NEXT_GETXATTR().

Commented out as nothing uses it yet. This will change shortly.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/abe3a396e0e32f72a4fc0f9b2b10a968c8542fea">abe3a396</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph_snapshots: In ceph_snap_fill_label() - pass in dirfsp instead of the raw path.

We will use this for openat_pathref_fsp() later.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8fc84ac100d80aced6f1d852ae17bebd4e855b16">8fc84ac1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph_snapshots: In ceph_snap_fill_label(), use ceph_snap_get_btime_fsp() instead of ceph_snap_get_btime().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2298974b3fafbcb352279067aa004e66263fe31c">2298974b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph_snapshots: In ceph_snap_gmt_convert_dir() - change to use ceph_snap_get_btime_fsp().

Comment out ceph_snap_get_btime() as it has no more callers.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f04e1a47dfeb9848b995329bf82744df0bbae3d">0f04e1a4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph_snapshots: Remove ceph_snap_get_btime().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/28f7846fdd507a6befea76518f8cd45855e51fc7">28f7846f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: In streams_xattr_pwrite() - remove conditional.

We know fsp->base_fsp must be valid here for SMB_VFS_FSETXATTR().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2fdbac2c5fe368204267bb3d07bcbee4b6b92ca7">2fdbac2c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: In streams_xattr_pwrite() - use the fsp->base_fsp argument for get_ea_value().

We know it must be valid here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b8190ce3d87be016709f3ddcd8bc763d3418ead9">b8190ce3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: In streams_xattr_pwrite() - remove smb_fname_base.

No longer used and we were leaking it onto the talloc_tos() anyway.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fbfd4183d64e0173550963269a83732c4c3cfd74">fbfd4183</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: In streams_xattr_pread() - use the fsp->base_fsp argument for get_ea_value().

We know it must be valid here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/435c3f9ec1ad01a70adc0b9e0a44721ac2e8ae19">435c3f9e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: In streams_xattr_pread() - remove smb_fname_base..

No longer used and we were leaking it onto the talloc_tos() anyway.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5d12971c58beaddb8400bba9e134eb5e4439894b">5d12971c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: In streams_xattr_ftruncate() - remove conditional.

We know fsp->base_fsp must be valid here for SMB_VFS_FSETXATTR()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/caf61fc8c9a9bd507032ebfd7ab94b80008ccb81">caf61fc8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: In streams_xattr_ftruncate() - use the fsp->base_fsp argument for get_ea_value().

We know it must be valid here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa3609fb89fe7a9ee79c1496014b81fc2dcba795">fa3609fb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: In streams_xattr_ftruncate() - remove smb_fname_base.

No longer used and we were leaking it onto the talloc_tos() anyway.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/82c95d13390904ae6957280dac137e54e9a988bb">82c95d13</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: In walk_xattr_streams() use smb_fname->fsp for get_ea_value().

We know this is a valid fsp as we have already used it above inside
walk_xattr_streams() as an argument to get_ea_names_from_file().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3c0594d42ebaa90b4322b9e672987bcd6315805d">3c0594d4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: In streams_xattr_openat() we can assume fsp->base_fsp != NULL.

It should have been opened/created by this point.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/520a78d97527b313bae0f7596d713e6e8ab00360">520a78d9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: Add an fsp parameter to get_xattr_size().

Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cacce8babf989b51eebb9194f5b57bef3634de67">cacce8ba</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: Use fsp->base_fsp for the fsp parameter to get_xattr_size() in streams_xattr_fstat().

We no longer need the 'struct smb_filename *smb_fname_base' here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d515c13ba754986e086eb4bc490e634d220e562c">d515c13b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: Simplify streams_xattr_lstat().

There can never be EA's on a symlink. Windows will never
see a symlink, and in SMB_FILENAME_POSIX_PATH mode we don't
allow EA's on a symlink.

All of the previous code boiled down to errno = ENOENT, return -1
so make that explicit.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d1a0e9b81da07ff7566227eb8a14f88914d01c3d">d1a0e9b8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: Bring streams_xattr_stat_base() inline into streams_xattr_stat().

That was its only caller.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/33521d2df33a4759f61ab0bfc16d9b583c161375">33521d2d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: In streams_xattr_stat(), make use of smb_fname->fsp->base_fsp if it has one.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f54eb555d0ef5ff332ed635ce2c52625ce74952">5f54eb55</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: Use openat_pathref_fsp() to create a smb_fname->fsp (and the smb_fname->fsp->base_fsp) if the incoming name doesn't have one.

Use new smb_fname->fsp->base_fsp parameter in get_xattr_size(), change name parameter to NULL.

If openat_pathref_fsp() fails, return the correct error code (thanks Ralph!).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0c210a84dbfdf81e31dd1e79736c1d9e695d3fc7">0c210a84</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: In streams_xattr_stat() - ~S_IFMT already removes S_IFDIR.

We don't need to do this separately.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a117624bb193e32222ba7ed5eb5bafc8b1e0d876">a117624b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: Rename get_xattr_size() -> get_xattr_size_fsp().

It now only needs 2 parameters, fsp and EA name.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e30094e6c039c17bdea8b27df9a8a1ead7cc21e4">e30094e6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T15:53:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Rename get_ea_value() -> get_ea_value_fsp().

Remove the connection struct and smb_filename parameters.

There are now no more callers of SMB_VFS_GETXATTR().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c2fde31b1c2ec7482f7424f7b7cb443aae582c2e">c2fde31b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-25T16:37:59+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Cleanup - rename get_ea_names_from_file() -> get_ea_names_from_fsp().

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Jun 25 16:37:59 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b5339048001890f4e0ea0b19fdf15f988878c735">b5339048</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-28T20:03:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fake_acls. Add missing NULL check for return of cp_smb_filename().

Found by Coverity.

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Jun 28 20:03:33 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa608837369090c0cb789740d50de8332a570ada">fa608837</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc:dnsserver: split off record rank setting logic

We want to do this also in update (in following commits), and we later
will want to fix the logic.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9fb87134b8c3455940d502e13aa622234cf37b2c">9fb87134</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc:dnsserver: allow update replacing with similar record

We have been refusing to handle the case where the replaced record
matches the replacement according to dns_record_match() (meaning the
wType and data are semantically identical). In Windows this is
explicitly used for changing TTL.

There are further changes we need to properly handle this case.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8b3d2556dad5f97d1ba7186b9f4504d0ecc57d55">8b3d2556</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc dnsserver: updates reset more than timestamp

This is based on observed Windows behaviour.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0fa98cd38b59c9c05d717510f1d164af538dae90">0fa98cd3</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc dnsserver: set the record rank

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/14ce22f4465622a94da073d0a8a76c105326b31c">14ce22f4</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc dnsserver: improve handling of serial numbers

This is not correct, but it gets closer. We need to save the updated
serial number in the SOA.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/701c55841fbf5d772e479dba6a0cde2e69e2d9c4">701c5584</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc/dnsserver: check talloc_strndup return

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d6dfd5b4d7790308f9c704305d7ab8aa5cd5903">1d6dfd5b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Return a bool for cli_credentials_set_conf()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cdf8859b906bab0461256c7f773aba23227642df">cdf8859b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Check return code of cli_credentials_set_conf()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ced8390c955a91062da6eaed96d948a6d45d1cbd">ced8390c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:auth: Check return code of cli_credentials_set_conf()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b18fa931f313f1dd345cf6e9c74168a53b45bdf2">b18fa931</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Check return code of cli_credentials_set_conf()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f13044634d67e717e3a7b3fec561273ff3d1f73">0f130446</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:passdb: Check return code of cli_credentials_set_conf()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5281a6592b0965e9c308421bb4d7555d25f90bd4">5281a659</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Check return code of cli_credentials_set_conf()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2f700ebda69bfd1a532aa43f8cf3279865931716">2f700ebd</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:auth: Check return code of cli_credentials_set_conf()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6fb3cd8d133e1f89be90e62a411f8682049c6129">6fb3cd8d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:auth: Check return code of cli_credentials_set_conf()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9c84bea515ea77c692e52ce81e04bc4df380956b">9c84bea5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dns:bind_dlz: Check return codes of cli_credentials functions

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0ea4041432f2307514566d480be194984ab35029">0ea40414</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dns_server: Check return code of cli_credentials_set_conf()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cfe9fb2373fe32dcea10b2be3b604c5ce9678333">cfe9fb23</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kpasswd: Check return code of cli_credentials_set_conf()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5dd3a0cc17582388e59f8775d5ffdad679b05aa6">5dd3a0cc</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server: Check return code of cli_credentials_set_conf()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f7ff694cdddfe2c93751dd951fdf08defc51b5d5">f7ff694c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Add sanity check for env variables

CID 710829

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9f786df2a2fd5c72b331625db74547fc88ad3e83">9f786df2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Return bool for cli_credentials_guess()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9f69e93bad38d45a53219cf248ba92097298b7e7">9f69e93b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Ignore the return code of cli_credentials_guess()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/304cb910bd3637e79805b7a0fd21f508d1f9d5a0">304cb910</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Check return code of cli_credentials_guess()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/08585bcfb2b60c1684f2f5c69496d16b8d86ee6b">08585bcf</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libnetapi: Check return code of cli_credentials_guess()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee9dc1fb47442c6b8839b10be135f2af525fe376">ee9dc1fb</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Check return code of cli_credentials_guess()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/feaf0d1ab7128230181c071c8da9cd2cc67bd41c">feaf0d1a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-06-29T02:19:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdsb: Check return code of cli_credentials_guess()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f70396e62d7cc77bf248576e2ca6e7f0f755bde">5f70396e</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2021-06-29T03:07:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idl: secrets_domain_info1_change is not a recursive structure

575d39048e3b4f619d65d65303ac809c40c5d495 has marked
several structures as recursive, they contain typically a
backpointer named '* next'. secrets_domain_info1 is not self
recursive, it only contains a pointer named '*next_change'.

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jun 29 03:07:17 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9ca41e197f3f9a012531e5502734f8df46a2d7a4">9ca41e19</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Add initial implemenataion for SMB_VFS_FCHFLAGS

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/69ef500b8d5fbcc55daf0b006ee3666e18d513b0">69ef500b</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: ceph: Add SMB_VFS_FCHFLAGS implementation

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/afad1ce94855f11621e4bea02395ff6067a14eea">afad1ce9</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: ceph_snapshots: Add SMB_VFS_FCHFLAGS implementation

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a6c45ba03e897bd9c97fa718ff29f0986214207e">a6c45ba0</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: glusterfs: Add SMB_VFS_FCHFLAGS implementation

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d8e5ffa94e9caf0a43864be6eadd36da4dec680e">d8e5ffa9</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: shadow_copy2: Add SMB_VFS_FCHFLAGS implementation

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a346647edd2e0b9b81dc75067b584a92fcd1eb56">a346647e</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: snapper: Add SMB_VFS_FCHFLAGS implementation

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b98fc6914d3b292d958a5aa55614949aa069f52">4b98fc69</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: smb_set_file_unix_info2: SMB_VFS_CHFLAGS -> SMB_VFS_FCHFLAGS

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e24d9c53438935f0544b8f05335f0142b225c58">2e24d9c5</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: ceph: Remove SMB_VFS_CHFLAGS

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/11e1deaf91fd56dc4d3f18fe42e653de379eda5f">11e1deaf</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: ceph_snapshot Remove SMB_VFS_CHFLAGS

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f60235f2bdc673464d62bad262837b8c6bc828b3">f60235f2</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: catia: Remove SMB_VFS_CHFLAGS

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a7eb3a7125e3b56c6400af09ec01c882dcad70dd">a7eb3a71</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: glusterfs Remove SMB_VFS_CHFLAGS

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/205532f38a468fad72f5a153baece9fab4ac4f09">205532f3</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: media_harmony: Remove SMB_VFS_CHFLAGS

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3d71465b46ac3bec1db46347a5d9945df96b46a8">3d71465b</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: shadow_copy2: Remove SMB_VFS_CHFLAGS

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f243bb8c248fe48f4fd2cd87366fddb7f3e06c3">8f243bb8</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: snapper: Remove SMB_VFS_CHFLAGS

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ceb1403d04ba67d0ea92c58a05a457f1bd47acf4">ceb1403d</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: unityed_media: Remove SMB_VFS_CHFLAGS

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f3008db0c3f3ae277ee38dcedea094b78cc53487">f3008db0</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T08:21:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Remove SMB_VFS_CHFLAGS, not used anymore

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d1ca3137809800fe1014a06aa3912241d540d1b2">d1ca3137</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-06-29T09:10:00+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Update status of SMB_VFS_CHFLAGS

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Tue Jun 29 09:10:00 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d101c82dfd1a961255fc449d3ec3611b2c21276">7d101c82</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-06-29T22:08:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fake_acls. Remove two static 'recursion' global booleans.

Ralph made me feel really guilty about this, so I cleaned it up :-).

This may also be the way we can finally get rid of SMB_VFS_GETXATTR()
from adouble.c too.

This will go away once we have SMB_VFS_STATX() and we will
have a way for a caller to as for specific stat fields in a
granular way. Then we will know exactly what fields the caller
wants, so we won't have to fill in everything.

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jun 29 22:08:02 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4dcc04228df233be15efe9c31bcbaba822b140c4">4dcc0422</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-30T16:51:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">replace: copy_file_range()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e2d524d4baee193b0d03df3e7edda48b3cb4bddf">e2d524d4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-30T16:51:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: properly track written bytes for copy-chunk

No change in behavour, this just makes the logic slightly more
understandable. In theory it would also allow the logic to be adjusted for
allowing short reads which is not quite clear from MS-SMB2 if we should allow
it. The file could be truncated while we're reading it.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f1a02909b8694dcc30fd5c7c6772fcfa1092ed9">4f1a0290</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-30T16:51:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: add sys_io_ranges_overlap()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e72be5213335ab1ea0f9f396ab071669231c151b">e72be521</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-30T16:51:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use sys_io_ranges_overlap() in fsctl_dup_extents_check_overlap()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/accaa2f1f67a7f064a4ce03a120d7b2f8e847ccf">accaa2f1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-06-30T17:40:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: use copy_file_range()

Original file on an XFS filesystem:

  $ ls -l /mnt/test/1048578-file
  -rw-rw-r--. 1 slow slow 1048578 Jun 25 11:40 /mnt/test/1048578-file

  $ xfs_bmap /mnt/test/1048578-file
  /mnt/test/1048578-file:
          0: [0..2055]: 192..2247

Copy created with cp --reflink=never:

  $ xfs_bmap /mnt/test/1048578-file-reflink-never
  /mnt/test/1048578-file-reflink-never:
          0: [0..2055]: 2248..4303

Copy created with cp --reflink=always

  $ xfs_bmap /mnt/test/1048578-file-reflink-always
  /mnt/test/1048578-file-reflink-always:
          0: [0..2055]: 192..2247

Copy done from a Windows client:

  $ xfs_bmap /mnt/test/1048578-file\ -\ Copy
  /mnt/test/1048578-file - Copy:
          0: [0..2055]: 192..2247

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

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jun 30 17:40:23 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0a459c6b2df45895c7a89a65ce736a1402a88dcc">0a459c6b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:torture: add STR-MATCH-MSWILD test for is_in_path()

I want to assert at least some of the behavior as the
next commits will add a new abstraction that should
at least partly behave the same.

Note: case_[in]sensitive_idx is the index to the patterns
in the namelist, set to -1 on non-match, otherwise to
a value >= 0.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/845a59919e528d083b1ab025844c41155ac93e43">845a5991</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: add a new samba_path_matching* infrastructure

This aims to replace the current is_in_path() code in the long run.

For now it implements samba_path_matching_mswild_create()
in order to replace is_in_path() in the long run.

But there will be other "backends" using regexec() too.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bc39450d80b2f319501747d8b285d0d70ca6505b">bc39450d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: add samba_path_matching_regex_sub1_create()

This will allow the usage 'POSIX Basic Regular Expression'
instead of 'ms wildcard' strings.

We allow exactly one 'subexpression' starting with '\(' and
ending with '\)' in order to find a replacement (byte) region
in the matching string.

This will be used in the vfs_preopen module in the following
commits.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e2e3b032cd94500dd409a44c01abd2357da31c29">e2e3b032</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: improve debug message about unknown classes

debug classes registered by vfs modules are not available immediately.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebe5203c576576f96e7deffde34364e68d6c4805">ebe5203c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: document dynamic debug classes from modules

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6aaa36497f6dc6d4a8488d6ff8f43a6591eda59">c6aaa364</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_preopen: introduce "preopen" debug class

It might be useful to change the level/location
of debug messages specific to this module.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a843e74b85f50ca6285b7670f7bafb3199bb6008">a843e74b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_preopen: only try to preopen if we can construct an absolute path

So we make sure the dirfsp contains an absolute path to begin with
and smb_fname is a relative name within the directory.

Note: dirfsp->fsp_name->base_name[0] is only '/' because currently all callers pass
conn->cwd_fsp as dirfsp ... though there's already one caller that calls
fd_openat() with a real dirfsp, that is in vfs_fruit though on the
resource fork stream so doesn't really effect us currently.

If more callers are changed in future the situation may change,
but I guess then this is not the only place with potential problems.
We most likely need a generic helper function that returns the absolute
path of a dirfsp and use it here.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/68832c91bd718b577c3a25139ab8bee883c36767">68832c91</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_preopen: make use of new samba_path_matching_* infrastructure

There should not be any logic change in this commit,
for now we'll keep the same ms wildcard matching we had before.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d34c291d98e6b0e061406e4d0760ce7db8e69a3f">d34c291d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_preopen: only reset the queue state if preopen_parse_fname() found matching digits

Otherwise there's no point in stopping the existing queue to continue
via pending preopen_helper_readable() invocations.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0900ab40d6de6b6d878b6a48cb3df464d536d91b">0900ab40</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_preopen: completely reset the queue if the name structure changes

There's no point in trying to check if the current number is part
of the existing queue. This makes the logic at least more unstandable
to me.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1197c87c916bc947d8143a57e59e9b36aaba309c">1197c87c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_preopen: introduce helper variables in preopen_parse_fname()

Calculating the start_idx and num_digits at the first possible place
will make the following commits much easier.

At the end we just want to assign the return values without any logic.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e51a2e6e4ee5409a61b2adb069561fcf40da3818">e51a2e6e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_preopen: cap the queue length to the maximum number that fits into the digits space

If we have a single digit we only replace up to '9', which also fits
into a single digit.

We operate on numbers from 0 to 9999999999999999999 independent of the
architecture.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/430cbfc7918939fde22d8da2327451b6801173bd">430cbfc7</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_preopen: make use of any hints from samba_path_matching_check_last_component()

samba_path_matching_check_last_component() may return the start and end
offset of a submatch (for us the bytes where the digits are expected).

We use that in order to allow preopen_parse_fname() to just
look at these bytes and ignore any trailing digits after the submatch.

For the current use of samba_path_matching_mswild_create(),
there's no difference as we'll always get replace_start=-1 and
replace_end=-1. But the next commit will make optional use of
samba_path_matching_regex_sub1_create(), which will change the situation
and allow to return hints we got from regexec().

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/67159410175a9ceccc7beda01601b9dc6656be04">67159410</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml:vfs_preopen.8: improve the documentation of the current detection algorithm

We should be more verbose that the first digits in a name are taken by
default, if at least 3 digits were found.

There might be cases were the last group of digits describe the
increasing frame number, while the fixed name already contains
3 digits. This is currently not supported.

It's also possible to provide more than one pattern.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ade3b16490e9afdf909a761828a38d80d6596fd1">ade3b164</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_preopen: introduce support for "preopen:posix-basic-regex = yes"

This will allow the usage of patterns as
'POSIX Basic Regular Expression'

      vfs objects = preopen
      preopen:posix-basic-regex = yes
      preopen:names = /Re7599Ex\([0-9]\).*\.txt/test\([0-9]*\)\.dat/

The key is that exactly one 'subexpression' starting with '\(' and
ending with '\)' is specified in order to select the position where
the digits are searched.

E.g. given a file name 'Re7599Ex01234.txt' will actually preopen:

  Re7599Ex01234.txt
  Re7599Ex11234.txt
  Re7599Ex21234.txt
  Re7599Ex31234.txt
  Re7599Ex41234.txt

As '\([0-9]\)' will only match the first digit after 'Re7599Ex'.

It also means it's now possible to have digits in the fixed part of the
filename, which was the actual motivation for this patchset.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/83563b37213cdb58776e034c0bbd22ba55d51022">83563b37</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:02:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_preopen: add useful debug messages which can be configured on adjustable log levels

The following are the default values:

  preopen:nomatch_log_level = 5
  preopen:match_log_level = 5
  preopen:nodigits_log_level = 1
  preopen:founddigits_log_level = 3
  preopen:reset_log_level = 5
  preopen:push_log_level = 3
  preopen:queue_log_level = 10

This gives admins a way to debug/audit the preopen usage.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/11a3a8d9b9c6d008a06a39f4669bb3b50cbe2464">11a3a8d9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T13:48:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: document new preopen:* options

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jul  1 13:48:32 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0e3ddc27ed6d603a21cb2b187f3295506d560604">0e3ddc27</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-07-01T17:45:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: use fsp_get_io_fd() for copy_file_range()

Unintentionally used fsp_get_pathref_fd() in the initial patchset.

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

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jul  1 17:45:49 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f413b2b2977687884781ca2399dadf6611ab461">1f413b2b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth/credentials: allow credentials.Credentials to act as base class

In tests it's useful to add more details.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fef08add9ec324fb0c3902e96c2a91c07646d499">fef08add</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Rename python/samba/tests/krb5/{rfc4120_pyasn1_regen.sh => pyasn1_regen.sh}

This is a clearer name for the script

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d4492a8aaaf70cbe81af7e6703b4ea9fc1f24162">d4492a8a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/rfc4120.asn1: Improve definitions to allow expanded testing

Update and re-generate the ASN.1 to allow an improved testsuite.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c3222870b92db7f867557c2896b7bf39915d469a">c3222870</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: Add get_{client,server,krbtgt}_creds()

These helpful functions allow us to build the various credentials
that we will use in validating the KDC responses in this test.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dff611976d6a067614e37add99edae214815a68b">dff61197</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: introduce STRICT_CHECKING=0 in order to relax the checks in future

We should write tests as strict as possible in order to let them run
against Windows servers.

But at the same time we want to allow tests to be useful for Samba
too...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/61e1b179812e48797146584998afc5bd0168beae">61e1b179</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: add assertElement*()

These helper functions make writing subsequent Kerberos test
clearer.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/34e079ce9a232a765fb3a2b25441434df35df54c">34e079ce</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: Allow prettyPrint of more RFC-defined values

By setting krb5_asn1.APOptions.prettyPrint = BitString_NamedValues_prettyPrint
we allow the BitString_NamedValues_prettyPrint() routine to show more named values.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3abb3b41368666535a216a98c3e7d15a5d498f7e">3abb3b41</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: Allow prettyPrint of more MS-KILE-defined values

By setting krb5_asn1.APOptions.prettyPrint = BitString_NamedValues_prettyPrint
we allow the BitString_NamedValues_prettyPrint() routine to show more named values.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b03fcfeb6c005936818ce50d511e9f9cc75aa9fb">b03fcfeb</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: split KDC_REQ_BODY_create() from KDC_REQ_create()

This allows us to reuse body in future and calculate checksums on it.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee2ac2b8ccafe3e6d560d893a4135a28e393914d">ee2ac2b8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: add KERB_PA_PAC_REQUEST_create()

This allows building the pre-authentication data that encodes
the request for the KDC (or more likely a request not to include)
the KRB5 PAC in the resulting ticket.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e3905035847a5268c1a65366830cc739280ae437">e3905035</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: add methods to iterate over etype permutations

It's often useful to run tests over a lot of input parameter
permutations.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/69ce2a6408f78d41eb865b89726021ad7643b065">69ce2a64</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: Add TicketDecryptionKey_from_creds()

This will allow building test_as_req_enc_timestamp()

It also introduces ways to specify keys in hex formated environment
variables ${PREFIX}_{AES256,AES128,RC4}_KEY_HEX.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6e2f2adc8e825634780077e24a9e437bdc68155a">6e2f2adc</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: introduce a _generic_kdc_exchange() infrastructure

This will allow us to write tests, which will all cross check almost
every aspect of the KDC response (including encrypted parts).

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/01d86954d217e38be333aa1ce7db1d3d9059cd4c">01d86954</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/as_req_tests.py: add new tests to cover more of the AS-REQ protocol

Example commands:

Windows 2012R2:
SERVER=172.31.9.188 STRICT_CHECKING=1 DOMAIN=W2012R2-L6 REALM=W2012R2-L6.BASE CLIENT_USERNAME=ldaptestuser CLIENT_PASSWORD=a1B2c3D4 CLIENT_AS_SUPPORTED_ENCTYPES=28 python/samba/tests/krb5/as_req_tests.py AsReqKerberosTests
SERVER=172.31.9.188 STRICT_CHECKING=1 DOMAIN=W2012R2-L6 REALM=W2012R2-L6.BASE CLIENT_USERNAME=administrator CLIENT_PASSWORD=A1b2C3d4 CLIENT_AS_SUPPORTED_ENCTYPES=4 python/samba/tests/krb5/as_req_tests.py AsReqKerberosTests

Windows 2008R2:
SERVER=172.31.9.133 STRICT_CHECKING=1 DOMAIN=W4EDOM-L4 REALM=W4EDOM-L4.BASE CLIENT_USERNAME=cifsmount CLIENT_PASSWORD=A1b2C3d4-08 CLIENT_AS_SUPPORTED_ENCTYPES=28 python/samba/tests/krb5/as_req_tests.py AsReqKerberosTests
SERVER=172.31.9.133 STRICT_CHECKING=1 DOMAIN=W4EDOM-L4 REALM=W4EDOM-L4.BASE CLIENT_USERNAME=administrator CLIENT_PASSWORD=A1b2C3d4 CLIENT_AS_SUPPORTED_ENCTYPES=4 python/samba/tests/krb5/as_req_tests.py AsReqKerberosTests

Samba 4.14:
SERVER=172.31.9.163 STRICT_CHECKING=0 DOMAIN=W4EDOM-L4 REALM=W4EDOM-L4.BASE CLIENT_USERNAME=cifsmount CLIENT_PASSWORD=A1b2C3d4-08 CLIENT_AS_SUPPORTED_ENCTYPES=28 python/samba/tests/krb5/as_req_tests.py AsReqKerberosTests
SERVER=172.31.9.163 STRICT_CHECKING=0 DOMAIN=W4EDOM-L4 REALM=W4EDOM-L4.BASE CLIENT_USERNAME=administrator CLIENT_PASSWORD=A1b2C3d4 CLIENT_AS_SUPPORTED_ENCTYPES=4 python/samba/tests/krb5/as_req_tests.py AsReqKerberosTests

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d91665d33130aed11fa82d8d2796ab1627e04dc4">d91665d3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: run new as_req_tests against fl2008r2dc and fl2003dc

There are a lot of things we should improve in our KDC
in order to work like a Windows KDC.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5412bffb9b4fc13023e650bbc9436a79b60b6fa2">5412bffb</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/kdc_base_test.py: Defer account deletion until tearDownClass() is called

This allows accounts created for permutation tests to be reused, rather
than having to be recreated for every test.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5afae39da0ab408bb36dde3a7801634bd9cc24f6">5afae39d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: Add get_admin_creds()

This method allows obtaining credentials that can be used for
administrative tasks such as creating accounts.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f5566be4839838e0e3e501a030bcf6e85ff5159">4f5566be</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/kdc_base_test.py: Create database connection only when needed

Now the database connection is only created on its first use, which
means database credentials are no longer required for tests that don't
make use of it.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/364f1ce8d8221cb8926635fc864db782cee61cf9">364f1ce8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/kdc_base_test.py: Remove 'credentials' class attribute

Credentials for tests are now obtained using the get_user_creds()
method.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/210e544016a3a4de1cdb76ce28a2148811ff07eb">210e5440</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/kdc_base_test.py: Create loadparm only when needed

Now the .conf file is only loaded on its first use, which means that
SMB_CONF_PATH need not be defined for tests that don't make use of it.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d4a0ed21be49d13c2b815582f2d04f0c058bf3a">7d4a0ed2</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/kdc_base_test.py: Add methods to determine supported encryption types

This is done based on the domain functional level, which corresponds to
the logic Samba uses to decide whether or not to generate a
Primary:Kerberos-Newer-Keys element for the supplementalCredentials
attribute.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f2ddd3c97e3ff243c8bd0c17299f27b761f5e7f">1f2ddd3c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: Add method to obtain Kerberos keys over DRS

This requires admin credentials, and removes the need to pass these keys
as environment variables.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/948bbc9cecbfc1b33a338891d26a4a706864b9c6">948bbc9c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: Make env_get_var() a standalone method

This allows it to be used elsewhere in the tests.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6a77c2b93315503008627ce786388f281bd6bb87">6a77c2b9</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: Add allow_missing_keys parameter for getting creds

This allows us to require encryption keys in the case that a password
would not be required, such as for the krbtgt account.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/22a90aea82ba6ef86bde835f2369daa6e23ed2fd">22a90aea</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: Cache obtained credentials

If credentials are used more than once, we can now use the credentials
that we already obtained and so avoid fetching them again.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e1601f2b56f09a944c5cfb119502fdcf49a03c99">e1601f2b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: Allow specifying a fallback credentials function

This allows us to use other methods of obtaining credentials if getting
them from the environment fails.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ec5c2b040b63d06a17bcd7bd133c2d68d07df587">ec5c2b04</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: Simplify conditionals

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd45bea7a88837cbe4f99adf3a6b3f69ce32f34c">fd45bea7</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/kdc_base_test.py: Add fallback methods to obtain client and krbtgt credentials

Now if the client credentials are not supplied in the environment, we
can fall back to creating a new user account. Similarly, if the krbtgt
credentials are not supplied, we can fetch the credentials of the
existing krbtgt account.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0fd71ed3c37c8cf326f9f676b7fddda3d2d24072">0fd71ed3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/as_req_tests.py: Automatically obtain credentials

The credentials for the client and krbtgt accounts are now fetched
automatically rather than using environment variables, and the client
account is now automatically created.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d5e350a4a490fecf570f1c248c9dde1466796166">d5e350a4</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/as_req_tests.py: add simple test_as_req_enc_timestamp test

Example commands:

Windows 2012R2:
SERVER=172.31.9.188 SMB_CONF_PATH=/dev/null STRICT_CHECKING=1 DOMAIN=W2012R2-L6 REALM=W2012R2-L6.BASE CLIENT_USERNAME=ldaptestuser CLIENT_PASSWORD=a1B2c3D4 CLIENT_AS_SUPPORTED_ENCTYPES=28 KRBTGT_KVNO=2 KRBTGT_AES256_KEY_HEX=2eb6d146a2653d333cdbfb641a4efbc3de81af49e878e112bb4f6cbdd73fca52 KRBTGT_RC4_KEY_HEX=4e6d99c30e5fab901ea71f8894289d3b python/samba/tests/krb5/as_req_tests.py AsReqKerberosTests
SERVER=172.31.9.188 SMB_CONF_PATH=/dev/null STRICT_CHECKING=1 DOMAIN=W2012R2-L6 REALM=W2012R2-L6.BASE CLIENT_USERNAME=administrator CLIENT_PASSWORD=A1b2C3d4 CLIENT_AS_SUPPORTED_ENCTYPES=4 KRBTGT_KVNO=2 KRBTGT_AES256_KEY_HEX=2eb6d146a2653d333cdbfb641a4efbc3de81af49e878e112bb4f6cbdd73fca52 KRBTGT_RC4_KEY_HEX=4e6d99c30e5fab901ea71f8894289d3b python/samba/tests/krb5/as_req_tests.py AsReqKerberosTests
SERVER=172.31.9.188 SMB_CONF_PATH=/dev/null STRICT_CHECKING=1 DOMAIN=W2012R2-L6 REALM=W2012R2-L6.BASE ADMIN_USERNAME=administrator ADMIN_PASSWORD=A1b2C3d4 python/samba/tests/krb5/as_req_tests.py
SERVER=172.31.9.188 SMB_CONF_PATH=/dev/null STRICT_CHECKING=1 DOMAIN=W2012R2-L6 REALM=W2012R2-L6.BASE ADMIN_USERNAME=administrator ADMIN_PASSWORD=A1b2C3d4 CLIENT_USERNAME=administrator CLIENT_PASSWORD=A1b2C3d4 CLIENT_AS_SUPPORTED_ENCTYPES=4 CLIENT_KVNO=1 python/samba/tests/krb5/as_req_tests.py
SERVER=172.31.9.188 SMB_CONF_PATH=/dev/null STRICT_CHECKING=1 DOMAIN=W2012R2-L6 REALM=W2012R2-L6.BASE ADMIN_USERNAME=administrator ADMIN_PASSWORD=A1b2C3d4 CLIENT_USERNAME=ldaptestuser CLIENT_PASSWORD=a1B2c3D4 CLIENT_AS_SUPPORTED_ENCTYPES=28 CLIENT_KVNO=4 python/samba/tests/krb5/as_req_tests.py

Windows 2008R2:
SERVER=172.31.9.133 SMB_CONF_PATH=/dev/null STRICT_CHECKING=1 DOMAIN=W4EDOM-L4 REALM=W4EDOM-L4.BASE CLIENT_USERNAME=cifsmount CLIENT_PASSWORD=A1b2C3d4-08 CLIENT_AS_SUPPORTED_ENCTYPES=28 CLIENT_KVNO=17 KRBTGT_KVNO=2 KRBTGT_AES256_KEY_HEX=550aea2ea2719cb81c87692569796d1b3a099d433a93438f53bee798cc2f83be KRBTGT_RC4_KEY_HEX=dbc0d1feaaca3d5abc6794857b7f6fe0 python/samba/tests/krb5/as_req_tests.py
SERVER=172.31.9.133 SMB_CONF_PATH=/dev/null STRICT_CHECKING=1 DOMAIN=W4EDOM-L4 REALM=W4EDOM-L4.BASE CLIENT_USERNAME=administrator CLIENT_PASSWORD=A1b2C3d4 CLIENT_AS_SUPPORTED_ENCTYPES=4 CLIENT_KVNO=1 KRBTGT_KVNO=2 KRBTGT_AES256_KEY_HEX=550aea2ea2719cb81c87692569796d1b3a099d433a93438f53bee798cc2f83be KRBTGT_RC4_KEY_HEX=dbc0d1feaaca3d5abc6794857b7f6fe0 python/samba/tests/krb5/as_req_tests.py
SERVER=172.31.9.133 SMB_CONF_PATH=/dev/null STRICT_CHECKING=1 DOMAIN=W4EDOM-L4 REALM=W4EDOM-L4.BASE ADMIN_USERNAME=administrator ADMIN_PASSWORD=A1b2C3d4 CLIENT_USERNAME=administrator CLIENT_PASSWORD=A1b2C3d4 CLIENT_AS_SUPPORTED_ENCTYPES=4 CLIENT_KVNO=1 python/samba/tests/krb5/as_req_tests.py
SERVER=172.31.9.133 SMB_CONF_PATH=/dev/null STRICT_CHECKING=1 DOMAIN=W4EDOM-L4 REALM=W4EDOM-L4.BASE ADMIN_USERNAME=administrator ADMIN_PASSWORD=A1b2C3d4 CLIENT_USERNAME=cifsmount CLIENT_PASSWORD=A1b2C3d4-08 CLIENT_AS_SUPPORTED_ENCTYPES=28 CLIENT_KVNO=17 python/samba/tests/krb5/as_req_tests.py
SERVER=172.31.9.133 SMB_CONF_PATH=/dev/null STRICT_CHECKING=1 DOMAIN=W4EDOM-L4 REALM=W4EDOM-L4.BASE ADMIN_USERNAME=administrator ADMIN_PASSWORD=A1b2C3d4 python/samba/tests/krb5/as_req_tests.py

Samba:
SERVER=172.31.9.163 SMB_CONF_PATH=/dev/null STRICT_CHECKING=0 DOMAIN=W4EDOM-L4 REALM=W4EDOM-L4.BASE CLIENT_USERNAME=cifsmount CLIENT_PASSWORD=A1b2C3d4-08 CLIENT_AS_SUPPORTED_ENCTYPES=28 CLIENT_KVNO=17 KRBTGT_KVNO=2 KRBTGT_AES256_KEY_HEX=550aea2ea2719cb81c87692569796d1b3a099d433a93438f53bee798cc2f83be KRBTGT_RC4_KEY_HEX=dbc0d1feaaca3d5abc6794857b7f6fe0 python/samba/tests/krb5/as_req_tests.py
SERVER=172.31.9.163 SMB_CONF_PATH=/dev/null STRICT_CHECKING=0 DOMAIN=W4EDOM-L4 REALM=W4EDOM-L4.BASE CLIENT_USERNAME=administrator CLIENT_PASSWORD=A1b2C3d4 CLIENT_AS_SUPPORTED_ENCTYPES=4 CLIENT_KVNO=1 KRBTGT_KVNO=2 KRBTGT_AES256_KEY_HEX=550aea2ea2719cb81c87692569796d1b3a099d433a93438f53bee798cc2f83be KRBTGT_RC4_KEY_HEX=dbc0d1feaaca3d5abc6794857b7f6fe0 python/samba/tests/krb5/as_req_tests.py
SERVER=172.31.9.163 SMB_CONF_PATH=/dev/null STRICT_CHECKING=0 DOMAIN=W4EDOM-L4 REALM=W4EDOM-L4.BASE ADMIN_USERNAME=administrator ADMIN_PASSWORD=A1b2C3d4 CLIENT_USERNAME=administrator CLIENT_PASSWORD=A1b2C3d4 CLIENT_AS_SUPPORTED_ENCTYPES=4 CLIENT_KVNO=1 python/samba/tests/krb5/as_req_tests.py
SERVER=172.31.9.163 SMB_CONF_PATH=/dev/null STRICT_CHECKING=0 DOMAIN=W4EDOM-L4 REALM=W4EDOM-L4.BASE ADMIN_USERNAME=administrator ADMIN_PASSWORD=A1b2C3d4 CLIENT_USERNAME=cifsmount CLIENT_PASSWORD=A1b2C3d4-08 CLIENT_AS_SUPPORTED_ENCTYPES=28 CLIENT_KVNO=17 python/samba/tests/krb5/as_req_tests.py
SERVER=172.31.9.163 SMB_CONF_PATH=/dev/null STRICT_CHECKING=0 DOMAIN=W4EDOM-L4 REALM=W4EDOM-L4.BASE ADMIN_USERNAME=administrator ADMIN_PASSWORD=A1b2C3d4 python/samba/tests/krb5/as_req_tests.py

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d4c38678e0cc782965edfe40a0423fafb7d5a5ff">d4c38678</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/as_req_tests.py: Check the client kvno

Ensure we have the correct kvno for the client, rather than an 'unknown'
value.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/381223117e0bae4c348d538bffaa8227b18ef3d1">38122311</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/raw_testcase.py: Check for an explicit 'unspecified kvno' value

This is clearer than using the constant zero, which could be mistaken
for a valid kvno value.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e621dcb6966f75034bb948a2705358d43454202">3e621dcb</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Deduplicate 'host' attribute initialisation

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fc857ea60e2a66d20d4174cb121e0a6949f8a0c1">fc857ea6</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5/as_canonicalization_tests.py: Refactor account creation

Making this test a subclass of KDCBaseTest allows us to make use of its
methods for obtaining credentials and creating accounts, which helps to
eliminate some duplicated code.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ab221c1b3e24696aa0eed6aa970f310447657069">ab221c1b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Use admin creds for SamDB rather than user creds

This makes the purpose of each set of credentials more consistent, and
makes some tests more convenient to run standalone as they no longer
require user credentials.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf71fa038e9b97f770e06e88226e885d67342d47">bf71fa03</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-07-01T17:46:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/krb5/kdc-heimdal: Automatically determine AS-REP enctype to check against

This enables us to more easily switch to a different algorithm to find
the strongest key in _kdc_find_etype().

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b3ee034b4d457607ef25a5b01da64e1eaf5906dd">b3ee034b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-01T18:37:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: prefer newer enctypes for preauth responses

This matches Windows KDCs, which was demonstrated by the
krb5.as_req_tests tests.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jul  1 18:37:14 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/edcb095c623a72fac049b6b1b2ab96f13c0a3c8a">edcb095c</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2021-07-02T11:45:48+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Remove extra new line in keytab list output

net ads keytab list prints extra new line for uknown encoding types,
so it spans over two lines, instead over a single line:

  1  AES-128 CTS mode with 96-bit SHA-1 HMAC     ADDC$@ADDOM.SAMBA.EXAMPLE.COM
  1  UNKNOWN: 3
                                 ADDC$@ADDOM.SAMBA.EXAMPLE.COM

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Jul  2 11:45:48 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4e97e33c3b74d2d66420e9ef509431deae0e67a5">4e97e33c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Code inside non_widelink_open() breaks an invarient inside the VFS. Demonstrate this.

vfs_fruit isn't the bad guy here. It's just a convenient
place to show that non_widelink_open() violates:

fsp->base_fsp->fsp_name->fsp == fsp->base_fsp invarient

Add selftest/knownfail.d/fruit_vfs_invariant to show
what this breaks. Next patch will fix the non_widelink_open()
code and remove the knownfail.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6a366012aaedf400a438e97ffd5e875f0ee649d3">6a366012</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix fsp->base_fsp->fsp_name->fsp == fsp->base_fsp invarient in non_widelink_open().

Currently in master when we call into openat() in the VFS
we violate the invarient:

fsp->base_fsp->fsp_name->fsp == fsp->base_fsp.

The reason for this is subtle. Inside open.c:non_widelink_open()
we change the fsp->base_fsp to be relative to the new $cwd.

We do this by the following code in open.c:non_widelink_open():

        /* Also setup base_fsp to be relative to the new cwd */
        if (fsp->base_fsp != NULL) {
                base_smb_fname_rel = (struct smb_filename) {
                        .base_name = smb_fname_rel->base_name,
                };
                orig_base_fsp_name = fsp->base_fsp->fsp_name;
                fsp->base_fsp->fsp_name = &base_smb_fname_rel;
        }

Note that fsp->base_fsp->fsp_name now points at a
stack variable struct smb_filename, with smb_fname->fsp == NULL.

This fixes that problem by removing the horrid
stack based smb_filename and changing to use a
talloc'ed fsp->base_fsp->fsp_name, with
correctly linked fsp->base_fsp->fsp_name-> pointer.

Remove the selftest/knownfail.d/fruit_vfs_invariant
file as all vfs_fruit tests now pass again.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/53e0494958d0e444c19ef103231d8eba05b3a95e">53e04949</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: In ad_read_meta(), allow use of SMB_VFS_FGETXATTR() as well as SMB_VFS_GETXATTR().

Eventually we will guarantee a valid smb_fname->fsp here and
will remove SMB_VFS_GETXATTR().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6eaf027458aea1405331b59b71af51aca59f8cf0">6eaf0274</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fruit: Inside fruit_open_meta_netatalk() change to use fsp->base_fsp->fsp_name in ad_get() instead of smb_fname.

We know this will have a valid fsp within.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/342086d773cbd85c1683ab9fcb1a9c2b225c890f">342086d7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fruit: In fruit_stat_meta_netatalk(), move the call to fruit_stat_base() before the ad_get() call.

Both must succeed for a valid return, and we're next going
to replace ad_get() with a wrapper that calls openat_pathref_fsp(),
which needs a VALID_STAT().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b2d6ed290611e11150c5383edb18046ef1f58569">b2d6ed29</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fruit: In the fruit handle->fruit_config_data, add a recursion guard we will set before calling openat_pathref_fsp().

Not yet used.

Same technique as used to prevent recursion in stat calls in vfs_fake_acls.c
This will go away once SMB_VFS_STATX() is added and we can select exactly
what fields we are calling stat() to get.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18b49ad251fac4725aab0aca48d857d4d3853762">18b49ad2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fruit: Add helper function ad_get_meta_fsp().

Not yet used. We will use this to replace calls
to ad_get(..., ADOUBLE_META). It uses openat_pathref_fsp()
to get a handle before calling into ad_get(..., ADOUBLE_META).

Uses the recursion guard to prevent recursion into openat_pathref_fsp()
from stat calls within.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/88f3ced4e0e9ae1386f120d6b6247257672103ad">88f3ced4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fruit: In update_btime(), ad_get() -> ad_get_meta_fsp().

Uncomment ad_get_meta_fsp() as we're now using it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/99a2a1be1536f20981b8a55ff4a30076e93f264b">99a2a1be</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fruit: In readdir_attr_meta_finderi_netatalk(), ad_get() -> ad_get_meta_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d05087d4b8eae55997d97863458fd4490e7406b9">d05087d4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fruit: In fruit_stat_meta_netatalk(), ad_get() -> ad_get_meta_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6a8d052f7c7d198afa6e665cacb8c2b3b2f48eb1">6a8d052f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fruit: In fruit_streaminfo_meta_netatalk(), ad_get() -> ad_get_meta_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/27b8709cf91ae692273956b64f9f3939eb6d36cc">27b8709c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: adouble.c: In ad_read_meta() we can now guarantee a valid fsp.

There are now no more callers of SMB_VFS_GETXATTR().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3996f11270d9e5857fe21c93378eb0dd03e7c406">3996f112</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: cap: Remove cap_getxattr.

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eafc108bcbaf6340db1841909f228debcb017209">eafc108b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: catia: Remove catia_getxattr.

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3030f4799bc4f39109096460e563a7de9b38a4fd">3030f479</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: Remove cephwrap_getxattr.

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e4e26bb8f318041ceec7a2555c668f42fa5b833">2e4e26bb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph_snapshots: Remove ceph_snap_gmt_getxattr.

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7c35fa3466539ca57788c24bc0d7b87c0f27c481">7c35fa34</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: glusterfs: Remove vfs_gluster_getxattr.

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e9417e614541d63c1cf74077e6daa6c58524e96c">e9417e61</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: media_harmony: Remove mh_getxattr.

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6649e898497ad0f9455284f21aa5691501121335">6649e898</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: posix_eadb: Remove posix_eadb_getxattr.

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d46a293488d4abb98e9a18e73eb5d61b0af80150">d46a2934</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: shadow_copy2: Remove shadow_copy2_getxattr.

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/940aee8cb82367dc4f0e673bfe26544675e5f096">940aee8c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: snapper: Remove snapper_gmt_getxattr.

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d3403fe2186110be52a720cebc7a5c3c9c1fe0f">1d3403fe</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: unityed_media: Remove um_getxattr.

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f91fbc2aedd9b646ca17bea7f211a467cdf275de">f91fbc2a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: vxfs: Remove vxfs_get_xattr.

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce9cdeb3504e007557a870ae99d3a84c8a7b9c36">ce9cdeb3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: xattr_tdb: Remove xattr_tdb_getxattr.

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/99dd56c5fb5922eed9ec3181fc5ea092833e6f39">99dd56c5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T17:15:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: RIP SMB_VFS_GETXATTR()

                      .--. .-,       .-..-.__
                    .'(`.-` \_.-'-./`  |\_( "\__
                 __.>\ ';  _;---,._|   / __/`'--)
                /.--.  : |/' _.--.<|  /  | |
            _..-'    `\     /' /`  /_/ _/_/
             >_.-``-. `Y  /' _;---.`|/))))
            '` .-''. \|:  .'   __, .-'"`
             .'--._ `-:  \/:  /'  '.\             _|_
                 /.'`\ :;   /'      `-           `-|-`
                -`    |     |                      |
                      :.; : |                  .-'~^~`-.
                      |:    |                .' _     _ `.
                      |:.   |                | |_) | |_) |
                      :. :  |                | | \ | |   |
                      : ;   |                |           |
                      : ;   |                |  SMB_VFS  |
                      : ;   |                |  GETXATTR |
                      : ;   |                |           |
                    .jgs. : ;                |           |
            -."-/\\\/:::.    `\."-._'."-"_\\-|           |///."-
            " -."-.\\"-."//.-".`-."_\\-.".-\\`=.........=`//-".

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2458a20eacab4b02d3875df12bded2154293e92b">2458a20e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-04T18:01:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Update status of SMB_VFS_GETXATTR.

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sun Jul  4 18:01:16 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c84f7a0a6415afd3a2f407189bc716baa14b6765">c84f7a0a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dlz_bind9: fix a copy-pasted comment

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1741a0667bb0a282ec51d57e130aa128aa750d1a">1741a066</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dlz_bind9: insert missing words into error message

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f9564425f4b6796034c8db7974e70e33df054dc">6f956442</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns update: emit warnings upon unexpected occurrances

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6bd6b2e9f3b8633331037e5d6e5f1a9a4d387530">6bd6b2e9</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dnsserver/update: add a few comments

Really just signposts.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3a4cb8679a3e2834a1c87440a5acc2fddb0b8b92">3a4cb867</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py/dnsserver: TXTRecord copes with single strings

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7edeb5901b0c1715b32e33dcfb1ee5920b8b24ac">7edeb590</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dnsserver_common: comments about record sorting

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/602dd50b31daa754c3123a6adc2ccd36ca1875cc">602dd50b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns_common_replace: do logging in needs_add case

The idiom is we return via goto exit.

This was evidently missed from commit
7e2b71d8f7cf7ac72022e1b15c30fc30706e8375

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/26bb958af80199eda54e84d6ae427385d1843052">26bb958a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns_common_replace: comment in needs_add case

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/54b9271eb5e90c214c7009778ab22d60f9ee88eb">54b9271e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/dns_common_replace: add comments about tombstones

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7a111c1f35ee949d1f669fe7ea1394c6b3a52ee7">7a111c1f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns_server: free old zones when reloading

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b80f66f803554d25352413c24889a5f8fadef6d3">b80f66f8</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb-samba: dns tombstone matching: constrict value length

We know the only values we want to see are uint32, ie < ~4 billion
(and real values will be 7 digits for hundreds of years).

We also know the caller (we have just checked) is a trusted system
session which won't be padding the thing with spaces. But if they do,
let's call them out.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e6e3dc8bd3ad5ce07b27cf2e5f61c43601827168">e6e3dc8b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pydns: fix a comment in replace_by_dn()

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7c298ee89f8d3bcdeb8c4f1f951c524326191334">7c298ee8</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: dns update rejects malformed addresses

Because neither filling out the struct will not necessarily tell you
you got it wrong, and the RPC could succeed in setting an arbitrary
wrong address (typically, an IPv6 address would set an A record to
"255.255.255.255").

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d3731cd1681ebcfee60422d428f076182e483d3">9d3731cd</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns_common_replace: do not leak

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6d216dc365463fbcc4927bfc988ba52c16eef4cf">6d216dc3</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns update: zero flags and reserved

This is the observed behaviour on Windows.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0cb833b32c8bf9341da74ded6545d6674156c08e">0cb833b3</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzz: fix multiple comment headers

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/16c28b367d9edc760e62949f0eef34b8046ece75">16c28b36</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T04:16:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzz: add fuzz_parse_lpq_entry

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fc267567a072c9483bbcc5cc18e150244bc5376b">fc267567</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-07-05T05:07:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: avoid crash in LPRng_time

If the string is too shhort we don't want to atoi() whatever is beyond
the end of it.

Found using Honggfuzz and the fuzz_parse_lpq_entry fuzzer.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jul  5 05:07:13 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0388a8f33bdde49f1cc805a0291859203c1a52b4">0388a8f3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-05T23:00:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gensec_krb5: restore ipv6 support for kpasswd

We need to offer as much space we have in order to
get the address out of tsocket_address_bsd_sockaddr().

This fixes a regression in commit
43c808f2ff907497dfff0988ff90a48fdcfc16ef.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7c3bb491baf7d6f10760fb42b34a990e3806df9c">7c3bb491</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-05T23:51:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Consistantly use kinit -c $KRB5CCNAME

We want to be really clear which credentials cache we use.

The kerberos_kinit() shell function uses this internally.

-c is the common option between MIT and Heimdal, and is
equivilant to --cache

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jul  5 23:51:43 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/00bab5b3c821f272153a25ded9743460887a7907">00bab5b3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-06T11:08:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbXsrv_{open,session,tcon}: protect smbXsrv_{open,session,tcon}_global_traverse_fn against invalid records

I saw systems with locking.tdb records being part of:
  ctdb catdb smbXsrv_tcon_global.tdb

It's yet unknown how that happened, but we should not panic in srvsvc_*
calls because the info0 pointer was NULL.

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

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 Jul  6 11:08:43 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/740a217264f10c5f3a9ecac8aab8727e45ff885d">740a2172</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-07T05:07:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party:cmocka: Fix build when used in lib/tevent

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5203e70ada0d5727591e80a11f941828a0bbadda">5203e70a</a></strong>
<div>
<span>by Pavel Březina</span>
<i>at 2021-07-07T05:07:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tevent: add support for cmocka unit tests

This adds a placeholder for new cmocka tests for tevent. Tests
are added in individual commits.

Signed-off-by: Pavel Březina <pbrezina@redhat.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fc9dd8ce9f0ae2a7ae972035e56c4c4f9028e261">fc9dd8ce</a></strong>
<div>
<span>by Pavel Březina</span>
<i>at 2021-07-07T05:07:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tevent: add custom tag to events

Adds a new API to set and get an uint64_t tag on fd, timer, signal and
immediate events. This can be used to assign a unique and known id to
the event to allow easy tracking of such event.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Pavel Březina <pbrezina@redhat.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/683c44a79f09550a59e99606c9c80304666604a0">683c44a7</a></strong>
<div>
<span>by Pavel Březina</span>
<i>at 2021-07-07T05:07:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tevent: add event trace api

Adds new tracing API to trace fd, timer, signal and immediate events
on specific trace points: attach, before handler and dettach.

This can be used in combination with the event tag to keep track
of the currently executed event for purpose of debugging.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Pavel Březina <pbrezina@redhat.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de4e8a1af9564f6056f9af90867c2f013449051c">de4e8a1a</a></strong>
<div>
<span>by Pavel Březina</span>
<i>at 2021-07-07T05:07:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tevent: bump the version number to 0.11.0

* Other minor build fixes.
* Add custom tag to events
* Add event trace api

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Pavel Březina <pbrezina@redhat.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ced1d018ce1957633d8defe3597fbb5eba32ca17">ced1d018</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-07T05:54:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add editorconfig config file

See https://editorconfig.org/ for details.

(neo)vim: https://github.com/editorconfig/editorconfig-vim
emacs:    https://github.com/editorconfig/editorconfig-emacs

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Jul  7 05:54:16 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/372e1f30305c70febdb7a8143d6917b312b1d0de">372e1f30</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-07T14:10:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:tests: Fix wbinfo_lookuprids_cache test with system tdb-tools

If libtdb is used from the system, we should use those tools by default.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d5a0ba473c06892af21523c3bd849afb3847d44b">d5a0ba47</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-07T14:10:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add the trusted domain realms to krb5.conf

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b2b5c8f68a3e46bcebe5297522df94033375346">4b2b5c8f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-07T14:10:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Rename TRUST_CREDS variables in test_trust_utils.sh

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d71afb4e6dc53e951ca9f9a298a507f2db2f2b4">8d71afb4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-07T14:10:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Show that DOM\user and REALM\user work for auth

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/194d726a800e167366b37d69e69d8521df083b18">194d726a</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2021-07-07T14:10:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Fix "outgoing" test in kinit_trust heimdal

Found by the test not failing in one-way trust.

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a5012df86145cb13851c3b65a1c2ece39b062a03">a5012df8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-07T14:10:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: fl2000dc: Add outgoing trust from fl2000dc to ad_dc

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7e9c97ba1cd960df2688718561c4a117b79b259b">7e9c97ba</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2021-07-07T15:01:22+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add test for one-way trust wbinfo auth

Signed-off-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Jul  7 15:01:22 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/252275f3a6b5d81d23ca0eb35bcb67c2d01dd807">252275f3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-08T09:30:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:tdb: Fix a memory leak on error

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0c94e48c6447249b0ed8858bde5463f524948bf6">0c94e48c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-08T09:30:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Remove unused simple.c file

This code is tested by the cmocka unit test:
auth/credentials/tests/test_creds.c

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f1181ade37961fea0deb6c99635b8f8c8c508d47">f1181ade</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-07-08T09:30:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Map ECANCELED to NT_STATUS_CANCELLED

Now map_nt_error_from_unix() returns the same value as
map_nt_error_from_unix_common().

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2b8c73b5494e0a12834e2189b2e89b30ef92d19d">2b8c73b5</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-07-08T09:30:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Move map_errno_from_nt_status from s3 lib to common libcli

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f0a1f1789c3c96a654ccaa0f803e247070be117b">f0a1f178</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-08T09:30:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture/ndr: make check functions typesafe

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb60901604cd2f2e45acb609281b5a52b0b39aea">cb609016</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-08T09:30:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture/ndr: add more details to the test names

We can have more than one blob for a given idl function
and we should avoid using the same name for all of them.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cf1baa8be90a3f141d07da430146f06cbd2d1e09">cf1baa8b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-08T09:30:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture/ndr: reproduce a problem with witness_AsyncNotify

Credit Oss-Fuzz

REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22175
REF: https://oss-fuzz.com/testcase-detail/5686294157197312

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8cce23acb9f9bdde8bff3c3a7ffa83361e3a64a6">8cce23ac</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-08T09:30:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">witness.idl: fix length calculation for witness_IPaddrInfoList

If r->num is 0, we should not dereference r->addr.

Using ndr_size_witness_IPaddrInfoList() also make this much simpler
and avoids the magic 12.

Credit Oss-Fuzz

REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22175
REF: https://oss-fuzz.com/testcase-detail/5686294157197312

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/51012692703776d7fde15284cc0e8af71b15ac55">51012692</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-07-08T10:21:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/tsocket: Free subreq as soon as possible

This is not a memory leak as it is freed when the parent req's state is
freed, but will help in low memory situations.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jul  8 10:21:25 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/595d12ca7b13b7ef7a00a77117841178422bc46f">595d12ca</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-07-08T12:44:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Print dns_update_cache path into the logs

This sometimes get stuck in a loop and this may help debug it.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jul  8 12:44:49 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b5427f4ce54793c9ea8f91b272f21e860c21a948">b5427f4c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-07-08T14:43:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: samba-tool without ad-dc

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Thu Jul  8 14:43:11 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/44aba9c7cabedf7b5a01fb9c5f3099125dd70602">44aba9c7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-07-12T15:11:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: ensure the attrlist_t array is large enough for a NULL sentinel

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Jul 12 15:11:42 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/147dd9d58a429695a3b6c6e45c8b0eaafc67908a">147dd9d5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-12T21:25:21+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: let smb2_negotiate_context_parse() only parse the expected number of contexts

Any garbage at the end needs to be ignored.

This fixes the Negotiate_SMB311_ContextID_NetName test from:
https://github.com/microsoft/WindowsProtocolTestSuites/blob/main/TestSuites/FileServer/src/SMB2/TestSuite/Negotiate/Negotiation.cs#L730

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Jul 12 21:25:21 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0657db26447ad9b0d2130fe07163e953eba2bcc2">0657db26</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-13T08:11:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Explicitly code the semantics of "dos filemode" into the chown code.

We actually don't need this to get the right semantics, as the open or the
set_sd() code catches the correct cases and returns ACCESS_DENIED, but it
makes me much happier to see the prerequisites needed expressed in code here
right at the point of use.

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Jul 13 08:11:36 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/03e36502f450d14656a824b36c33607ff418f0bf">03e36502</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: fruit. In ad_get_meta_fsp(), we only need a handle on the base file, not the stream.

We'll be calling SMB_VFS_FGETXATTR() on the base fsp anyway.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40cf129abb51fa18a3bb6553da9c544f4d2d1f14">40cf129a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_xattr: In streams_xattr_stat() use synthetic_pathref() with basename

Remove my poor imitation of synthetic_pathref(), just call the real thing..

We need to go through the full VFS stack here to get
the ino correct to get the fsp handle.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18a30d939e6f7d49300f235385953412f9e971b9">18a30d93</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: canonicalize SMB_VFS_FSTAT() stat buffer

This helps code inside any module implementing fstat() looking at
fsp->fsp_name->st instead of the passed in stat buf.

I only ran afoul of this in a DEBUG message I added while debugging some inode
related problem.

No change in behaviour.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c9ae4b78cd0d5a3686e79a7497fd3da9f87a307">2c9ae4b7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: put back dev/ino stat/fstat check in openat_pathref_fsp()

This reverts commit a6df051dd5e8c63f2fdfdb20ee01169d2bdb97dd:

  "s3: smbd: In openat_pathref_fsp(), just check we're opening the same file type, not dev and inode."

The prior changes mean we can go back to checking dev/ino
matches.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b32e56d6eb29bfb5f368602edbc10d4b8bc9b4f0">b32e56d6</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: update smb_fname statinfo from fsp

fd_openat() has done an FSTAT on the handle so update the smb_fname stat info
with "truth".  from the handle.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/745ded9afe12fda6d45638097a32b01122748649">745ded9a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: pass smbclient arg to samba3.blackbox.shadow_copy_torture test

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0a0b438b8ab534eeb552a58ad72a714988e84d89">0a0b438b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: enable "shadow:fixinodes" in "shadow_write" share

The existing tests don't care and this will be used in a subsequent commit to
demonstrate that this option is currently broken.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3aabc9825ca108641c2becf322fa0bd90ea18424">3aabc982</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: simplify snapshot directory creation in test_shadow_copy_torture.sh

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4a7e483c516cf2b9767919a764f05c43f4620cd7">4a7e483c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add a test for shadow:fixinodes

This will fail with

  Failed to open file \@GMT-2015.10.31-19.40.30\subdir\hardlink. NT_STATUS_ACCESS_DENIED

The open is failing in openat_pathref_fsp():

  [2021/07/06 04:58:17.677104, 10, pid=95070, effective(1000, 1000), real(1000, 0)] ../../source3/smbd/files.c:541(openat_pathref_fsp)
    openat_pathref_fsp: file [subdir/hardlink {@GMT-2015.10.31-19.40.30}] - dev/ino mismatch. Old (dev=64770, ino=3826943444). New (dev=64770, ino=1746568660).
  [2021/07/06 04:58:17.677114, 10, pid=95070, effective(1000, 1000), real(1000, 0)] ../../source3/smbd/files.c:568(openat_pathref_fsp)
    openat_pathref_fsp: Opening pathref for [subdir/hardlink {@GMT-2015.10.31-19.40.30}] failed: NT_STATUS_ACCESS_DENIED

The reason is subtle:

shadow_copy2 calculates inode numbers of snapshot files based on the path of the
file. The result of that when doing a path based stat() from filename_convert()
was

  [2021/07/06 04:58:17.676159, 10, pid=95070, effective(1000, 1000), real(1000, 0)] ../../source3/smbd/filename.c:1945(filename_convert_internal)
    filename_convert_internal: XXX smb_fname [subdir/hardlink {@GMT-2015.10.31-19.40.30}] (dev=64770, ino=3826943444).

which is the "Old" inode shown above.

Later in the open code called from openat_pathref_fsp() -> fd_openat() ->
non_widelink_open() since 4.14 we call SMB_VFS_FSTAT() where fsp->fsp_name will
be set to the new relative *basename* of the file:

  [2021/07/06 04:58:17.676917, 10, pid=95070, effective(1000, 1000), real(1000, 0), class=vfs] ../../source3/modules/vfs_default.c:1302(vfswrap_fstat)
    vfswrap_fstat: XXX fsp [hardlink {@GMT-2015.10.31-19.40.30}] (dev=64770, ino=3826943444)

So for stat() the hash function in called with the full path relative to the share
root:

  subdir/hardlink

while for fstat() the hash function will used

  hardlink

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c7d6745858f2efdd24ed6fd353ec5ece898033fa">c7d67458</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_shadow_copy2: ensure we call convert_sbuf() in shadow_copy2_*stat() on already converted paths with absolute path

shadow_copy2_strip_snapshot() will happily return without modifying the passed
timestamp=0 if the path is already converted and refers to an object in a
snapshot, eg (first debug line from extra debugging patch [1]):

[10 2021/07/02 08:19:28.811424 pid=738290 ../../source3/modules/vfs_shadow_copy2.c:1303 shadow_copy2_fstat]
  shadow_copy2_fstat: fsp [test.txt {@GMT-2000.01.02-03.04.05}]
[10 2021/07/02 08:19:28.811449 pid=738290 ../../source3/modules/vfs_shadow_copy2.c:607 _shadow_copy2_strip_snapshot_internal]
  _shadow_copy2_strip_snapshot_internal: [from shadow_copy2_fstat()] Path 'test.txt {@GMT-2000.01.02-03.04.05}'
[10 2021/07/02 08:19:28.811474 pid=738290 ../../source3/modules/vfs_shadow_copy2.c:619 _shadow_copy2_strip_snapshot_internal]
  _shadow_copy2_strip_snapshot_internal: abs path '/gpfs0/smb_snapshots2/filesetone/.snapshots/@GMT-2000.01.02-03.04.05/test.txt'
[10 2021/07/02 08:19:28.811496 pid=738290 ../../source3/modules/vfs_shadow_copy2.c:1924 shadow_copy2_snapshot_to_gmt]
  shadow_copy2_snapshot_to_gmt: match @GMT-%Y.%m.%d-%H.%M.%S: @GMT-2000.01.02-03.04.05
[10 2021/07/02 08:19:28.811536 pid=738290 ../../source3/modules/vfs_shadow_copy2.c:566 check_for_converted_path]
  check_for_converted_path: path |/gpfs0/smb_snapshots2/filesetone/.snapshots/@GMT-2000.01.02-03.04.05/test.txt| is already converted. connect path = |/gpfs0/smb_snapshots2/filesetone/.snapshots/@GMT-2000.01.02-03.04.05|

As check_for_converted_path() detects an "already converted path",
_shadow_copy2_strip_snapshot_internal() just returns without modifying the value
of the timestamp.

By using shadow_copy2_strip_snapshot_converted() instead of
shadow_copy2_strip_snapshot() we can check if the path is in fact referring to a
VSS object by checking the "converted" bool.

An alternative way would have been directly checking fsp->fsp_name->twrp != 0,
but that would be a new semantic in the module, I'll leave this excersize for
the future when we clean up the usage of shadow_copy2_strip_snapshot() in the
whole module.

This change also switches to using the absolute paths in both place where
convert_sbuf() is called.

[1]
@@ -1309,8 +1348,16 @@ static int shadow_copy2_fstat(vfs_handle_struct *handle, files_struct *fsp,
                saved_errno = errno;
        }

+       DBG_DEBUG("fsp [%s]\n", fsp_str_dbg(fsp));

RN: vfs_shadow_copy2 fixinodes not correctly updating inode numbers
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14756

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f66d3621f5e7f9549a52b975e59a4984726ec58d">f66d3621</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: expect fstatat() and dirfd()

FreeBSD, AIX and Solaris all have this.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8804d240fac3ffe58a5c43b23c842fa6bde61e27">8804d240</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: Add sys_fstatat() wrapper.

Does the usual things we need with fake_dir_create_times.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cc6e433b1beb3e6a9641f28e97731d53c4ded744">cc6e433b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: default. Fix vfswrap_readdir() to use sys_fstatat().

Change struct stat st -> SMB_STRUCT_STAT st
and just copy the struct on success, as sys_fstatat()
already does the init_stat_ex_from_stat() for us.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/106beab5bfe9b82b7af69842a828a18fa0da1b71">106beab5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s2: VFS: default. Fix vfswrap_read_dfs_pathat() to use fsp_get_pathref_fd() not fsp_get_io_fd().

We don't need an io fd here, and we only get away
with it as we have the assert above:

SMB_ASSERT(dirfsp == dirfsp->conn->cwd_fsp);

This will be removed next.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9fa5e171b96de569ec46f09743f98eeb5de38dfb">9fa5e171</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: default. In vfswrap_read_dfs_pathat() use sys_fstatat().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4da6a9f4e66f4222dfa819125289de0aacdfaa2d">4da6a9f4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: default. In vfswrap_read_dfs_pathat(), cope with relative pathnames.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac0ff0e1fe96d474ad9e5718683f068968061512">ac0ff0e1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: cap: Fix cap_read_dfs_pathat() to cope with relative paths.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/43970634cff9d60ae670710951f32f27c697efc7">43970634</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph: In cephwrap_read_dfs_pathat(), cope with relative pathnames.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/288eec969ee805298f40ab1cc27aaf04ed32f3ed">288eec96</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: full_audit. In smb_full_audit_read_dfs_pathat(), cope with relative pathnames.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a3664ca2e0707dbfcc9cf734682870cb05dc7b92">a3664ca2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: glusterfs. In vfs_gluster_read_dfs_pathat(), cope with relative pathnames.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/84070c3e8dfff0c176b9c9a75a337239904a0ffa">84070c3e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: shadow_copy2. In shadow_copy2_read_dfs_pathat(), cope with relative pathnames.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/165d0998c76662b5d40d6f76a5abad850b979a4c">165d0998</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: time_audit. In smb_time_audit_read_dfs_pathat(), cope with relative pathnames.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/523bc61c9d27d395a1cceb7bcc7efc3e82fe14d0">523bc61c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In smbd_dirptr_get_entry(), postpone TALLOC_FREE(atname) as we're going to pass this to mode_fn().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/88e56a71c659d2fb51edcce335ca45acd33dbee4">88e56a71</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Pass dirfsp, atname down to mode_fn() passed to smbd_dirptr_get_entry().

Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b71ead1cc096eaf28edfd2c30f374a89c30f7b7">3b71ead1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add dirfsp, atname parameters to check_msdfs_link().

Replace the old connection_struct *conn parameter.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c62807e3e1ad9635c0740ee12f3588a4ce2e9a6c">c62807e3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In is_msdfs_link(), change to dirfsp, atname parameters.

Remember to update the smb_fname->st struct inside check_msdfs_link(),
as we now pass the atname to is_msdfs_link(), not the smb_fname.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f35c6a48fc5a186d477230e465a9b6f71d56e245">f35c6a48</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In dfs_path_lookup(), use relative dirfsp, atname lookups in SMB_VFS_READ_DFS_PATHAT() for the whole path optimization.

Note parent_pathref() must succeed before we can call SMB_VFS_READ_DFS_PATHAT().
Otherwise, just skip the whole path optimization and go onto the path walk code.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1538b44d942091d14f6b8f554d249bf98fd06b5e">1538b44d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:09:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In dfs_path_lookup(), use relative dirfsp, atname lookups in SMB_VFS_READ_DFS_PATHAT() for the pathname walk fallback.

Note that parent_pathref() must succeed before we call SMB_VFS_READ_DFS_PATHAT().
If parent_pathref() fails, just step back a component without calling
SMB_VFS_READ_DFS_PATHAT().

There are no longer any non-relative uses of SMB_VFS_READ_DFS_PATHAT().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e168a95c1bb1928cf206baf6d2db851c85f65fa9">e168a95c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-14T08:58:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Update status of SMB_VFS_READ_DFS_PATHAT.

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Jul 14 08:58:30 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9cc62b562c978f664d0ccd91079975c264dd1573">9cc62b56</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc/ndr: do not print strings when NDR_SECRET is used

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dc40f23acd98ff55ca20824fc9ffe665c6b0c8aa">dc40f23a</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: add "Offline Domain Join" (ODJ) IDL

This IDL is based on

https://github.com/MicrosoftDocs/win32/blob/docs/desktop-src/NetMgmt/odj-idl.md

and has been licensed by Microsoft under the terms of the MIT License.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8ff687863dd257d085cf6ac5d8ed0d91760c47c9">8ff68786</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: compile ODJ idl

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/91ff058420b2dc7ee55e0a0a5f4586ab2cd88387">91ff0584</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: add custom odj_switch_level_from_guid()

This function maintains an arbitrary mapping of GUID strings to
integers. This is required as only integers can be used as
discriminators for autogenerated ODJ unions.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9963da126becaf994fb86df911fb45085316fb99">9963da12</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: more work on ODJ IDL

A lot of nested use of serialization stream pointers
([MS-RPCE] 2.2.6 Type Serialization Version 1).

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/705f9954582cf314a8b0542d166868bf406d1843">705f9954</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: make sure the 4 byte _pad in ODJ_WIN7BLOB is never 0

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd5dce667d82edf6d1597516e3bd1c9a1082c697">bd5dce66</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: add odj ndr testsuite

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d9a11321195d6c5429eb6a773187157c816fe8b">9d9a1132</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: add new provision_computer_account_only flag

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f37d5ea243fbf42676640a4f036d13c3ef90ba09">f37d5ea2</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: let libnetjoin return a netr_DsRGetDCNameInfo

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9a0db8c8ed11f990e14a7c72fa86b87a209e2713">9a0db8c8</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-rpc_client: add copy_netr_DsRGetDCNameInfo() helper

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ada1ed29cfccd588281b11bf480012707b48cba3">ada1ed29</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: return the allocated netr_DsRGetDCNameInfo struct

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/402d9032cbf1ac495202bfd2aabad386ac3e454d">402d9032</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: add some libnet_JoinCtx-to-ODJ helpers

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/80b8bbe48511d764cac4334182c3fb7b47fd54f7">80b8bbe4</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: add libnet_odj_find_win7blob to libnet_offline_join

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/793277c0dddba567f25c56f1982cb0c3d0888eba">793277c0</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: add libnet_odj_find_joinprov3()

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/36db8faea38c5332a26c391e196e12e3de2ab9ba">36db8fae</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: return account rid in libnet_JoinCtx

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/beaab062891670bde92c37be6afbf30dacaaec0c">beaab062</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-librpc: add ODJ_PROVISION_DATA pointer to libnet_JoinCtx

It will be used later to pass in offline domain join structs to serve
request offline domain join requests.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0d75503421c98b0996e0cc70a8a94f6130ccd9b7">0d755034</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: fully implement libnet_odj_compose_OP_JOINPROV3_PART

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/91dcc7c889a72915d05448150ae8f203738846fc">91dcc7c8</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: add request_offline_join flag

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/22d500ec5411c3e0e82711217b15e3a6e52e0224">22d500ec</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-dsgetdcname: the returned dcinfo unc should always be prefixed

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/997fbcbc902d945eb5261ddc6667f830fbcd5931">997fbcbc</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-dsgetdcname: return dcinfo also when delivering from the cache.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1581d63bfe09dcd0fd9d7a2e07686a071e5dc3e3">1581d63b</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: add support for libnet_DomainOfflineJoin

libnet_DomainOfflineJoin will consume the provided offline domain join
blob and lay out libnet_Join information to properly store join metadata
in the local database.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de3296203914df6240e146aa114ef2e1ae3d6315">de329620</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: use joinprov3 struct in libnet_DomainOfflineJoin()

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7a9972943a45a803950eb322449f8f88066cec16">7a997294</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-dsgetdcname: add dsgetonedcname()

The idea is to run the same DC validation steps as for dsgetdcname()
just omit the query list of DCs via DNS/netbios step but instead
validate a given DC right away.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f3b994485797a98d1c8f3681eeb25b851c82119">8f3b9944</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: use dsgetonedcname to validate given DC

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/33ed555e9bd1a8d8fca0f403eeef7576e80241ba">33ed555e</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: set netbios name as well when modification is requested

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/799384792a8ef004a74ae3cf11fdf839eacfca2f">79938479</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: check for netbios name correctness as well

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eff9610e7b02726d25ed952c5b1440f4d763b63c">eff9610e</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: always check config correctness while joining offline

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/adcdb696cfeb28a1611b69c6f03ea4e495ce7186">adcdb696</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">re-run make libnetapi ....

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/927390bae58f10450100099aa150870b1f638deb">927390ba</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: add libnetapi_get_use_kerberos()

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1c62cac7f271c9a4c47449fd1d35f876af000b58">1c62cac7</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: add libnetapi_set_logfile()

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d65b263563c7261a2e58bd6162089703bb6eeed">4d65b263</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: add missing NetJoinFlags for netapi

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/44bd5049e14556d3c9c803a50830a289c6ca2cdb">44bd5049</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: add offline domain join related error codes (not WERRORs)

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3cfe663651f353f69833ffc46687d9602c3cc900">3cfe6636</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: add netapi_read_file helper

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fc51b38ed8b7ff239db82d4d2d52f6332910ca97">fc51b38e</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: add netapi_save_file_ucs2() to example code

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b19a145e8f0d25291a209436ce55b9f8d8a5fd80">b19a145e</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: add NetProvisionComputerAccount() to IDL

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3f71d1fa1c011d04636897852768c209793df4d9">3f71d1fa</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: add NetProvisionComputerAccount() boilerplate

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8bf2a3f9c0b7798466b90aaa497082f794986584">8bf2a3f9</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: add NetProvisionComputerAccount to api.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/962c803947ce52c8950677af1abc8920b1d1bb28">962c8039</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: add NetProvisionComputerAccount example code

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3c8254a2faf5c95fcdb08ad14ded38e284e5d6af">3c8254a2</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: implement NetProvisionComputerAccount_l

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c97dac6d1be1e9c93b2c7dfe615722f364def8de">c97dac6d</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: add NetRequestOfflineDomainJoin to IDL

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0816a3d9e60d2ca923d77cc10cc0951f288622ac">0816a3d9</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: add NetRequestOfflineDomainJoin() boilerplate.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c1f937bfb1d72872e19c425e46fafdee1fa9f137">c1f937bf</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: add NetRequestOfflineDomainJoin to api

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e7a8aeee4490a0d9a3324e7c1bcff491ec88a3f0">e7a8aeee</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: add NetRequestOfflineDomainJoin example code

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e3269d34b28603dca50db75f6b079ff21d3e932">3e3269d3</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: implement NetRequestOfflineDomainJoin_l

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ec6fd45d7b527a91ee4e2bc9fa03312e8cb65022">ec6fd45d</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnetapi: add djoin tool

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/575407dc2fc9aa27a1301b74c827f3bb3fb5d0eb">575407dc</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-net: add "net offlinejoin" command

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8ad0eb4ae76a59e62e65570e8c1a808a8419a7b">a8ad0eb4</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T16:49:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: document "net offlinejoin" set of commands

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7938d94d12e5ed2790fdf3d5291c8d92e66f1b4a">7938d94d</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-14T17:38:21+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-selftest: add net offlinejoin tests

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Jul 14 17:38:21 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ecda3bc3fbf899602a7e953d7c424f6435577d5">5ecda3bc</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-14T21:06:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Remove trailing whitespaces in winbindd.c

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea5b7309fb1a0f1ed7c1e4de00f98e9adc9f5dbf">ea5b7309</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-14T21:06:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Remove trailing whitespaces in winbindd_cm.c

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9f632405032b2c6ebbe6ed205fd301a31c2910d5">9f632405</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-14T21:06:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Remove trailing whitespaces in winbindd_dual.c

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17c86a2c5a5a5e2b194362e5f36f0f99910222c5">17c86a2c</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2021-07-14T21:06:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Get rid of the winbind dc-connect child

The new code uses PING_DC to tell the child to try to go online.

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Isaac Boukris <iboukris@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bc1ee7ca0640f0136e5af7dcc4ca8ed0a5893053">bc1ee7ca</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-14T21:06:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">talloc: version 2.3.3

- python: Ensure reference counts are properly incremented
- Bug 9931: change pytalloc source to LGPL

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1ad5df9f74426c78ff128d963a785aad707e7ed1">1ad5df9f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-14T21:06:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: version 1.4.4

- Fix a memory leak on error
- python: remove all 'from __future__ import print_function'
- Fix CID 1471761 String not null terminated
- Use hex_byte() in parse_hex()
- Use hex_byte() in read_data()
- fix studio compiler build
- Fix some signed/unsigned comparisons
- also use __has_attribute macro to check for attribute support
- Fix clang 9 missing-field-initializer warnings
- pytdb tests: add test for storev()
- pytdb: add python binding for storev()
- tdbtorture: Use ARRAY_DEL_ELEMENT()
- py3: Remove #define PyInt_FromLong PyLong_FromLong
- py3: Remove #define PyInt_AsLong PyLong_AsLong
- py3: Remove #define PyInt_Check PyLong_Check
- tdb: Align integer types

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12bc55ff7aae653bb3894bc55fe4f1ba86902a2d">12bc55ff</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-14T21:06:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: version 2.4 will be used for Samba 4.15

- Improve calculate_popt_array_length()
- Use C99 initializers for builtin_popt_options[]
- pyldb: Fix Message.items() for a message containing elements
- pyldb: Add test for Message.items()
- tests: Use ldbsearch '--scope instead of '-s'
- pyldb: fix a typo
- Change page size of guidindexpackv1.ldb
- Use a 1MiB lmdb so the test also passes on aarch64 CentOS stream
- attrib_handler casefold: simplify space dropping
- fix ldb_comparison_fold off-by-one overrun
- CVE-2020-27840: pytests: move Dn.validate test to ldb
- CVE-2020-27840 ldb_dn: avoid head corruption in ldb_dn_explode
- CVE-2021-20277 ldb/attrib_handlers casefold: stay in bounds
- CVE-2021-20277 ldb tests: ldb_match tests with extra spaces
- improve comments for ldb_module_connect_backend()
- test/ldb_tdb: correct introductory comments
- ldb.h: remove undefined async_ctx function signatures
- correct comments in attrib_handers val_to_int64
- dn tests use cmocka print functions
- ldb_match: remove redundant check
- add tests for ldb_wildcard_compare
- ldb_match: trailing chunk must match end of string
- pyldb: catch potential overflow error in py_timestring
- ldb: remove some 'if PY3's in tests
- Add missing break in switch statement

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d047192a6e9d96a6142bad902f37af6169e854e">9d047192</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-14T21:06:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:tests: use SAMBA_DEPRECATED_SUPPRESS=1 for backbox tests

These tests should not depend on the number of deprecation warnings

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fdcae2872b684dbc834274e688e4a0071a028a58">fdcae287</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-14T21:57:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: use SAMBA_DEPRECATED_SUPPRESS=1 for all tests

The deprecation warnings are filling the logs and make it hard to
find/see real problems.

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Jul 14 21:57:11 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/36023cb5f81e71d02bd92b8998db3890be393f58">36023cb5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture:libsmbclient: make use of PROTOCOL_* enum values instead of of hardcoded int values

We should also test protocol versions which are not our default.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7816d70f69bba0273ade5485320e9a49cfd3b507">7816d70f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: no longer use experimental dialects 2.2.2, 2.2.4, 3.1.0 on the wire

These were only used in Windows development versions but not in
production.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a16bb716b77167d55dc4e5acd02a1f89db1a6c3">2a16bb71</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_negprot: no longer use experimental dialects 2.2.2, 2.2.4, 3.1.0 on the wire

These were only used in Windows development versions but not in
production.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea102d3b1b9f2ca78a276143dedb0e88abde8c77">ea102d3b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:torture: replace PROTOCOL_SMB2_22 with PROTOCOL_SMB3_00

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1cd3394d7096386e66d36354d381e77d27b7a614">1cd3394d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: replace PROTOCOL_SMB2_22 with PROTOCOL_SMB3_00

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3c8067a63fca1fb24ec7786b85b41b27b3fb639f">3c8067a6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: replace PROTOCOL_SMB2_22 with PROTOCOL_SMB3_00

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/acb724c8b3eea513ddadd5eaa23af9e702831efb">acb724c8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: remove support for "SMB2_22"

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8c05c979433bc8ee2e1d69d93869110cf0051ff8">8c05c979</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: remove unused PROTOCOL_SMB2_22 definition

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/880d2e18e13a50d4bcca9824590901a4fb8443b9">880d2e18</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: replace PROTOCOL_SMB2_24 with PROTOCOL_SMB3_00

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8a30ad66b8ffe916c6f0427c5a753f0ecfa50691">8a30ad66</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: replace PROTOCOL_SMB2_24 with PROTOCOL_SMB3_00

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fde7128b12f4635dbc0f207ef0923ff4528d3a6d">fde7128b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: remove support for "SMB2_24"

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a12c4a7b528c340dca6edd87c5ac0d786604bc13">a12c4a7b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: remove unused PROTOCOL_SMB2_24 definition

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7f8507332eac5a7a7cc4f2222e0a9e896df823f4">7f850733</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: replace PROTOCOL_SMB3_10 with PROTOCOL_SMB3_11

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb86d5817377130b5663a4cb09430cb38de2a357">cb86d581</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: replace PROTOCOL_SMB3_10 with PROTOCOL_SMB3_11

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/41cf9f8966e22a391fa484872a48d9c89abc5db0">41cf9f89</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: remove support for "SMB3_10"

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a575dfd58bf2e118d3c716f4b5062fef41cdb76">2a575dfd</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: remove unused PROTOCOL_SMB3_10 definition

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e25a9e8f4ec8034d2974a887e4f64e99a04f226a">e25a9e8f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: document the removal of SMB2_22, SMB2_24 and SMB3_10

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/66673f08f7c214aa221236cfa49695c11564d4e0">66673f08</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: let smb2.session.bind_negative_* also test without session keys

This checks the result of a 2nd session setup without the BIND flags
and also without signing being already enabled.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a262568eaabd7d9ced554c408e76a38745d85f2a">a262568e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: let smb2.session.bind_negative_* tests also use a different client guid

Testing also with a different client guid between channels
triggers (at least in samba) a different code path compaired
to the tests using the same client guid.

Testing both already revealed a bug.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2b36af83f68f588806a73a2688890ab9742242ad">2b36af83</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: let smb2srv_session_lookup_global() clear the signing/encryption_flags

When we make use of this we only in order to provide the correct
error codes anyway.

This actually fixes even more error codes.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa29d89942355f988815d3b4b562bf3cf0f26b94">aa29d899</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: fix a NULL pointer deference caused by smb2srv_update_crypto_flags()

When we used a fake session structure from
smb2srv_session_lookup_global() there's no point in updating
any database.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1781910df6d5f2678cdd5716d2db242199fceb84">1781910d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: make sure smbXsrv_session_update() doesn't segfault with table == NULL

There might be other places than smb2srv_update_crypto_flags(), which
may call smbXsrv_session_update() with a fake session, they should
return in error instead of segfaulting.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f8f4a9faf099eb768eaa25f1e1a7d126b75291d0">f8f4a9fa</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: remove dead code from smbd_smb2_request_dispatch()

We have '} else if (signing_required || (flags & SMB2_HDR_FLAG_SIGNED)) {'
before...

Use 'git show -U52' to see the whole story...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/95a3bf588819bf7a71a333f823a5191fa49ac9dc">95a3bf58</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: fallback to smb2srv_session_lookup_global() for session setups with failed signing

The motivation is to get the same error responses as a windows server.

We already fallback to smb2srv_session_lookup_global() in other places
where we don't have a valid session in the current smbd process.

If signing is failing while verifying a session setup request,
we should do the same if we don't have a valid channel binding
for the connection yet.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f627727898dc3fb17e4c49afea90824b05b8d94e">f6277278</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/param: add lpcfg_parm_is_unspecified() helper

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7f03d7c85e62bec3f97143980ec45db8bd0e5383">7f03d7c8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/param: enable "server multi channel support" by default on Linux and FreeBSD

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4a7bd4c0c5672a27c8a931c9f9a5c2e706356845">4a7bd4c0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATNEW: document "server multi channel support" change

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a702d781864ea09d3698b312d930ff03bb77f45e">a702d781</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_negprot: make use of struct smb311_capabilities.encryption

This makes the code more generic and allow the supported ciphers
to be easily added or depend on the configuration later.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ca01e48da3339a0810ff72ba204e05b4e555025">5ca01e48</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: add "client/server smb3 encryption algorithms" options

This gives administrators more control over the used algorithms.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/374f26aafa8b1a54662675a151bb54022560c155">374f26aa</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: add helpers to parse client/server smb3 encryption algorithms into struct smb311_capabilities

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/53e37124e8f0884fc5e24edd7ebc4627a2357a3e">53e37124</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: make use of 'client smb3 encryption algorithms'

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e0ba6f40c90b0a7074272153c643fc253dae9612">e0ba6f40</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:param: make use of 'client smb3 encryption algorithms'

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/71b06682b68f7cc081a7a062761dc9b7cfc59495">71b06682</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: make use of 'server smb3 encryption algorithms'

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cf1459f458bd8cb03cf1cd3f3ed2e5d8568203b7">cf1459f4</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: let 'client smb3 encryption algorithms' disable aes-128-ccm for SMB3_0*

SMB 3.0 and 3.0.2 require aes-128-ccm, so we need to reject them unless
'client smb3 encryption algorithms' allows them.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9e6d3df68db941c231844e9291bf6cbd5b6a42bd">9e6d3df6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: add smb311_capabilities_check() helper

It checks that the resulting algorithms (most likely for
dialects < 3.1.1) are actually allowed.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9b123bc97aaef40277408a301a485fda5c922b34">9b123bc9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: let 'server smb3 encryption algorithms' disable aes-128-ccm for SMB3_0*

SMB 3.0 and 3.0.2 require aes-128-ccm, so we need to reject them unless
'client smb3 encryption algorithms' allows them.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d10153c8514a74b5805ee12d9684a8ca56537d92">d10153c8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: add aes-256-{gcm,ccm} support to smb2_signing_[en|de]crypt_pdu()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/033716d9fdbfe1605c4ffb77e741727be4eb8e0d">033716d9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/param: offer aes-256-{gcm,ccm} encryption by default

We match Windows and keep aes-128-{gcm,ccm} first...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24142c379645d1b56fc8ba33cdc3b239cecd3a0b">24142c37</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: add SMB2_TRANSPORT_CAPABILITIES related defines to smb2_constants.h

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6b775f030a8725a7fb36bc4b83d1a2353106b677">6b775f03</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: add SMB2_RDMA_TRANSFORM_CAPABILITIES related defines to smb2_constants.h

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6447ae60b03cdbc677fd2bf009b8a59e72477aba">6447ae60</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: add SMB2_SIGNING_CAPABILITIES related defines to smb2_constants.h

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f435de5917fd52d027c94d68d692b21cd8adc861">f435de59</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: only allow cancel with the same session

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b576123dd976e94a229a9b094f6d047e100e88f8">b576123d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbstatus: pretty print the use of new signing/encryption algorithms

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/90bc67f322112986d221f4401536493dcd406135">90bc67f3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: make sure STATUS_PENDING responses are never signed

It's important to match Windows here in order to avoid reusing
a NONCE for AES-128-GMAC signing.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c363825557a3fd816636119583a9328eab01272d">c3638255</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: make sure we don't try to sign CANCEL response PDUs

Normally these are never generated, but it can happen when the
signing check fails.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eeb09dfa6d79bfd42ad4a31cc2297438e917fef7">eeb09dfa</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: add smb2cli_conn_server_{signing,encryption}_algo()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e720ce4fadb051295871314bfcb1057c48586736">e720ce4f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: skip session setup signing for REQUEST_OUT_OF_SEQUENCE, NOT_SUPPORTED and ACCESS_DENIED

We should propagate these errors to the caller instead of masking them
with ACCESS_DENIED. And for ACCESS_DENIED we should not disconnect the
connection.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/89f0552c5e08ddc8ad9c3b048f57b90c88ae84be">89f0552c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: make sure we always send a valid MID in cancel PDUs

This is important as with AES-128-GMAC signing, the nonce will be
derived from the MID.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d33b08c0fbbfeeed734c1538911f3b1886eca64">4d33b08c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: make sure smb2_signing_calc_signature() never generates a signature without a valid MID

This is important as AES-128-GMAC signing will derive the NONCE from the MID.

It also means a STATUS_PENDING response must never be signed.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3706b27a3bc17e6e876c322c2e1701e494eee938">3706b27a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: prepare support for SMB2_SIGNING_CAPABILITIES negotiation

For now client_sign_algos->num_algos will always be 0,
but that'll change in the next commits.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4a61410f602c3c5cac634b3a18a29378b49281de">4a61410f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: prepare support for SMB2_SIGNING_CAPABILITIES

But notice that srv_sign_algos->num_algos is always 0 for now,
but that'll change in the next commits.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be71039be4edf90f28704026aa3d16da0848231c">be71039b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: add "client/server smb3 signing algorithms" options

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/982bdcf427008138a1c7c8d3f2756de1c5126d6b">982bdcf4</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: actually make use of "client/server smb3 signing algorithms"

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/220c019933e3143741bf612aa4900ac1cd39fae0">220c0199</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: force AES_CMAC or HMAC_SHA256 for some SMB 3.1.1 tests

Allowing GMAC in future will generate different results, so
make sure the tests keep working as is.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3f843e56a829084c2443b8b1fec51b26665aa9ec">3f843e56</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: add support for SMB2_SIGNING_AES128_GMAC

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8ace94498fbf223c40aa842c1beb013ca20c4eb8">8ace9449</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: offer aes-128-gmac by default

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1025e1bfea08e090cb556b0858bdfdaa94f8366f">1025e1bf</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: more smb2.session.bind_negative_smb3* combinations

This tests all kind of signing/encryption algorithm mismatches
and passes against Windows with GMAC signing support.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/898caeae63035abd006d8440208ae69be9b3478a">898caeae</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:06:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: improve the error returns for invalid session binding requests

This brings us closer to what a Windows Server with GMAC signing
returns.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c5cd5c9d57b567b78b58039d0845b41ec5caf72b">c5cd5c9d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T00:57:24+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: add client/server smb3 signing/encryption algorithms

We can add more about this in the final 4.15.0 release notes later.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jul 15 00:57:24 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6e7ffa8da34b85ac27396ee3fe29afb5db534e9e">6e7ffa8d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-15T05:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: tests: Our tests for "smbd async dosmode = yes" haven't been working correctly as the parameter has been set incorrectly.

If must be "smbd async dosmode", not "smbd:async dosmode"

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f8d0eaad68620561eb5bdc95fbb855b90f31fc5">8f8d0eaa</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-15T05:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: tests: Add "SMB2-LIST-DIR-ASYNC" test.

Add as knownfail.

Shows our "smbd async dosmode" code wasn't working.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d1ffcc8064294060d05d2b657385f69a75df49cf">d1ffcc80</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-15T05:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Allow "smbd async dosmode = yes" to return valid DOS attributes again.

We already have a valid smb_fname->fsp, don't drop
it when returning from smbd_dirptr_lanman2_entry()
to allow it to be reused inside dos_mode_at_send().

Remove knownfail.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e0b327f2eb5781a119efde1a2450de4e6d2570e8">e0b327f2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-15T05:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: default: Move vfswrap_fgetxattr() before the async versions.

We want to re-use this and don't want to have to add forward
declarations.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24dc3ca67a5593954fa13fad56ca3aaf8c1a15c8">24dc3ca6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-15T05:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: default: Add 'handle' member to struct vfswrap_getxattrat_state

Not yet used.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2b4062b4a1fffd3329c27ea7a840b04cf2069669">2b4062b4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-15T05:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: default. In vfswrap_getxattrat_do_sync() always use the pathref fsp.

This is always called via a path that mandates
smb_fname->fsp is valid.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/447c9380dcb2dac20512d20833f611399fc54ef1">447c9380</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-15T05:48:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: default. In vfswrap_getxattrat_do_async() always use the pathref fsp.

This is always called via a path that mandates
smb_fname->fsp is valid.

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

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Jul 15 05:48:05 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/961548296e697dc3de1a3b4a8216efd3316dd9d7">96154829</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2021-07-15T09:17:51+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Fix typos.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/47c507553521aec077ea5d761ff394f3d0c96830">47c50755</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2021-07-15T09:18:02+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Up to Samba 4.15.0rc1.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6a6f60447719d274011bd9575403f2fb0099ca91">6a6f6044</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2021-07-15T09:17:51+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Disable GIT_SNAPSHOT for the Samba 4.15.0rc1 release.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/34b168b4a1ccc13a67cc073b147d6a27e26a8ca8">34b168b4</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2021-07-15T09:38:41+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to 4.16.0pre1...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cca9ce5977c42ccffe4d459193ff1cfa011680c3">cca9ce59</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2021-07-15T09:43:05+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Start release notes for Samba 4.16.0pre1.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9c0a174af2007476cbff859f962a2667bc5004bf">9c0a174a</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-07-15T19:13:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Add Certificate Auto Enrollment Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9f0e6f3c0631fdd8bd9580db382d00c2ea4f3c57">9f0e6f3c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-07-15T19:13:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Fix up rsop output of ca certificate

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd6df5356b7aa180d538a734799b640c1430eb47">fd6df535</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-07-15T19:13:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Certificate Auto Enrollment Policy

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f813f8a54ae79dd74a99593aeacb252061688807">f813f8a5</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-07-15T20:03:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Update WHATSNEW for Certificate Auto Enrollment

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jul 15 20:03:45 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b3c9823d907b91632679e6f0ffce1b7192e4b9b6">b3c9823d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T23:04:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add smb2.read.bug14607 test

This test will use a FSCTL_SMBTORTURE_GLOBAL_READ_RESPONSE_BODY_PADDING8
in order to change the server behavior of READ responses regarding
the data offset.

It will demonstrate the problem in smb2cli_read*() triggered
by NetApp Ontap servers.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ecac656fde4e81aa6e51e7b3134ea3fb75f564a">5ecac656</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T23:04:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: introduce a body_size variable in smbd_smb2_request_read_done

This will simplify the following changes.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef57fba5dbf359b204ba952451e1e33ed68f1c91">ef57fba5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T23:04:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: implement FSCTL_SMBTORTURE_GLOBAL_READ_RESPONSE_BODY_PADDING8

This turns the 'smb2.read.bug14607' test from 'skip' into 'xfailure',
as the 2nd smb2cli_read() function will now return
NT_STATUS_INVALID_NETWORK_RESPONSE.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1faf15b3d0f41fa8a94b76d1616a4460ce0c6fa4">1faf15b3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T23:04:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: make smb2cli_ioctl_parse_buffer() available as smb2cli_parse_dyn_buffer()

It will be used in smb2cli_read.c soon...

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/155348cda65b441a6c4db1ed84dbf1682d02973c">155348cd</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-15T23:53:55+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: allow unexpected padding in SMB2 READ responses

Make use of smb2cli_parse_dyn_buffer() in smb2cli_read_done()
as it was exactly introduced for a similar problem see:

    commit 4c6c71e1378401d66bf2ed230544a75f7b04376f
    Author:     Stefan Metzmacher <metze@samba.org>
    AuthorDate: Thu Jan 14 17:32:15 2021 +0100
    Commit:     Volker Lendecke <vl@samba.org>
    CommitDate: Fri Jan 15 08:36:34 2021 +0000

        libcli/smb: allow unexpected padding in SMB2 IOCTL responses

        A NetApp Ontap 7.3.7 SMB server add 8 padding bytes to an
        offset that's already 8 byte aligned.

        RN: Work around special SMB2 IOCTL response behavior of NetApp Ontap 7.3.7
        BUG: https://bugzilla.samba.org/show_bug.cgi?id=14607

        Pair-Programmed-With: Volker Lendecke <vl@samba.org>

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

        Autobuild-User(master): Volker Lendecke <vl@samba.org>
        Autobuild-Date(master): Fri Jan 15 08:36:34 UTC 2021 on sn-devel-184

RN: Work around special SMB2 READ response behavior of NetApp Ontap 7.3.7
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14607

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jul 15 23:53:55 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f047831c1685542740f21dcc47596e32bb63e22">1f047831</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-16T03:45:19+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use better error message for smbtree

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jul 16 03:45:19 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b4a301a6b7647e2deffe5b086e35b180a5c99ec8">b4a301a6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-19T14:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add PYTHONPATH for lsp servers to devel_env.sh

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/63cc92501e98ee3adeb458fca6d7559f49518f6d">63cc9250</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-19T15:27:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitignore: Add .cache directory

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Jul 19 15:27:14 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d961830cb59f89b99b6bf0715fa2921e0af7b2ba">d961830c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-07-19T17:44:08+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">examples: Make winreg.py sample work with python3 in current master

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Jul 19 17:44:08 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/939aed0498269df3c1e012f3b68c314b583f25bd">939aed04</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-07-20T04:43:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils: Use Python 3

Due to the number of flake8 and pylint warnings it is unclear if the
source has Python 3 incompatibilities.  These will be cleaned up in
subsequent commits.

Signed-off-by: "L.P.H. van Belle" <belle@bazuin.nl>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jose A. Rivera <jarrpa@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd0b2bb6ee9d03a259e7d7e9f4397f4dbe3f1b91">bd0b2bb6</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-07-20T04:43:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils: Clean up ctdb_etcd_lock using autopep8

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jose A. Rivera <jarrpa@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e66637a079c070d29c685b6315e5427679dc778a">e66637a0</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-07-20T04:43:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils: Reorder imports so that standard imports are first

Avoids numerous pylint warnings.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jose A. Rivera <jarrpa@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/af5aecced12a8f6a9259602f8ddf3662fe6c1ba0">af5aecce</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-07-20T04:43:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils: Move argument processing into function and call from main()

Removes the need for the global variables currently associated with
this processing.  Also removes unnecessarily double-handling the
defaults, which are assigned to the global variables and set via
add_argument().

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jose A. Rivera <jarrpa@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e323d16a9d11c63640fca186c6f5a29360fb3c7b">e323d16a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-07-20T04:43:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils: Inline defaults and help strings

Removes an unnecessary level of indirection: defaults and help strings
are now where they are expected.  Also removes some global variables.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jose A. Rivera <jarrpa@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12d3e215a6096fc9862642b98dd8bca1421f2cae">12d3e215</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-07-20T04:43:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils: Simplify log level logic, drop global variable

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jose A. Rivera <jarrpa@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/98c7a38b711d38ac756ca7e34769eb277904f7d0">98c7a38b</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-07-20T04:43:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils: Tweak exception handling to stop flake8 complaining

Don't bother with "as e" to avoid warning about unused variable.
Don't use bare "except:" (though pylint still complains about this
version).

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jose A. Rivera <jarrpa@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/319e27343d7ee5f7f6045a19747ba85fb4bef768">319e2734</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-07-20T04:43:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils: Reformat lines that are longer than 80 columns

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jose A. Rivera <jarrpa@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b724c1e6a660eb6b9ceaf3c81d6dac0b0562206d">b724c1e6</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-07-20T05:29:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils: Avoid pylint warning

pylint warns:

  Use lazy % formatting in logging functions

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jose A. Rivera <jarrpa@samba.org>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Tue Jul 20 05:29:18 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aacd3ecb45ab04cb2f8a38a385a45bdca6d88cd2">aacd3ecb</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-20T10:57:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Fix invalid syntax in tdb.h

Defining _PUBLIC_ in the same way as in talloc.h resolves an issue with
a previous fix for Solaris Studio compiler 12.4 that prefixed all calls
in tdb.h with _PUBLIC_.  Thanks to Lukas Slebodnik
<lslebodn@redhat.com>.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14762

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bedeeb0b596f563e0918cd5f7195ed6aed0817ce">bedeeb0b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-20T11:48:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: version 1.4.5

* fix standalone usage of tdb.h

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Jul 20 11:48:38 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a92b05ec7b407a19da0cd7c2533c5b49dfbe4392">a92b05ec</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-07-20T15:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Ensure Network Device Enrollment Service if sscep fails

Prompt the user to check that Network Device
Enrollment Service is installed and configured
if sscep fails to download the certificate root
chain.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4a5f6d88ff0b2eebf86403ba25504e1bf2c59d53">4a5f6d88</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-07-20T15:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Warn when fetching the supported templates fails

When Certificate Auto Enrollment fails to fetch
the list of supported templates, display a
warning.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f97f94e93b03495cf03d08873de5f3b912a003a0">f97f94e9</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-07-20T15:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Improve debug when extension fails to apply

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5512416a8fbe00a7a5343afe0d50846e0a8f342b">5512416a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-20T15:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gnutls: allow gnutls_aead_cipher_encryptv2 with gcm before 3.6.15

The memory leak bug up to 3.6.14 was only related to ccm, but gcm was
fine.

This avoids talloc+memcpy on more systems, e.g. ubuntu 20.04,
and brings ~ 20% less cpu overhead, see:
https://hackmd.io/@asn/samba_crypto_benchmarks

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/407b458242cd11bdb3ab219dc58b3ffb070b0e7c">407b4582</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-20T15:25:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add tests to check all signing and encryption algorithms

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0ac71061044e2ee47f4de3a319ad2386128066fc">0ac71061</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-07-20T16:13:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: really support AES-256* in the server

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jul 20 16:13:28 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e0fa3e359f16b26122d49ad79372e3923f5ded77">e0fa3e35</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-21T06:30:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Install krb5-workstation on Fedora based distros

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/42e3fda5be56cb96139093ca98e4dfb6817aea39">42e3fda5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-21T06:30:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Exclude fips envs from samba and samba-mitkrb5

The FIPS envs only work on Fedora. Ubuntu doesn't have FIPS support!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/84b9f58616e0a4c5b36b1c2d4fee7928fbf9edc4">84b9f586</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-21T07:19:00+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:tests: Add smbclient kerberos tests for ad_dc and ad_dc_fips

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Jul 21 07:19:00 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e51e9d014598241e1cb8b525cce9e9c6b9e4e98f">e51e9d01</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-21T11:27:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:waf: Correctly check for python-dateutil

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee9dfff617ad21d81369d7ef2ea35d7caab82fec">ee9dfff6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-21T12:18:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Install python3-dateutil instead of python3-iso8601 on RPM distros

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Jul 21 12:18:30 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bb7b957e2c5d940191cb1202ade6fea7a0cce4c0">bb7b957e</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-21T12:52:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-torture: give torture test binaries their own wscript_build

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/11c9eb0ccc34c4731fe7822768ba2b67aaea606a">11c9eb0c</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-07-21T13:41:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-torture: Only install vfstest manpage when vfstest binary gets installed.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Jul 21 13:41:26 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7b796b5bb735295bde252cd52283591b720d8d6e">7b796b5b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-22T14:47:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Use lp_load_global() for servers

As for client we need to enable support for 'config backend = registry'..

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Jul 22 14:47:09 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7fb741b3b1ac7c2bac355b77cf71cd8881d58d5b">7fb741b3</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2021-07-27T10:09:03+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">krb5_wrap: remove unused code

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Jul 27 10:09:03 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18976a9568b23759060377d09304e9d7badb143a">18976a95</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-28T06:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Re-format long lines in selftesthelpers.py

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3db299e586fd9464b6e1b145f29b10c8ae325d3a">3db299e5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-28T06:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add support for setting ENV variables in plansmbtorture4testsuite()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/48289b6964d28e153fec885aceca02c6a9b436ef">48289b69</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-28T06:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add support for setting ENV variables in plantestsuite()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eabf9803ecfa078b9138484d9c9f41a4803e5a60">eabf9803</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-28T06:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:selftests: Pass env variables to fips tests

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a324fc01b4d19ac980b7f844a93c6456aa1c6d8f">a324fc01</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-28T06:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:selftests: Pass env variables to fips tests

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebd00fbdd058ddfe44610d179b3f0d4fd5147df4">ebd00fbd</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-28T06:23:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Pass env variables to fips tests

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/696972c832c98fefab8df85f3d81b900ecbf9453">696972c8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-07-28T07:12:55+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove fips env variables from client env

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Jul 28 07:12:55 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b004ebb1c62742346b84ecb9d52c783173528fac">b004ebb1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-28T14:16:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Allow async dosmode to cope with ".." pathnames where we close smb_fname->fsp to prevent meta-data leakage.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2acad27686074029ac83c66b42bb37eea380f449">2acad276</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-07-28T15:07:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Don't leak meta-data about the containing directory of the share root.

This is a subtle one. In smbd_dirptr_get_entry() we now
open a pathref fsp on all entries - including "..".

If we're at the root of the share we don't want
a handle to the directory above it, so silently
close the smb_fname->fsp for ".." names to prevent
it from being used to return meta-data to the client
(more than we already have done historically by
calling pathname functions on "..").

The marshalling returned entries and async DOS
code copes with smb_fname->fsp == NULL perfectly
well.

Only in master, but will need fixing for 4.15.rc1
or 2.

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

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Jul 28 15:07:54 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7818513053aabda046645583fa5bb79a03e2b5ac">78185130</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-07-31T16:58:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-bgqd: Fix samba-bgqd with "clustering=yes"/"include=registry"

With the above combination, some flavor of lp_load() already
initializes global_event_ctx, for which the closeall_except() later on
will happily close the epoll fd for. If we want to close all file
descriptors at startup, this must be the very first thing overall.

Can't really write a proper test for this with knownfail that is
removed with the fix, because if we have clustering+include=registry,
the whole clusteredmember environment does not even start up.

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

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Jul 31 16:58:41 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e71e373a07e467ff2d2328f39bd2bc285e2ba840">e71e373a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-02T17:14:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: drop requirement for full open for READ_CONTROL_ACCESS, WRITE_DAC_ACCESS and WRITE_OWNER_ACCESS

This was needed before we had pathref fsps, with pathref fsps we can do
operation requiring WRITE_OWNER_ACCESS, WRITE_DAC_ACCESS and READ_CONTROL_ACCESS
on the pathref fsp.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6d928eb1e8ea44f0d0aea4ec9b1b7c385a281193">6d928eb1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-02T18:05:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: only open full fd for directories if needed

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14700
RN: File owner not available when file unreadable

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Aug  2 18:05:04 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2daf3e79751d11a31a1e44d21b70517356301ee7">2daf3e79</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-03T09:28:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Use lpcfg_weak_crypto()

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/868a9577d6a1da6d1aa1738adaa541038ec3c1cd">868a9577</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-03T09:28:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server: Allow to set user password in FIPS mode

Only in case we have an SMB encrypted connection ...

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1326e7d65d1feff53303df35b2d641660a5babc0">1326e7d6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-03T09:28:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libnet: Remove trailing whitespaces

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17cc20ebe602b619461efa215ac75fed8e0d6338">17cc20eb</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-03T09:28:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libnet: Allow libnet_SetPassword() for encrypted SMB connections

This is needed for smbtorture to join a domain in FIPS mode.

FYI: The correct way would be to join using LDAP as the s3 code is doing it. But
this requires a bigger rewrite.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6c7a2a7003a2c081aa1ed710a84941bc8f331bf">d6c7a2a7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-03T09:28:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netlogon:schannel: If weak crypto is disabled, do not announce RC4 support.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8a2c2fe4e75c2e6a690ea75045942ec9730c5dc">e8a2c2fe</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-03T09:28:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Fix setting environ for plansmbtorture4testsuite()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd5b315805c6c1a4af64e9db57771d864f631207">fd5b3158</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-03T09:28:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:selftest: Pass environ to plansmbtorture4testsuite()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f1df0c4d0ad43ed1726ba961810078059b990be3">f1df0c4d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-03T09:28:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Remove trailing whitespaces in rpc.c

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/23e5b7cc79b006ae9260d3723e6c44ad66589382">23e5b7cc</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-03T10:18:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Add rpc netlogon fips test

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Aug  3 10:18:26 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/93bac5f12240597e1e92291de70a7000a403baca">93bac5f1</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-08-03T11:10:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd_pam: add NT4 DC handling into winbind_samlogon_retry_loop()

Handle the case where a NT4 DC does not fill in the acct_flags in
the samlogon reply info3. Yes, in 2021, there are still admins
arround with real NT4 DCs.

NT4 DCs reject authentication with workstation accounts with
NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT, even if
MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT is specified.

We no longer call dcerpc_samr_QueryUserInfo(level=16)
to get the acct_flags, as we only ever got
ACB_NORMAL back (maybe with ACB_PWNOEXP in addition),
which is easy to calculate on our own.
This was removed in commit (for 4.15.0rc1):

  commit 73528f26eea24033a7093e5591b8f89ad2b8644e
  Author:     Ralph Boehme <slow@samba.org>
  AuthorDate: Mon Jan 11 14:59:46 2021 +0100
  Commit:     Jeremy Allison <jra@samba.org>
  CommitDate: Thu Jan 21 22:56:20 2021 +0000

      winbind: remove legacy flags fallback

      Some very old NT4 DCs might have not returned the account flags filled in. This
      shouldn't be a problem anymore. Additionally, on a typical domain member server,
      this request is (and can only be) send to the primary domain, so this will not
      work with accounts from trusted domains.

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

      Autobuild-User(master): Jeremy Allison <jra@samba.org>
      Autobuild-Date(master): Thu Jan 21 22:56:20 UTC 2021 on sn-devel-184

It means one more caller of the problematic cm_connect_sam()
function is removed! SAMR connections may not be allowed for
machine accounts with modern AD DCs.

For network logons NT4 DCs also skip the
account_name, so we have to fallback to the
one given by the client. We have code to cope
with that deeply hidden inside of netsamlogon_cache_store().

Up to Samba 4.7 netsamlogon_cache_store() operated on the
info3 structure that was passed to the caller of winbind_dual_SamLogon()
and pass propagated up to auth_winbind in smbd.

But for Samba 4.8 the following commit:

  commit f153c95176b7759e10996b24b66d9917945372ed
  Author: Ralph Boehme <slow@samba.org>
  Date:   Mon Dec 11 16:25:35 2017 +0100

      winbindd: let winbind_dual_SamLogon return validation

      Signed-off-by: Ralph Boehme <slow@samba.org>
      Reviewed-by: Stefan Metzmacher <metze@samba.org>

actually changed the situation and only a temporary info3 structure
was passed into netsamlogon_cache_store(), which means
account_name was NULL and get propagated as "" into auth_winbind
in smbd, where getpwnam() is no longer possible and every
smb access gets NT_STATUS_LOGON_FAILURE.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Aug  3 11:10:27 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e2962b4262fc4a7197a3fcbd010fcfaca781baea">e2962b42</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-03T18:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">configure: Do not put arguments into double quotes

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

This could create an issue that arguments don't get split by python and then the
following could happen:

    ./configure --libdir=/usr/lib64 --enable-clangdb

    LIBDIR='/usr/lib64 --enable-clangdb'

This ends then up in parameters.all.xml:

    <!ENTITY pathconfig.LIBDIR   '/usr/lib64 --enable-clangdb'>

The python parser then errors out:

    xml.etree.ElementTree.ParseError: not well-formed (invalid token)

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Aug  3 18:36:37 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aab5cc95e224fef0efafeb1c37a4eb414aee65a0">aab5cc95</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-03T19:44:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Add a check for the path length of 'winbindd socket directory'

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/000f389d09ec9e9906d5e2a0aa317c471c5f5b96">000f389d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-03T20:35:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab: Use shorter names for Samba AD DC env with MIT KRB5

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Aug  3 20:35:49 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f093ae6c9ee5b3e0f98b47fbacb0e37fad62052">4f093ae6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-08-05T06:15:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: ceph. Fix enumerating directories. dirfsp->fh->fd != AT_FDCWD in this case.

Same as the fix for glusterfs.

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

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Aug  5 06:15:14 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/41d906301b8d13f831b155dcec37d88889b9f36c">41d90630</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-05T09:46:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mit-samba: Define debug class for kdb module

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd8138236bec3635c25e5b482b7a14faa0a9c36b">dd813823</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-05T09:46:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mit-samba: Send the logging to the kdc log facility

Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/60159e03850f88cdee332ba65939cfe4582cb5e1">60159e03</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-05T09:46:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mit-samba: Use talloc_get_type_abort() instead of casting

This is safer to use and fixes compiler warnings.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/104fc3539090ae9e161945ef9d18d897e3b71fed">104fc353</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-05T10:33:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mit-samba: Only set the function opening bracket once

Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Aug  5 10:33:18 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d44db0208ad604b270d8659e2c5d4a079941423">4d44db02</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-05T18:09:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Add vfs_expand_msdfs manpage

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12707

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Aug  5 18:09:11 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7e6b818fea5541fbedaa68624ca76ebc1fbbf501">7e6b818f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-08-06T05:53:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ktutil: Print the numeric enctype if krb5_enctype_to_string() fails

Sadly krb5_enctype_to_string() fails when des-cbc-crc encyrption
type is removed, leaving a failure the operate rather than
falling back to anything useful.

So fall back to printing 3 in the absense of anything more
useful.  A future fix could be to hard-code this mapping
in the smb_krb5_enctype_to_string() wrapper.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Aug  6 05:53:44 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/069d23f0a717ac520560f853a5f34fd4fd92d220">069d23f0</a></strong>
<div>
<span>by David Gajewski</span>
<i>at 2021-08-06T17:19:57+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: solarisacl: Fix compile error (missed variable rename).

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

Signed-off-by: David Gajewski <dgajews@math.utoledo.edu>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Aug  6 17:19:57 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e52ce697d9ed1962a4fae1dbb5ad09b1883b8dfc">e52ce697</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa8c0379b50f675e0f072a27448bf2c8c3d7b3d0">fa8c0379</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix a potential error path memleak

Don't directly overwrite the pointer for a realloc. On failure, the
original pointer is still valid.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/621f561a9c2c3fa905211643ae18cceb92ca5dea">621f561a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib;smbd: Fix the -Os build by initializing variables

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d2a08f5d679a7f426bd7fb87b0a684c25ca72c12">d2a08f5d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samdb: Fix an uninitialized variable read

When the "(status == LDB_SUCCESS && msg != NULL)" condition in this
routine is not evaluating to true, "new_rid" is read uninitialized,
comparing it against ~0. Initialize new_rid and compare it against
UINT32_MAX instead of ~0.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4a99fe42e67e092cfe86281ce6970cf5ae7f0991">4a99fe42</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net3: Save a few lines with any_nt_status_not_ok()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3eaa2bcb89d310ce80137226c86bc2a5d8ea586c">3eaa2bcb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net3: Simplify name_to_sid(): dom_sid_parse checks for "S-" prefix

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de1b95791cbb9b3198b8211db41bc07becbe2ef5">de1b9579</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net: Align some integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5cb5fadce4e410e6c6e9bbc0b3e953e44e8c58d5">5cb5fadc</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libnetapi: Save lines with any_nt_status_not_ok()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dbb1047e4744d4d6187bfe6487b6b7cb39a943ee">dbb1047e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Simplify rpc_pipe_bind_step_one_done()

With just one case handled specially in a switch statement and the
rest being default:, a simple if-statement can reduce indentation.

Best viewed with "git show -b".

I wonder if the second "if (pauth->auth_type == DCERPC_AUTH_TYPE_NONE)"
leads to reachable code, this should have been taken care of already
further up. But for now I did the 1:1 translation of existing code.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f6c9e2800e64690dd0060eafbed57af858e61aff">f6c9e280</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Replace ZERO_STRUCTP with struct assignment

Give the compiler simpler hints

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c8768551fb50b0fdd60d26a9c32742f0f41af955">c8768551</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Simplify create_rpc_bind_req()

In former times this switch statement had more than one branch

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cf8601e785d8b2e8a68ddc562b3cd6fe466cdfad">cf8601e7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Save 65 .text bytes with -Os

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cac5e8287a76b99b069de800d2141d5da969b241">cac5e828</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Avoid two casts with proper printf specifiers

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e80d390b4bd4cb60adf8ec3eaea079fc83c3a898">e80d390b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Use TALLOC_FREE() in data_blob_free()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7c2b6a71dced8cfd2fcea138660089924aaf5a46">7c2b6a71</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmbclient: Avoid a call to SMBC_errno() in SMBC_chmod_ctx()

Directly use the return value from cli_setatr(), don't go via the cli_state
struct member

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5e98b7dfc03afe8ed2eff809134c7922d17af9a2">5e98b7df</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmbclient: Avoid a call to SMBC_errno() in SMBC_open_ctx()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/19df9a2edf14201589c66d96c252649c8fb0bc69">19df9a2e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmbclient: Avoid a call to SMBC_errno() in SMBC_read_ctx()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4bd69f1e1a5c04b76e79cb0b92db773356554e75">4bd69f1e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmbclient: Avoid a call to SMBC_errno() in SMBC_splice_ctx()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/009b6e748ea67215f6bd593fc57af3b6b48b09a0">009b6e74</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmbclient: Avoid a call to SMBC_errno() in SMBC_attr_server()

I think this also fixes the errno return, cli_shutdown() can do a lot and set
errno in between.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1881240d46850581ece52ca10c4af1a7797ca549">1881240d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmbclient: Avoid a call to SMBC_errno() in SMBC_notify_ctx()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a1cbb8bc448f9cd1de4afd07fa982d223a176891">a1cbb8bc</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net: Use dbwrap_do_locked() in wipedbs_delete_records()

Eventually I'd like to get rid of dbwrap_fetch_locked()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9e8f7910b299fca75a1fdb11013036d0a34be4be">9e8f7910</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T17:22:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix fetch_share_mode_send() error return

The "return" is unnecessary here, but in case the code changes later
on, it won't be forgotten. Also, we need to tell the callers that we
found an invalid record.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62f206a249a967f427a70730c1760885a72eb080">62f206a2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-06T18:09:06+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Simplify mark_share_mode_disconnected()

We can use reset_share_mode_entry() for this purpose. 32 lines less
code.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Aug  6 18:09:06 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/39db53a1391769fc6476fa55b02add08f1b8cd75">39db53a1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-10T17:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add a test for the "deadtime" parameter

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/45a33b25c4e6b1db5d2dfa6297ccb390220a7c80">45a33b25</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-10T18:41:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/rpc_server: track the number of policy handles with a talloc destructor

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14783
RN: smbd "deadtime" parameter doesn't work anymore

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Aug 10 18:41:43 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/22a58a51846749495613e5b572c31ba4752bc61b">22a58a51</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-10T18:44:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libreplace: properly give headers to conf.CHECK_CODE when checking for copy_file_range_syscall

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4354823c5146753ef8a3791bc8562379096659b8">4354823c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-10T19:37:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libreplace: properly execute SYS_copy_file_range check

It seems some systems (like Centos 7) have the SYS_copy_file_range define but
fail the syscall when actually being called. The current configure check is only
compiled, not run so erroneously reports a working SYS_copy_file_range.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14786
RN: Insufficient libreplace check for SYS_copy_file_range check

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Aug 10 19:37:14 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6b6770c2ba83bf25da31623443c19a8de34e5ba4">6b6770c2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-08-11T19:16:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Split out smb2_ioctl_smbtorture() into a separate file.

We will be adding async supporting code to this, and we don't want to
clutter up smb2_ioctl.c.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62cd95096a76d5064b105c1b4971fa3eabd5f85d">62cd9509</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-08-11T19:16:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libcli: Add FSCTL_SMBTORTURE_FSP_ASYNC_SLEEP.

Prepare for async FSCTL tests on an fsp.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f4a8d26888ec156979a00480ed9886dcac7d426">0f4a8d26</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-08-11T19:16:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add smbd_fsctl_torture_async_sleep() server-side code.

Commented out as not yet called.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c551d33c6bd2e74ea3a36bec5575a70d6833b98a">c551d33c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-08-11T19:16:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Call smbd_fsctl_torture_async_sleep() when we get FSCTL_SMBTORTURE_FSP_ASYNC_SLEEP.

Now all we need is the client-side test.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7e7ea761a37f46f758582981bc40404ffd815513">7e7ea761</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-08-11T19:16:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: Add test for smb2.ioctl.bug14769.

Add knownfails.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c013509680742ff45b2f5965a5564015da7d466b">c0135096</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-08-11T20:02:57+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: For FSCTL calls that go async, add the outstanding tevent_reqs to the aio list on the file handle.

Remove knownfails.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14769
RN: smbd panic on force-close share during offload write

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Aug 11 20:02:57 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/21302649c46441ea325c66457294225ddb1d6235">21302649</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-08-11T22:12:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: start encryption as soon as possible after the session setup

For the SMB1 UNIX CIFS extensions we create a temporary IPC$ tcon,
if there's no tcon yet.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/289b7a1595ab13a200cfb327604e4b9296fa81e0">289b7a15</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-08-11T23:03:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: close the temporary IPC$ connection in cli_full_connection()

We don't need the temporary IPC$ connection used for the
SMB1 UNIX CIFS extensions encryption setup anymore,
so we can also let the server close it.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Aug 11 23:03:11 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e2d2eaa10499537c9af07dd866ac8e613c3da02">2e2d2eaa</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-08-12T08:07:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: add support git worktree to vcs_dir_contents()

.git is not always a directory, with 'git worktree' it's a file.

Note we could also use 'git rev-parse --show-toplevel', but that's
a patch for another day.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c7f85146cb50795afcbb1c607e87d163d241c79a">c7f85146</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-08-12T08:07:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/bisect-test.py: add support git worktree

.git is not always a directory, with 'git worktree' it's a file.

Note we could also use 'git rev-parse --show-toplevel', but that's
a patch for another day.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8858cf72af1cc15784749e58f184559a839dd4ef">8858cf72</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-08-12T08:56:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wscript: fix installing pre-commit with 'git worktree'

.git is not always a directory, with 'git worktree' it's a file.

'git rev-parse --git-path hooks' is the generic way to find the
patch for the githooks.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Aug 12 08:56:13 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/45f6bf1824f229dd138280eed1fff61a1e291897">45f6bf18</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-12T19:19:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Do not start if the priviliged socket path is too long

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/25941a1f97229ef27ee5ac7cc6bc9e7a300fcca0">25941a1f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-12T20:08:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Pass the right variable to the debug message

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Aug 12 20:08:25 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c25f72f401842a18cab1db2bab89deec78274d93">c25f72f4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-13T10:57:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: detect EOPNOTSUPP and ENOSYS errors from copy_file_range()

When building in a RHEL 7 container on a RHEL 8 host, the current configure
check will detect a working SYS_copy_file_range() syscall.

Later when the resulting smbd binary is run in a RHEL 7 container on a RHEL
7 (vs 8 on the build host) host, SYS_copy_file_range() will fail with
EOPNOTSUPP.

Since the kernel support for copy_file_range() included a fallback in case
filesystems didn't implement it, the caching of copy_file_range() support can be
made a global via the static try_copy_file_range bool, there's no need to deal
with per-fileystem behaviour differences. For the curious: SYS_copy_file_range()
appeared in Linux 4.5, fallback code being vfs_copy_file_range() ->
do_splice_direct().

On current kernels the fallback function is generic_copy_file_range() (which
still calls do_splice_direct()) called from the filesystem backends directly or
from vfs_copy_file_range() -> do_copy_file_range().

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1641e6c528e027dbfff96a834b94a8654a03a168">1641e6c5</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-13T11:45:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libreplace: remove now unused USE_COPY_FILE_RANGE define

The only user was removed in the previous commit. We still need the preceeding
checks however, based on that replace.c provides a copy_file_range() fallback.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14795
RN: copy_file_range() may fail with EOPNOTSUPP

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Aug 13 11:45:17 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6d676cac41d0f84d5396a67bd445ef8cfd4b8e0c">6d676cac</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-08-13T19:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Enable user policy application

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cd63893d4e773cef8a32d75e8177c6af3f6367d6">cd63893d</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-08-13T19:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Enable Scripts ADMX for User Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f04431b1d24d83dea700a2443c4a3600d623dfd4">f04431b1</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-08-13T19:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Group Policy User Scripts

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/80e3daed120b5ed71ffd58427e5d8910b6bdb3a1">80e3daed</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-08-13T19:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Apply Group Policy User Scripts

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7a04052dad4b52a20d47805a41b892bb4fecb433">7a04052d</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-08-13T19:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Ignore symlink failure on sscep renew

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e3a956e075b6030534463689b820eb037aeed4f3">e3a956e0</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-08-13T19:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Decode the bytes for cepces-submit failure

When displaying the error from cepces-submit,
make sure to decode the bytes (otherwise it is
hard to read). Also print the error to debug
instead of warn (it may dump a traceback).

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f26dbe0d0907e16a2c1b10c620a9db5b1b6b4ab">0f26dbe0</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-08-13T20:06:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Print getcert message to debug

Otherwise re-running gpupdate to enforce policy
displays 'already exists' messages, which
confusingly appear to be a failure, but are
actually intentional behavior.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Aug 13 20:06:31 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/86fddfa3116a8dec86e02088a3abc3859f38a251">86fddfa3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-16T16:28:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:replace: Remove trailing spaces from testsuite.c

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1ce08f72a9e2558e8720b463e68174e430a67654">1ce08f72</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-16T17:20:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Fix build with gcc >= 11.1.1

Pair-Programmed-With: Jeremy Allison <jra@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Aug 16 17:20:37 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd19cae8d2f21977d8285efd3f29e2b480d241e9">fd19cae8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-17T10:31:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib/dbwrap: check if global_messaging_context() succeeded

The subsequent messaging_ctdb_connection() will fail an assert if messaging is
not up and running, maybe it's a bit better to add a check if
global_messaging_context() actually succeeded.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4809f4a6ee971bcd9767839c729b636b7582fc02">4809f4a6</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-17T11:23:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">registry: check for running as root in clustering mode

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14787
RN:  net conf list crashes when run as normal user

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Aug 17 11:23:15 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/814df05f8c10e9d82e6082d42ece1df569db4385">814df05f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pygensec: Fix memory leaks

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6818d204897d0b7946dcfbedf79cd53fb9b3f159">6818d204</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pygensec: Don't modify Python bytes objects

gensec_update() and gensec_unwrap() can both modify their input buffers
(for example, during the inplace RRC operation on GSSAPI tokens).
However, buffers obtained from Python bytes objects must not be modified
in any way. Create a copy of the input buffer so the original isn't
modified.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4797ced89095155c01e44727cf8b66ee4fb39710">4797ced8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix ms_kile_client_principal_lookup_test errors

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9eb4c4b7b1c2e8d124456e6a57262dc9c02d67d4">9eb4c4b7</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix comment typo

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7013a8edd1f628b8659f0836f3b37ccf13156ae2">7013a8ed</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix method name typo

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/df6623363a7ec1a13af48a09e1d29fa8784e825c">df662336</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: formatting

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1320ac0f91a9b0fc8156840ec498059ee10b5a2d">1320ac0f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Remove unneeded statements

A return statement is redundant as the last statement in a method, as
methods will otherwise return None. Also, code blocks consisting of a
single 'pass' statement can be safely omitted.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38b3a361819c716adb773fb3b4507c28d7d26c0d">38b3a361</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Use more compact dict lookup

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/41c3e410344280d691e5a21fa5240ef52e71bd2d">41c3e410</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Simplify Python syntax

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a2b183c179e74634438c85a4b35518836ba59e47">a2b183c1</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Remove magic constants

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/67ff72395cec2e5170c0ebae8db416a1f226df72">67ff7239</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix including enc-authorization-data

Remove the EncAuthorizationData parameters from AS_REQ_create(), since
it should only be present in the TGS-REQ form. Also, fix a call to
EncryptedData_create() to supply the key usage when creating
enc-authorization-data.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bad5f4ee5fdf64ca9d775233fec24975e0b510bf">bad5f4ee</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix callback_dict parameter

Items contained in a default-created callback_dict should not be carried
over between unrelated calls to {as,tgs}_as_exchange_dict().

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a0c6538a97126671f9c7bcf3b581f3d98cbc7fd1">a0c6538a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix encpart_decryption_key with MIT KDC

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8194b2a2611c6b1db2d29ec22c70e14decd1784b">8194b2a2</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Expect e-data except when the error code is KDC_ERR_GENERIC

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6a242e20004217a0ce02dc4ef620a121e5944da">d6a242e2</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check Kerberos protocol version number

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17d5a267298ccd7272e86fd24c2c608511cf46b7">17d5a267</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Use credentials kvno when creating password key

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a5e5f8fdfe8b6952592d7d682af893c79080826f">a5e5f8fd</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow cf2 to automatically use the enctype of the first key

RFC6113 states: "Unless otherwise specified, the resulting enctype of
KRB-FX-CF2 is the enctype of k1." This change means the enctype no
longer has to be specified manually.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c80f7f851a7a4ffbcde2c42b2c383b683b67731">2c80f7f8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Refactor get_pa_data()

The function now returns a single padata object rather than a list,
making it easier to combine multiple padata elements into a request. The
new name 'get_enc_timestamp_pa_data' also makes it clearer as to what
the method generates.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f5a906f74f9665a894db3c13722022f732180620">f5a906f7</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add get_enc_timestamp_pa_data_from_key()

This makes it easier to create encrypted timestamp padata when the key
has already been obtained.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb332d83008aa97a60eaca9e008054f641d514d6">cb332d83</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add method to return dict containing padata elements

This makes checking multiple padata elements easier.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fe8912e4a85c5fd614ad3079b041c0e1975958e3">fe8912e4</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Make _test_as_exchange() return value more consistent

Always return the reply and the kdc_exchange_dict so that the caller has
more potentially useful information.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bab7503e3043002b1422b00f40cd03a0a29538aa">bab7503e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add get_EpochFromKerberosTime()

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce379edf2e135b105b18d35e24d732389de94291">ce379edf</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Use encryption with admin credentials

This ensures that account creation using admin credentials succeeds.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4790b6b04ae145a2ebb418dd734487a6ba28a30c">4790b6b0</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow specifying additional details when creating an account

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/50d743bafc7aa9f7b4688bae652a501001e9fdbb">50d743ba</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add more methods for obtaining machine and service credentials

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f5689bb8fab82d5fcbdbd3c63b86e7618834aac5">f5689bb8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add method to calculate account salt

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/28fb50f511f3f693709aa9b41c001d6a5f9c3329">28fb50f5</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add check_reply() method to check for AS or TGS reply

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/21c64fda8f98d451e028ea483dbe351b1280390c">21c64fda</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Always specify expected error code

Now the expected error code is always determined by the test code itself
rather than by generic_check_as_error().

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8fe9589da2d8fe6f5c47770c618ebabe028f6a95">8fe9589d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Include kdc_options in kdc_exchange_dict

Make kdc_options an element of kdc_exchange_dict instead of a parameter
to _generic_kdc_exchange(). This allows testing code to adjust the reply
checking based on the options that were specified in the request.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/78818655505b3183251940e86270cd40bae73206">78818655</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Only allow specifying one of check_rep_fn and check_error_fn

This means that there can no longer be surprises where a test receives a
reply when it was expecting an error, or vice versa.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ba3c92f77b20e1e0d298cd92399dc69535739c27">ba3c92f7</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Ensure in assertElementPresent() that container elements are not empty

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3d1066e923815782036bd11524fda110a2528951">3d1066e9</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Assert that more variables are not None

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/98dc19e8c817fc66e253e544874a45b17b8bfa7b">98dc19e8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check version number of obtained ticket

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6df0e406f1f823bf4d65cd478eb6f2424b69adcc">6df0e406</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Make checking less strict

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4951a105b0448854115a7ecc3d867be6f34b0dcf">4951a105</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check nonce in EncKDCRepPart

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4824dd4e9f40abcbd4134b79e2b2b8fb960f47e7">4824dd4e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add generate_ap_req() method

This method will be useful to generate an AP-REQ for use as FAST armor.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6f96dd6395a30e15fa906959cbe665757aaba8d">b6f96dd6</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Ensure generated padata is not None

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/025737deb5325d25b2ae4c57583c24ae1d0eca33">025737de</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Generate AP-REQ for TGS request in _generic_kdc_exchange()

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ec702900295100ae4e48ba57242eee6670bf30d6">ec702900</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add more ASN1 definitions for FAST

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/69a66c0d2a7ed415c8d8acdb8da0f2f3d1abf60d">69a66c0d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add more methods to create ASN1 objects for FAST

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aafc86896969d02ff1daecdf2668bfa642860082">aafc8689</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add method to generate FAST encrypted challenge padata

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/080894067469d60e2c71961c2d1c1990ba15b917">08089406</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add methods to calculate keys for FAST

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/74f332c6f9e31b933837cefee69b219054970713">74f332c6</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Rename generic_check_as_error() to generic_check_kdc_error()

This method will also be useful in checking TGS-REP error replies.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d554b6dc0f4e14d154e487dc2a842321aa746155">d554b6dc</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Include authenticator_subkey in AS-REQ exchange dict

This is needed for FAST.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5c2cd71ae704b853a886c8af5e3cf50b53af7f9e">5c2cd71a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Modify generate_ap_req() to also generate FAST armor AP-REQ

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0df385fc49cc2693c195209936a29e31216df16d">0df385fc</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add FAST armor generation to _generic_kdc_exchange()

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/16ce1a1d304b87ed5b390fb87a4542c7c9a484fb">16ce1a1d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow specifying parameters specific to the outer request body

This is useful for testing FAST.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b62488113f6053755f9be9faa9b757e7193074fa">b6248811</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add method to check PA-FX-FAST-REPLY

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4ca05402b36ba13a987b07b2402906764d3cd49b">4ca05402</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add method to verify ticket checksum for FAST

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d878bd6404d26c8be45bb2016ec206ed79d4ef6e">d878bd64</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check FAST response

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dc7dac95ec509d90d8372005cd7b13fabd8e64c6">dc7dac95</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add functions to get dicts of request padata

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/99e3b909edf27c751b959a3d0b672ddd2b7140e2">99e3b909</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add methods to determine whether elements were included in the request

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0c029e780cf16a49c674593e8329eaf3b87aec69">0c029e78</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check encrypted-pa-data

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2ee87dbf08e66e1dc812430026bfe214f9f5503d">2ee87dbf</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add expected_cname_private parameter to kdc_exchange_dict

This is useful for testing the 'hide client names' FAST option.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea1ed63e8819926db1cf15974009601c7d37e944">ea1ed63e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Include authdata in kdc_exchange_dict

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1389ba346df81c9ea1e1143c4e819212939f6aeb">1389ba34</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add generate_simple_fast() method to generate FX-FAST padata

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/79b9aac65b7dbdc58275368eae9feb7d87bf6dab">79b9aac6</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add check_rep_padata() method to check padata in reply

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/705e45e37f4752e283a80626be10c38b29232359">705e45e3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Don't expect RC4 in ETYPE-INFO2 for a non-error reply

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5edbabeb26e110648d4588c90843e4715ec1ac5c">5edbabeb</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Remove unused variables

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dbe98005d5873440063b91e56679937149535be7">dbe98005</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add get_krbtgt_sname() method

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7a27b75621908a4a6449efaecb54eb20fa45aca0">7a27b756</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check sname is krbtgt for FAST generic error

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/056fb71832e7aa16132c58ff393ab8b752ef6a93">056fb718</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check reply FAST padata if request included FAST

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/44a44109db96eab08a3da3683c34446bc13b295b">44a44109</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Adjust reply padata checking depending on whether FAST was sent

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2f7919db395c24f6890ffe4ee46a5e34df95fccd">2f7919db</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check PADATA-ENCRYPTED-CHALLENGE in reply

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/95b54078c2f82179283dfc397c4ec1f36d5edfe7">95b54078</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check PADATA-FX-COOKIE in reply

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ab4e7028a6ac01eab9531c8a26507a912df54278">ab4e7028</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Make check_rep_padata() also work for checking TGS replies

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/29070e74baa18d94642efcd36930b9bab216e10c">29070e74</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Make generic_check_kdc_error() also work for checking TGS replies

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0c857f67a3a4a27aa4b799c9a61a1a1b59932c07">0c857f67</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check PADATA-PAC-OPTIONS in reply

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/66e1eb58bedf036ad25a868993d44480c4e0e055">66e1eb58</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow generic_check_kdc_error() to check inner FAST errors

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa2c221f4e1bfc3403de857e62eaeaee1577560c">aa2c221f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check PADATA-FX-ERROR in reply

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b7b62957bdce9929fabd3812b9378bdbd6c12966">b7b62957</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2021-08-18T22:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">initial FAST tests

Currently incomplete, and tested only against MIT Kerberos.

[abartlet@samba.org
 Originally "WIP inital FAST tests"

 Samba's general policy that we don't push WIP patches, we polish
 into a 'perfect' patch stream.

 However, I think there are good reasons to keep this patch distinct
 in this particular case.

 Gary is being modest in titling this WIP (now removed from the title
 to avoid confusion). They are not WIP in the normal sense of
 partially or untested code or random unfinished thoughts. The primary
 issue is that at that point where Gary had to finish up he had
 trouble getting FAST support enabled on Windows, so couldn't test
 against our standard reference. They are instead good, working
 initial tests written against the RFC and tested against Samba's AD DC
 in the mode backed by MIT Kerberos.

 This preserves clear authorship for the two distinct bodies of work,
 as in the next patch Joseph was able to extend and improve the tests
 significantly. ]

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/984a0db00c3f2e38b568a75eb1944f4d7bb7f854">984a0db0</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-08-18T23:20:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add FAST tests

Example command:

SERVER=addc STRICT_CHECKING=0 SMB_CONF_PATH=/dev/null \
KRB5_CONFIG=krb5.conf DOMAIN=ADDOMAIN REALM=ADDOM.SAMBA.EXAMPLE.COM \
ADMIN_USERNAME=Administrator ADMIN_PASSWORD=locDCpass1 \
PYTHONPATH=bin/python python/samba/tests/krb5/fast_tests.py

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Aug 18 23:20:14 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/161cee6f36b1642e2096a64a4eec22a1ebf82aa2">161cee6f</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-08-19T16:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: CHECK ret value and fail if false

If we reach 'done' with ret == false without setting
the torture result we get unexpected results e.g.

Exception: Exception: Unknown error/failure. Missing torture_fail() or torture_assert_*() call?

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5fdf4219c6db6d81ebe608c4313c9c9aea6dbc7c">5fdf4219</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-08-19T16:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: selftest: Add a test for vfs_streams_depot with the target path outside of the share.

Mark as knownfail.d/simpleserver_streams

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1e3232006d688fa999fb8314ce948ffb45a50e71">1e323200</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-08-19T16:14:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: vfs_streams_depot: Factor out the code that gets the absolute stream rootdir into a function.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/649f544ab2cf564cdecf545c549ca9703cb5cda4">649f544a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-08-19T17:04:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_depot: Allow "streams directory" outside of share path to work again.

As we're dealing with absolute paths here, we just need
to temporarily replace the connectpath whilst enumerating
streams.

Remove knownfail file.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Aug 19 17:04:44 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/72b4fe93f15e414ca3e7d7f0e77a5f0aae90556a">72b4fe93</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-08-20T09:56:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Ensure all returns from OpenDir() correctly set errno.

Complex code paths inside open_internal_dirfsp() can return an
NTSTATUS, but trample on the matching errno. We need to make
sure if open_internal_dirfsp() fails, errno matches the NTSTATUS
return.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Fri Aug 20 09:56:49 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d6cdb5421810b0027cb78307abd8a8c855c5244">2d6cdb54</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-08-24T12:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add python path for compiled python modules like ldb

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/423f808ff48e297745f576a52b2118c4b920a3e4">423f808f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-08-24T12:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool domain backup offline: Use passed in samdb when backing up sam.ldb

This avoids opening the database again by having the caller pass in
the DB open

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/958931ad379af26dcbc55cfbc49e7886ef8e0550">958931ad</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-08-24T12:29:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Rework transations/locks to hold a lock during mdb backup

We now also get sidForRestore under that lock, rather than
after the backup.

This avoids using the database again after the backup process

While not entirely clear how/why this matters with LMDB
as seen in Fedora 34, likely due to the same issues
seen with 0.9.26 or later fixed by commmit
bb3dcd403ced922574a89011dd3814c4fe87dd76.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/78942ad7d17a92cd39d9c46ae1b8348e9673ac30">78942ad7</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-08-24T13:22:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool domain backup: Use tdbbackup on metadata.tdb

metadata.tdb is inside sam.ldb.d/ but should be backed up with tdbbackup.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Aug 24 13:22:04 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5e2ac224b79574ee07c82e5e58c8ba17c0299b09">5e2ac224</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Simplify GUID_zero() with a direct struct return

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0cddd3f2d66b3fb3af73d42df6c4d42aff7863d7">0cddd3f2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Simplify GUID_string2() by using GUID_buf_string()

Avoid unnecessary talloc

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9857c562568a718bb14ba49c644db9181aa7110e">9857c562</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Simplify GUID_hexstring()

A temporary talloc context seems unnecessary to me.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b79ed122e53545ed6117b790dacb7a70ff897783">b79ed122</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Simplify open_np_file()

No need to go via a string to create the SID describing the SMB3
encryption, we can directly use sid_append_rid().

This by the way fixes a bug: SID_MAX_SIZE is the maximum length of the
binary SID, not the maximum string length for a SID.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebac118da5b041862af65bbede2bf3bc39a0b27c">ebac118d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Slightly simplify set_user_info_21()

Instead of adding the NULL check to data_blob_talloc_zero() put "out"
on the stack.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2154bb50f682fb0e2fe3b6216933ef4f66c62ab9">2154bb50</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Slightly simplify set_user_info_18()

Instead of adding the NULL check to data_blob_talloc_zero() put "out"
on the stack.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da74089533a52dd92abe7df11f2f5e8be2f6adca">da740895</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Remove an unused function declaration

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/95a2540d0b81e8041b20333be4823a5e03570517">95a2540d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12942576b326e64017e84d98163470a891df1860">12942576</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Simplify _samr_CreateUser2()

Use a variable that we just set a line before, don't duplicate the
priv name.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7e810091fcf49663055f46f6800160ad5972b261">7e810091</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Fix a comment

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8b45a42bc8b9c4efbbc7a4c64dd7fa599c3dccc4">8b45a42b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Improve comment wording

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3fb8eebfe304f715bb63aeefa60b3b76e30288a8">3fb8eebf</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Slightly simplify rpc_transport_np_init_pipe_open()

Avoid an unnecessary else, use tevent_req_nterror() in if-clause

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dbb1226c7ce7fa5b6fe5de1fc540e01fbec9b553">dbb1226c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3e3cc4eae9ab779a61496061da34fc4289785769">3e3cc4ea</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Fix a small memleak

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b0c065773e9e0d1a55aa794997835ca5a52443a8">b0c06577</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Early TALLOC_FREE() in prepare_verification_trailer()

We don't need "t" from here on anymore

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/106c04689e1855e5631f0a10e685c55134315a26">106c0468</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Slightly simplify rpc_api_pipe_req_send()

tevent_req_create() zero-initializes "state"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a4e785040dbdc687061afa246b56fb07802f0e7">2a4e7850</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Adapt rpc_api_pipe_req_send() to talloc_req conventions

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c4aea464bb0eebdf1a7db2564e5d9ca37baf11f5">c4aea464</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Avoid ZERO_STRUCTP in prepare_verification_trailer()

Direct struct assignments are easier to read for me, but YMMV.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a3f7f279ff0663eb25c24cfcc2104e98e210a210">a3f7f279</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Adapt rpc_pipe_bind_send() to talloc_req conventions

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/89a0f256e218a53b0eeafdc3150b889557574d70">89a0f256</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Use struct init/assignment

Don't leave structures/unions partially uninitialized

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8dda8421b3a4c8ac0e3c49d5787662d6f74fb54">e8dda842</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Use ndr_syntax_id_equal() in check_bind_response()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/398e38400d1a5e35d502e9c9764878a8175f8285">398e3840</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Adapt rpc_api_pipe_send() to recent coding conventions

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8c7b41063c9509e93df14bffb4d9c142abc60737">8c7b4106</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Adapt rpc_write_send() to tevent_req conventions

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3bfc7802ef5b93c4ba19d3d0a27b706f25ab4b2a">3bfc7802</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Remove an unused include

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d11688059f9920f9a565eac06699d58b7e3e828a">d1168805</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Simplify rpccli_bh_disconnect_recv()

Use tevent_req_simple_recv_ntstatus()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/56328aef8eb8777500df4f31a8bfb7ce970087fa">56328aef</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Use tevent_req_nterror() properly

Signed-off-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dc4371f7d6224b045bfcbc4cc78147ed2469868f">dc4371f7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Avoid casts

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f8c828b87ddaf8af245e6671590cfc8ef8ed9ee2">f8c828b8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Simplify rpc_api_pipe_auth3_done()

Use tevent_req_simple_finish_ntstatus()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/68a3e478d1c09c337c4eb0fe4d18fa775038bb79">68a3e478</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Simplify get_complete_frag_got_rest()

tevent_req_simple_finish_ntstatus() is made precisely for this simple
case where we just pass on a subreq's NTSTATUS

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/39c0e3ea2ea0644dbe827e243efb0c7350d904bb">39c0e3ea</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Simplify get_complete_frag_got_header()

Use tevent_req_oom()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7df7bf44e55d4ca63f3cf22a6d75efe28cf64371">7df7bf44</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Simplify get_complete_frag_got_header()

tevent_req_nterror() returns a bool, no separate check required

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/965ebcae7636c44ba40af1eda50cb819ce10b4c8">965ebcae</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Simplify get_complete_frag_send()

tevent_req_oom() and tevent_req_nomem() instead of explicit
NT_STATUS_NO_MEMORY; do an early return if done.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/19482ebb7480ce10bce33c5c6c683c8bab8b8b35">19482ebb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Remove rpc_open_tcp test program

Its initial commit in 2008 stated that it still needs to be integrated
into the test suite. As far as I can see, this never happened.

Why remove it? Without this we can make rpc_open_tcp() static for
easier refactoring.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/730e2903b2f967dbc30f84692c8e3bf83d9453e4">730e2903</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Make rpc_pipe_open_tcp() static

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17b6c25bda02dc70dca719e667cc0e285918af6e">17b6c25b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Use tevent_req_nterror() properly in cli_api_pipe

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d244d16ca9d28e69494e68f8f3dd1b9b504269d3">d244d16c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_client: Align cli_api_pipe_send() with tevent_req() conventions

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/76b7bc5fc06cb64ab3e43c3d26c09dc0aa605199">76b7bc5f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T17:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: NULL-initialize a pointer

Patches from the dcerpc patchset will create warnings out of this not
being initialized.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a20c8b2b1659e055dbedcb074e0f49a88b9b8cc">2a20c8b2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-08-24T18:22:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: Add unixinfo commands

The unixinfo pipe might go away in the future, but right now we have
it around. This code is simple and can go away again when unixinfo
dies.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Aug 24 18:22:56 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24c09f913d82528ada14013e3d673d277cf04a93">24c09f91</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2021-08-24T18:33:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ntvfs: add missing COM/LPT ports that are also reserved names

see also:
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c653f8054ea222e0609c98c0121f2e0a26a5954f">c653f805</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2021-08-24T18:33:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mangle_hash2: add missing COM/LPT ports that are also reserved names

see also:
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6248eab51039712b183df915533a76378f48e138">6248eab5</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2021-08-24T19:26:59+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mangle_hash2: remove LOCK$ from list of reserved names

see also:
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Aug 24 19:26:59 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b4d8c62c4e8191e05fd03dd096a0bc989e224ed3">b4d8c62c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-08-25T16:22:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: mdssvc: Correctly disconnect the VFS connection inside the mds_ctx destructor.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/857045f3a236dea125200dd09279d677e513682b">857045f3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-08-25T17:09:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In create_conn_struct_cwd(), don't TALLOC_FREE() an unallocated pointer on error.

Just return the status - if create_conn_struct_as_root() fails
the connection struct never gets returned.

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

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Aug 25 17:09:23 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a41425ebd0f6f2e9e84e2462e7458d04267cd524">a41425eb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-08-25T18:02:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: ntvfs: Missed comma in 24c09f913d82528ada14013e3d673d277cf04a93, string would be concatenated.

Sorry for the mistake, I missed that in the review.

Caught by Coverity.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Aug 25 18:02:05 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/167ad96136b42b5cb601decc0fc68c9603c8b172">167ad961</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-08-26T06:16:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild.py: Explain why each job is removed from the default set

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6145c388d201d817444322dee67ca1ec1989ecd1">6145c388</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-08-26T06:16:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci/autobuild: Add new build confirming behaviour on older MIT Kerberos

Because the MIT KDC builds are moving to current MIT and out of the default autobuild
this ensures that on our default host, which is closer to what most of our
users operate, Samba still works with Kerberos.

This uses the ktest environment that does not require the KDC to exist
and instead uses a static ccache and keytab.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/649b0741e17909afce762a5b84c1231600eec5f0">649b0741</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-08-26T06:16:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Move MIT builds to current Fedora so we can test against a current MIT KDC

Fedora packages current MIT builds pretty fast so we base our
MIT KDC tests there, as this avoids backporting and tests against
the most current code.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff267c3c790c0ae9f276225f67fb543d6371cb53">ff267c3c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-08-26T06:16:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild.py: Do not build MIT builds by default (eg sn-devel)

This avoids the need for MIT KDC tests and the MIT KDC glue code to
operate against the older MIT 1.16 found on Ubuntu 18.04, which
is our current build environment.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/554bdfa8a04fd95c710b486890277dd92f685f2f">554bdfa8</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-08-26T06:16:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Move minimum MIT krb5 version to 1.19 to align with what is tested

This avoid shipping untested code and aligns with the version
used in GitLab CI for all the MIT builds.

The "bronze bit" (CVE-2020-17049) security fixes will need
a new MIT KDB version in any case, this prepares the ground
by removing the older version support.

(knownfail_mit_kdc updates taken from a patch by
Andreas Schneider <asn@samba.org> that did this optionally)

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9b9fd2a0d9ca81aa16ddfe2f7e219b94e2ac158b">9b9fd2a0</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-08-26T07:05:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mit-kdc: Remove build time support for KDB_API < 10

The previous commits restricted to MIT KDC build to MIT 1.19 and this removes the
 #ifdef in the code of what will become untested code.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Aug 26 07:05:44 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5d53b848f60efbb71e4cd2f51f33a06369ca9055">5d53b848</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-08-26T13:06:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: always generate compile_commands.json again, but only when the samba dependencies changed

This means the costs of the generation on a empty build are not paid
anymore, which was the reason for the explicit --enable-clangdb option.

Pair-Programmed-With: Andreas Schneider <asn@samba.org>

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Aug 26 13:06:09 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bcd6bed7b8611654a7e9752b258541f89414b020">bcd6bed7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-26T19:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: avoid calling creating a pathref in smb_set_file_dosmode()

We already have a fsp with a valid fsp->base_fsp if it's a stream.

Also remove the struct smb_filename arg, it's not needed, the only caller
already checks for a valid fsp.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/145e739c440d39651d4f3d30682035ab868488ba">145e739c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-26T19:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: call SMB_VFS_NEXT_CONNECT() before running some module initialization code

No change in behaviour. Prepares for a subsequent commit that checks for IPC shares.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/070dce224bbe190266682c5e362bc2b0ed798ecc">070dce22</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-08-26T19:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: don't check for struct gpfs_config_data in vfs_gpfs_[l]stat()

This is unused and the config object won't be avilable for IPC$ anymore with the
next commit.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1a3ac7a940fbb4ad8575ee3b0c56c9de2bf4b1f6">1a3ac7a9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-26T19:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: make vfs_gpfs_connect() a no-op on IPC shares

We don't ever expect any filesystem IO operations to be called on an IPC shares,
so there's no need to initialize the module here.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/730f8c49a9bc8333f0b722ad65e4e587421c21ec">730f8c49</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-26T19:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: check for O_PATH support in gpfswrap_fstat_x()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fde1b98143568fc816165502583f72e73b5d6b71">fde1b981</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-26T19:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: add path based fallback for gpfswrap_fstat_x() on pathref handles

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3679f54f178ba6ddb940cc66f701e9b3a1dd543d">3679f54f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-26T19:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: remove ENOSYS fallback from vfs_gpfs_fset_dos_attributes()

This API call has existed for a long time, so we can safely assume that this
always works.

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

Pair-Programmed-With: Christof Schmitt <cs@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/882a466ea5f45e5e2197f2408ccd560383e13c3f">882a466e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-26T19:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: add sys_proc_fd_path() fallback to vfs_gpfs_fset_dos_attributes()

gpfs_set_winattrs() is a modifying operation, my expectation thus is that it is
not allowed on pathref (O_PATH) handles even though a recent Linux kernel commit
44a3b87444058b2cb055092cdebc63858707bf66 allowed calling utimensat() on pathref
handles.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14771
RN: Some VFS operations on pathref (O_PATH) handles fail on GPFS

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/443608ee8122a2c17258db8dca9885bb524957af">443608ee</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-26T19:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: deal with pathref fsps in vfs_gpfs_fntimes()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9a237e168a4bbd5665bd40d521506ca3a6825198">9a237e16</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-26T19:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: pass fsp to smbd_gpfs_set_times()

No change in behaviour. Prepares for dealing with pathref fsps in
smbd_gpfs_set_times().

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1bbdb81899be6c1da6fa9a63bf16a00401e09399">1bbdb818</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-26T19:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: remove ENOSYS fallback from vfs_gpfs_fntimes()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/93a48399f427d114df63b434e7fcddc62a1d9ce5">93a48399</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-26T19:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/gpfswrap: add gpfs_set_times_path() wrapper

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fead05a45556993b80a84fe9bb07b10debb4ae62">fead05a4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-08-26T20:08:51+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: deal with pathrefs fsps in smbd_gpfs_set_times()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Aug 26 20:08:51 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c5bbb1777ecd595d8472380302949f45bf50dcf8">c5bbb177</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-08-30T21:08:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Group Policy Firefox Extension

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d5118eb68adc82bede5391821e1db624d119eaec">d5118eb6</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-08-30T21:57:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Add Group Policy Firefox Extension

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Aug 30 21:57:09 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/638c6d423e78ae7b4429c7157c7e86af2313936a">638c6d42</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-08-31T00:12:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove skip of samba4.rpc.unixinfo

This test, and the rpcclient getwpuid call on a "real" system
with nss_winbind (under docker in my test) also works fine.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Aug 31 00:12:53 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1209c89dcf6371bbfa4f3929a47a573ef2916c1a">1209c89d</a></strong>
<div>
<span>by Bjoern Jacke</span>
<i>at 2021-08-31T09:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util_sock: fix assignment of sa_socklen

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

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

Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Tue Aug 31 09:54:35 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8b078bbf8717b9407cdbc1588dd065164ab78e1b">8b078bbf</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-02T05:03:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Modernise user_account_control.py tests use a common self.OU

We set and use a single self.OU to ensure consistancy and
reduce string duplication.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8c455268165f0bbfce17407df2c1746a0e03f828">8c455268</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-02T05:03:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Use addCleanup rather than tearDown in user_account_control.py

self.addCleanup() is called regardless of the test failure or error status
and so is more reliable, particularly during development.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fb6c0b9e2a10c9559d3e056bb020bd2c990da998">fb6c0b9e</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-02T05:03:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pydsdb: Add API to return strings of known UF_ flags

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8701ce492fc3a209035b152961d8c17e801b082a">8701ce49</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-02T05:03:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Use @DynamicTestCase in user_account_control test_uac_bits_unrelated_modify()

This is a nice easy example of how the test generation
code works, and it combined nicely with the earlier
patch to return string names from the UF_ constants.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/60f1b6cf0ef0bf6736d8db9c53fa48fe9f3d8e75">60f1b6cf</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-02T05:03:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Replace internal loop in test_uac_bits_add() using @DynamicTestClass

This generates a single test per bit which is easier to
debug.  Elsewhere we use this pattern where we want to
be able to put some cases in a knownfail, which is otherwise
not possible.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17ae0319db53a7b88e7fb44a9e2fd4bf1d1daa0e">17ae0319</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-02T05:03:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Replace internal loop in test_uac_bits_set() using @DynamicTestClass

This generates a single test per bit which is easier to
debug.  Elsewhere we use this pattern where we want to
be able to put some cases in a knownfail, which is otherwise
not possible.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40b65fcb5830c6168a3032eb12bb4c8acc940bb3">40b65fcb</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-02T05:56:12+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: Restore MIT ADDC tests against fl2008*

Commit 7387da74e6f0e33de5f80b9a5e59f268541f52cd incorrectly
ran the fl2000dc and fl2003dc tests twice, rather than the
fl2008dc and fl2008r2dc tests in samba-ad-dc-4b-mitkrb5.

(Now ad-dc-mit-4b)

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Thu Sep  2 05:56:12 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e9c8ac4adbca2f8cb45470ccb45a45039188a285">e9c8ac4a</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Update to get newer krb5 on Fedora 34

We need the update FEDORA-2021-20b495cb94 (krb5) to
get a fix for CVE-2021-37750 (explicit NULL deref on KDC)
so our CI will pass as we have a test for this.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5805a7c49aa13b578a717cbbc46460741d325c65">5805a7c4</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: SAMBA_CI_CONTAINER_TAG is now in .gitlab-ci-main.yml

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d9edad89f3b268c6da8f988a42f8cf2a3b697fe7">d9edad89</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Update common on currently supported Fedora versions

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/79dda329f2a8382f1e46b50f4b9692e78d687826">79dda329</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Make e-data checking less strict

Without this additional 'self.strict_checking' check, the tests in the
following patches do not get far enough to trigger a crash with the MIT
KDC, instead failing when obtaining a TGT for the user or machine.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/36798f5b651a02b74b6844c024101f7a026f1f68">36798f5b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Make cname checking less strict

Without this additional 'self.strict_checking' check, the tests in the
following patches do not get far enough to trigger a crash with the MIT
KDC.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/15f9f040fe537ebd30419a4751aa0f13b20f242b">15f9f040</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add test for sending PA-ENCRYPTED-CHALLENGE without FAST

Note: This test crashed the MIT KDC prior to MIT commit
fc98f520caefff2e5ee9a0026fdf5109944b3562 which was given
CVE-2021-36222.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0cb4b939f192376bf5e33637863a91a20f74c5a5">0cb4b939</a></strong>
<div>
<span>by Luke Howard</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3671 HEIMDAL kdc: validate sname in TGS-REQ

In tgs_build_reply(), validate the server name in the TGS-REQ is present before
dereferencing.

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

[abartlet@samba.org backported from from Heimdal
commit 04171147948d0a3636bc6374181926f0fb2ec83a via reference
to an earlier patch by Joseph Sutton]

RN: An unuthenticated user can crash the AD DC KDC by omitting the server name in a TGS-REQ

Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b8e2515552ffa158fab1e86a39004de4cc419da5">b8e25155</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3671 tests/krb5: Add tests for omitting sname in outer request

Note: Without the previous patch, 'test_fast_tgs_outer_no_sname' would
crash the Heimdal KDC.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3330eaf39c6174f2d90fe4d8e016efb97005d1e5">3330eaf3</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Remove harmful and a-typical return in as_req testcase

A test in a TestCase class should not return a value, the
test is determined by the assertions raised.

Other changes will shortly cause kdc_exchange_dict[preauth_etype_info2]
to not always be filled, so we need to remove this
rudundent code.

This also fixes a *lot* of tests against the MIT KDC

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e373c6461a88c44303ea8cdbebc2d78dd15dec4a">e373c646</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check e-data element for TGS-REP errors without FAST

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1e4d757394a0bbda587d5ff91801f88539b712b1">1e4d7573</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check PADATA-PW-SALT element in e-data

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bbbb13caf7bd2440c80f4f4775725b7863d16a5b">bbbb13ca</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add tests for omitting sname in request

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6d7e19ecfb264c6f79df5a20e830e4ea6fdb340">c6d7e19e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow specifying parameters specific to the inner FAST request body

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24914ae17d49f634fafc1bdeb88859293da05f79">24914ae1</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add tests for omitting sname in inner request

Note: the test 'test_fast_tgs_inner_no_sname' crashes the MIT KDC.

This is fixed in MIT Krb5 commit d775c95af7606a51bf79547a94fa52ddd1cb7f49
and was given CVE-2021-37750

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebd673e976aea5dd481a75f180fd526995c4fda0">ebd673e9</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow expected_error_mode to be a container type

This allows a range of possible error codes to be checked against, for
cases when the particular error code returned is not so important.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b0f4455e524cbbfb13202220e7095f466b083a2f">b0f4455e</a></strong>
<div>
<span>by Luke Howard</span>
<i>at 2021-09-02T13:41:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: KRB5KDC_ERR_{C,S}_PRINCIPAL_UNKNOWN if missing field

If missing cname or sname in AS-REQ, return KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN and
KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN. This matches MIT behaviour.

[abartlet@samba.org Backported from Heimdal commit 892a1ffcaad98157e945c540b81f65edb14d29bd
and knownfail added]

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/10baaf08523200e47451aa1862430977b0365b59">10baaf08</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-02T14:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN for a missing sname

This allows our code to still pass with the error code that
MIT and Heimdal have chosen

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Sep  2 14:28:31 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/39c2ec72cb77945c3eb611fb1d7d7e9aad52bdfd">39c2ec72</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-02T14:29:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: call wb_parent_idmap_setup_send() in wb_queryuser_send()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d0f6d54354b02f5591706814fbd1e4844788fdfa">d0f6d543</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-02T15:20:06+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: ensure wb_parent_idmap_setup_send() gets called in winbindd_allocate_uid_send()

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

Signed-off-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 Sep  2 15:20:06 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e41bc0f43f6d86d554f37881263c43c356994726">e41bc0f4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-09-02T20:30:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party: Add a script to update waf

    ./third_party/waf/update.sh

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/59ed09928541d40df72592419247add608a54aca">59ed0992</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-09-02T21:22:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party: Update waf to version 2.0.22

New in waf 2.0.22

* Fix stdin propagation with faulty vcvarsall scripts #2315
* Enable mixing Unix-style paths with destdir on Windows platforms #2337
* Fix shell escaping unit test parameters #2314
* Improve extras/clang_compilation_database and extras/swig compatibility #2336
* Propagate C++ flags to the Cuda compiler in extras/cuda #2311
* Fix detection of Qt 5.0.0 (preparation for Qt6) #2331
* Enable Haxe processing #2308
* Fix regression in MACOSX_DEPLOYMENT_TARGET caused by distutils #2330
* Fix extras/wafcache concurrent trimming issues #2312
* Fix extras/wafcache symlink handling #2327

The import was done like this:

./third_party/waf/update.sh

Then changing buildtools/bin/waf and buildtools/wafsamba/wafsamba.py
by hand.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Sep  2 21:22:17 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/efcd1af17b4dde0a075cef135ef6bf73a56a1bcc">efcd1af1</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-04T00:10:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/samdb/ldb_modules: Use correct member of union

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/15f0d34d34926f576dc179f65ba397ad137baf46">15f0d34d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-04T00:10:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/dnsserver: Don't call memcpy() with a NULL pointer

Doing so is undefined behaviour.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3d490c225b5beff668ec8be714d1f197b794dc9b">3d490c22</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-04T00:10:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/dnsserver: Fix NULL check

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ad3498ab1643459719cdef24903379245ee9cefe">ad3498ab</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-04T00:10:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: Don't call memcpy() with a NULL pointer

Doing so is undefined behaviour.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b59fc43523fb795bfab6846c266474873a15fdb9">b59fc435</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-04T00:10:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Fix usage strings

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/02b187303369d3ce0c19dfb72ffa78f86a3911f0">02b18730</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-04T00:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix Python docstrings

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Sep  4 00:55:32 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8b4599e0935290c5e59df9fd4f695ad8d6f361c">e8b4599e</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-05T02:28:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Split up targets for samba_tool_drs from samba_tool_drs_showrepl

These now run in the disconnected sets schema_dc/schema_pair_dc and
ad_dc/vampire_dc/promoted_dc.  By aiming at different sets ofservers
we can't cause cross-contamination in terms of which servers are
listed as outbound connections.

Also, by running the tests only once we reduce the chaces of trouble
by half.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/75a5ed66731e947fa16af81aab7649d1fddec45f">75a5ed66</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-05T02:28:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Only run samba_tool_drs_showrepl test once

This test is not slow, but there is no value running it twice.

Running this test twice just increases the chances we might
loose a race as it shows and validates live replication data.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8affe4a1e625104de4ca024fdc3e9cd96498aff3">8affe4a1</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-05T02:28:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Be careful to avoid use of the expensive talloc_is_parent()

The wrong talloc API was selected while addressing a memory leak.

commit ee2fe56ba0ef6626b634376e8dc2185aa89f8c99
Author: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Date:   Tue Nov 27 11:07:44 2018 +1300

    drepl: memory leak fix

    Fixes a memory leak where schema reference attached to ldb
    instance is lost before it can be freed.

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

    Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>

    Reviewed-by: Andrew Bartlett <abartlet@samba.org>
    Reviewed-by: Garming Sam <garming@catalyst.net.nz>

    Autobuild-User(master): Garming Sam <garming@samba.org>
    Autobuild-Date(master): Wed Jul 17 06:17:10 UTC 2019 on sn-devel-184

By using talloc_get_parent() walking the entire talloc tree is
avoided.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b40761b42e889369599c5eb355028ba377c43b49">b40761b4</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-05T02:28:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add a test for LookupSids3 and LookupNames4 in python

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ae57d22e45b33537e9fca5969e9b68abd1ad633f">ae57d22e</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-05T03:19:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-lsa: Cache sam.ldb handle in lsa_LookupSids3/LookupNames4

Since 5c0345ea9bb34695dcd7be6c913748323bebe937 this
would not have been implicitly cached via the ldb_wrap
cache, due to the recording of the remote IP address
(which is a good thing).

This creates a more explicit and direct correct
cache on the connection.

The common code, including the SCHANNEL check is
placed into a helper function.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sun Sep  5 03:19:26 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6590bb0b77c641f0d4686b39c713c1405ffb64f5">6590bb0b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-06T02:32:51+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add prefix to new schema attributes to avoid flapping dsdb_schema_attributes

If two of these unit tests run in the same second they could
select the same name, as the name was only based on the time
and a common prefix.

As observed by Jeremy Allison.  Thanks for the report!

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Sep  6 02:32:51 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a54d9ffc87ebe602a0e7c48e35643ed2ff1a00bc">a54d9ffc</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-09-06T08:30:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add fifo test for the DISABLE_OPATH case.

Currently we hang when trying to list a directory
containing a fifo when configured with DISABLE_OPATH.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2f2c53c4f8f59a497bc33a24e5e0fc15ea076876">2f2c53c4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-09-06T09:51:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix openat_pathref_fsp() to cope with FIFO's in the filesystem..

Remove skip test for the DISABLE_OPATH case.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14816
RN: Fix pathref open of a filesystem fifo in the DISABLE_OPATH build

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Sep  6 09:51:54 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aaa3c6a4132d2e739958e168e7dc3e78dfa4a72e">aaa3c6a4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-06T13:26:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/cmdline: add POPT_COMMON_DAEMON daemon popt options

Note: interactive=true implies fork=false. This matches the semantics
that currently 3/4 daemons implement manually.

Not used so far, no change in behaviour.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/877183ac0b57f5b2902446e41bb6ab3191f84fa6">877183ac</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-06T13:26:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/cmdline: restore pre-4.15 logging behaviour for daemons

For servers ensure logging is configured to go to a logfile unless in
interactive mode by calling setup_logging() before lp_load_global() is
called.

In 4.14 servers had the chance to call setup_logging(getprogname(),
DEBUG_FILE) before they called lp_load_*() explicitly in the server.

Now in 4.15 lp_load_*() is called internally when parsing the command
line arguments triggered by the server running the poptGetNextOpt()
loop, so it's too late when the server calls
setup_logging(getprogname(), DEBUG_FILE) as lots of debugging from
lp_load_()* was already written to DEBUG_DEFAULT_STDERR.

Note that there's a chicken and egg problem *within* this patchset:
this change here breaks stdout logging for servers until the servers
are converted to use the new POPT_COMMON_DAEMON. The only way to
address that would be squashing all changes into one patchset, but for
the sake of reviewability (is that an actual english word? :)) I chose
to split the changes.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ae22442db437061aada6427adde205cd13f1d202">ae22442d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-06T13:26:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: use POPT_COMMON_DAEMON

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a20f63b384750d389aeafd4bd5e229aed72cb271">a20f63b3</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-06T13:26:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nmbd: use POPT_COMMON_DAEMON

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d82454cdfc2b4b8007c7b54b3afd5686f49be19">9d82454c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-06T13:26:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: use POPT_COMMON_DAEMON

Note: this also changes logging to go to stderr instead of stdout which is the
same behaviour as smbd and nmbd (starting with 4.15).

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/28686f8713958726085bd38a0889aa7725c95371">28686f87</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-06T14:23:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/samba: POPT_COMMON_DAEMON

Note: this also changes logging to go to stderr instead of stdout which is the
same behaviour as smbd, nmbd and winbindd (starting with 4.15).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14803
RN: smbd/winbindd started in daemon mode generate output on stderr/stdout

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Sep  6 14:23:15 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/44566f59d8f8fa2ba5dd1239d4a3265bcdc44297">44566f59</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-07T18:26:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Include the right "dcerpc.h" from a SAMBA_SUBSYSTEM

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f585f01148ab2d8f84c96b12e018742f5f17bcb0">f585f011</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-07T18:26:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth: Simplify is_our_machine_account()

Use strnequal instead of duplicating a string

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ba237d9403cf45bf71e5d943b92c15e9c494fb0f">ba237d94</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-07T18:26:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6ebed6b505aebb58726322b7c4e7f736e02773ce">6ebed6b5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-07T18:26:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3347bfce9ee8b20c09dec2c0c5eb69b0c4bdb743">3347bfce</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-07T18:26:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba_dnsupdate: Fix deprecation warnings

We should not call samba-tool with -k anymore

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2b86cff4a4df81e37ca9a4d95b8b928b0a912633">2b86cff4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-07T19:24:57+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/replace: drop runtime copy_file_range() check

This reverts commit 4354823c5146753ef8a3791bc8562379096659b8
"libreplace: properly execute SYS_copy_file_range check".

We now use a runtime check in the user of copy_file_range().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Sep  7 19:24:57 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/91c024dfd8ecf909f23ab8ee3816ae6a4c9b881c">91c024df</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-09-08T06:38:21+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: auth: Andrew noticed f585f01148ab2d8f84c96b12e018742f5f17bcb0 doesn't keep the same logic.

This should make it identical.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Sep  8 06:38:21 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/16e907f8415ed28e678112f22d1813f09da136f9">16e907f8</a></strong>
<div>
<span>by Alenka Glukhovskaya</span>
<i>at 2021-09-08T15:44:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Added russian translate file

Signed-off-by: Alenka Glukhovskaya <alenka@altlinux.org>
Signed-off-by: Elena Mishina <lepata@altlinux.org>
Reviewed-by: David Mulder <dmulder@suse.com>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Wed Sep  8 15:44:42 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/867c6ff9f3f28ab4bfa0cb1660889f3f5be0d111">867c6ff9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-09-08T16:37:07+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: use upper case for "{client,server} smb3 {signing,encryption} algorithms" values

This matches what smbstatus prints out. Note there's also the removal of
an '-' in "hmac-sha-256" => HMAC-SHA256".

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14825
RN: "{client,server} smb3 {signing,encryption} algorithms" should use the same strings as smbstatus output

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Sep  8 16:37:07 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a363742635c54a6cb19363f4be9d2be2b731a5e6">a3637426</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-09T00:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Ensure to rebuild manpages if samba.entities or samba.version changes

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9b50d2e52e6c85bc3ab991cd8a4b870aff397bda">9b50d2e5</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-09T00:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Document all the other ways to send a password to smbclient et al

This was previously hidden knowlege not easily available to
administrators and end users.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18e08c709002506fe217ca6a7a098fcdc00f8c29">18e08c70</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-09T00:52:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Avoid duplicate information on USER and PASSWD, reference the common section

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Sep  9 00:52:09 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2fe8d3eeac4cddedfeac936ce785c2c6f12d86ef">2fe8d3ee</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2021-09-09T00:53:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzzing/oss-fuzz: fix image build recipe for Ubuntu 20.04

Update the build_image.sh script to install Ubuntu 20.04 packages
instead of Ubuntu 16.04 on the oss-fuzz container - this will
allow the oss-fuzz container to be based on Ubuntu 20.04.

REF: https://github.com/google/oss-fuzz/issues/6301#issuecomment-911705365

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e608dcd2d6736505022d0f9d1e008333bb70f1af">e608dcd2</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2021-09-09T00:53:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">configure: allow configure script to accept parameters with spaces

Specifically this enables passing two linker flags to the --fuzz-target-ldflags
configure argument.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/541f9ee5ab66b41a2a8d9c54183b095ad99f3769">541f9ee5</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2021-09-09T00:53:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzzing/oss-fuzz: fix RPATH comments for post-Ubuntu-16.04 era

Remove what appears to be a copy+paste error in one place, and
explain that RPATH/RUNPATH is set by the linker, not by chrpath
utility.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f94b1d3b31f2fb5bdbfce7b5f79d80f098b91975">f94b1d3b</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2021-09-09T00:53:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzzing/oss-fuzz: fix samba build script for Ubuntu 20.04

Add a linker flag to generate fuzzer binaries with an RPATH
header instead of RUNPATH.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f300d672a8ef1820e68bc82833de4f5d4c0996e">4f300d67</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2021-09-09T00:53:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fuzzing/oss-fuzz: strip RUNPATH from dependencies

Strip all RUNPATH headers from all dependency shared objects that
we copy to the fuzzing target, as those libraries aren't placed
in their original place.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4366c3bb71fe9c083dedeae8798547b64a64d2b4">4366c3bb</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2021-09-09T01:45:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: run samba-fuzz autobuild target on Ubuntu 20.04-based image

REF: https://github.com/google/oss-fuzz/issues/6301#issuecomment-911705365

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Sep  9 01:45:09 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/82a075d4d734588a42fca7ebaf529892d1eba853">82a075d4</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Add a helper variable

Improves readability and simplifies subsequent changes.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/620d07871420cdbfa055c1ace75ec1ac4c32721d">620d0787</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Update the local node map before pushing out flags

The resulting code structure looks a little weird.  However, there is
another condition that requires the flags to be pushed that will be
inserted before the continue statement in a subsequent commit..

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8305f6a7f132f03b0bbdb26692b7491fd3f6c24f">8305f6a7</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Push flags for a node if any remote node disagrees

This will usually happen if flags on the node in question change, so
keeping the code simple and pushing to all nodes won't hurt.  When all
nodes come up there might be differences in connected nodes, causing
such "fix ups".  Receiving nodes will ignore no-op pushes.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/49dc5d8cd2d3767044ac69cbd25c8210d11cadf7">49dc5d8c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Add new controls to disable and enable nodes

These are CTDB_CONTROL_DISABLE_NODE and CTDB_CONTROL_ENABLE_NODE.

For consistency these match CTDB_CONTROL_STOP_NODE and
CTDB_CONTROL_CONTINUE_NODE.  It would be possible to add a single
control but it would need to take data.

The aim is to finally fix races in flag handling.  Previous fixes have
improved the situation but they have only narrowed the race window.
The problem is that the recovery daemon on the master node pushes
flags to nodes the same way that disable and enable are implemented.
So the following sequence is still racy:

1. Node A is disabled
2. Recovery master pulls flags from all nodes including A
3. Node A is enabled
4. Recovery master notices A is disabled and pushes a flag update to
   all nodes including node A
5. Node A is erroneously marked disabled

Node A can not tell if the MODIFY_FLAGS control is from a "ctdb
disable" command or a flag update from the recovery master.

The solution is to use a different mechanism for disable/enable and
for a node to ignore MODIFY_FLAGS controls for their own flags.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6845dca87e6ffc5e449fb78d23eb9c7a22698b80">6845dca8</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Add marshalling for controls DISABLE_NODE/ENABLE_NODE

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e0a7b5a9e866452b1faaed86a105492fe7b237e2">e0a7b5a9</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Add a helper variable

Simplifies a subsequent change.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1ac7bc7532b2fad791d0e53effa7c64cdc73c4eb">1ac7bc75</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Factor out a function to get node structure from PNN

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/60c1ef146538d90f97b7823459f7548ca5fa6dd3">60c1ef14</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Start as disabled means PERMANENTLY_DISABLED

DISABLED is UNHEALTHY | PERMANENTLY_DISABLED, which is not what is
intended here.  Luckily, it doesn't do any harm because nodes are
marked unhealthy at startup anyway.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/15a6489c288b3adb635a728cb2049621ab1a07f7">15a6489c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb_daemon: Implement controls DISABLE_NODE/ENABLE_NODE

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6fe6a54e7f32e650be6ab36041159081dbde5165">6fe6a54e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-client: Add client code for disable/enable controls

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5914054698dab934fd4db5efb9d211b2fdc40bb9">59140546</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Use disable and enable controls in tool

Note that there a change from broadcast to a directed control here.
This is OK because the recovery master will push flags if any nodes
disagree with the canonical flags fetched from a node.

Static function ctdb_ctrl_modflags() is no longer used to drop it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eec44e286250a6ee7b5c42d85d632bdc300a409f">eec44e28</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Correct the condition for logging unchanged flags

Don't trust the old flags from the recovery master.

Surrounding code will change in future comments, including the use of
old-style debug macros, so just make this change clear.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6d25d079e30919457cacbfbbfd670bf88295a9c">b6d25d07</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Update logging for flag changes

When flags change, promote the message to NOTICE level and switch the
message to the style that is currently generated by
ctdb-recoverd.c:monitor_handler().  This will allow monitor_handler()
to go away in future.

Drop logging when flags do not change.  The recovery master now logs
when it pushes flags for a node, so the lack of a corresponding
"changed flags" message here indicates that no update was required.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0132bd5a2233193256af434a37506f86ed62c075">0132bd5a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Modernise remaining debug macro in this function

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e75256767fffc6a7ac0b97e58737a39c63c8b187">e7525676</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Don't bother sending CTDB_SRVID_SET_NODE_FLAGS

The code that handles this message is
ctdb_recoverd.c:monitor_handler().  Although it appears to do
something potentially useful, it only logs the flags changes.  All
changes made are to local structures - there are no actual
side-effects.

It used to trigger a takeover run when the DISABLED flag changed.
This was dropped back in commit
662f06de9fdce7b1bc1772a4fbe43de271564917.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/916c5ee131dc5c7f1d9c3540147d1f915c8302ad">916c5ee1</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Mark CTDB_SRVID_SET_NODE_FLAGS obsolete

CTDB_SRVID_SET_NODE_FLAGS is no longer sent so drop monitor_handler()
and replace with srvid_not_implemented().  Mark the SRVID obsolete in
its comment.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ae10a8a4b70e53ea3be6257d1f86f2d9a56aa62a">ae10a8a4</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Simplify ctdb_control_modflags()

Now that there are separate disable/enable controls used by the ctdb
tool this control can ignore any flag updates for the current nodes.
These only come from the recovery master, which depends on being able
to fetch flags for all nodes.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7f697b1938efb3972f03f25546bf807d5af9a26c">7f697b19</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T01:46:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Ignore flag changes for disconnected nodes

If this node is not connected to a node then we shouldn't know
anything about it.  The state will be pushed later by the recovery
master.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9e7d2d9794af7251c42cb22f23ee9f86c6ea05c1">9e7d2d97</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-09-09T02:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Don't mark a node as unhealthy when connecting to it

Remote nodes are already initialised as UNHEALTHY when the node list
is initialised at startup (ctdb_load_nodes_file() calls
convert_node_map_to_list()) and when disconnected (ctdb_node_dead()).
So, drop this code.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Thu Sep  9 02:38:34 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c18a982537ea1a62e4d802c9ae0ef06b36158dc">2c18a982</a></strong>
<div>
<span>by Alex Richardson</span>
<i>at 2021-09-09T17:43:19+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Don't use sysconf(_SC_NGROUPS_MAX) on macOS for getgroups()

On MacOS sysconf(_SC_NGROUPS_MAX) always returns 16. However, this is not
the value used by getgroups(2). MacOS uses nested groups but getgroups(2)
will return the flattened list which can easily exceed 16 groups. In my
testing getgroups() already returns 16 groups on a freshly installed
system. And on a 10.14 system the root user is in more than 16 groups by
default which makes it impossible to run smbd without this change.
Setting _DARWIN_UNLIMITED_GETGROUPS allows getgroups() to return more than
16 groups. This also changes set_unix_security_ctx() to only set up to
16 groups since that is the limit for initgroups() according to the manpage.

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

Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Sep  9 17:43:19 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1047acce9d4d04d41ea7e1ba8f58633c8df98a70">1047acce</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-09-09T19:55:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Test Chromium Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/efba2c445c511f27e220c2c92d507a772ee82bc1">efba2c44</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-09-09T20:42:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Add Chromium Group Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Sep  9 20:42:35 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f3ef4e6c5a440c6582f7af268c6c27c8a2273d4">8f3ef4e6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/cmdline: fix --configfile handling of POPT_COMMON_CONFIG_ONLY used by ntlm_auth

ntlm_auth only every knew about '--configfile' without the '-s' alias,
keep it that way and make sure we actually process the argument via
the OPT_CONFIGFILE handling.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fdfc475000f606cc9e4ac160350f7ced64749589">fdfc4750</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: fix ---configfile option

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9a3b7f1338e2947aa1cbf1ae34d0e1e7cb692ee9">9a3b7f13</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">manpages: remove duplicate options from smbclient

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/29910da882d75b20d63714a1365a7b0dba6904a7">29910da8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/cmdline: restore s3 option name --max-protocol for MAXPROTOCOL from 4.14

s4 used --maxprotocol, s3 used --max-protocol. We should continue supporting
--max-protocol.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/09fd46aa1cb6c1e24948b7d370a4851191b205b2">09fd46aa</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: remove unsupported smbcacls option --get

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d179c4f49b37dbcd04197b8cc31933e19dd8ac9a">d179c4f4</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbclient: don't ignore unknown options

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

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c87cc09315a169300e57a58b88587e54fcf29d8f">c87cc093</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">texpect: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4053a59d8dc95ff4de2f6f5c50f7007b6456141f">4053a59d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbstatus: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6845051266a785bc26356e296bd716162e8a133e">68450512</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/smbclient: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/98c977f44b6086e2c5cec52451078a6ade81d4a8">98c977f4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nmblookup: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/08512e3a54180253445a16e976dd4f6ef4f2a799">08512e3a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">source3/lib/smbconf: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d5f360723349c26a50472188e4f299def5b82742">d5f36072</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/param: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6afa1b3485cef59676dbccf0276bdfa289e009b4">6afa1b34</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e3c5516dc578aee25aaaac1ab7a66ede9d313be0">e3c5516d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pdbtest: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/96ab7909bd9eea14ba3aad535c28d53c184341a2">96ab7909</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfstest: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4056bebf05f4d1e0bfcbc5fe53d63b3bab9e031f">4056bebf</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/async-tracker: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/72a6cf1a8a2903518488cff1bdadd001c5b0b281">72a6cf1a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">log2pcaphex: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c84916fef5520795d54a29e8e8e2817dd8322f30">c84916fe</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mvxattr: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff6a16806f6a030a36179b1e9db699ae72670db4">ff6a1680</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nmblookup: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5536e7981c3902014e91cdfa5bd9a17276e41be7">5536e798</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ntlm_auth: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bcc4756d8293e452d09a6a73005302eddb6c1f28">bcc4756d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pdbedit: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/372adfda9f0aa8f91db6b5dc4357d848baa9fab3">372adfda</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">profiles: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/246d4f7b934fbfa75d967aee1ff6bd64866995d1">246d4f7b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">regedit: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5a2b4ba059809a1e16124bf448a9398822fe5c80">5a2b4ba0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sharesec: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3755304b6efb98739aca3aa121c095302b09e631">3755304b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbcacls: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/46a0da16710f99f33780d030557562e1a52a8cba">46a0da16</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbcquotas: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d841457aedd8715ceacb20af8f1ae42cbf8ebf49">d841457a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbget: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5562674a2188d4e11fbdfcbed7bf1fba02af9e90">5562674a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbtree: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b851d48277f226ff825b4aaf17483e2d91c54451">b851d482</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">split_tokens: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac292ec428ea8ef6702e028c15077818000dfa87">ac292ec4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testparm: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/08532b3d2e0f66ee524401b8b939b3af31b6b7cd">08532b3d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/cifsdd: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5c75b5bdeb9b39843f115fe07f1a44689af3fcc5">5c75b5bd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/regdiff: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/604ce3d85a879aa50c045b1f36c0580748b72eb7">604ce3d8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/regpatch: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac86779fe490318a943ab90e5d117537e839b55f">ac86779f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/regshell: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ecb27e02e113c597f952457e8a7803325c4c620e">ecb27e02</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/regtree: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f6be1c18bf78db9e45be953d95ef8581daed5b4b">f6be1c18</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture/gentest: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0c47f244312f193c299d5b5b7b00db90364f8c8e">0c47f244</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T15:10:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture/locktest: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b053bea0af2b2f059d7ed2c920f283d82339022f">b053bea0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T16:02:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture/masktest: don't ignore unknown options

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Sep 10 16:02:10 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ed35fce4fe48b1fa26854a7b4bb151b5c5fb6fc6">ed35fce4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-10T18:16:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_btrfs: fix btrfs_fget_compression()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14790
RB: vfs_btrfs compression support broken

Reported-by: noel.kuntze@thermi.consulting

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Sep 10 18:16:18 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/926db374a615e88003c99a476f45981beb30f8cf">926db374</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-11T21:48:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: fix "ea support = no"

Introduced by de83946311d8c1f007c236751280e9f101cc3a29.

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

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Sep 11 21:48:01 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5950fc66e017e5712a5bafbce16c92484eee4c16">5950fc66</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-13T04:53:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Make Python 3.6 the minimum to build now oss-fuzz is upgraded

The exception to allow building, but not operating, with Python 3.5
was only because oss-fuzz provided only Python 3.5 on Ubuntu 16.04.

Ubuntu 20.04 is now the base image provided, so this exception can
be removed.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6b9b0439d849d26797b6ce9e27b85188f427c5b2">6b9b0439</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-13T05:41:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal: Remove lex.yy.c file left over from a bug in lexyacc.sh

This file was incorrectly added in 6a27fbbfc4c51ae1635b8a5fa51c470ebc9f01e2,
was never referenced on our build system and should have been
removed with c51c15144e3fbdd3ebed301a077c687e23882e09 at least.

That script had a bug and did not remove this filename if
the particular version of lex generated it, and so it
likely was added to git as a result.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>

Autobuild-User(master): Uri Simchoni <uri@samba.org>
Autobuild-Date(master): Mon Sep 13 05:41:30 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7217c67a4ad70bab524cd67f76c74afa240cdf29">7217c67a</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2021-09-13T21:39:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add a unit test for tsocket_address_inet_from_strings

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/95d8cdf0c361b6e3398614d28b0fb120c81649a9">95d8cdf0</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2021-09-13T22:27:59+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tsocket: set errno on some failures of tsocket_address_inet_from_strings

Fix setting errno on all failure modes of
tsocket_address_inet_from_strings.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Sep 13 22:27:59 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff2f38fae79220e16765e17671972f9a55eb7cce">ff2f38fa</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">krb5pac.idl: Add ticket checksum PAC buffer type

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0092b4a3ed58b2c256d4dd9117cce927a3edde12">0092b4a3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">security.idl: Add well-known SIDs for FAST

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6badf818e9db44461979a931c74fc5ab6e80132">c6badf81</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Calculate expected salt if not given explicitly

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9924dd976183ea62b08f116f8b8bacc698bb9b95">9924dd97</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add methods to obtain the length of checksum types

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/448b661bf8815a05f534926d8ee8d6f57d123c2c">448b661b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Use signed integers to represent key version numbers in ASN.1

As specified in 'MS-KILE 3.1.5.8: Key Version Numbers', Windows uses
signed 32-bit integers to represent key version numbers. This makes a
difference for an RODC with a msDS-SecondaryKrbTgtNumber greater than
32767, where the kvno should be encoded in four bytes rather than five.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/08086c43987abecc588ebd32ec846ff7e27a83b6">08086c43</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add KDCOptions flag for constrained delegation

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3fd73b65a3db405db5a0a82cca6c808763d4f437">3fd73b65</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Use more compact dict lookup

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf55786fcd9a96daa9002661d6f5d9b3502ed8a7">bf55786f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Replace expected_cname_private with expected_anon parameter

This is used in the case where the KDC returns 'WELLKNOWN/ANONYMOUS' as
the cname, and makes the reply checking logic easier to follow. This
also removes the need to fetch the client credentials in the test
methods.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7aae0e9b100b8cb7d1da78b8cb9a4a5c20acffbd">7aae0e9b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow specifying an OU to create accounts in

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9aa900857441ea7e1c2d6c60bfa1ddeb142bf3e3">9aa90085</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow specifying additional User Account Control flags for account

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9973b51e48a5d5f3e33c6e0da46e6231a42bd77a">9973b51e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Keep track of account DN in credentials object

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f23b16ef3a900a1bda01bf2a5a3a3847e2e79d1">1f23b16e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Move padata generation methods to base class

This allows them to be used directly from RawKerberosTest.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c0db1ba54d238d4b2da8895215d8314b068ce09c">c0db1ba5</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: add options to kdc_exchange_dict to specify including PAC-REQUEST or PAC-OPTIONS

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bc21ba2592093c765751ed3e8083dcd3512997f8">bc21ba25</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Don't create PAC request manually in as_req_tests

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7556a4dfa64650939aef14a2fc4d10b9ed3d29f7">7556a4df</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Don't create PAC request or options manually in fast_tests

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/571265257f335ba7f6f1b46daa0d657b8a8dff2b">57126525</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Remove magic constants

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/85ddfc1afcf21797dab15431a5f375444c4d316e">85ddfc1a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow specifying ticket flags expected to be set or reset

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1974b872fb5a7da052305d01e2f1efc8d0637078">1974b872</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Make time assertion less strict

This assertion could fail if there was a time difference between the KDC
and the client.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0afb548a0a3221730c4a81d51bc31e99ec90e334">0afb548a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow Kerberos requests to be sent to DC or RODC

If run inside the 'rodc' testing environment, 'DC_SERVER' and 'SERVER'
refer to the hostnames of the DC and RODC respectively, and this commit
allows either one of them to be used as the KDC for Kerberos exchanges.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9cba5f9a1b098e49315e2e3d4c0b626884c04a64">9cba5f9a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check for presence of 'renew-till' element

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d3106a8d35225e826d548d3bea0d42edc3998c38">d3106a8d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check 'caddr' element

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c3b746290278f7b5c1dea676e3fa28b9f15bcf94">c3b74629</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-13T23:11:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check for presence of 'key-expiration' element

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/01378a52a1cf0b6855492673455013d5719be45b">01378a52</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-14T00:01:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Create testing accounts in appropriate containers

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Sep 14 00:01:44 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce2bc74dce46cc9e27f692527a0b81e1afab0096">ce2bc74d</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-14T04:44:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Remove last references to Ubuntu 16.04

The Ubuntu 16.04 build went away with
4366c3bb71fe9c083dedeae8798547b64a64d2b4 as oss-fuzz moves
to Ubuntu 20.04.

We don't do a special build for the oss-fuzz, this restores the
behaviour before e10910f8de542b0be9b89942791bd37288b7a32a and
d048d7e17d756099e208fa4d6b931a147b0b1489 where oss-fuzz was only
tested as part of the main build.  (In the case of a failure the
pipeline would fail, preventing a merge, just the same as for
any other failing test).

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>

Autobuild-User(master): Uri Simchoni <uri@samba.org>
Autobuild-Date(master): Tue Sep 14 04:44:44 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0fa4766e43a5e302a4152f370315ce2f73293cac">0fa4766e</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-14T23:14:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Update comment explaining streams and file-system sharemodes

The function kernel_flock will be deleted, drop the reference to it.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/facd6e01bd3b932a6bf33c71bbb590a8be51aa30">facd6e01</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-14T23:14:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: Update comment in vfs_gpfs_kernel_flock

The function kernel_flock will be deleted, drop the reference to it.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5488a242fbd6d7123a9cb3297c0cf71acbb9d523">5488a242</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-14T23:14:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: Remove call to kernel_flock

The function kernel_flock will be deleted.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e1398c34b2c24b76b30fdde8417b871d53825a36">e1398c34</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-14T23:14:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: Return ENOTSUP for sharemodes flock call

Remove the call to kernel_flock, as this function will be deleted.
Have the function return ENOTSUP to indicate that this is not supported
by default (without a file-system specific VFS module).

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b2b7f9e658d80f8e193c4d1e266783b1f02a6012">b2b7f9e6</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-14T23:14:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">system: Remove kernel_flock

LOCK_MAND will be deprecated in the Linux kernel, so stop using this
feature and remove the kernel_flock function.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c2d6284a033da3984cc13a85c862489c78fb7739">c2d6284a</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-14T23:14:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wscript: Remove config check for LOCK_MAND

The define set from this check is no longer needed.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/54fe40836ba1813166ab9f060255139dd37d697a">54fe4083</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-14T23:14:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">loadparm: Set default of "kernel share modes" to "no"

selftest: Remove knownfail for smb2.lock.replay_smb3_specification_durable

With the changed default for "kernel share modes", this test can now
acquire durable handles and succeed.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/079e706e1711cae82db913fa46fa9efe7afafc97">079e706e</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-14T23:14:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update manpage for "kernel share modes" option

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d40f57321a12c28840cdd2efd3e0e8f21855b6d4">d40f5732</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-15T00:04:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Document changes for "kernel share modes"

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Sep 15 00:04:47 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4ba5e82ae53410ec9a0bc7d47b181a88c15d9387">4ba5e82a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-15T07:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow specifying status code to be checked

This allows us to check the status code that may be sent in an error
reply to a TGS-REQ message.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a5186f92803009c81eca2957e1bf2eb0ff7b6dff">a5186f92</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-15T07:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Get expected cname from TGT for TGS-REQ messages

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0e99382d73f44eed7e19e83e430938d587e762d0">0e99382d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-15T07:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Get encpart decryption key from kdc_exchange_dict

Instead of using check_padata_fn to get the encpart decryption key, we
can get the key from the AS-REQ preauth phase or from the TGT, depending
on whether the message is an AS-REQ or a TGS-REQ. This allows removal of
check_padata_fn and some duplicated code.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c9fd8ffd8927ef42fd555e690f966f65aa01332e">c9fd8ffd</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-15T07:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add get_cached_creds() method to create persistent accounts for testing

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/943079fd94fec66cdc2ba4ea1b2beb2971473004">943079fd</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-15T07:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Generate padata for FAST tests

This gives us access to parameters of kdc_exchange_dict and enables us
to simplify the logic.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a99a76722d6046a5d63032e3d2bb3f791da948a6">a99a7672</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-15T07:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest:segfault: Add test for ldb.msg_diff()

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c2bbe774ce03661666a1f48922a9ab681ef4f64b">c2bbe774</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-15T07:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_msg: Don't fail in ldb_msg_copy() if source DN is NULL

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/19a2af02f57d99db8ed3c6b028c3abdf4b553700">19a2af02</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-15T07:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyldb: Avoid use-after-free in msg_diff()

Make a deep copy of the message elements in msg_diff() so that if either
of the input messages are deallocated early, the result does not refer
to non-existing elements.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7bc52cecb442c4bcbd39372a8b98bb033e4d1540">7bc52cec</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-15T07:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Sign-extend kvno from 32-bit integer

This helps to avoid problems with RODC kvnos that have the high bit set.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a5bf7aad54b7053417a24ae0918ee42ceed7bf21">a5bf7aad</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-15T07:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add method to get RODC krbtgt credentials

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/af633992e31e839cdd7f77740c1f25d129be2f79">af633992</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-15T07:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add get_secrets() method to get the secret attributes of a DN

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3cc9e77f38f6698aa01abca4285a520c7c0cd2ac">3cc9e77f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-15T07:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow replicating accounts to the RODC

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef5666bc51ca80e1acdadd525a9c61762756c8e3">ef5666bc</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-15T07:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Create RODC account for testing

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/35292bd32225b39ad7a03c3aa53027458f0671eb">35292bd3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-15T07:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow replicating accounts to the created RODC

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d12cb47724c2e8d19a28286d4c3ef72271a002fd">d12cb477</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-15T08:49:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Update user_account_control tests to pass against Windows 2019

This gets us closer to passing against Windows 2019, without
making major changes to what was tested.  More tests are needed,
but it is important to get what was being tested tested again.

Account types (eg UF_NORMAL_ACCOUNT, UF_WORKSTATION_TRUST_ACCOUNT)
are now required on all objects, this can't be omitted any more.

Also for UF_NORMAL_ACCOUNT for these accounts without a password
set |UF_PASSWD_NOTREQD must be included.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Sep 15 08:49:11 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d5534d2369ea2654703c93697b3d5257da3cdb6">8d5534d2</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2021-09-16T19:42:19+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/tsocket: Fix build on Freebsd

This fixes the following build error on freebsd.

[1567/3959] Compiling lib/tsocket/tsocket_bsd.c
../../lib/tsocket/tsocket_bsd.c:415:8: error: use of undeclared identifier 'EAI_ADDRFAMILY'
                case EAI_ADDRFAMILY:
                     ^

On FreeBSD EAI_ADDRFAMILY is obsoleted.  Here's the relevant excerpt
from netdb.h on FreeBSD 13.

-----------------------------------------------------------------
  /*
   * Error return codes from gai_strerror(3), see RFC 3493.
   */
  #if 0
  /* Obsoleted on RFC 2553bis-02 */
  #define EAI_ADDRFAMILY   1      /* address family for hostname not supported */
  #endif
-----------------------------------------------------------------

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Uri Simchoni <uri@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Sep 16 19:42:19 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/48521736b4c40c05237a2a6f0e81e173be36154d">48521736</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-18T00:02:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbtorture: Fix epmapper.Map_full test

For detailed knownfail on subtests we need torture_assert() calls

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cf4a868be50e795889b76b59f7fbe1cca51bcbfa">cf4a868b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-18T00:53:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Remove "override_logfile"

The only writer to this variable left with c377845d27d4dcd7. The
closest match for override_logfile is is_default_dyn_LOGFILEBASE()
with the opposite logic.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Sep 18 00:53:28 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8a93ef625fd348c1473c7a55bff480de05bdaf77">8a93ef62</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-09-20T14:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: rpc_server: Avoid creating new handles when received an empty policy_handle

After merging s3 and s4 RPC handles implementations in commit
70fa7e817e48c9faa3c6c7ae3749e4a8ebf3e6c2 a new empty handle is allocated
when find_policy_by_hnd() or close_policy_hnd() is called with an empty
policy_handle (see dcesrv_handle_lookup() implementation).

This new behavior was causing a crash when running samba3.rpc.mdssvc test
with log level >= 10, because a debug message in _mdssvc_close() was
dereferencing the handle's associated data when called from
test_mdssvc_close() with an empty policy_handle.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Sep 20 14:31:33 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/86cf8f462f0837f385001c0c1671c4e480ceb4bf">86cf8f46</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-21T00:13:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Simplify sid_linearize()

We have ndr_push_dom_sid() for this

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/07113263893a42d4abddffba1ab341297d349ebf">07113263</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-21T00:13:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-bgqd: Enable smbcontrol pool-usage

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ad462c27a4bcc8aa7262ee75b069841c16c4f0f5">ad462c27</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-21T00:13:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server4: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/917f7902dfefb053bb9efd82cb9b1fc69ac70844">917f7902</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-21T00:13:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/df4c03d52429bf8b40e7876016c65bd7d7ed5af8">df4c03d5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-21T00:13:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Add required #includes

dom_sid.h itself references talloc, and security.h references
DATA_BLOB.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aea829250daee5b80686fc8f9369f8fdecb6e735">aea82925</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-21T00:13:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Give util_specialsids.c its own prototype header

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e11881ea1678575797cab3503c8214d11834dd54">e11881ea</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-21T00:13:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Avoid an "includes.h"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f973a4f79bcde2ee13047cd7dd1ff3a105f3d0e">6f973a4f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-21T00:13:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-bgqd: Convert closeall_*() to closefrom_*()

Align it with closefrom() in preparation for use elsewhere

Signed-off-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b09efc8b8b9f482443a9d99074c6167c08859d84">b09efc8b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-21T01:12:12+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Move closefrom_except*() to a separate file

Enable use in other daemons

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Sep 21 01:12:12 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/99bf0c1b2649f74a3199c59bbc16c6e604ff4e79">99bf0c1b</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-09-21T10:15:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl:NDR/ServerCompat.pm: Do not register disabled services

In samba3 it is possible to disable RPC services, for exapmle:

rpc_server:netlogon = disabled

If a service is disabled do not register the interface neither create its
endpoint.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9c8521848bb5fedb3501d03e564a759d8709f418">9c852184</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-09-21T10:15:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc:core: Add a function to register an interface passing the binding handle

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/af06d73a7563f6a7dec7653b7de1748de099b051">af06d73a</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-09-21T11:00:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server: Do not use the default ncalrpc endpoint for external services

In samba3 it is possible to run some services externally, for example:

rpc_daemon:lsasd = fork
rpc_server:netlogon = disabled
rpc_server:samr = external
rpc_server:lsarpc = external

The external services running in separate processes have to use its own
dedicated ncalrpc endpoint, otherwise will race with main smbd serving the
embedded services to accept connections on ncalrpc default socket. If the
connection ends in an external process and the client tries to bind to an
interface not registered there (like winreg for example) the bind will fail.

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Sep 21 11:00:01 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f3b5733df7637ad0c6d4bb42378ae430a35cc633">f3b5733d</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">profile: Remove syscall_kernel_flock profiling

This no longer calls flock, so it should not be part of the system call
profiling.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c794e77381477f4a3d5e96c5100cfbf0b1804c52">c794e773</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Rename kernel_flock to filesystem_sharemode

With the removal of the call to flock LOCK_MAND, the only remaining use
of this VFS path is to register sharemodes with specific file systems.
Rename the VFS call to reflect that this is no longer related to flock.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0a26b2386e3fedd5d90e3c0197b31ed31b286699">0a26b238</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Increase VFS version for renamed function

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a2578d9b5642f639cf7016b43e71957478213b76">a2578d9b</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">examples/VFS/skel_transparent: Rename kernel_flock to filesystem_sharemode

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0ae59ffc4992821e6242f0a21235bf7514d94786">0ae59ffc</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">examples/VFS/skel_opaque: Rename kernel_flock to filesystem_sharemode

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/264440c983a25f9043f2801e2fb6082b24990a88">264440c9</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: Remove definition of removed kernel_flock function

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ad87998ab405bd87a9bad9019e9f09819cb38681">ad87998a</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_full_audit: Rename kernel_flock to filesystem_sharemode

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/73f04003e3e7c587c9be7cbd58a10fdd059f50ab">73f04003</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update vfs_full_audit manpage for renamed function

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0ac9dfd2677392f1e5d292752b046fb025679a5f">0ac9dfd2</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_ceph: Rename kernel_flock to filesystem_sharemode

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0bd1df93fc331123e377775815337c98e5ebe1e8">0bd1df93</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_glusterfs: Rename kernel_flock to filesystem_sharemode

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f3bd312ad97521df5f78d784a6abf7b82bc37a90">f3bd312a</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_time_audit: Rename kernel_flock to filesystem_sharemode

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/272fce3cbd5114c190570e4565f8e2f7b16ea3d4">272fce3c</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_time_audit: Fix message for fcntl VFS call

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b63ee5c7391ce683eed46e68a1e2dd47c2b14fd7">b63ee5c7</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: Rename kernel_flock to filesystem_sharemode

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4209e42ab1b07753c6130a25b52a48bada4d90e9">4209e42a</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_streams_xattr: Rename kernel_flock to filesystem_sharemode

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3224eb8fcf79b5f2554a6195aeeb313dd25c2de5">3224eb8f</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: Rename kernel_flock to filesystem_sharemode

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/041dfdfc131e92e6947325a78180d83909e81b8e">041dfdfc</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_catia: Rename kernel_flock to filesystem_sharemode

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/113f6964d0168c21dc94aa594f728c175fc294df">113f6964</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Update tracking documents for renamed function

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d8972d920106043c8b0a24482174009d68f6faf8">d8972d92</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Update comment for durable handles

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa3f952f3e7d27a0977f497ce96ef8484c2f1111">fa3f952f</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Rename return variable for requesting filesystem sharemode

flock is no longer used, rename the variable accordingly.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0a2b50114599ed609778eb5add9a9c18126d07a4">0a2b5011</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T18:47:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove return variable for releasing filesystem sharemode

flock is no longer used, the existing "ret" variable can be used
instead.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e50083ceb8013288d506ba9224f65deb5e3a38a5">e50083ce</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2021-09-21T19:39:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Update debug messages for failed sharemode release

Use new macros, consistent log level and remove reference to flock.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Tue Sep 21 19:39:10 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9a24d8e491fc5b289c3e25eb448574e035420536">9a24d8e4</a></strong>
<div>
<span>by Michael Adam</span>
<i>at 2021-09-21T20:28:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: fix a comment

The default log target was changed in 726ccf1d56b2979c827dd8586d1aeb6cb8de236c
(as a side effect), but the comment was only partially updated.

This patch fixes the comment by completing the orignal change to
correctly reflect current behavior.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Sep 21 20:28:49 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cde38d36b98f1d40e7b58cd4c4b4bedfab76c390">cde38d36</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Don't leak file handles

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/21a7717359082feaddfdf42788648c3d7574c28e">21a77173</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/join: Check for correct msDS-KrbTgtLink attribute

Previously, the wrong case was used when checking for this attribute,
which meant krbtgt accounts were not being cleaned up.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b81f6f3d71487085bb355392ce7f8eff2db5bb4d">b81f6f3d</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: allow AUTOBUILD_FAIL_IMMEDIATELY=0 (say from a gitlab variable)

This allows making a push to do a full test ignoring errors without
needing "HACK!!!" commits on top.

Use like this:

git push -o ci.variable='AUTOBUILD_FAIL_IMMEDIATELY=0'

RN: Samba CI runs can now continue past the first error if AUTOBUILD_FAIL_IMMEDIATELY=0 is set

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a281ae09bcf35277c830c4112567c72233fd66b8">a281ae09</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add helper method for modifying PACs

This method can remove or replace a PAC in an authorization-data
container, while additionally returning the original PAC.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0061fa2c2a26d990ed2e47441bca8797fc9be356">0061fa2c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check correct flags element

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a4d53dc12aa785f696e53ae3376f67375ce455f">2a4d53dc</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Refactor tgs_req() to use _generic_kdc_exchange

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f0654b8facf3b9b2288d2569a573ff3a5ca4a82">1f0654b8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow tgs_req() to send additional padata

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1a3426da54463c3e454c1b76c3df4e96882e6aa9">1a3426da</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow tgs_req() to specify different kdc-options

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6403a09d94ab54f89d6e50601ae6b19ab7e6aae7">6403a09d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow tgs_req() to send requests to the RODC

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a5e62d681d81a422bac7bd89dc27ef2314d77457">a5e62d68</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow as_req() to specify different kdc-options

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3504e99dc5bcc206ca2964012b7fdca541555416">3504e99d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Use PAC buffer type constants from krb5pac.idl

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c226029655ca361560d93298a6729a021f2f6b75">c2260296</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Don't manually create PAC request and options in fast_tests

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7645dfa5bedee7ef3f7debbf0fa7600bd1c4bd79">7645dfa5</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Set DN of created accounts to ldb.Dn type

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5d3a135c2326edc9ca8f56bea24d2f52320f4fd6">5d3a135c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow get_service_ticket() to get tickets from the RODC

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d69805b1e3a8022f1418605e5f29ae0bbaa4a06">2d69805b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow get_tgt() to get tickets from the RODC

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4ecfa82e71b0dd5b71aa97973033c5c72257a0c3">4ecfa82e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow get_tgt() to specify different kdc-options

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/035a8f198555ad1eedf8e2e6c565fbbbe4fbe7ce">035a8f19</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow get_tgt() to specify expected and unexpected flags

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/59c1043be25b92db75ab5676601cb15426ef37a3">59c1043b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Move get_tgt() and get_service_ticket() to kdc_base_test

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6193f7433b15579aa32b26a146287923c9d3844d">6193f743</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Return encpart from get_tgt() as part of KerberosTicketCreds

The encpart is already contained in ticket_creds, so it no longer needs
to be returned as a separate value.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/419e4061ced466ec7e5e23f815823b540ef4751c">419e4061</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Cache obtained tickets

Now tickets obtained with get_tgt() and get_service_ticket() make use of
a cache so they can be reused, unless the 'fresh' parameter is specified
as true.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a562882b15125902c5d89f094b8c9b1150f5d010">a562882b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:05:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add methods for creating zeroed checksums and verifying checksums

Creating a zeroed checksum is needed for signing a PAC.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ec95b3042bf2649c0600cafb12818c27242b5098">ec95b304</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-21T23:55:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add RodcPacEncryptionKey type allowing for RODC PAC signatures

Signatures created by an RODC have an RODCIdentifier appended to them
identifying the RODC's krbtgt account.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Sep 21 23:55:39 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/702ebb3d8c8d9f7241bb264f9cb2a41a3dc46f32">702ebb3d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-09-22T16:57:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">registry: skip root check when running with uid-wrapper enabled

Currently registry config is not used in the clustered testenv, so currently
there's no problem. But once we do add that, the check would be triggered..

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Sep 22 16:57:25 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12b5e72a35d632516980f6c051a5d83f913079e7">12b5e72a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add method to verify ticket PAC checksums

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1fcde7cb6ce50e0a08097841e92476f320560664">1fcde7cb</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add method for modifying a ticket and creating PAC checksums

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4c67a53cdca206a118e82b356db0faf0ddc011ab">4c67a53c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Simplify adding authdata to ticket by using modified_ticket()

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7cedd383bcc1b5652ea65817b464d6e0485c7b8b">7cedd383</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Make get_default_enctypes() return a set of enctype constants

This is often more convenient than a bitfield.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/432eba9e09849e74f4c0f2d7826d45cbd2b7ce42">432eba9e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add methods to convert between enctypes and bitfields

These methods are useful for converting a collection of encryption types
into msDS-SupportedEncryptionTypes bit flags, and vice versa.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6eaf2cf44fb66d8f302d4cab050827a67de3ea4">b6eaf2cf</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Get supported enctypes for credentials from database

Look up the account's msDS-SupportedEncryptionTypes attribute to get the
encryption types that it supports. Move the fallback to RC4 to when the
ticket decryption key is obtained.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/14cd933a9d6af08deb680c9f688b166138d45ed9">14cd933a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Correctly check PA-SUPPORTED-ENCTYPES

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/054ec1a8cc4ae42918c7c06ef9c66c8a81242655">054ec1a8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Set key version number for all accounts created with create_account()

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38b4b334caf1b32f1479db3ada48b2028946f5e6">38b4b334</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow tgs_req() to check the returned ticket enc-part

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d01043042f1caac98a23cf4d9aa9a02a31a9239">9d010430</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add method to get DC credentials

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f9284d8517edd9ffd96f0c24166a16366f97de8f">f9284d85</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix checking for presence of authorization data

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f2f1f3a1e9269f0e7b93006bba2368a6ffbecc7c">f2f1f3a1</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Provide ticket enc-part key to tgs_req()

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/394e8db261b10d130c5e5730989bf68f9bf4f85f">394e8db2</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Simplify account creation

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1458cd9065de34c42bd5ec63feb2f66c25103982">1458cd90</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add get_rodc_krbtgt_creds() to RawKerberosTest

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea7b550a500d9e458498d37688b67dafd3d9509d">ea7b550a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Verify checksums of tickets obtained from the KDC

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c0b81f0dd54d0d71b5d0f5a870b505e82d0e85b8">c0b81f0d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T18:32:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add method to determine if principal is krbtgt

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5b331443d0698256ee7fcc040a1ab8137efe925d">5b331443</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-23T19:28:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add classes for testing invalid checksums

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Sep 23 19:28:44 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef990008f22a0790442c0259defdfdcf0a28eb3d">ef990008</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-24T23:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Remove unused security_token_is_sid_string()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/acaa89aac9d0ae6b655ea606aaa576d261e92fac">acaa89aa</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-24T23:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Move a type check in dcesrv_handle_lookup()

This check is independent of whether we found a handle or not, we can
do it before walking the handle list.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1e30fad7ee04baaebc2d87fb933cefe358799882">1e30fad7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-24T23:55:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Simplify dcesrv_handle_lookup()

Reduce indentation with a "break;" from the loop, best reviewed with
git show -b

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/81e27693c62336d28c11462c790d7bc68ff3aa0c">81e27693</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-09-25T00:46:23+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mdssvc: Use ndr_policy_handle_empty()

is_zero_policy_handle() was a duplicate.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Sep 25 00:46:23 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6a041f6a99c39632d5c32e9d53b06719c20bef2c">6a041f6a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-28T09:44:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest:segfault: Add test for deleting an ldb.Message dn

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d7af772de88885f46708329ff7bb5798da91d2c7">d7af772d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-28T09:44:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyldb: Fix deleting an ldb.Message dn

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b1adaa517c1237a473bdcf818523f5107df3d6b0">b1adaa51</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-28T09:44:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest:segfault: Add test for deleting an ldb.Control critical flag

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d25a21d6024c6c2f8e4634f45e3944d8acbf8b8">9d25a21d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-28T09:44:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyldb: Fix deleting an ldb.Control critical flag

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fb758c32e7633178f42dc2c031667b10c2ca6e90">fb758c32</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-28T09:44:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture/drs/python: Fix attribute existence check

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b018e51d2725a23b2fedd3058644b8021f6a6a06">b018e51d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-28T09:44:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyldb: Add test for an invalid ldb.Message index type

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/22353767ca75af9d9e8fa1e7da372dcb5eddfcb7">22353767</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-28T09:44:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyldb: Raise TypeError for an invalid ldb.Message index

Previously, a TypeError was raised and subsequently overridden by a
KeyError.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/865fe238599a732360b77e06e592cb85d459acf8">865fe238</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-28T09:44:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyldb: Add tests for ldb.Message containment testing

These tests verify that the 'in' operator on ldb.Message is consistent
with indexing and the get() method. This means that the 'dn' element
should always be present, lookups should be case-insensitive, and use of
an invalid type should result in a TypeError.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/860d8902a9c502d4be83396598cf4a53c80fea69">860d8902</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-09-28T09:44:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyldb: Make ldb.Message containment testing consistent with indexing

Previously, containment testing using the 'in' operator was handled by
performing an equality comparison between the chosen object and each of
the message's keys in turn. This behaviour was prone to errors due to
not considering differences in case between otherwise equal elements, as
the indexing operations do.

Containment testing should now be more consistent with the indexing
operations and with the get() method of ldb.Message.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/775939823a5a956acc236c808d5aee78cbd9e132">77593982</a></strong>
<div>
<span>by Matthew Grant</span>
<i>at 2021-09-28T09:44:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/dns: dns forwarder port doc changes

Documentation changes specifying how list entries for dns forwarder
are to be specified with ability to add trailing target port number.

Signed-off-by: Matthew Grant <grantma@mattgrant.net.nz>
Reviewed-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f39a06de3bea9ec03a3e82c8892d9e572abd1163">f39a06de</a></strong>
<div>
<span>by Matthew Grant</span>
<i>at 2021-09-28T09:44:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/tsocket: new function to parse host port strs.

tsocket_address_inet_from_hostport_strings() on top of
tsocket_address_inet_from_strings(), implementing the ability to parse a
port number appended to an IPv6 or IPv4 address. IPv6 addresses can also
optionally have square brackets around them, but these are needed to
specify the port number as colon is used to delimit port from the IP
address in the string.

Note that this code just recognises and parses the strings with port
given, or just IPv6 with square brackets.  The rest of the parsing is
passed on to tsocket_address_inet_from strings(), and errors from there
passed back up the stack.

Signed-off-by: Matthew Grant <grantma@mattgrant.net.nz>
Reviewed-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/617a5a1d3579b27de0e2b0736909ca83b7b3ee15">617a5a1d</a></strong>
<div>
<span>by Matthew Grant</span>
<i>at 2021-09-28T09:44:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/dns: smb.conf dns forwarder port support

Call new tsocket_address_inet_from_hostport_strings() instead of
tsocket_address_inet_from_strings() to implement setting a port to query
for a DNS forwarder.

Signed-off-by: Matthew Grant <grantma@mattgrant.net.nz>
Reviewed-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a098030977d7720436b7850fa731557eeb70bc2">2a098030</a></strong>
<div>
<span>by Matthew Grant</span>
<i>at 2021-09-28T09:44:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/dns.c: dns forwarder port test changes

Test harness for the dns fowarder setting in smb.conf. Adds IPv6
forwarder as second target DNS forwarder, listening on port 54.

Signed-off-by: Matthew Grant <grantma@mattgrant.net.nz>
Reviewed-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c26fcef50d09d3d70c646f3151dda265d4b0eb92">c26fcef5</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2021-09-28T09:44:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: document dns forwarder change

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/262148721ee6d794f7f2d1ad1b36e00a1401ec41">26214872</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2021-09-28T09:44:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add more tests for test_address_inet_from_strings

Test the case of NULL address as input

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3f4660900a71816df505c2e634eef86a86afcda3">3f466090</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2021-09-28T10:34:12+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: test tsocket_address_inet_from_hostport_strings

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Sep 28 10:34:12 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b0b9663c80e416bdbeae5af0b3e3977761ebb9ad">b0b9663c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-01T18:58:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci: Ignore errors from missing source files in code coverage

This could happen when code coverage is collected from multiple distributions.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1305ec3ae64e67fa68d3251d35f8a244a4a5be56">1305ec3a</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-01T19:43:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci: Allow a 1 hour to build Samba

I have seen cases where the job is pushed to the private runners
(which do not have the ccache) where this takes over 45mins, and
a typical job can be 35 mins so this is too tight.

Triggering the timeout causes a rebuild from scratch, which is
done twice automatically, and is financially costly (we pay
per VM start) and a waste of CPU/energy/etc.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct  1 19:43:16 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6d60e8f4d06ca9733a4cc3094312a3dc456a656">b6d60e8f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-01T20:50:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samldb: Address birthday paradox adding an RODC

It is possible that the randomly chosen RODC number will be one
that is already in use.  The samldb_krbtgtnumber_available()
function was meant to prevent that, but due to a typo did not.

There is no other race here as the whole thing is inside a transaction,
and we have duplicate protection on samAccountName, so the failure
looked like this:

...
Adding CN=krbtgt_TESTRODCDRS5320202,CN=Users,DC=samba,DC=example,DC=com
UNEXPECTED(error): samba4.drs.repl_rodc.python(ad_dc_ntvfs).repl_rodc.DrsRodcTestCase.test_msDSRevealedUsers_admin(ad_dc_ntvfs)
REASON: Exception: Exception: Traceback (most recent call last):
  File "/m/abartlet/aMASTER/b1635147/samba-def-build/source4/torture/drs/python/repl_rodc.py", line 111, in setUp
    self._create_rodc(self.rodc_ctx)
  File "/m/abartlet/aMASTER/b1635147/samba-def-build/source4/torture/drs/python/repl_rodc.py", line 693, in _create_rodc
    ctx.join_add_objects()
  File "bin/python/samba/join.py", line 641, in join_add_objects
    ctx.add_krbtgt_account()
  File "bin/python/samba/join.py", line 429, in add_krbtgt_account
    ctx.samdb.add(rec, ["rodc_join:1:1"])
_ldb.LdbError: (68, "LDAP error 68 LDAP_ENTRY_ALREADY_EXISTS -  <00002071: samldb: samAccountName krbtgt_4405 already in use!> <>")

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct  1 20:50:37 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d87e0f6efa1d8438b26f98d2ad69ffed0af8d0b">2d87e0f6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-10-02T01:38:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: process_prefork: Make prefork_restart() use an asynchronous timer event instead of calling sleep(X).

This should prevent any long pauses in the calling process, as we get a callback
for the restart after X seconds. To make the code flow more understandable,
always go through a timer event even if the wait time is zero. This
has the same effect as an immediate event as it will call the callback
function as soon as we go back into the event loop.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Oct  2 01:38:43 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cc3081cebfb65181cd291702cb6a2e727dc999b2">cc3081ce</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-10-04T10:43:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Fix format error

regedit_hexedit.c:166:39: error: format ‘%X’ expects argument of type ‘unsigned
int’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’}
  166 |                 wprintw(buf->win, "%08X  ", off);
      |                                    ~~~^     ~~~
      |                                       |     |
      |                                       |     size_t {aka long unsigned int}
      |                                       unsigned int
      |                                    %08lX

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fc69206f8b8956662e7fc05600e39d2f149a22d9">fc69206f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-10-04T11:36:06+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:fuzzing: Fix quoting of --fuzz-target-ldflags

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>

Autobuild-User(master): Uri Simchoni <uri@samba.org>
Autobuild-Date(master): Mon Oct  4 11:36:06 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/298515cac2f35082483c2b4e4b7dbfe4df1d2e0c">298515ca</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-04T21:07:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Move self.assertRaisesLdbError() to samba.tests.TestCase

This is easier to reason with regarding which cases should work
and which cases should fail, avoiding issues where more success
than expected would be OK because a self.fail() was missed in a
try: block.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b45190bdac7bd9dcefd5ed88be4bd9a97a712664">b45190bd</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-04T21:55:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Use self.assertRaisesLdbError() in user_account_control.py test

This changes most of the simple pattern with self.samdb.modify()
to use the wrapper.  Some other calls still need to be converted, while
the complex decision tree tests should remain as-is for now.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Oct  4 21:55:43 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/76899e236149ff3b86cd9032a3c6bdafe3a2f036">76899e23</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-05T19:05:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Release ldb 2.4.1

* Corrected python behaviour for 'in' for LDAP attributes
  contained as part of ldb.Message (bug 14845)
* Fix memory handling in ldb.msg_diff (bug 14836)
* Corrected python docstrings

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14845
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14836
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14848

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a19016e002f4588a75cf16ce7a9dfaa19501a0e4">a19016e0</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-05T19:57:51+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Release ldb 2.50 for the future samba 4.16 series

This avoids master having an older or identical LDB version
to Samba 4.15.x while it gains additional changes that may
not all be backported.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Oct  5 19:57:51 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e2256c99a6591092937b9395e39c2a7f461db42e">e2256c99</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Make SID_SAMBA_SMB3 a static SID

No need to parse it

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a767eb55d8bd3109907baff311e221dc340ca6ba">a767eb55</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Avoid a literal number available as a constant

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9b260ff83906af57f21f97e3bb219b8fc550be2a">9b260ff8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lsa_server3: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5529aa8c4dacaf71e3d88817d2b96f6994881e22">5529aa8c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Avoid ZERO_STRUCT() with a struct init

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/187529c979c0bba1dad0034df55cf918dae74971">187529c9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba: Save a line with TALLOC_FREE

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/82281ca34f9fb00c803243fc840a2d4996eef1b5">82281ca3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Remove unused security_token_has_sid_string()

This should have been removed in ef990008f22, I just was not aware
it's there...

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/70b1260020d61b8722e9af4290ce1ef61a4969ca">70b12600</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Introduce a helper variable in security_session_user_level()

Makes it easier to read for me

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f24b2163be0c2dfb7ae8fa2f33d4f4bbeb422d03">f24b2163</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Simplify security_session_user_level()

Use sid_compose(), use struct dom_sid on the stack.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b266d39dbb85bad46f0f305f33f45f50e5f9386d">b266d39d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Avoid a cast in a DBG statement

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/761ede419fcdb9abc4cd5c5a188a4c73d31413c0">761ede41</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Simplify set_privileges with a struct initialization

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c38e2d5ff56263bd828a458a79acdbe271f6f00b">c38e2d5f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix a typo in a DEBUG fn prefix by using DBG_

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/668d3459ac6ba88d8f7114c80b6fc8f64597ac69">668d3459</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idmap_script: Save a few lines with str_list_add_printf()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/423e5726d2d066e6504de4aca5985c90999d1be3">423e5726</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Avoid an includes.h

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/34c08da059dc22021cdfe39223cc263d35e6d209">34c08da0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Align integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/10ac08fc1dbbd9ecb9438db906b2b50d8ebd73fa">10ac08fc</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove unused fields from struct dcerpc_ncacn_conn

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/55ec7e6d00fb807d3eb96c84d47148b95f1a88da">55ec7e6d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Align an integer type

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/20536080a5699fb33305510a67b401680b042e00">20536080</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Add talloc_asprintf_addbuf()

Simplifies building up a string step by step, see next commit

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18cbeab98bd4c943410936001b541c1a66d5babc">18cbeab9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Use talloc_asprintf_addbuf() in dcerpc_binding_string()

Saves quite a few lines

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0853a7a2bbfc8dc32c3ec1fa9498d01c02080217">0853a7a2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Use talloc_asprintf_addbuf() in utok_string()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4869497b709789d159e2b0f917218f57516d2e09">4869497b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Simplify winbindd_getsidaliases_recv()

Use talloc_asprintf_addbuf(), fix an realloc error path memleak

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fc4ee9c494d5a0c9330db50337dfec55d1bb127f">fc4ee9c4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Simplify winbindd_getusersids_recv()

Use talloc_asprintf_addbuf(), fix an realloc error path memleak

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/61b06695b703908d57c36077f8707b99124127c9">61b06695</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Simplify winbindd_sids_to_xids_recv()

Use talloc_asprintf_addbuf(), fix an realloc error path memleak

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3a8374b831a8b5faf40e87884b08bff91be3aa5f">3a8374b8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Simplify schema_attribute_description() & friends

Use talloc_asprintf_addbuf()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5b446fe116fa6b66e86658a26a38cd40382e996">e5b446fe</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Simplify get_sec_mask_str()

Use talloc_asprintf_addbuf()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e3cea27fc0e5c8bf6117b72255813be62d65707">2e3cea27</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove "pipes_struct->call_id"

Unused.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ed9e2850bfc2b4d89da45b36871afe5d6ec88bd0">ed9e2850</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove "pipes_struct->opnum"

Also available via dce_call->pkt.u.request.opnum

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/81a7b2e08ddd4efd330dfeeada5577192f8281bf">81a7b2e0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove an outdated comment

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/246a5ceab1cba9935af436154172b9e39dc685d7">246a5cea</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netlogon: Move netlogon_server_pipe_state to netlogon.idl

Make this available as a shared structure for both source3 and source4

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/426a7b4805597b47df176288e3ed981b69d9c207">426a7b48</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Use dcesrv_iface_state in netlogon3

Align with the source4/rpc_server/netlogon

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/83ad7e01fc34d26cbe1a524d7f2ea3a60f2cbfb4">83ad7e01</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-10-08T19:28:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove pipes_struct->private_data

netlogon3 was the only user

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3afd4bd61033773312605102f7203ef54e2e0986">3afd4bd6</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-08T19:28:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idl: declare token array of storage_offload_token as in-line

This ensures the order of the struct element is the same as in the IDL
definition. For an conformant array using the [sizeis(n)] syntax the sizeis
member is stored as first element in the marshall buffer.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8fa7848b4a002900e0c3384d2e0d41ea0fdf6ea9">8fa7848b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-08T19:28:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: Add flags and xferlen args to SMB_VFS_OFFLOAD_READ_RECV

We missed these values which follow from MS-FSCC 2.3.80 “FSCTL_OFFLOAD_READ
Reply”:

  Flags (4 bytes):

    A 32-bit unsigned integer that indicates which flags were returned for this
    operation. Possible values for the flags follow. All unused bits are reserved
    for future use, SHOULD be set to 0, and MUST be ignored.

    OFFLOAD_READ_FLAG_ALL_ZERO_BEYOND_CURRENT_RANGE (0x00000001)
    => The data beyond the current range is logically equivalent to zero.

  TransferLength (8 bytes):

    A 64-bit unsigned integer that contains the amount, in bytes, of data that the
    Token logically represents. This value indicates a contiguous region of the
    file from the beginning of the requested offset in the FileOffset field in the
    FSCTL_OFFLOAD_READ_INPUT data element (section 2.3.79). This value can be
    smaller than the CopyLength field specified in the FSCTL_OFFLOAD_READ_INPUT
    data element, which indicates that less data was logically
    represented (logically read) with the Token than was requested. The value of
    this field MUST be greater than 0x0000000000000000 and MUST be aligned to a
    logical sector boundary on the volume.

As we currently only implement COPY_CHUNK over the OFFLOAD VFS interface, the
VFS COPY_CHUNK backend in vfs_default just sets both values to 0 and they are
unused in the SMB frontend.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2f523a03f5061feb68c614f39ae0061748c2d9b3">2f523a03</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-08T19:28:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: add sys_block_align[_truncate]()

This implements MS-FSA algorithms BlockAlign() and BlockAlignTruncate().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3268bcd8f5668c4c1c78d957f7017e7a867288f3">3268bcd8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-08T20:21:21+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: add and use a few SMB_VFS_ODX defines

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct  8 20:21:21 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/954e637ddc6f0f5291d0a15cdbcbc6a4f7a6cb13">954e637d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-10-08T20:38:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: selftest: Add regression test to show the $cwd cache is misbehaving when we connect as a different user on a share.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4fe965836243928ac33eb95a67d3e889fdc15861">4fe96583</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-10-08T21:28:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Ensure when we change security context we delete any $cwd cache.

This will ensure we *always* call into the VFS_SMB_CHDIR backends
on security context switch. The $cwd was an optimization that
was only looking at the raw filesystem path. We could delete it
completely but that is a patch for another day.

Remove knownfail on regression test.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14682
RN: vfs_shadow_copy2: core dump in make_relative_path

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Oct  8 21:28:04 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b92589c31f0eb3eaf2b3b1867e10b759f6a2edda">b92589c3</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2021-10-12T08:40:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Fix winbindd child logfile name handling

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

Handling of logfile name for main and child winbindd must ensure:

1) Log directory is selected in this order:
  * -l option of winbindd
  * "log file" parameter in smb.conf
  * compile time value '/usr/local/samba/var'

2) Log filename pattern
  * parent process uses log.winbindd
  * child uses log.wb-<name>

3) Log reopen works for both parent and child (i.e. log filename is not changed)
  * kill -HUP <pid>
  * smbcontrol <pid> reload-config

This commit removes 3 calls of is_default_dyn_LOGFILEBASE() to make sure that:
  - 1st removal: child uses log.wb-<name> after the fork
  - 2nd removal: child after HUP signal, does not switch to log.winbindd
  - 3rd removal: child after smbcontrol reload-config, does not switch to
    log.winbindd

Interesting commits: bfa1b2a8 1484b7f3 3b015a4c d1f7a371

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12d04d9a9288a9358d5f5aebaec126cc610952b1">12d04d9a</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2021-10-12T09:30:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update winbindd(8) manpage

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

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Oct 12 09:30:02 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3262f69690cd3fa915fc593193a4d03194d978af">3262f696</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-10-12T16:31:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Remove trailing spaces in smb.conf.5.xml

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/14db80fe6139ced8b118e5e95b37f9a73c9d20aa">14db80fe</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-10-12T17:24:01+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Use /var/tmp for spooling in smb.conf.5

This is a world writeable directory which exists on Linux distributions by
default already.

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 Oct 12 17:24:01 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0a376b23dbaaec551d0ed48b7098129c09eec1bc">0a376b23</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-10-12T18:14:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: zfsacl: Ensure we use a pathref fd, not an io fd, for getting/setting ZFS ACLs.

Don't use path-based calls.

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

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Oct 12 18:14:27 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/530e8d4b9e47601b88e20bcaefa2d502efcebe60">530e8d4b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-12T22:38:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: filter out comments in public_addresses file

Note that order of sed expressions matters: the expression to delete
comment lines must come first as the second expression would transform

  # comment

to

  comment

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5426c104f5090751c1ea02f0c0667d8d071a4a83">5426c104</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-12T22:38:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Fix typo in ctdb stub comment matching

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4e3676cb3c4d24cd4c287703d2cd812a2a8c36ff">4e3676cb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-12T22:38:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: add a comment to the generated public_addresses file used by eventscript UNIT tests

test stub code has been updated to handle this, so now let's put it
to work.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14826
RN: Correctly ignore comments in CTDB public addresses file

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1719ef7893ae5dc87e452c24bafd55db598464bc">1719ef78</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-12T23:24:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Drop unused function ctdb_get_all_public_addresses()

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Tue Oct 12 23:24:18 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2564e96e8319b4cb4c987dd2a03cf8a293db985a">2564e96e</a></strong>
<div>
<span>by Alex Richardson</span>
<i>at 2021-10-13T01:42:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">charset_macosxfs.c: fix compilation on macOS

The DEBUG macro was missing and the CFStringGetBytes() was triggering a
-Werror,-Wpointer-sign build failure.

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

Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d3675e66fe8eec15076c6b88e47b627ee80c6f9e">d3675e66</a></strong>
<div>
<span>by Alex Richardson</span>
<i>at 2021-10-13T01:42:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">audit_logging.c: fix compilation on macOS

On macOS tv_usec is an int so failus the build with -Werror,-Wformat.

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

Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e4eb1f151011d2bd6a2d39b156663ddd9126d345">e4eb1f15</a></strong>
<div>
<span>by Alex Richardson</span>
<i>at 2021-10-13T01:42:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">source3/printing/queue_process.c: fix build on macOS

On macOS environ is defined to (*_NSGetEnviron()) in lib/replace/replace.h
and otherwise the `extern char **environ` can be found there.

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

Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6dadf251fc02c2b3237c48d316f5cb8791ab4f76">6dadf251</a></strong>
<div>
<span>by Alex Richardson</span>
<i>at 2021-10-13T01:42:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sec_ctx.c: Fix -Wunused-function warning on macOS

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

Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d893f723207040c285ed061db3a690099f8c929">1d893f72</a></strong>
<div>
<span>by Alex Richardson</span>
<i>at 2021-10-13T01:42:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">source3/smbd/statcache.c: Fix -Wformat build error on macOS

The format string uses PRIx64, so we should be using uint64_t and not
uintmax_t.

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

Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/99ee7f3d89cce9b07b8ed3f55f7e8e67baed6ee1">99ee7f3d</a></strong>
<div>
<span>by Alex Richardson</span>
<i>at 2021-10-13T01:42:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_preopen.c: Fix -Wformat error on macOS

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

Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fc2347be4ed9a9083a56468ca5e43070059038c5">fc2347be</a></strong>
<div>
<span>by Alex Richardson</span>
<i>at 2021-10-13T02:33:05+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix detection of rpc/xdr.h on macOS

We need to include rpc/types.h first to include this header.

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

Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Oct 13 02:33:05 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7857e1249b72be8c8841b99cb0820c9c563178f9">7857e124</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-13T11:10:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: Honour AUTOBUILD_SKIP_SAMBA_O3 in GitLab CI

GitLab CI resources are expensive and often rationed so
provide a way to test other things without testing an -O3
build also, as this will save 9 jobs.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd178d97250e041b29aad9b26d2994163bd99231">dd178d97</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-13T12:00:03+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci: Increase build timeout

While the build will not take > 1hr, uploading the artifacts
needed to pass the build objects to the next stage can take
some time due to the distance between the runners and the
private CI server.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Oct 13 12:00:03 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bcc22d00569551cfa25851c8c267ec9decc63d21">bcc22d00</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-14T00:31:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: Restore building most of our jobs

We are changing the primary build jobs to use "when"
not "only".  These a similar and related GitLab syntax
tools to control when jobs are run.

With 'when' now in use it must be specified on all jobs
that inherit from each other via:

.extends .shared_template

"only" can be left however for the pages and coverity as
these use:

.extends .shared_runner_build_image

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8ab0238abd171f9a11b013fd185605e7d1722b27">8ab0238a</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-14T01:21:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci: Avoid duplicate CI on all merge requests

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Oct 14 01:21:11 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/232146775bb00769a3c208441ad0fa28bfe7f42f">23214677</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-14T09:33:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add a test ignored spotlight/elasticsearch mapping failures

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c67432378910691456f1deec3d5a8a73a6080887">c6743237</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-14T09:33:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mdssvc: prepare for ignore attribute and type mapping errors

Lower the debug levels to debug from error. No change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e3372eceab1bc7ad8ac813b12d654c979e20769">8e3372ec</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-14T09:33:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mdssvc: add options to allow ignoring attribute and type mapping errors

This adds two options that are used by the Spotlight query parser to optionally
ignore unknown attributes or types in a query.

    elasticsearch:ignore unknown attribute = yes | no (default: no)
    elasticsearch:ignore unknown type = yes | no (default: no)

Example Spotlight query with unknown attributes and type:

    kMDItemContentType=="public.calendar-event"||kMDItemSubject=="Kalender*"cdw||
    kMDItemTitle=="Kalender*"cdw||kMDItemTopic=="Kalender*"cdw||
    kMDItemTextContent=="Kalender*"cd||*=="Kalender*"cdw||
    kMDItemTextContent=="Kalender*"cdw

The unknown attributes are "kMDItemTopic" and "kMDItemSubject". The unkown type
is "public.calendar-event".

Currently the parser will outright fail to parse the query and the search will
enter an error state.

To give users some control over the mapping the above options can be used to
tell the parser to simply ignore such unknown attributes and types.

  (meta.title:Kalender* OR content:Kalender* OR Kalender* OR content:Kalender*)

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/71cef2fa1ddbe05d29e7ce571a35888ef4663b22">71cef2fa</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-14T10:20:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: document new Spotlight Elasticsearch options

  elasticsearch:ignore unknown attribute = yes | no (default: no)
  elasticsearch:ignore unknown type = yes | no (default: no)

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Thu Oct 14 10:20:27 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fb29a8ebcd076df9da51275adb45d90482f2e19f">fb29a8eb</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-14T10:21:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Move header_str and hs_len to state

They'll need to be accessible by the backends.

Note that the snprintf() and strlcat() calls can result in
state.hs_len >= sizeof(state.header_str), so state.hs_len needs to be
sanitised before any potential use.  Previously this wasn't necessary
because this value was on the stack, so it couldn't be used after
dbghdrclass() returned.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0e59375ac5bc6e88f324b6d4d8b823ddc9d6f574">0e59375a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-14T10:21:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Add a level of indirection to ring buffer logging

Add an internal function to do the work and call it.  It will be
called again in a subsequent commit.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/10f68148a9716fd06ac58d0b69783a4fac30c2bc">10f68148</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-14T10:21:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Factor out function copy_no_nl()

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9f8be709c4951f2af8797f175555c6b861ea6fa4">9f8be709</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-14T10:21:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Avoid debug header being separated from debug text

Currently the file backend can produce something like:

  HEADER1 HEADER2  TEXT2
    TEXT1

when different processes try to log at the same time.

Avoid this by writing the header and text at the same time using
writev().  This means that the header always has to be written by the
backend, so update all backends to do this.

The non-file backends should behave as before when they were invoked
separately to render the header.  It might be possible to optimise
some of them (e.g. via sd_journal_sendv) but this requires more
investigation (e.g. sd_journal_sendv()'s handling of newlines) and is
beyond the scope of this change.

state.header_str_no_nl takes the place of msg_no_nl for the header,
since some of the backends need the no-newline version.  It is handled
the same was as msg_no_nl: produce the no_nl version exactly once,
whether or not it is needed, since this is better than repeating it in
several backends.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3085a7d317dd4ce338a5265312c57ed389391786">3085a7d3</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-14T10:21:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Add length argument to Debug1()

This the first step in avoiding potentially repeated length
calculations in the backends.  The length is known at call time for
most usual callers, so pass it down.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24dc8c5d2b809fefcb27abcb0aba7a1de5a55630">24dc8c5d</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-14T10:21:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Push message length argument down to backend log functions

Optimise because length is now available.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8cdd20c70a17e6ee8e7ca41e4c38763f41d158b4">8cdd20c7</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-14T10:21:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Rename variable for consistency

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee17f5306c3db1b6d950a9ea7d1787cac96a6d9d">ee17f530</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-14T10:21:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Optimise construction of header_str_no_nl

If it isn't used then it isn't copied.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c5061ebe2146b6e8257205a4ad9ba69d1caa4c7d">c5061ebe</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-14T10:21:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Optimise to avoid walking the header string

strlcat() needs to walk to the end of its first argument.  However,
but the length of state.header_str is already known, so optimise by
manually appending the extra characters if they will fit.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb70eea0536a33583cd57e8dd416bfc2e37fe9d2">cb70eea0</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-14T10:21:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Optimise early return when header string buffer is full

The existing check is for truncation, not whether the buffer is full.
However, if the buffer is full (i.e. hs_len == sizeof(header_str) - 1)
then there's no use trying subsequent snprintf() calls because there
will be one byte available that already contains the NUL-terminator.
A subsequent call will just do a no-op truncation.

Check for full buffer instead.

This might be confusing because it isn't the standard check that is
done after snprintf() calls.  Is it worth it for a rare corner case?

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62fd771aea4bfb9f3042c80207e9800b74a43f75">62fd771a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-14T10:21:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Move msg_no_nl to state

This enables an optimisation.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a9a3555b43075c46e2051e6c1ef80762a0a19120">a9a3555b</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-14T11:10:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Optimise construction of msg_no_nl

If it isn't used then it isn't copied.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Oct 14 11:10:40 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d501ddca3b7b9c39c0b3eccf19176e3122cf5b9d">d501ddca</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Rename method parameter

For class methods, the name given to the first parameter is generally 'cls'
rather than 'self'.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e4b21590836dab02c1864f6ac12b3879c4bd69c">8e4b2159</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Remove unused parameter

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce433ff868d3cdf8e8a6e4995d89d6e036335fb6">ce433ff8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow for missing msDS-KeyVersionNumber attribute

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f1282e8d34073d8499ce919908b39645b017cb8">6f1282e8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix sending PA-PAC-OPTIONS and PA-PAC-REQUEST

These padata were not being sent if other FAST padata was not specified.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1fd00135fa4dff4331d86b228ccc01f834476997">1fd00135</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix PA-PAC-OPTIONS checking

Make the check work correctly if bits other than the claims bit are
specified.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/31817c383c2014224b1397fde610624663313246">31817c38</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Rename allowed_to_delegate_to parameter for clarity

This helps to distinguish resourced-based and non-resource-based
constrained delegation.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bba8cb8dce19e47a7b813efd9a7527e38856435e">bba8cb8d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow created accounts to use resource-based constrained delegation

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cda50b5c505072989abf84c209e16ff4efe2e628">cda50b5c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add assertion to make failures clearer

These failures may occur if tests are not run against an RODC.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d142dc3a452b0f06efc66f422402ee6e553ee7c">9d142dc3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Introduce helper method for creating invalid length checksums

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ae09219c3a1c6d47817f51baf3784e8986c7478d">ae09219c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix method for creating invalid length zeroed checksum

Previously the base class method was being used.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a927cecafdd5ad6dc5189fa98cb42684c9c3b033">a927ceca</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix checksum generation and verification

The KDC and server checksums may be generated using the same key, but
only the KDC checksum should have an RODCIdentifier. To fix this,
instead of overriding the existing methods, add additional ones for
RODC-specific signatures, so that both types of signatures can be
generated or verified.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dcf45a151a198f7165cd332a26db78a5d8e8f8c5">dcf45a15</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow excluding the PAC server checksum

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a4bc712ee02f32c2d04dfc2d99d58931344e5ceb">a4bc712e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix handling authdata with missing PAC

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/012b6fcd1976c6570e9b92c133d8c21e543e5a4f">012b6fcd</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix status code checking

The type used to encode the status code is actually KERB-ERROR-DATA,
rather than PA-DATA.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f6d369d709614e2f5c0684882c62f0476bcafa2">8f6d369d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Make expected_sname checking more explicit

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/788b3a29eea62f9f38ca8865c7cb7860bdc94bec">788b3a29</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix assertElementFlags()

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7fba83c6c6309a525742c38e904d3e473db99ef1">7fba83c6</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Remove unneeded parameters from ticket cache key

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ab92dc16d20b0996b8c46714652c15019c795095">ab92dc16</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix checking for presence of error data

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7cfc225b549108739bd86e222f2f35eb96af4ea3">7cfc225b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add expect_claims parameter to kdc_exchange_dict

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e1efd8bd3bf698dc0b6ed2081919f49b1412b53">8e1efd8b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal:kdc: Only check for default salt for des-cbc-crc enctype

Previously, this algorithm was preferring RC4 over AES for machine
accounts in the preauth case. This is because AES keys for machine
accounts in Active Directory use a non-default salt, while RC4 keys do
not use a salt. To avoid this behaviour, only prefer keys with default
salt for the des-cbc-crc enctype.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa2e583fdea4fd93e4e71c54630e32a1035d1e2a">aa2e583f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check buffer types in PAC with STRICT_CHECKING=1

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0e232fa1c9e5760ae6b9a99b5e7aa5513b84aa8b">0e232fa1</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check constrained delegation PAC buffer

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bb58b4b58c66a6ada79e886dd0c44401e1c5878c">bb58b4b5</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Save account SPN

This is useful for testing delegation.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/34020766bb7094d1ab5d4fc4c0ee89ccb81f39f1">34020766</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow specifying options and expected flags when obtaining a ticket

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/248249dc0acac89d1495c3572cbd2cbe8bdca362">248249dc</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Supply supported account enctypes in tgs_req()

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef24fe982d750a42be81808379b0254d8488c559">ef24fe98</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add parameter to enforce presence of ticket checksums

This allows existing tests to pass before this functionality is
implemented.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ec4b264bdf9ab64a728212580b344fbf35c3c673">ec4b264b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add compatability tests for ticket checksums

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/687c8f94c68af9f1e44771dfd7219eeb41382bba">687c8f94</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Use correct principal name type

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee2b7e2c77f021984ec583fa0c4c756979197b0f">ee2b7e2c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Clarify checksum type assertion message

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/72265227e9c2037b63cdfb01a456a86ac8932f59">72265227</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix padata checking at functional level 2003

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/238f52bad811688624e9fd4b1595266e2149094a">238f52ba</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add environment variable to specify KDC FAST support

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd22dcd9cc4dfda827f892224eb2da4a16564176">bd22dcd9</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check padata types when STRICT_CHECKING=0

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e7c39cc44f2e16aecb01c0afc195911a474ef0b9">e7c39cc4</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check logon name in PAC

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cf3ca6ac4567d7c7954ea4ecc8cc9dd5effcc094">cf3ca6ac</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Simplify padata checking

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dfd613661eec4b81e162f2d86a8fa9266c2fdc03">dfd61366</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Disable debugging output for tests

This reduces the time spent running the tests in a testenv.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5233f002000f196875af488b4f4d1df26fca90de">5233f002</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Provide clearer assertion messages for test failures

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebe729786806c69e95b26ffc410e887e203accb8">ebe72978</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix sha1 checksum type

Previously, sha1 signatures were being designated as rsa-md5-des3
signatures.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40e5db4aabcd32834ee524857b77d36921f6bdfe">40e5db4a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/dbcheck: Fix up RODC one-way links

Test accounts were replicated to the RODC and then deleted, causing
state links to remain in the database.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ae2c57fb0332f94ac44d0886c5edbed707ef52fe">ae2c57fb</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add TKT_SIG_SUPPORT environment variable

This lets us indicate that service tickets should be issued with ticket
checksums in the PAC.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf63221722903665e7b20991021fb5cdf4e4327e">bf632217</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Require ticket checksums if decryption key is available

We perform this check conditionally, because MIT doesn't currently add
ticket checksums.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d86eee2fd0fb72e52d878ceba0c476ca58abe6cf">d86eee2f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Verify tickets obtained with get_service_ticket()

We only require the ticket checksum with Heimdal, because MIT currently
doesn't add it.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/56ccdba54e0c7cf3409d8430ea1012e5d3d9b092">56ccdba5</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add constrained delegation tests

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1a08399cd8169a525cc9e7aed99da84ef20e5b9c">1a08399c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Don't include empty AD-IF-RELEVANT

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3948701f1d0f3ccd06f6dad56ca72833d66b1d84">3948701f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow bypassing cache when creating accounts

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3dede18c5a1801023a60cc55b99022b033428350">3dede18c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix duplicate account creation

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7149eeaceb426470b1b8181749d2d081c2fb83a4">7149eeac</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Simplify samba_kdc_update_pac_blob() to take ldb_context as parameter

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c14c61748b5a2d2a4f4de00615c476fcf381309e">c14c6174</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Fix debugging messages

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d5002c34ce1ffef795dc83af3175ca0e04d17dfd">d5002c34</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture: Expect ticket checksum PAC buffer

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ccabc7f16cca5b0dcb46233e934e708167f1071b">ccabc7f1</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: remove KRB5SignedPath, to be replaced with PAC

KRB5SignedPath was a Heimdal-specific authorization data element used to
protect the authenticity of evidence tickets when used in constrained
delegation (without a Windows PAC).

Remove this, to be replaced with the Windows PAC which itself now supports
signing the entire ticket in the TGS key.

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

[jsutton@samba.org Backported from Heimdal commit
 bb1d8f2a8c2545bccdf2c9179ce9259bf1050086
 - Removed tests
 - Removed auditing hook (only present in Heimdal master)
 - Added knownfails
]

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d7b03394a9012960d71489e775d40d10fd6f5232">d7b03394</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: sign ticket using Windows PAC

Split Windows PAC signing and verification logic, as the signing has to be when
the ticket is ready.

Create sign and verify the PAC KDC signature if the plugin did not, allowing
for S4U2Proxy to work, instead of KRB5SignedPath.

Use the header key to verify PAC server signature, as the same key used to
encrypt/decrypt the ticket should be used for PAC server signature, like U2U
tickets are signed witht the tgt session-key and not with the longterm key,
and so krbtgt should be no different and the header key should be used.

Lookup the delegated client in DB instead of passing the delegator DB entry.

Add PAC ticket-signatures and related functions.

Note: due to the change from KRB5SignedPath to PAC, S4U2Proxy requests
against new KDC will not work if the evidence ticket was acquired from
an old KDC, and vide versa.

Closes: #767

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

[jsutton@samba.org Backported from Heimdal commit
 2ffaba9401d19c718764d4bd24180960290238e9
 - Removed tests
 - Adapted to Samba's version of Heimdal
 - Addressed build failures with -O3
 - Added knownfails
]

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d09de5c41e729bccc2d7949d8a3568a95e80e76">2d09de5c</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">krb5: allow NULL parameter to krb5_pac_free()

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

[jsutton@samba.org Cherry-picked from Heimdal commit
b295167208a96e68515902138f6ce93972892ec5]

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2773379603a5a625c5d1c6e62f29c442942ff570">27733796</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">krb5: rework PAC validation loop

Avoid allocating the PAC on error.

Closes: #836

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

[jsutton@samba.org Cherry-picked from Heimdal commit
6df8be5091363a1c9a9165465ab8292f817bec81]

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6a472e953545ec3858ca969c1a4191e4f27ba63">d6a472e9</a></strong>
<div>
<span>by Luke Howard</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">krb5: return KRB5KRB_AP_ERR_INAPP_CKSUM if PAC checksum fails

Return KRB5KRB_AP_ERR_INAPP_CKSUM instead of EINVAL when verifying a PAC, if
the checksum is absent or unkeyed.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

[jsutton@samba.org Cherry-picked from Heimdal commit
c4b99b48c4b18f30d504b427bc1961d7a71f631e]

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/db30b71f79864a20b38a1f812a5df833f3a92de8">db30b71f</a></strong>
<div>
<span>by Luke Howard</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: only set HDB_F_GET_KRBTGT when requesting TGS principal

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

[jsutton@samba.org Backported from Heimdal commit
 f1dd2b818aa0866960945edea02a6bc782ed697c
 - Removed change to _kdc_find_etype() use_strongest_session_key
 parameter since Samba's Heimdal version uses different logic
]

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/75d1a7cd14b134506061ed64ddb9b99856231d2c">75d1a7cd</a></strong>
<div>
<span>by Luke Howard</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: use ticket client name when signing PAC

The principal in the PAC_LOGON_NAME buffer is expected to match the client name
in the ticket. Previously we were setting this to the canonical client name,
which would have broken PAC validation if the client did not request name
canonicalization

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

[jsutton@samba.org Backported from Heimdal commit
 3b0856cab2b25624deb1f6e0e67637ba96a647ac
 - Renamed variable to avoid shadowing existing variable
]

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/91e684f5dcb48b76e6a322c15acb53cbce5c275a">91e684f5</a></strong>
<div>
<span>by Luke Howard</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: correctly generate PAC TGS signature

When generating an AS-REQ, the TGS signature was incorrectly generated using
the server key, which would fail to validate if the server was not also the
TGS. Fix this.

Patch from Isaac Bourkis <iboukris@gmail.com>.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

[jsutton@samba.org Backported from Heimdal commit
 e7863e2af922809dad25a2e948e98c408944d551
 - Samba's Heimdal version does not have the generate_pac() helper
 function.
 - Samba's Heimdal version does not use the 'r' context variable.
]

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/28a5a586c8e9cd155d676dcfcb81a2587ace99d1">28a5a586</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/heimdal/lib/krb5/pac.c: Align PAC buffers to match Windows

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3bdce12789af1e7a7aba56691f184625a432410d">3bdce127</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal: Make _krb5_pac_get_kdc_checksum_info() into a global function

This lets us call it from Samba.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/02fa69c6c73c01d82807be4370e838f3e7c66f35">02fa69c6</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-14T18:59:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Check ticket signature

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f6adfefbbb41b9100736134d0f975f1ec0c33c42">f6adfefb</a></strong>
<div>
<span>by Nicolas Williams</span>
<i>at 2021-10-14T18:59:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">krb5: Fix PAC signature leak affecting KDC

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

[jsutton@samba.org Cherry-picked from Heimdal commit
 54581d2d52443a9a07ed5980df331f660b397dcf]

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d3e118f6f2274a67cdb8141dc8dade0c571c8f5">1d3e118f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-10-14T19:51:59+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbspool. Remove last use of 'extern char **environ;'.

This should come from lib/replace/replace.h to cope with
system (MacOSX etc.) differences.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14862

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Oct 14 19:51:59 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1cdf8493b5a43a084b5004e5c2667b9dd9e31d91">1cdf8493</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-15T09:09:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Do not retry for job_execution_timeout

If we timeout, we should just stop at 2 hours, not waste 6 hours (3 x 2 hours).

This is for when the job runs long for any reason, currently the
reasons for a timeout are not transient, we need to either change
the timeout or fix the system.  Likewise if the tests get into a loop
or deadlock we want to see that as a failure.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14863

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce3d33f4c141afdfa3fbe9fe26835dc32ef95fe0">ce3d33f4</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-15T09:09:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Do not download artifacts of unrelated builds

This needs: is overridden in many cases, but ensures none of the other
main jobs start until this build finishes.  However this also
ensures we do not download artifacts from any build unless we
specifically depend on it, saving bandwidth

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14863

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a7ad665e65f0701eb75cac5bc10a366ccd9689f4">a7ad665e</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-15T10:00:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/dbcheck: Fix up RODC one-way links (use correct dbcheck rule)

The previous commit was correct on intention, but it was not noticed
as there is a race, that the incorrect rule was appended to.

These links are removed by remove_plausible_deleted_DN_links not
fix_all_old_dn_string_component_mismatch

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Oct 15 10:00:47 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d23d8e859357b0fac4d1f4a49f1dce6cf60d6216">d23d8e85</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-17T22:53:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal:kdc: Fix ticket signing without a PAC

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e086c6193f6da6fcb5d0bcada2199e9bc7ad25f5">e086c619</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-17T22:53:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow get_tgt() to request including or omitting a PAC

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0dc69c1327f72384628a869a00482f6528b8671b">0dc69c13</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-17T22:53:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow specifying whether to expect a PAC with _test_as_exchange()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/288355896a2b6f460c42559ec46ff980ab57782e">28835589</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-17T22:53:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add method to get the PAC from a ticket

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d3a691920205f8a9dc05d0e173e25e6a335f139">9d3a6919</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-17T23:40:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add tests for requesting a service ticket without a PAC

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sun Oct 17 23:40:33 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c901adaa0d4526deff550806e49976d686122674">c901adaa</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-18T17:19:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Add Debian 11

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14872

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Oct 18 17:19:17 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/04f188f4d573f0138b75f26d1c18d98329a3446e">04f188f4</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-10-19T09:14:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Debian 11 has liburing-dev

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14872

Signed-off-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Oct 19 09:14:10 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd07bb81bb9a570b321bb2e5adab42546736ff9f">dd07bb81</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-10-19T19:23:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: use MID=0 for SMB2 Cancel with ASYNC_ID and legacy signing algorithms

We can only assume that servers with support for AES-GMAC-128 signing
will except an SMB2 Cancel with ASYNC_ID and real MID.
This strategy is also used by Windows clients, because
some vendors don't cope otherwise.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14855

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Oct 19 19:23:39 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8a607e7577a259ae8a786f436241b41b6cc6c884">8a607e75</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-10-19T20:20:00+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netlogon_creds_cli: add netlogon_creds_cli_SendToSam_recv() and don't ignore result

This is a low level function that should not ignore results.

If the caller doesn't care it's his choice.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Oct 19 20:20:00 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/92e8ce18a79e88c9b961dc20e39436c4cf653013">92e8ce18</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-20T08:31:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: Remove UF_NO_AUTH_DATA_REQUIRED from client principals

Tests against Windows 2019 show that UF_NO_AUTH_DATA_REQUIRED
applies to services only, not to clients.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14871

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/031a8287642e3c4b9d0b7c6b51f3b1d79b227542">031a8287</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-20T08:31:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: Correctly strip PAC, rather than error on UF_NO_AUTH_DATA_REQUIRED for servers

UF_NO_AUTH_DATA_REQUIRED on a server/service account should cause
the PAC to be stripped not to given an error if the PAC was still
present.

Tested against Windows 2019

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14871

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cc3d27596b9e8a8a46e8ba9c3c1a445477d458cf">cc3d2759</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-20T08:31:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Ensure PAC is not present if expect_pac is false

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14871

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/83a654a4efd39a6e792a6d49e0ecf586e9bc53ef">83a654a4</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-20T09:22:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add tests for constrained delegation to NO_AUTH_DATA_REQUIRED service

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14871

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Oct 20 09:22:43 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7e961f3f7a815960ae25377d5b7515184d439690">7e961f3f</a></strong>
<div>
<span>by Viktor Dukhovni</span>
<i>at 2021-10-20T10:58:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">HEIMDAL:kdc: Fix transit path validation CVE-2017-6594

Commit f469fc6 (2010-10-02) inadvertently caused the previous hop realm
to not be added to the transit path of issued tickets.  This may, in
some cases, enable bypass of capath policy in Heimdal versions 1.5
through 7.2.

Note, this may break sites that rely on the bug.  With the bug some
incomplete [capaths] worked, that should not have.  These may now break
authentication in some cross-realm configurations.

(similar to heimdal commit b1e699103f08d6a0ca46a122193c9da65f6cf837)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12998

Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Oct 20 10:58:37 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a169e013e66bab15e594ce49b805edebfcd503cf">a169e013</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/rodc_rwdc: try to avoid race.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14868

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6292f0597f208d7953382341380921cf0fd0a8a8">6292f059</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Increase account lockout windows to make test more realiable

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14868

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aacb18f920349e13b562c7c97901a0be7b273137">aacb18f9</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: dynamic tests optionally add __doc__

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14869

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/49306f74eb29a2192019fab9260f9d242f9d5fd9">49306f74</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: krb5 account creation: clarify account type as an enum

This makes the code clearer with a symbolic constant rather
than a True/False boolean.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14869

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d4a75eead058879b11c8a0901d7277052123d13b">d4a75eea</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest: s3_net_join: avoid name clash

The net_join test uses "NetJoinTest" (and doesn't properly clean up),
we must use a unique name for this test in s3_net_join.py.

[abartlet@samba.org The hilarious naming conventions come from a time when samba-tool
was known as "net" in the s4 branch]

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14869

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c0658d408f17af2abc223b0cb18d8d33e0ecd1a">2c0658d4</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove duplicate setup of $base_dn and $ldbmodify

These are already set up to the same values above for the full
DC and correct values for the (strange) s4member environment.

By not setting $base_dn again we avoid an error once we start
checking for them.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/459200caba04fd83ed650b9cdfe5b158cf9a149f">459200ca</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Improve error handling and perl style when setting up users in Samba4.pm

This catches errors and avoids using global varibles (the old
style file handles are global).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14869

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5d8e794551b5df835f07e2bd8348fef746144601">5d8e7945</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: Allow building with MIT KRB5 >= 1.20

gssrpc/xdr.h:105:1: error: function declaration isn’t a prototype
[-Werror=strict-prototypes]
  105 | typedef bool_t (*xdrproc_t)();
      | ^~~~~~~

This can't be fixed, as the protoype is variadic. It can take up to three
arguments.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14870

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d998f7f8df215866ab32e05be772e24fc0b2131c">d998f7f8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/Samba3: remove unused close(USERMAP); calls

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14869

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4dc3c68c9a28f71888e3d6dd3b1f0bcdb8fa45de">4dc3c68c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/Samba3: replace (winbindd => "yes", skip_wait => 1) with (winbindd => "offline")

This is much more flexible and concentrates the logic in a single place.

We'll use winbindd => "offline" in other places soon.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14870

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a5a6296e57cab2b53617d997c37b4e92d4124cc7">a5a6296e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Decrease length of test account prefix

This allows us more room to test with different account names.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14874

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7e39994ed341883ac4c8c257220c19dbf70c7bc5">7e39994e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow specifying prefix or suffix for test account names

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14874

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f4785ccfefe7c89f84ad847ca3c12f604172b321">f4785ccf</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow creating machine accounts without a trailing dollar

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14874

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/889476d1754f8ce2a41557ed3bf5242c1293584e">889476d1</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow specifying the UPN for test accounts

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14874

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/25bdf4c994e4fdb74abbacb1e22237f3f2cc37fe">25bdf4c9</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Fix account salt calculation to match Windows

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14874

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/46039baa81377df10e5b134e4bb064ed246795e4">46039baa</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-20T12:02:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add tests for account salt calculation

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14874

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5eeb441b771a1ffe1ba1c69b72e8795f525a58ed">5eeb441b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-20T12:54:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Allow special chars like "@" in samAccountName when generating the salt

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14874

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Oct 20 12:54:54 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5094d986b7686f057195dcb10764295b88967019">5094d986</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-10-23T08:07:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/krb5_wrap: Fix missing error check in new salt code

CID 1492905: Control flow issues  (DEADCODE)

This was a regression in 5eeb441b771a1ffe1ba1c69b72e8795f525a58ed.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14874

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Oct 23 08:07:13 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7253405c35247dff192e86598b18d524e1602818">7253405c</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-10-25T08:31:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gp: Add Firewalld ADMX templates

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f347449190c698ec4d2720bbf6ffced853ef797">8f347449</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-10-25T08:31:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gp: Test Firewalld Group Policy Apply

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9ac2d5d991d16d1957c720fcda3ff6a9ac78dc13">9ac2d5d9</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-10-25T08:31:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gp: Apply Firewalld Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c174e9ebe715aad6910d53c1f427a0512c09d651">c174e9eb</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-10-25T09:23:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check account name and SID in PAC for S4U tests

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Oct 25 09:23:35 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cd5f5199131433640dd2f275d388f82930c3d81b">cd5f5199</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-10-25T14:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "gp: Apply Firewalld Policy"

This reverts commit 9ac2d5d991d16d1957c720fcda3ff6a9ac78dc13.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: David Mulder <dmulder@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/db34188246c571bde2f8cb71a643852220bbdabf">db341882</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-10-25T14:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "gp: Test Firewalld Group Policy Apply"

This reverts commit 8f347449190c698ec4d2720bbf6ffced853ef797.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: David Mulder <dmulder@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5a75212b60b8d90e63e6ff048fda4f00ad6ff94a">5a75212b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-10-25T15:04:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "gp: Add Firewalld ADMX templates"

This reverts commit 7253405c35247dff192e86598b18d524e1602818.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: David Mulder <dmulder@suse.com>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Mon Oct 25 15:04:18 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7c9195e28bc51ac375d609f8306db2456f348167">7c9195e2</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-10-26T14:23:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Pick local host if calling samba-tool from DC

It is reasonable to assume, that if we are running a command from a DC,
that a user expects that the command will run against this DC.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Rowland Penny <rpenny@samba.org>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Tue Oct 26 14:23:42 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2be0a19d44879788c70bef51df86db0deab8bc9e">2be0a19d</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-10-26T16:00:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "samba-tool: Pick local host if calling samba-tool from DC"

This reverts commit 7c9195e28bc51ac375d609f8306db2456f348167.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Tue Oct 26 16:00:28 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5c6640470aa845780fbf17961e67b0d9302c2fbc">5c664047</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-10-28T12:32:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Use new cmdline option for kerberos

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14846

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/16d43ccfddf0e67a0ae87e3f13b3114c858d64ac">16d43ccf</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-10-28T13:23:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:cmdline: Fix -k option which doesn't expect anything

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14846

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Oct 28 13:23:34 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f73aff502cadabb7fe6b94a697f0a2256d1d4aca">f73aff50</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-28T18:11:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: add NTTIME_THAW

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14127

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d84779302cc54a7b84c05ccc458e04b27fd142f4">d8477930</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-28T18:11:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: fix null_nttime() tests

The test was checking -1 twice:

        torture_assert(tctx, null_nttime(-1), "-1");
        torture_assert(tctx, null_nttime(-1), "-1");

The first line was likely supposed to test the value "0".

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14127

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e2740e4868f2a49877a86a8666d26226b5657317">e2740e48</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-28T18:11:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: use NTTIME_FREEZE in a null_nttime() test

No change in behaviour.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14127

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5503bde93bddf3634b183e665773399c110251d4">5503bde9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-28T18:11:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: update null_nttime() of -1: -1 is NTTIME_FREEZE

NTTIME_FREEZE is not a nil sentinel value, instead it implies special, yet
unimplemented semantics. Callers must deal with those values specifically and
null_nttime() must not lie about their nature.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14127

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/194faa76161a12ae1eae2b471d6f159d97ef75a8">194faa76</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-28T18:11:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: add a test for null_nttime(NTTIME_THAW)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14127

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0659069f8292996be475d407b53d161aa3f35554">0659069f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-28T18:11:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: add a test for NTTIME_FREEZE and NTTIME_THAW

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14127

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6ed71ad7e6aa98a34cfde95d7d62c46694d58469">6ed71ad7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-10-28T18:11:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: handle NTTIME_THAW in nt_time_to_full_timespec()

Preliminary handling of NTTIME_THAW to avoid NTTIME_THAW is passed as some
mangled value down to the VFS set timestamps function.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14127
RN: Avoid storing NTTIME_THAW (-2) as value on disk

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7f6f4777b4081dbfcd875bf6dcbbab03a1fa413d">7f6f4777</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-10-28T19:03:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party: Update pam_wrapper to version 1.1.4

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Oct 28 19:03:04 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/866c16332771d2c111534a64374fe18646a19ce3">866c1633</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-10-29T10:16:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">editorconfig: Heimdal has mixed spaces and tabs with different width

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Oct 29 10:16:15 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ad0082d79a681b981154747dcde5713e1933b88f">ad0082d7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-10-29T14:02:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add two tests showing recursive directory delete of a directory containing veto file and msdfs links over SMB2.

Add knownfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14878

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/73de1194c3c429ab93d722a852aa4f54213b112a">73de1194</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-10-29T14:02:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix recursive directory delete of a directory containing veto file and msdfs links.

Remove knownfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14878

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/942123b95923f35a32df4196a072a3ed3468396a">942123b9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-10-29T14:02:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add two tests showing the ability to delete a directory containing a dangling symlink over SMB2 depends on "delete veto files" setting.

Add knownfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14879

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/295d7d026babe3cd5123d0f53adcb16868907f05">295d7d02</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-10-29T14:02:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: streams_depot. Allow unlinkat to cope with dangling symlinks.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14879

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f254be19d6501a4f573843af97963e350a9ee2ed">f254be19</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-10-29T14:02:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: xattr_tdb. Allow unlinkat to cope with dangling symlinks.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14879

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a37d16e7c55f85e3f2c9c8614755ea6307092d5f">a37d16e7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-10-29T14:02:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix rmdir_internals() to do an early return if lp_delete_veto_files() is not set.

Fix the comments to match what the code actually does. The
exit at the end of the scan directory loop if we find a client
visible filename is a change in behavior, but the previous
behavior (not exist on visible filename, but delete it) was
a bug and in non-tested code. Now it's testd.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14879

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/26fecad2e66e91a3913d88ee2e0889f266e91d89">26fecad2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-10-29T14:02:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix logic in rmdir_internals() to cope with dangling symlinks.

Still need to add the same logic in can_delete_directory_fsp()
before we can delete the knownfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14879

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e9ef970eee5eca8ab3720279c54098e91d2dfda9">e9ef970e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-10-29T14:02:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix logic in can_delete_directory_fsp() to cope with dangling symlinks.

Remove knownfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14879

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0b818c6b77e972626d0b071bebcf4ce55619fb84">0b818c6b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-10-29T14:57:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: docs-xml: Clarify the "delete veto files" paramter.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14879

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Oct 29 14:57:14 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/14f56750fcf51a1d6daa14da08b34eb789241a23">14f56750</a></strong>
<div>
<span>by eaglegai</span>
<i>at 2021-10-29T20:29:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fix undefined-shift in put_res_rec fuzz error: ../../source3/libsmb/nmblib.c:451:4: runtime error: left shift of 65312 by 16 places cannot be represented in type 'int'

Author:    eaglegai <eaglegai@163.com>

Signed-off-by: eaglegai <eaglegai@163.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct 29 20:29:26 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be3a47e22ad6be204f4a7d6070f82f990c17e6fb">be3a47e2</a></strong>
<div>
<span>by Andrew Walker</span>
<i>at 2021-10-30T04:34:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules:recycle - fix crash in recycle_unlink_internal

Original logic for separating path from base name assumed
that we were using same string to determine offset when
getting the parent dir name (smb_fname->base_name).

Simplify by using parent_dirname() to split the path
from base name.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14888

Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Oct 30 04:34:53 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5e1e9d74ab6f59a62ac8dae3239299a0ef334708">5e1e9d74</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-11-01T06:37:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Add debug_syslog_format setting

Without debug_hires_timestamp this produces a syslog style header
containing:

  "MON DD HH:MM:SS HOSTNAME PROGNAME[PID] "

With debug_hires_timestamp this produces a syslog style header
containing:

  "RFC5424-TIMESTAMP HOSTNAME PROGNAME[PID] "

All other settings are ignored.

This will be made visible via smb.conf in a subsequent commit.

This commit adds some simple hostname handling.  It avoids using
get_myname() from util.c because using that potentially pulls in all
manner of dependencies.  No real error handling is done.  In the worst
case debug_set_hostname() sets the hostname to a truncated version of
the given string.  Similarly, in an even weirder world,
ensure_hostname() sets the hostname to a truncation of "unknown".
Both of these are unlikely in all reasonable cases.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/494eb0c22a67f0a9672a53f8941ad6fecf291a77">494eb0c2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2021-11-01T07:29:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debug: Add new smb.conf option "debug syslog format"

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Nov  1 07:29:47 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d3eb2a5de91c7c57fe07d983722c7c21e927ddde">d3eb2a5d</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-11-01T20:29:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gp: Add Firewalld ADMX templates

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cd73e4101347f1e3c1bb865f9a9c361b3771fd34">cd73e410</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-11-01T20:29:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gp: Test Firewalld Group Policy Apply

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5199eb14123b26b02d3a4d10d514b37688f9b580">5199eb14</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-11-01T21:16:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gp: Apply Firewalld Policy

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Nov  1 21:16:43 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8a0667263dc635d67da3ca3f48b46f71ca12289">a8a06672</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2021-11-03T08:36:00+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:librpc: Improve calling of krb5_kt_end_seq_get()

Remove indentation with early return, best reviewed with
git show -b

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Nov  3 08:36:00 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bbdcd66c048fee39629aeff450b50d049806e2f7">bbdcd66c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-03T14:33:49+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: dirfsp is being used uninitialized inside rmdir_internals().

Not caught be the tests in bugs 14878, 14879 as can_delete_directory_fsp()
doesn't have the same bug.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14892

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Nov  3 14:33:49 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3cb9f8f5ff29c14e117b57896c4540cc66510a1a">3cb9f8f5</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-11-03T16:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: remove a fsp check from ad_fset()

This comes from times before we had pathref fsps. Back then if you wanted to
check if fsp->fh->fd contained a valid value != -1, you'd also first check that
the passed in fsp and fsp->fh are non NULL. With pathref fsps we don't need this
anymore.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14890
RN: Crash in vfs_fruit asking for fsp_get_io_fd() for an XATTR call

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b919798f5758e3284ff7f6f7402312c0a4b24d03">b919798f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-11-03T17:33:00+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: early out in is_visible_fsp()

This is used in a hot codepath (directory enumeration) so we should avoiding the
string comparisions by adding an early exit.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Nov  3 17:33:00 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/adfad6390962022277cc6aacaa388af86e46b71c">adfad639</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-04T08:22:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbtorture3: Add test for setting delete on close on a directory, then creating a file within to see if delete succeeds.

Exposes an existing problem where "ret" is overwritten
in the directory scan.

Add knownfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14892

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/141f3f5f9a5ef556cc7864b2afbf8ad48b7ebe77">141f3f5f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-04T09:10:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Ensure in the directory scanning loops inside rmdir_internals() we don't overwrite the 'ret' variable.

If we overwrite with ret=0, we return NT_STATUS_OK even when we goto err.

This function should be restructured to use NT_STATUS internally,
and make 'int ret' transitory, but that's a patch for another
time.

Remove knownfail.

BUG: BUG: https://bugzilla.samba.org/show_bug.cgi?id=14892

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Nov  4 09:10:27 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c1470b120bb75ea73ba90dc83ab7efcbb733b1a7">c1470b12</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-04T19:04:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libsmb: check for global parametric option "libsmb:client_guid"

Useful in test.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14882

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1fa006f1f71cce03d92e76efda3ff055aae4eb91">1fa006f1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-11-04T19:04:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CI: add a test for bug 14882

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14882

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8082e2eb7e33c0993135791c03823886f5aa8496">8082e2eb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-11-04T19:49:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/dbwrap: reset deleted record to tdb_null

This allows the calling the following sequence of dbwrap functions:

  dbwrap_delete_record(rec);
  data = dbwrap_record_get_value(rec);

without triggering the assert rec->value_valid inside dbwrap_record_get_value().

Note that dbwrap_record_storev() continues to invalidate the record, so this
change somewhat blurs our semantics.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14882

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Nov  4 19:49:47 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1fce72f796e44e9d7fc40f8f8052d08b5e0b2ec2">1fce72f7</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-11-04T20:43:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Add domain member leave

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Rowland Penny <rpenny@samba.org>

Autobuild-User(master): David Mulder <dmulder@samba.org>
Autobuild-Date(master): Thu Nov  4 20:43:32 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e9495d2ed28a26899dc3dd77bdfe56e284980218">e9495d2e</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-11-05T11:43:57+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-winexe: Fix winexe core dump (use-after-free)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14893

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Fri Nov  5 11:43:57 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e556b4067e0c4036e20fc26523e3b4d6d5c6be42">e556b406</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-05T11:44:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: Fix resolv_wrapper with glibc 2.34

With glibc 2.34 we are not able to talk to the DNS server via socket_wrapper
anymore. The res_* symbols have been moved from libresolv to libc. We are not
able to intercept any traffic inside of libc.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/80115f9be1b21dfc92e3e23fd624decb1a5496f5">80115f9b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-05T12:36:55+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Add Fedora 35 and drop Fedora 33

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Nov  5 12:36:55 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f4cad8b2bc34ecf535deab8979a6e5f6b22233ff">f4cad8b2</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2021-11-08T13:27:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: check lp_load_printers before reload via NetShareEnum

api_RNetShareEnum() unconditionally attempts to reload printers via
delete_and_reload_printers(). Add a lp_load_printers() check to
obey smb.conf "load printers = off" settings.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14895

Reported-by: Nate Stuyvesant <nstuyvesant@gmail.com>
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Nov  8 13:27:40 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/93e5902369c22d625fa2e48b3eafe043dc17e3ba">93e59023</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 dsdb: Tests for our known set of privileged attributes

This, except for where we choose to disagree, does pass
against Windows 2019.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14703
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14778
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14775

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9ef9746bca73a939ad04b1df07caeb70921bc3de">9ef9746b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 dsdb: Move krbtgt password setup after the point of checking if any passwords are changed

This allows the add of an RODC, before setting the password, to avoid
this module, which helps isolate testing of security around the
msDS-SecondaryKrbTgtNumber attribute.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14703

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f478aecc45efb56868bc7cec216f33e5db7ccf18">f478aecc</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 dsdb: Restrict the setting of privileged attributes during LDAP add/modify

The remaining failures in the priv_attrs (not the strict one) test are
due to missing objectclass constraints on the administrator which should
be addressed, but are not a security issue.

A better test for confirming constraints between objectclass and
userAccountControl UF_NORMAL_ACCONT/UF_WORKSTATION_TRUST values would
be user_account_control.py.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14703
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14778
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14775

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2bdff65b333365740e5e9c8c2b2fc176323f5108">2bdff65b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: Extend priv_attrs test - work around UF_NORMAL_ACCOUNT rules on Windows 2019 (requires |UF_PASSWD_NOTREQD or a password) - extend to also cover the sensitive UF_TRUSTED_FOR_DELEGATION

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14703
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14778
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14775

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/23983fb50b475b74eea8571e0d9c7923fd2ca76e">23983fb5</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: Test combinations of account type and objectclass for creating a user

The idea here is to split out the restrictions seen on Windows 2019
at the schema level, as seen when acting as an administrator.

These pass against Windows 2019 except for the account type swapping
which is not wanted.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0d804cfd07789c6bcd8c252756ead99e92bceb1b">0d804cfd</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: allow for future failures in BindTests.test_virtual_email_account_style_bind

This allows for any failures here to be handled via the knownfail system.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/63eb24f0925f0a3d117fc5eb2dc728a5af121f6a">63eb24f0</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: Catch possible errors in PasswordSettingsTestCase.test_pso_none_applied()

This allows future patches to restrict changing the account type
without triggering an error.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/755e8a53ce041cc3e448fb0579b430db847bd0a0">755e8a53</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: Catch errors from samdb.modify() in user_account_control tests

This will allow these to be listed in a knownfail shortly.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5b94eea6a9d78b53ec34eb32d8ab5c94d78d151">e5b94eea</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 dsdb: objectclass computer becomes UF_WORKSTATION_TRUST by default

There are a lot of knownfail entries added with this commit.  These
all need to be addressed and removed in subsequent commits which
will restructure the tests to pass within this new reality.

This default applies even to users with administrator rights,
as changing the default based on permissions would break
to many assumptions.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9c3259e5030deee1838a5e9da43842ce5954c0d0">9c3259e5</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 dsdb: Improve privileged and unprivileged tests for objectclass/doller/UAC

This helps ensure we cover off all the cases that matter
for objectclass/trailing-doller/userAccountControl

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6a8f03c52746bc5e55caf40d4a57838a84808269">6a8f03c5</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 dsdb: Add tests for modifying objectClass, userAccountControl and sAMAccountName

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14889

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a00c525a4e01342ee8b9ec8441994ad27bffb254">a00c525a</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 dsdb: Prohibit mismatch between UF_ account types and objectclass.

There are a lot of knownfail entries added with this commit.  These
all need to be addressed and removed in subsequent commits which
will restructure the tests to pass within this new reality.

The restriction is not applied to users with administrator rights,
as this breaks a lot of tests and provides no security benefit.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dc08915834a8beed960328a62ecea88aa95f941d">dc089158</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest/priv_attrs: Mention that these knownfails are OK (for now)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14775

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c77f9cbaee0fd2483be20d2d695f88cd3af37c16">c77f9cba</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: Adapt selftest to restriction on swapping account types

This makes many of our tests pass again.  We do not pass against Windows 2019 on all
as this does not have this restriction at this time.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/adf628000fb597ef530dfe4f8d673f40a82b76ef">adf62800</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 dsdb: samldb_objectclass_trigger() is only called on ADD, so remove indentation

This makes the code less indented and simpler to understand.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/53d0e5d31e0f50d632771d835a5f97ce266eb4ba">53d0e5d3</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 dsdb: Add restrictions on computer accounts without a trailing $

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/55cc9324b48ac981ae3bd716aab3e28a7075e30a">55cc9324</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: Adapt sam.py test_isCriticalSystemObject to new UF_WORKSTATION_TRUST_ACCOUNT default

Objects with objectclass computer now have UF_WORKSTATION_TRUST_ACCOUNT
by default and so this test must adapt.

The changes to this test passes against Windows 2019 except for
the new behaviour around the UF_WORKSTATION_TRUST_ACCOUNT default.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0b06e9a5a58c240a38be498ed9a7c8a63cfaa38b">0b06e9a5</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 samdb: Fill in isCriticalSystemObject on any account type change

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4150264ce0b50f01c52dd67f6cbbf5d3dab9d69e">4150264c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: Split test_userAccountControl into unit tests

The parts that create and delete a single object can be
safely split out into an individual test.

At this point the parts that fail against Windows 2019 are:

error: __main__.SamTests.test_userAccountControl_computer_add_normal [
_ldb.LdbError: (53, 'LDAP error 53 LDAP_UNWILLING_TO_PERFORM -  <0000052D: SvcErr: DSID-031A1236, problem 5003 (WILL_NOT_PERFORM), data 0\n> <>')
error: __main__.SamTests.test_userAccountControl_computer_modify [
_ldb.LdbError: (53, 'LDAP error 53 LDAP_UNWILLING_TO_PERFORM -  <0000052D: SvcErr: DSID-031A1236, problem 5003 (WILL_NOT_PERFORM), data 0\n> <>')
error: __main__.SamTests.test_userAccountControl_user_add_0_uac [
_ldb.LdbError: (53, 'LDAP error 53 LDAP_UNWILLING_TO_PERFORM -  <0000052D: SvcErr: DSID-031A1236, problem 5003 (WILL_NOT_PERFORM), data 0\n> <>')
error: __main__.SamTests.test_userAccountControl_user_add_normal [
_ldb.LdbError: (53, 'LDAP error 53 LDAP_UNWILLING_TO_PERFORM -  <0000052D: SvcErr: DSID-031A1236, problem 5003 (WILL_NOT_PERFORM), data 0\n> <>')
error: __main__.SamTests.test_userAccountControl_user_modify [
_ldb.LdbError: (53, 'LDAP error 53 LDAP_UNWILLING_TO_PERFORM -  <0000052D: SvcErr: DSID-031A1236, problem 5003 (WILL_NOT_PERFORM), data 0\n> <>')

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/756f116b0ecb5a38664782d5113be944b70e9167">756f116b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: Adjust sam.py test_userAccountControl_computer_add_trust to new reality

We now enforce that a trust account must be a user.

These can not be added over LDAP anyway, and our C
code in the RPC server gets this right in any case.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6c03fb656d493f026684934cd320fa6d2a7cbfbf">6c03fb65</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: New objects of objectclass=computer are workstations by default now

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/66986eefc656988bc04922706f105dedcd0d45f7">66986eef</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: Adapt sam.py test to userAccountControl/objectclass restrictions

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/56eff305cff77d5e642eba5e6dc2457285f483b8">56eff305</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: adapt ldap.py/sam.py test_all tests to new default computer behaviour

Objects of objectclass computer are computers by default now and this changes
the sAMAccountType and primaryGroupID as well as userAccountControl

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/adfae12584c8af82624bdbd2461d1fdc404e320a">adfae125</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: Allow self.assertRaisesLdbError() to take a list of errors to match with

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b001f91668a17e128e709d8e548d053091e5337b">b001f916</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest/user_account_control: Allow a broader set of possible errors

This favors a test that confirms we got an error over getting exactly
the right error, at least for now.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ccd94963bd3c0600e1b6ae6b94e01fb5d2cbca9e">ccd94963</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest/user_account_control: more work to cope with UAC/objectclass defaults and lock

This new restriction breaks a large number of assumptions in the tests, like
that you can remove some UF_ flags, because it turns out doing so will
make the 'computer' a 'user' again, and this will fail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/558f440f2060934d39bd1b6297e554f47fc44e8c">558f440f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25721 krb5pac: Add new buffers for samAccountName and objectSID

These appear when PAC_UPN_DNS_FLAG_HAS_SAM_NAME_AND_SID is set.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14835

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f7f49db72223478b64f1d2aa07a160737f95629a">f7f49db7</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 tests/krb5: Allow tests accounts to replicate to RODC

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff6631ecdcb7f0f6455d83e905647dc5aacee51d">ff6631ec</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 CVE-2020-25717 tests/krb5: Modify get_service_ticket() to use _generic_kdc_exchange()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14799
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/06168fd4e3d1b1ea7fdcb6a42f1c721ba7340475">06168fd4</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 CVE-2020-25717 tests/krb5: Add pac_request parameter to get_service_ticket()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14799
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/43df8d0b2ea539f031ff0226dbd78470b9c4f569">43df8d0b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 tests/krb5: Allow creating server accounts

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14776

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4a792ad92d6f7319f3272b38e32e281b55d76f70">4a792ad9</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add is_tgt() helper method

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14686

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dbedf5b6e26cd6ed7ba18a96797f9bd610161a49">dbedf5b6</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add method to get unique username for test accounts

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14686

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4ac05264a762de8d3673b91d1ceb84b1f1703936">4ac05264</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">MS CVE-2020-17049 tests/krb5: Allow tests to pass if ticket signature checksum type is wrong

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/23dc0cbd53e16f0450204aa3a0eb971d1215bc5a">23dc0cbd</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25721 tests/krb5: Check PAC buffer types when STRICT_CHECKING=0

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14835

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/873ac6d814c814fdf2088745dbd562cd91caddd3">873ac6d8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 CVE-2020-25717 tests/krb5: Refactor create_ccache_with_user() to take credentials of target service

This allows us to use get_tgt() and get_service_ticket() to obtain
tickets, which simplifies the logic.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14799
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4125650a27c3be0f43f873843821751010090010">4125650a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 CVE-2020-25717 tests/krb5: Allow create_ccache_with_user() to return a ticket without a PAC

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14799
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/89c88a83dafca26d09a374aa410066113467547a">89c88a83</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 tests/krb5: Add KDC tests for 3-part SPNs

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14776

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3f7b971d3762b6f3a1e934a99f1b25365f7b6a54">3f7b971d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25721 ndrdump: Add tests for PAC with UPN_DNS_INFO

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14835

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd87905cf1bc014729ac72e8f1462ba10533efa9">bd87905c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add tests for requiring and issuing a PAC

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/48e5154de645daa168c6b79467abfd977f72277e">48e5154d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add a test for making an S4U2Self request without a PAC

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14686

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7f7476b08cb3eb8ec3d9c1c5b6903a2d6e79b6a8">7f7476b0</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add principal aliasing test

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14686

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3af0c36a06354bae9737dad37a341d3c120a1aba">3af0c36a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 tests/krb5: Add tests for RODC-printed and invalid TGTs

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24be204834889fca3f963ac4fee503a6ecbef439">24be2048</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add tests for including authdata without a PAC

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/903ab1a02776504ba3b4eb59470cfb8bdf4f2a90">903ab1a0</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25721 tests/krb5: Add tests for extended PAC_UPN_DNS_INFO PAC buffer

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14835

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9fe1b719e1b35ae4053cbb13f29f76f4b2f950ef">9fe1b719</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 CVE-2020-25717 tests/krb5: Add tests for connecting to services anonymously and without a PAC

At the end of the patchset we assume NT_STATUS_NO_IMPERSONATION_TOKEN if
no PAC is available.

For now we want to look for ACCESS_DENIED as this allows
the test to pass (showing that gensec:require_pac = true
is a useful partial mitigation).

This will also help others doing backports that do not
take the full patch set.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14799
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f9b16272d2879812011c5642019fd33ae72a6b91">f9b16272</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 CVE-2020-25717: selftest: remove "gensec:require_pac" settings

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14799
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

[jsutton@samba.org Added knownfail entries]

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b4ea50f8b272a3b1d1d9d9ceda3641c22a082604">b4ea50f8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 CVE-2020-25717 tests/krb5: Adapt tests for connecting without a PAC to new error codes

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14799
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/05587361498ae8131435aca2d8c860e98f605581">05587361</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:winbindd: make sure we default to r->out.authoritative = true

We need to make sure that temporary failures don't trigger a fallback
to the local SAM that silently ignores the domain name part for users.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0e23000f27823243ad797eb39581f83c3ad50b2b">0e23000f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s4:auth/ntlm: make sure auth_check_password() defaults to r->out.authoritative = true

We need to make sure that temporary failures don't trigger a fallback
to the local SAM that silently ignores the domain name part for users.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6aedd965e167c46ab7e42e35268574e18a97fd51">6aedd965</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s4:torture: start with authoritative = 1

This is not strictly needed, but makes it easier to audit
that we don't miss important places.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9a2351581416223a4486c33378f430f510a03db4">9a235158</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s4:smb_server: start with authoritative = 1

This is not strictly needed, but makes it easier to audit
that we don't miss important places.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/76ec5f94091095bb1736a4582696ef6c4b37654c">76ec5f94</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s4:auth_simple: start with authoritative = 1

This is not strictly needed, but makes it easier to audit
that we don't miss important places.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cc6d63100cdfad10cd1a17e111b7d3012d796098">cc6d6310</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:ntlm_auth: start with authoritative = 1

This is not strictly needed, but makes it easier to audit
that we don't miss important places.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cc32b2464a74ecd8a53460eba3523296fa31e943">cc32b246</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:torture: start with authoritative = 1

This is not strictly needed, but makes it easier to audit
that we don't miss important places.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4cda41677ccb6d68289bafdf4d486e85b6beb2a7">4cda4167</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:rpcclient: start with authoritative = 1

This is not strictly needed, but makes it easier to audit
that we don't miss important places.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/27d20fc335c5df53bf6780d6296f1e4aef277311">27d20fc3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:auth: start with authoritative = 1

This is not strictly needed, but makes it easier to audit
that we don't miss important places.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/79a6616cbe723a2bc05084b90298745143a76a7c">79a6616c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: auth/ntlmssp: start with authoritative = 1

This is not strictly needed, but makes it easier to audit
that we don't miss important places.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b39b698cdac9ef97d018d6f02d59493ec5bff6e6">b39b698c</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-11-09T19:45:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: loadparm: Add new parameter "min domain uid"

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6771b2f211f6f5ae08d94a75afb7c6109f65497d">6771b2f2</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: selftest: Add ad_member_no_nss_wb environment

This environment creates an AD member that doesn't have
'nss_winbind' configured, while winbindd is still started.

For testing we map a DOMAIN\root user to the local root
account and unix token of the local root user.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/14b9f905da196e4e1904e4d4b0dec6192e76ab61">14b9f905</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: selftest: Add a test for the new 'min domain uid' parameter

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

[abartlet@samba.org Fixed knowfail per instruction from metze]
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/97d54027910b7d3fa04bd6c1b72448a85cdf5d7c">97d54027</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:auth: let auth3_generate_session_info_pac() forward the low level errors

Mapping everything to ACCESS_DENIED makes it hard to debug problems,
which may happen because of our more restrictive behaviour in future.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b78ad7346c7128142a65ce6d6625d3d28116882">4b78ad73</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:auth: Check minimum domain uid

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

[abartlet@samba.org Removed knownfail on advice from metze]
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/28fae9c2215698e465201b6ad27eb9eeb55c906a">28fae9c2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:auth: we should not try to autocreate the guest account

We should avoid autocreation of users as much as possible.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd0423bfbbce2d9f1f8a62c21cf612e5c755b616">dd0423bf</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:auth: no longer let check_account() autocreate local users

So far we autocreated local user accounts based on just the
account_name (just ignoring any domain part).

This only happens via a possible 'add user script',
which is not typically defined on domain members
and on NT4 DCs local users already exist in the
local passdb anyway.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f79ee99a6a3390ccb409ac1b5f543488e7bd784">8f79ee99</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:auth: remove fallbacks in smb_getpwnam()

So far we tried getpwnam("DOMAIN\account") first and
always did a fallback to getpwnam("account") completely
ignoring the domain part, this just causes problems
as we mix "DOMAIN1\account", "DOMAIN2\account",
and "account"!

As we require a running winbindd for domain member setups
we should no longer do a fallback to just "account" for
users served by winbindd!

For users of the local SAM don't use this code path,
as check_sam_security() doesn't call check_account().

The only case where smb_getpwnam("account") happens is
when map_username() via ("username map [script]")  mapped
"DOMAIN\account" to something without '\', but that is
explicitly desired by the admin.

Note: use 'git show -w'

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/52190982de134fb55abce76def0609651e45012e">52190982</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:lib: add lp_allow_trusted_domains() logic to is_allowed_domain()

is_allowed_domain() is a central place we already use to
trigger NT_STATUS_AUTHENTICATION_FIREWALL_FAILED, so
we can add additional logic there.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/57abb7f8f8884f52f1d194c5c74e067aecd0d3dd">57abb7f8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:auth: don't let create_local_token depend on !winbind_ping()

We always require a running winbindd on a domain member, so
we should better fail a request instead of silently alter
the behaviour, which results in a different unix token, just
because winbindd might be restarted.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e2d5b4d709293b52112d078d6fcde95593d790c5">e2d5b4d7</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: Add FreeIPA domain controller role

As we want to reduce use of 'classic domain controller' role but FreeIPA
relies on it internally, add a separate role to mark FreeIPA domain
controller role.

It means that role won't result in ROLE_STANDALONE.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e2d271cb6bcd292f786664f055cde41c32002804">e2d271cb</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 CVE-2020-25717: auth/gensec: always require a PAC in domain mode (DC or member)

AD domains always provide a PAC unless UF_NO_AUTH_DATA_REQUIRED is set
on the service account, which can only be explicitly configured,
but that's an invalid configuration!

We still try to support standalone servers in an MIT realm,
as legacy setup.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

[jsutton@samba.org Removed knownfail entries]
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/935feff8e54cef9b379f653a3198a5bbd3a64989">935feff8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 CVE-2020-25717: s4:auth: remove unused auth_generate_session_info_principal()

We'll require a PAC at the main gensec layer already.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd8d06ff155fb831cd8d487eabfbc69743d12252">bd8d06ff</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:ntlm_auth: fix memory leaks in ntlm_auth_generate_session_info_pac()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c4ddf939e0ee2b9ae1af8b2ff8344fc9c7118adf">c4ddf939</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:ntlm_auth: let ntlm_auth_generate_session_info_pac() base the name on the PAC LOGON_INFO only

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14801
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/566c2b296dd6826491958bf739673ca7b8d75be5">566c2b29</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:auth: let auth3_generate_session_info_pac() delegate everything to make_server_info_wbcAuthUserInfo()

This consolidates the code paths used for NTLMSSP and Kerberos!

I checked what we were already doing for NTLMSSP, which is this:

a) source3/auth/auth_winbind.c calls wbcAuthenticateUserEx()
b) as a domain member we require a valid response from winbindd,
   otherwise we'll return NT_STATUS_NO_LOGON_SERVERS
c) we call make_server_info_wbcAuthUserInfo(), which internally
   calls make_server_info_info3()
d) auth_check_ntlm_password() calls
   smb_pam_accountcheck(unix_username, rhost), where rhost
   is only an ipv4 or ipv6 address (without reverse dns lookup)
e) from auth3_check_password_send/auth3_check_password_recv()
   server_returned_info will be passed to auth3_generate_session_info(),
   triggered by gensec_session_info(), which means we'll call into
   create_local_token() in order to transform auth_serversupplied_info
   into auth_session_info.

For Kerberos gensec_session_info() will call
auth3_generate_session_info_pac() via the gensec_generate_session_info_pac()
helper function. The current logic is this:

a) gensec_generate_session_info_pac() is the function that
   evaluates the 'gensec:require_pac', which defaulted to 'no'
   before.
b) auth3_generate_session_info_pac() called
   wbcAuthenticateUserEx() in order to pass the PAC blob
   to winbindd, but only to prime its cache, e.g. netsamlogon cache
   and others. Most failures were just ignored.
c) If the PAC blob is available, it extracted the PAC_LOGON_INFO
   from it.
d) Then we called the horrible get_user_from_kerberos_info() function:
   - It uses a first part of the tickets principal name (before the @)
     as username and combines that with the 'logon_info->base.logon_domain'
     if the logon_info (PAC) is present.
   - As a fallback without a PAC it's tries to ask winbindd for a mapping
     from realm to netbios domain name.
   - Finally is falls back to using the realm as netbios domain name
   With this information is builds 'userdomain+winbind_separator+useraccount'
   and calls map_username() followed by smb_getpwnam() with create=true,
   Note this is similar to the make_server_info_info3() => check_account()
   => smb_getpwnam() logic under 3.
   - It also calls smb_pam_accountcheck(), but may pass the reverse DNS lookup name
     instead of the ip address as rhost.
   - It does some MAP_TO_GUEST_ON_BAD_UID logic and auto creates the
     guest account.
e) We called create_info3_from_pac_logon_info()
f) make_session_info_krb5() calls gets called and triggers this:
   - If get_user_from_kerberos_info() mapped to guest, it calls
     make_server_info_guest()
   - If create_info3_from_pac_logon_info() created a info3 from logon_info,
     it calls make_server_info_info3()
   - Without a PAC it tries pdb_getsampwnam()/make_server_info_sam() with
     a fallback to make_server_info_pw()
   From there it calls create_local_token()

I tried to change auth3_generate_session_info_pac() to behave similar
to auth_winbind.c together with auth3_generate_session_info() as
a domain member, as we now rely on a PAC:

a) As domain member we require a PAC and always call wbcAuthenticateUserEx()
   and require a valid response!
b) we call make_server_info_wbcAuthUserInfo(), which internally
   calls make_server_info_info3(). Note make_server_info_info3()
   handles MAP_TO_GUEST_ON_BAD_UID and make_server_info_guest()
   internally.
c) Similar to auth_check_ntlm_password() we now call
   smb_pam_accountcheck(unix_username, rhost), where rhost
   is only an ipv4 or ipv6 address (without reverse dns lookup)
d) From there it calls create_local_token()

As standalone server (in an MIT realm) we continue
with the already existing code logic, which works without a PAC:
a) we keep smb_getpwnam() with create=true logic as it
   also requires an explicit 'add user script' option.
b) In the following commits we assert that there's
   actually no PAC in this mode, which means we can
   remove unused and confusing code.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14646
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3ed0e5b924f77e0f92867cf93892e974e21542e5">3ed0e5b9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: selftest: configure 'ktest' env with winbindd and idmap_autorid

The 'ktest' environment was/is designed to test kerberos in an active
directory member setup. It was created at a time we wanted to test
smbd/winbindd with kerberos without having the source4 ad dc available.

This still applies to testing the build with system krb5 libraries
but without relying on a running ad dc.

As a domain member setup requires a running winbindd, we should test it
that way, in order to reflect a valid setup.

As a side effect it provides a way to demonstrate that we can accept
smb connections authenticated via kerberos, but no connection to
a domain controller! In order get this working offline, we need an
idmap backend with ID_TYPE_BOTH support, so we use 'autorid', which
should be the default choice.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14646
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2609e4297e04c93ca5bd1466617c4536faf5be32">2609e429</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:auth: let auth3_generate_session_info_pac() reject a PAC in standalone mode

We should be strict in standalone mode, that we only support MIT realms
without a PAC in order to keep the code sane.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8bb009009cd68550db814904399163794e3a84a">e8bb0090</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:auth: simplify get_user_from_kerberos_info() by removing the unused logon_info argument

This code is only every called in standalone mode on a MIT realm,
it means we never have a PAC and we also don't have winbindd arround.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/757f1d20e4bcdef20307607a4501fe920270fd6e">757f1d20</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:auth: simplify make_session_info_krb5() by removing unused arguments

This is only ever be called in standalone mode with an MIT realm,
so we don't have a PAC/info3 structure.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62d1cb4c19670b7d5ad24083931c1b644ead5eac">62d1cb4c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 Add test for SPN deletion followed by addition

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

[abartlet@samba.org Removed transaction hooks, these do nothing over
 remote LDAP]
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/48e3cf96511607e99c665773b30654c918dfa992">48e3cf96</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4:dsdb:tests: Add missing self.fail() calls

Without these calls the tests could pass if an expected error did not
occur.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14832

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

[abartlet@samba.org Included in backport as changing ACLs while
 ACL tests are not checking for unexpected success would be bad]
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6121f31c0e1553194d74de41ea7bcc55364a2612">6121f31c</a></strong>
<div>
<span>by Nadezhda Ivanova</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722: s4-acl: test Control Access Rights honor the Applies-to attribute

Validate Writes and Control Access Rights should only grant access if the
object is of the type listed in the Right's appliesTo attribute.
Tests to verify this behavior

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14832

Signed-off-by: Nadezhda Ivanova <nivanova@symas.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8da6d0bf6f575166126dc3196155ca3fc9004819">8da6d0bf</a></strong>
<div>
<span>by Nadezhda Ivanova</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722: s4-acl: Make sure Control Access Rights honor the Applies-to attribute

Validate Writes and Control Access Rights only grant access if the
object is of the type listed in the Right's appliesTo attribute. For
example, even though a Validated-SPN access may be granted to a user
object in the SD, it should only pass if the object is of class
computer This patch enforces the appliesTo attribute classes for
access checks from within the ldb stack.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14832

Signed-off-by: Nadezhda Ivanova <nivanova@symas.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/42eb5fee22a482bc727dfdc1ad3ba1b123e4239a">42eb5fee</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 Check all elements in acl_check_spn() not just the first one

Thankfully we are aleady in a loop over all the message elements in
acl_modify() so this is an easy and safe change to make.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c4aee1145df27f47a1748964ece490d95908ad3">2c4aee11</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 Check for all errors from acl_check_extended_right() in acl_check_spn()

We should not fail open on error.

BUG:  https://bugzilla.samba.org/show_bug.cgi?id=14876
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de24916a82069d4892c052018596e50fdf7e0ca4">de24916a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 pytests: add reverse lookup dict for LDB error codes

You can give ldb_err() it a number, an LdbError, or a sequence of
numbers, and it will return the corresponding strings. Examples:

ldb_err(68)       # "LDB_ERR_ENTRY_ALREADY_EXISTS"
LDB_ERR_LUT[68]   # "LDB_ERR_ENTRY_ALREADY_EXISTS"

expected = (ldb.ERR_INSUFFICIENT_ACCESS_RIGHTS,
            ldb.ERR_INVALID_CREDENTIALS)
try:
    foo()
except ldb.LdbError as e:
    self.fail(f"got {ldb_err(e)}, expected one of {ldb_err(expected)}")

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b919246c5523a511ad812c35c1a6b0eb4cc56259">b919246c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 pytest: assertRaisesLdbError invents a message if you're lazy

This makes it easier to convert tests that don't have good messages.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c7e3617cc368bc8c36b4b353e827712b08370e16">c7e3617c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/cracknames: always free tmp_ctx in spn_alias

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5a79fca9682fe1962317d100b581de0b7b123153">5a79fca9</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/cracknames: lookup_spn_alias doesn't need krb5 context

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7243bd7d388db2dfaa2072f92162d5cee770c6ea">7243bd7d</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 samba-tool spn: accept -H for database url

Following the convention and making testing easier

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/72a2c21f3f51d1b56b41c9401419b69b2c916ddf">72a2c21f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 samba-tool spn add: remove --force option

This did not actually *force* the creation of a duplicate SPN, it just
ignored the client-side check for the existing copy. Soon we are going
to enforce SPN uniqueness on the server side, and this --force will not
work. This will make the --force test fail, and if that tests fail, so
will others that depend the duplicate values. So we remove those tests.

It is wrong-headed to try to make duplicate SPNs in any case, which is
probably why there is no sign of anyone ever having used this option.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8cde23709050533c0da898ca0a1072bca0845890">8cde2370</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 tests: blackbox samba-tool spn non-admin test

It is soon going to be impossible to add duplicate SPNs (short of
going behind DSDB's back on the local filesystem). Our test of adding
SPNs on non-admin users doubled as the test for adding a duplicate (using
--force). As --force is gone, we add these tests on Guest after the SPN
on Administrator is gone.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0a555cf097a5a8d38c7b61edaee838dd0973a989">0a555cf0</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/provision: add host/ SPNs at the start

There are two reasons for this. Firstly, leaving SPNs unclaimed is
dangerous, as someone else could grab them first. Secondly, in some
circumstances (self join) we try to add a DNS/ SPN a little bit later
in provision. Under the rules we are introducing for CVE-2020-25722,
this will make our later attempts to add HOST/ fail.

This causes a few errors in samba4.blackbox.dbcheck.* tests, which
assert that revivified old domains match stored reference versions.
Now they don't, because they have servicePrincipalNames.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/55752c12cf14b64d981c9a6010ead0fd8d847857">55752c12</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 blackbox/upgrades tests: ignore SPN for ldapcmp

We need to have the SPNs there before someone else nabs them, which
makes the re-provisioned old releases different from the reference
versions that we keep for this comparison.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/df34c11cbc704270eaccb86fabb16132b37a884f">df34c11c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 pytest: test sAMAccountName/userPrincipalName over ldap

Because the sam account name + the dns host name is used as the
default user principal name, we need to check for collisions between
these. Fixes are coming in upcoming patches.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/11540375af181bf41b24ae38daac51e05253d631">11540375</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 pytest: test setting servicePrincipalName over ldap

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce2930d2d2ddcb40b6d44852aa3409ad6d64bedf">ce2930d2</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/cracknames: add comment pointing to samldb spn handling

These need to stay a little bit in sync. The reverse comment is there.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/efbf0b77d0050faee15b680e5e908357993d869b">efbf0b77</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: add samldb_get_single_valued_attr() helper

This takes a string of logic out of samldb_unique_attr_check() that we
are going to need in other places, and that would be very tedious to
repeat.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6f4d931d088c70c62490fb051ec9ab9f081cd77">b6f4d931</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: unique_attr_check uses samldb_get_single_valued_attr()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/45a4a198b81740fe4d81e6459ca90e004ef99efc">45a4a198</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: check for clashes in UPNs/samaccountnames

We already know duplicate sAMAccountNames and UserPrincipalNames are bad,
but we also have to check against the values these imply in each other.

For example, imagine users with SAM account names "Alice" and "Bob" in
the realm "example.com". If they do not have explicit UPNs, by the logic
of MS-ADTS 5.1.1.1.1 they use the implict UPNs "alice@example.com" and
"bob@example.com", respectively. If Bob's UPN gets set to
"alice@example.com", it will clash with Alice's implicit one.

Therefore we refuse to allow a UPN that implies an existing SAM account
name and vice versa.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/510378f94a62313777da09efebf4bf737b23cd55">510378f9</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: check sAMAccountName for illegal characters

This only for the real account name, not the account name implicit in
a UPN. It doesn't matter if a UPN implies an illegal sAMAccountName,
since that is not going to conflict with a real one.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9235617c637a5ba878dd7d30764326ea58f91e46">9235617c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: check for SPN uniqueness, including aliases

Not only should it not be possible to add a servicePrincipalName that
is already present in the domain, it should not be possible to add one
that is implied by an entry in sPNMappings, unless the user is adding
an alias to another SPN and has rights to alter that one.

For example, with the default sPNMappings, cifs/ is an alias pointing to
host/, meaning if there is no cifs/example.com SPN, the host/example.com
one will be used instead. A user can add the cifs/example.com SPN only
if they can also change the host/example.com one (because adding the
cifs/ effectively changes the host/). The reverse is refused in all cases,
unless they happen to be on the same object. That is, if there is a
cifs/example.com SPN, there is no way to add host/example.com elsewhere.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/13377f0b59e28c7e7b7b6fe922f0b1f1e95042f6">13377f0b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: reject SPN with too few/many components

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8abf90a3ef5a9939f4e076a2fa8caa984aa2c412">8abf90a3</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb modules: add dsdb_get_expected_new_values()

This function collects a superset of all the new values for the specified
attribute that could result from an ldb add or modify message.

In most cases -- where there is a single add or modify -- the exact set
of added values is returned, and this is done reasonably efficiently
using the existing element. Where it gets complicated is when there are
multiple elements for the same attribute in a message. Anything added
before a replace or delete will be included in these results but may not
end up in the database if the message runs its course. Examples:

   sequence           result
1. ADD                the element is returned (exact)
2. REPLACE            the element is returned (exact)
3. ADD, ADD           both elements are concatenated together (exact)
4. ADD, REPLACE       both elements are concatenated together (superset)
5. REPLACE, ADD       both elements are concatenated together (exact)
6. ADD, DEL, ADD      adds are concatenated together (superset)
7. REPLACE, REPLACE   both concatenated (superset)
8. DEL, ADD           last element is returned (exact)

Why this? In the past we have treated dsdb_get_single_valued_attr() as if
it returned the complete set of possible database changes, when in fact it
only returned the last non-delete. That is, it could have missed values
in examples 3-7 above.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c24a41342f03fbfe92b6d45104b7b6b12c916a1e">c24a4134</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: samldb_get_single_valued_attr() check all values

using dsdb_get_expected_new_values().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d50fe2ff2a163856b5ec11ef9e4b53732056973">4d50fe2f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: samldb_sam_accountname_valid_check() check all values

Using dsdb_get_expected_new_values().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a73827583e4cc6d28a885508c70975c5f54747b">2a738275</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: samldb_schema_add_handle_linkid() checks all values

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e4762f4c018805e0c3de2d2993a17d90b6683fce">e4762f4c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: samldb_schema_add_handle_mapiid() checks all values

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/87382e198f7883dee81ccac769ae54a6700f4f24">87382e19</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: samldb_prim_group_change() checks all values

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bdfcea484ef3ba868be185b01206ed29fedb1861">bdfcea48</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: samldb_user_account_control_change() checks all values

There is another call to dsdb_get_expected_new_values() in this function
that we change in the next commit.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/74623b644d61ce02d0f09fe70b2743a790e0375c">74623b64</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb _user_account_control_change() always add final value

dsdb_get_single_valued_attr() was finding the last non-delete element for
userAccountControl and changing its value to the computed value.
Unfortunately, the last non-delete element might not be the last element,
and a subsequent delete might remove it.

Instead we just add a replace on the end.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1e0176cf65342e36973e1624768bdc214799ebe6">1e0176cf</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: samldb_pwd_last_set_change() checks all values

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4fb4136a84ba98654622ebaff9a1969e17ede5aa">4fb4136a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: samldb_lockout_time() checks all values

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d120204012ce3df76c14366c89d5bf1daff33d5d">d1202040</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: samldb_group_type_change() checks all values

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ecb2c3a80ccdc3d8a1f0d10a8150a27ed9d77209">ecb2c3a8</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: samldb_service_principal_names_change checks values

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/280c07f58abb257a3dc4ec991dde9fdf26bd40e4">280c07f5</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: samldb_fsmo_role_owner_check checks values

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ed9ec0b0813e0789d45b21dc3b8d4f02d3fb9834">ed9ec0b0</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/samldb: samldb_fsmo_role_owner_check() wants one value

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/59201d5424a7de44226562af854d5c8cb923f2a3">59201d54</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/pwd_hash: password_hash_bypass gets all values

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b9962c1e5e481191063e75550757c74e63c38039">b9962c1e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/pwd_hash: rework pwdLastSet bypass

This tightens the logic a bit, in that a message with trailing DELETE
elements is no longer accepted when the bypass flag is set. In any case
this is an unlikely scenario as this is an internal flag set by a private
control in pdb_samba_dsdb_replace_by_sam().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5fe2633b2a8e2d1c38bc61cc0629888c67a7c371">5fe2633b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 s4/dsdb/util: remove unused dsdb_get_single_valued_attr()

Nobody uses it now. It never really did what it said it did. Almost
every use was wrong. It was a trap.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14876

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/72840a972bcd36b7ab5bbe3713f4b05913215651">72840a97</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: Adapt ldap.py tests to new objectClass restrictions

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2249143fe3dae59648466326c398912d7d61835f">2249143f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 tests/krb5: Fix indentation

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6ec80380dc9372a896f74e95738b01c046411429">6ec80380</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 krb5pac.idl: Add PAC_ATTRIBUTES_INFO PAC buffer type

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f4ed37ad6aa0359f4799188d2b1d30571c6b42a6">f4ed37ad</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 krb5pac.idl: Add PAC_REQUESTER_SID PAC buffer type

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/336dfc32075ed8776378c35506db94c43cce2a88">336dfc32</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Provide expected parameters for both AS-REQs in get_tgt()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd251f26df6a26b1f6024758ec85ee2df54e6d50">dd251f26</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Allow update_pac_checksums=True if the PAC is not present

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/383bedd6fddb81cbd6d39c41a5c463f432344f5e">383bedd6</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Don't expect a kvno for user-to-user

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14873

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/21298ddfc5d8e4d755cfb7c6ae2068386447f538">21298ddf</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Expect 'renew-till' element when renewing a TGT

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9602594585d0a8d5c4fb7bfb419760765b262138">96025945</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Return ticket from _tgs_req()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a236e2cc255b98603449e96d7ce94a3e48277c6c">a236e2cc</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Use correct credentials for user-to-user tests

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14873

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/faf47b0b6b6037e2059cb4871c3e99020a3f605a">faf47b0b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Adjust PAC tests to prepare for new PAC_ATTRIBUTES_INFO buffer

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/924f323188774fabbb8fc1a08d24c1be51b37708">924f3231</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Adjust expected error codes for user-to-user tests

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14873

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e647186c144748b6e1672cea2ae37c7f93760984">e647186c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: tests/krb5: Adjust expected error code for S4U2Self no-PAC tests

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2158ba1eb0800ba9429a9891d7af47d82985b73d">2158ba1e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Extend _get_tgt() method to allow more modifications to tickets

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40a3f71818b7c9923d31050f05ac24fe7b7f70c4">40a3f718</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add _modify_tgt() method for modifying already obtained tickets

https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/58455c4876113173e682e9b321b8a175779b8a43">58455c48</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add testing for PAC_TYPE_ATTRIBUTES_INFO PAC buffer

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/42405aa46be210af0ffdd6ecc9e43e41fc8c4c83">42405aa4</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add testing for PAC_TYPE_REQUESTER_SID PAC buffer

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8752b83bb98792579b7705d0ce1bd0fb9321043e">8752b83b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add EXPECT_PAC environment variable to expect pac from all TGS tickets

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/72f82d949a3ee0889f358a586484248f8386b744">72f82d94</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add expected parameters to cache key for obtaining tickets

If multiple calls to get_tgt() or get_service_ticket() specify different
expected parameters, we want to perform the request again so that the
checking can be performed, rather than reusing a previously obtained
ticket and potentially skipping checks.

It should be fine to cache tickets with the same expected parameters, as
tickets that fail to be obtained will not be stored in the cache, so the
checking will happen for every call.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b8c85fe81c4e95dab1b9a679d0d3e3d27e4f8ed9">b8c85fe8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add tests for PAC attributes buffer

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e1e57fca84ba7c8f68a1a2d64f49f9f2c4b80c0">2e1e57fc</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add tests for PAC-REQUEST padata

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7ff05eb8d44ed7bd7d71227ba42f0fddf09cd0ed">7ff05eb8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add tests for requester SID PAC buffer

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/26480ba2aa9834a24f1ea11ae3f8e2d7ed0ccfd8">26480ba2</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add test for user-to-user with no sname

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14873

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a461b7d4f8c07b2fc64243c99a2c334ab9e73721">a461b7d4</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add tests for mismatched names with user-to-user

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14873

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa4c9bcefdeed0a7106aab84df20b02435febc1f">fa4c9bce</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 s4/torture: Expect additional PAC buffers

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/deccd0dc5e41a86722e41883bb8788f70797aa5f">deccd0dc</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 pytest: Raise an error when adding a dynamic test that would overwrite an existing test

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d0fb22ee85ee4baeba5eec5f7332e752e27765e0">d0fb22ee</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 mit-samba: Make ks_get_principal() internally public

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4ef445a1f37e77df8016d240fcf22927165b8c03">4ef445a1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 mit-samba: Add ks_free_principal()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

[abartlet@samba.org As submitted in patch to Samba bugzilla
 to address this issue as https://attachments.samba.org/attachment.cgi?id=16724
 on overall bug https://bugzilla.samba.org/show_bug.cgi?id=14725]

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d14a6a8846493438dca2f974a3a5d5e00a414d72">d14a6a88</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 mit-samba: If we use client_princ, always lookup the db entry

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/61fa866449e1f804b6118ccefdc9cbbc648ed625">61fa8664</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 mit-samba: Add mit_samba_princ_needs_pac()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2903a50523a80e6de37ff0e052734e9170d147c9">2903a505</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 mit-samba: Handle no DB entry in mit_samba_get_pac()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/435719185c3c80539eb3041becf1ec18bcd99bac">43571918</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 mit-samba: Rework PAC handling in kdb_samba_db_sign_auth_data()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bdf07fc4211a123b2fe914050d2cb221e0c4a55b">bdf07fc4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 mit_samba: The samba_princ_needs_pac check should be on the server entry

This does the same check as the hdb plugin now. The client check is already
done earlier.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/41a36191f671d4e7e172da6b50ca07c3530ff561">41a36191</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 mit_samba: Create the talloc context earlier

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/87a769fc0a9cdc75f2f79f5cc8072efa95ff4437">87a769fc</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 s4:kdc: Remove trailing spaces in pac-glue.c

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/01df6559ee6ba86110878da094a3badb50fb75d5">01df6559</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 s4:kdc: Add samba_kdc_validate_pac_blob()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0db5c69d2961fbc538b7bd47373f9d00215fd5a2">0db5c69d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 s4:kdc: Check if the pac is valid before updating it

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2f9245f2a549bd89829d7807ec525c54ff61f8e5">2f9245f2</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 s4:kdc: Add KDC support for PAC_ATTRIBUTES_INFO PAC buffer

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bacb51d0d3acd529de4e3315ed2f04eeac4829d5">bacb51d0</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 heimdal:kdc: Require authdata to be present

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14686

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/19719003af110c6ed664970cddb353d60805ba91">19719003</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 kdc: Remove unused samba_kdc_get_pac_blob()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4796b0a5c1d3948642d17eef9f72d364f0e29de3">4796b0a5</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 s4-rpc_server: Change sid list functions to operate on a array of struct dom_sid

This is instead of an array of struct dom_sid *.

The reason is that auth_user_info_dc has an array of struct dom_sid
(the user token) and for checking if an RODC should be allowed
to print a particular ticket, we want to reuse that a rather
then reconstruct it via tokenGroups.

This also avoids a lot of memory allocation.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cdb5690be40f6f6c5e5809783c4a364785f85a6e">cdb5690b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 s4-rpc_server: Obtain the user tokenGroups earlier

This will allow the creation of a common helper routine that
takes the token SID list (from tokenGroups or struct auth_user_info_dc)
and returns the allowed/denied result.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/edd3d61feabf2530c9dc2caff98bfbb5f0a2bd1a">edd3d61f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 s4-rpc_server: Put RODC reveal/never reveal logic into a single helper function

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8ee6753a6ea782050b5b722ce1ac63a275a94f7c">8ee6753a</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 s4-rpc_server: Put msDS-KrbTgtLinkBL and UF_INTERDOMAIN_TRUST_ACCOUNT RODC checks in common

While these checks were not in the NETLOGON case, there is no sense where
an RODC should be resetting a bad password count on either a
UF_INTERDOMAIN_TRUST_ACCOUNT nor a RODC krbtgt account.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/601403504325f2f0e241da0a4eb3e390e73f3c08">60140350</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 s4-rpc_server: Confirm that the RODC has the UF_PARTIAL_SECRETS_ACCOUNT bit

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/16f96dbb5d4b2262c5ba85fb32a479f0cb66ed23">16f96dbb</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 s4-rpc_server: Provide wrapper samdb_confirm_rodc_allowed_to_repl_to()

This shares the lookup of the tokenGroups attribute.

There will be a new caller that does not want to do this step,
so this is a wrapper of samdb_confirm_rodc_allowed_to_repl_to_sid_list()
rather than part of it

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c70710a0483e500f03e59df4dd759e6033975c15">c70710a0</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 s4-rpc_server: Remove unused attributes in RODC check

In particular the objectGUID is no longer used, and in the NETLOGON case
the special case for msDS-KrbTgtLink does not apply.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a831ef74c5b2982c108cc16dae9b116e9658dcb8">a831ef74</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 s4-rpc_server: Explain why we use DSDB_SEARCH_SHOW_EXTENDED_DN in RODC access check

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/158765d1f33daf19396cb063473c3a132b15a7fc">158765d1</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 s4-rpc_server: Add in debug messages into RODC processing

These are added for the uncommon cases.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a9ac1f919127cf91a08dd3c20bbeda27af980aef">a9ac1f91</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 dsdb: Bring sid_helper.c into common code as rodc_helper.c

These common routines will assist the KDC to do the same access
checking as the RPC servers need to do regarding which accounts
a RODC can act with regard to.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b176ddba2a2e3ec9e74e0b6b40b12d1a1139bdf5">b176ddba</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 kdc: Confirm the RODC was allowed to issue a particular ticket

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/80257fa37c49138fb1af0a910a3ea41954096c11">80257fa3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 kdc: Return ERR_POLICY if RODC krbtgt account is invalid

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/05898cfb139ae0674c8251acc9d64c4c3d4c8376">05898cfb</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 kdc: Avoid races and multiple DB lookups in s4u2self check

Looking up the DB twice is subject to a race and is a poor
use of resources, so instead just pass in the record we
already got when trying to confirm that the server in
S4U2Self is the same as the requesting client.

The client record has already been bound to the the
original client by the SID check in the PAC.

Likewise by looking up server only once we ensure
that the keys looked up originally are in the record
we confirm the SID for here.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14686

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/43983170fc8671f7c0f0a0a6e1f8a82d9dbc2b60">43983170</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25721 auth: Fill in the new HAS_SAM_NAME_AND_SID values

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14835

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a3aee582a5c94b3d4de5edd0e9e5a0367addacbd">a3aee582</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 Ensure the structural objectclass cannot be changed

If the structural objectclass is allowed to change, then the restrictions
locking an object to remaining a user or computer will not be enforcable.

Likewise other LDAP inheritance rules, which allow only certain
child objects can be bypassed, which can in turn allow creation of
(unprivileged) users where only DNS objects were expected.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14753
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14889

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d3548aeffa2ec136f7cdece112a127241d8be13">1d3548ae</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 s4:kdc: Add KDC support for PAC_REQUESTER_SID PAC buffer

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a5db5c7fa2bdf5c651f77749b4e79c515d164e4f">a5db5c7f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 heimdal:kdc: Check return code

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14873

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f170f1eb4989d7f337eed0f45a558fe5231ea367">f170f1eb</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 heimdal:kdc: Move fetching krbtgt entry to before enctype selection

This allows us to use it when validating user-to-user.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14873

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fd50fecbe99ae4fc63843c796d0a516731a1fe6a">fd50fecb</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 heimdal:kdc: Use sname from request rather than user-to-user TGT client name

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14873

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f08e6ac86226dcd939fd0e40b6f7dc80c5c00e79">f08e6ac8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 heimdal:kdc: Check name in request against name in user-to-user TGT

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14873

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/49a13f0fc942d1cfb767d5b6bf49d62241d52046">49a13f0f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 heimdal:kdc: Verify PAC in TGT provided for user-to-user authentication

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14873

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4888e198110a811a1815e2fdffc7562fe979f477">4888e198</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 kdc: Do not honour a request for a 3-part SPN (ending in our domain/realm) unless a DC

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14776

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/756934f14cc87dc1adfd9315672ae5d49cb24d95">756934f1</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 heimdal:kdc: Require PAC to be present

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14686

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b8c6fa20f41a65fcaa9bb09a6316df97da07ee79">b8c6fa20</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 tests/krb5: Only fetch RODC account credentials when necessary

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14558

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f5baabd987bbe71bbf37277e11f51f03372c28f1">f5baabd9</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 tests/krb5: Add tests for using a ticket with a renamed account

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa65ceb3dc3469019ec801d0a2a2272ae32308ed">fa65ceb3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25718 heimdal:kdc: Add comment about tests for tickets of users not revealed to an RODC

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14886

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/972f0435bd8b1f0db1f98954692bc58b10631d27">972f0435</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "CVE-2020-25719 heimdal:kdc: Require authdata to be present"

This reverts an earlier commit that was incorrect.

It is not Samba practice to include a revert, but at this point in
the patch preperation the ripple though the knownfail files is
more trouble than can be justified.

It is not correct to refuse to parse all tickets with no authorization
data, only for the KDC to require that a PAC is found, which is done
in "heimdal:kdc: Require PAC to be present"

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/433092d61705bdfb3124be94f6d881214b9432ba">433092d6</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25719 selftest: Always expect a PAC in TGS replies with Heimdal

This is tested in other places already, but this ensures a global
check that a TGS-REP has a PAC, regardless.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/262f59a71f5488dcb8b9a3c5fafdcf21b30affca">262f59a7</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 pytests: Give computer accounts unique (and valid) sAMAccountNames and SPNs

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ae47a7307766014e637e4a539c96316cf0f09108">ae47a730</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: Add test for duplicate servicePrincipalNames on an add operation

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f4634310196c6b2c8b097ad41f949a0cccf0ec6">5f463431</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25722 selftest: Ensure check for duplicate servicePrincipalNames is not bypassed for an add operation

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14564

If one of the objectClass checks passed, samldb_add() could return
through one of the samldb_fill_*() functions and skip the
servicePrincipalName uniqueness checking.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c00e5fc2c646ef56a457d3850fb4a6e4d8d45294">c00e5fc2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-23192: dcesrv_core: add better debugging to dcesrv_fault_disconnect()

It's better to see the location that triggered the fault.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14875

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2f0bc04afe27af91901c66b2f4220129cabaf8a7">2f0bc04a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-23192: dcesrv_core: add dcesrv_fault_disconnect0() that skips DCERPC_PFC_FLAG_DID_NOT_EXECUTE

That makes the callers much simpler and allow better debugging.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14875

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/478656531610ea35c860a769f2309592f7561bcb">47865653</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-23192: python/tests/dcerpc: change assertNotEquals() into assertNotEqual()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14875

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e21c405163a119af496b6801c31f38dd33e4da93">e21c4051</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-23192: python/tests/dcerpc: let generate_request_auth() use g_auth_level in all places

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14875

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/44584f97b088796818aaaa721cf317541116d506">44584f97</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-23192: python/tests/dcerpc: fix do_single_request(send_req=False)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14875

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9ebc679e76803e41861b9901d69fee41d3ce9a0f">9ebc679e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-23192: python/tests/dcerpc: add tests to check how security contexts relate to fragmented requests

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14875

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/871d672f51fa8de6b2a4feee2039b76654e6aad2">871d672f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-23192: dcesrv_core: only the first fragment specifies the auth_contexts

All other fragments blindly inherit it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14875

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/93dad333a22a3b46217072333491b87621db01f5">93dad333</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2016-2124: s4:libcli/sesssetup: don't fallback to non spnego authentication if we require kerberos

We should not send NTLM[v2] data on the wire if the user asked for kerberos
only.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12444

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c17f4256e53229bd100f7bdcbc77620a64446326">c17f4256</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2016-2124: s3:libsmb: don't fallback to non spnego authentication if we require kerberos

We should not send NTLM[v2] nor plaintext data on the wire if the user
asked for kerberos only.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12444

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/923c80eea96e725bdfc9e91f854f459bbaa8954f">923c80ee</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3738 s4:torture/drsuapi: don't pass DsPrivate to test_DsBind()

This will make it easier to reuse.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14468

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/73b6ed864e084814e0a39c1d16c6217ba0ca26dd">73b6ed86</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3738 s4:torture/drsuapi: maintain priv->dc_credentials

We want to use the credentials of the joined dc account
in future tests.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14468

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/45315f2284d9971d0b9e63b61bfdeab5e9589b54">45315f22</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3738 s4:torture/drsuapi: maintain priv->admin_credentials

This will be used in the next commits.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14468

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b9deab4ca43a2d08bed6950c05a57a7b2c7557bd">b9deab4c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3738 s4:torture/drsuapi: DsBindAssocGroup* tests

This adds a reproducer for an invalid memory access, when
using the context handle from DsBind across multiple connections
within an association group.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14468

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b173ac586a688c2c3c6e75b02952e939fd0d4698">b173ac58</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3738 auth_util: avoid talloc_tos() in copy_session_info()

We want to use this also in code without existing
stackframe.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14468

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/897c0e8fc6fe9a9323f3ff657dc4245a7249c6fd">897c0e8f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3738 s4:rpc_server/common: provide assoc_group aware dcesrv_samdb_connect_as_{system,user}() helpers

We already had dcesrv_samdb_connect_as_system(), but it uses the per
connection memory of auth_session_info and remote_address.

But in order to use the samdb connection on a per association group
context/policy handle, we need to make copies, which last for the
whole lifetime of the 'samdb' context.

We need the same logic also for all cases we make use of
the almost same logic where we want to create a samdb context
on behalf of the authenticated user (without allowing system access),
so we introduce dcesrv_samdb_connect_as_user().

In the end we need to replace all direct callers to samdb_connect()
from source4/rpc_server.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14468

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/af6151ef122a4f452d486e541626c2a1feacb369">af6151ef</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3738 s4:rpc_server/drsuapi: make use of assoc_group aware dcesrv_samdb_connect_as_*() helpers

This avoids a crash that's triggered by windows clients using
DsCrackNames across multiple connections within an association group
on the same DsBind context(policy) handle.

It also improves the auditing for the dcesrv_samdb_connect_as_system() case.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14468

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/965fe0e906263bffd6fb994263e51a8435f155d5">965fe0e9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3738 s4:rpc_server/dnsserver: make use of dcesrv_samdb_connect_as_user() helper

This is not strictly required, but it makes it easier to audit that
source4/rpc_server no longer calls samdb_connect() directly.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14468

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2a159e6f036db497bd976e2d165db5c187a09cf6">2a159e6f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3738 s4:rpc_server/lsa: make use of dcesrv_samdb_connect_as_user() helper

This avoids a crash that's triggered by windows clients using
handles from OpenPolicy[2]() on across multiple connections within
an association group.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14468

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5724868c22eb2ecd6d58fd167f315699ede53043">5724868c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T19:45:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3738 s4:rpc_server/netlogon: make use of dcesrv_samdb_connect_as_*() helper

This is not strictly required, but it makes it easier to audit that
source4/rpc_server no longer calls samdb_connect() directly and
also improves auditing for the dcesrv_samdb_connect_as_system() case.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14468

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3121be69cac7748d1cb01273c0d09fab2fe726a0">3121be69</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-09T20:37:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3738 s4:rpc_server/samr: make use of dcesrv_samdb_connect_as_*() helper

This avoids a crash that's triggered by windows clients using
handles from samr_Connect*() on across multiple connections within
an association group.

In other cases is not strictly required, but it makes it easier to audit that
source4/rpc_server no longer calls samdb_connect() directly and also
improves the auditing for the dcesrv_samdb_connect_as_system() case.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14468

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Jule Anger <janger@samba.org>
Autobuild-Date(master): Tue Nov  9 20:37:30 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a7f6c60cb037b4bc9eee276236539b8282213935">a7f6c60c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-10T11:21:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: fix "allow trusted domains = no" regression

add_trusted_domain() should only reject domains
based on is_allowed_domain(), which now also
checks "allow trusted domains = no", if we don't
have an explicit trust to the domain (SEC_CHAN_NULL).

We use at least SEC_CHAN_LOCAL for local domains like
BUILTIN.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14899

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Nov 10 11:21:31 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/711d01ff205fe536688598bbdb7d1766c17ece2a">711d01ff</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-10T18:19:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Remove trailing spaces

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c28be4067463e582e378df402f812e510883d606">c28be406</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-10T19:11:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Guess the username first via getpwuid(my_id)

If we have a container, we often don't have USER or LOGNAME set.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14883

Tested-by: Anoop C S <anoopcs@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Nov 10 19:11:53 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/25043ebb2e6f74592e802f78d327f844e615a442">25043ebb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-11-11T13:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">source3: move lib/substitute.c functions out of proto.h

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14897

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/54f54fc2627acbf5fac5e1fa86ab9f743741f3c4">54f54fc2</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-11-11T13:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-bgqd: fix startup and logging

Let samba-bgqd use the new POPT_COMMON_DAEMON infrastructure.

The calls to setup_logging() can safely be removed as this is already taken care
of by samba_cmdline_init().

To avoid a logfile basename of ".log" when using "%m", we add a call to
set_remote_machine_name().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14897

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/117d45df47a1f3206bc38aaeaa11f2b327e43530">117d45df</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-11-11T13:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: remove is_default_dyn_LOGFILEBASE() logic

Handling of -l commandline parameter is already implemented by lib/cmdline/.

is_default_dyn_LOGFILEBASE() == true is the default case and this causes us to
temporarily overwrite the configured logfile with LOGFILEBASE/log.winbindd until
winbindd_reload_services_file() restores it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14897

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/948a82bd2651e73e4e669a89dc77ba93abbb9b2f">948a82bd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-11-11T13:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/debug: fix fd check before dup'ing to stderr

Before I added per-class logfile and we had only one fd for the logfile the code
looked like this:

        /* Take over stderr to catch output into logs */
        if (state.fd > 0) {
                if (dup2(state.fd, 2) == -1) {
                        /* Close stderr too, if dup2 can't point it -
                           at the logfile.  There really isn't much
                           that can be done on such a fundamental
                           failure... */
                        close_low_fd(2);
                }
        }

In the current code the equivalent to state.fd is dbgc_config[DBGC_ALL].fd.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14897

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa9d9974d068897d35539e5316f606a15e8b38de">fa9d9974</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-11-11T13:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/debug: in debug_set_logfile() call reopen_logs_internal()

This simplifies the logging API for callers that typically would want to set
logging by just setup_logging() once without bothering that typically
configuration is loaded (via some lpcfg_load*() or lp_load*() varient) which
will only then pick up the configured logfile from smb.conf without actually
applying the new logifle to the logging subsytem.

Therefor our daemons will additionally call reopen_logs() explicitly in their
startup code after config is loaded, eg

        setup_logging(getprogname(), DEBUG_FILE);
        ...
        lpcfg_load(lp_ctx, config_file);
        ...
        reopen_logs();

By calling reopen_logs_internal() implicitly from debug_set_logfile() there's no
need to call reopen_logs() explicitly anymore to apply the logfile.

As reopen_logs() will also apply other logging configuration options, we have to
keep the explicit calls in the daemon code. But at least this allows consistent
logging setup wrt to the logfile in the new cmdline library.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14897

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/120a598e53173aacc0994318223bdac33dac4fbd">120a598e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-11-11T13:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/cmdline: fix indentation

s/whitespace/tab/

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14897

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/97592f16bfb8590efbd2ed31fc9883d747ec650f">97592f16</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-11-11T13:49:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/cmdline: remember config_type in samba_cmdline_init()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14897

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/06ed4ccba6cfe08aef061866f98b1d1da26682b8">06ed4ccb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-11-11T14:42:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/cmdline: setup default file logging for servers

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14897
RN: samba process doesn't log to logfile

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Nov 11 14:42:13 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/57c1e115ecef41ef18599e5233079ccd83d13bfc">57c1e115</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T15:34:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: reopen logs on SIGHUP for notifyd and cleanupd

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Nov 11 15:34:28 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c89799beda6757c03045e3b103344adc15006a33">c89799be</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-11T16:27:12+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Fix smbget manpage

There is no &stdarg.encrypt anymore.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Nov 11 16:27:12 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca8afc660474bad2327300bc19d3b01e617f171b">ca8afc66</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Give smbXsrv_open.c its own header file

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/99d1f1fa10da5c0ab3bb5ebc36152fe091bd3700">99d1f1fa</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove unused "struct connections_key"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c0fda0bd6262a571159b9df02fdc313ef8b32113">c0fda0bd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use cli_ntcreate in cli_chkpath

cli_ntcreate handles smb2, thus remove cli_smb2_chkpath.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8820101cd0b33aff95febcbe760bb59434b5b289">8820101c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbclient: Use cli_checkpath in "cd" command

No need for special qpathinfo_basic code

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c05bc2d22189f8136aaacd5fc9d76a26c1b5eeeb">c05bc2d2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Remove "trans_oob()" macro

It was just a 1:1 substitution for smb_buffer_oob()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fadce102d477c2cd9ba5cf071b03b1bc5525d2ec">fadce102</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: "smb_util.h" needs "ntstatus.h"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/58c8289b2ff8bf3a413e82f1d4dc05ab10a6e2d6">58c8289b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Give reparse_symlink.c its own header

While there, avoid an "includes.h"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5823634b46ef7c1ef959916dd427656e11f76e61">5823634b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Introduce "struct symlink_reparse_struct"

Simplify symlink_reparse_buffer_parse() slightly, failure cleanup
becomes simpler with that, and this struct will be useful elsewhere

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2bb63e04035a65f445ec13206b752b34db4c5f99">2bb63e04</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Avoid a talloc_stackframe.c dependency

This is simple enough for explicit TALLOC_FREE()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d0759cb648f3d17f7501ea2cf3333d79e4ebcd98">d0759cb6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: move reparse_symlink to libcli/smb/

This will be useful for smbXcli_create to parse the symlink error

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8b89be8c37936272d38d5e7245818f141cbe6828">8b89be8c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VFS: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b7fc678107d99cbd64cd7018840ce2bf8d0eb811">b7fc6781</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Remove NT_STATUS_INACCESSIBLE_SYSTEM_SHORTCUT error code

This is the same as STATUS_STOPPED_ON_SYMLINK, and this is what also
wireshark displays. Avoid some confusion.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/72e9b8ceede2ac9fc9180a798fec7a2cb62e2be1">72e9b8ce</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix a debug typo in g_lock.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/69546f56fe8e259246ce0136471569c621b9f5a5">69546f56</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbwrap: Remove unused dbwrap_watched_wakeup()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a21bc14e13b48fb4d6f0c89159162cb4f4511769">a21bc14e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Move cli_qfilename() to its only user in torture.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d542cbb9a769b6205b990cf9d077a431e0256d5f">d542cbb9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb.conf.5: Fix a typo for "username map script"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cde87d62d35e7691d29bd7a5aa45022c96db4fd3">cde87d62</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5e9a781dcb82f6c1b8049c0cabdf674f2cb76261">5e9a781d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: Fix a few typos

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/68078e560aae6bafbe9ffc48133271b6552ef1e1">68078e56</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli4: Remove outdated README file

This has not materialized since 2005. We can easily add it once we
create libsmbclient4.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/05c41a02dd6dee3e29b44b69ac3dd6f60d87b475">05c41a02</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Slightly tune cp_smb_filename_nostream()

Don't talloc_strdup() the stream_name, just to free it again.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d64e180ba93630867d0027cca92c51f8f0ca7d31">d64e180b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Move "struct fd_handle" into fd_handle.c

A separate header file is not required here, everything goes through
the API published by fd_handle.c. This makes it harder to include the
fd_handle definition and violate the guarantees.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/738dc11cb336d658ff325fb85ac7402428e24d62">738dc11c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: Use cp_smb_filename_nostream() in vfswrap_parent_pathname()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62d21fac5ff243d92089a635ce07298dc3c3b7c9">62d21fac</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix typos

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b829d6671f93deeea07ce8b42a023bf9944cb55b">b829d667</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Avoid casts

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8f248bee5be182cfbffce99f373cd3675724adba">8f248bee</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Make sure we don't overwrite tmp_buf

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b063aa1cf13ece9673edbf225281993cfa39085d">b063aa1c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:08:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Use a direct struct initialization

Don't init with 0 just to overwrite again. Probably the compiler will
figure that out anyway, but to me this looks cleaner.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/240addaed7b87759dff13c1c6c18681815c28c92">240addae</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-11T19:59:03+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Convert ret==false into !ret

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Nov 11 19:59:03 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c69b66f649c1d47a7367f7efe25b8df32369a3a5">c69b66f6</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2021-11-13T07:01:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">IPA DC: add missing checks

When introducing FreeIPA support, two places were forgotten:

 - schannel gensec module needs to be aware of IPA DC
 - _lsa_QueryInfoPolicy should treat IPA DC as PDC

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14903

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Sat Nov 13 07:01:26 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bfd093648b4af51d104096c0cb3535e8706671e5">bfd09364</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-15T18:10:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25727: idmap_nss: verify that the name of the sid belongs to the configured domain

We already check the sid belongs to the domain, but checking the name
too feels better and make it easier to understand.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14901

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ea347d3673e35891613c90ca837d1ce4833c1b0">5ea347d3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-15T18:10:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: tests/krb5: Add method to automatically obtain server credentials

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14901

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fdbee5e074ebd76d659613b8b7114d70f938c38a">fdbee5e0</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-15T18:10:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: nsswitch/nsstest.c: Lower 'non existent uid' to make room for new accounts

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14901

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8a9f2aa2c1cdfa72ad50d7c4f879220fe37654cd">8a9f2aa2</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-15T18:10:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: selftest: turn ad_member_no_nss_wb into ad_member_idmap_nss

In reality environments without 'nss_winbind' make use of 'idmap_nss'.

For testing, DOMAIN/bob is mapped to the local 'bob',
while DOMAIN/jane gets the uid based on the local 'jane'
vis idmap_nss.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14901

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>

[metze@samba.org avoid to create a new ad_member_idmap_nss environment
and merge it with ad_member_no_nss_wb instead]
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/494bf7de6ff3e9abeb3753df0635737b80ce5bb7">494bf7de</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-15T18:10:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: tests/krb5: Add a test for idmap_nss mapping users to SIDs

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14901

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>

[metze@samba.org removed unused tests for a feature that
 was removed before merging]
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0a546be05295a7e4a552f9f4f0c74aeb2e9a0d6e">0a546be0</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-15T19:01:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3:auth: Fallback to a SID/UID based mapping if the named based lookup fails

Before the CVE-2020-25717 fixes we had a fallback from
getpwnam('DOMAIN\user') to getpwnam('user') which was very dangerous and
unpredictable.

Now we do the fallback based on sid_to_uid() followed by
getpwuid() on the returned uid.

This obsoletes 'username map [script]' based workaround adviced
for CVE-2020-25717, when nss_winbindd is not used or
idmap_nss is actually used.

In future we may decide to prefer or only do the SID/UID based
lookup, but for now we want to keep this unchanged as much as possible.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14901

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>

[metze@samba.org moved the new logic into the fallback codepath only
 in order to avoid behavior changes as much as possible]
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Nov 15 19:01:56 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a8c0c2c9e3adc94843a236fd9374980e2c0e6bfe">a8c0c2c9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-11-16T18:51:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: get rid of get_file_handle_for_metadata()

This also avoids triggering an assert in get_share_mode_lock(). We already have
a handle, use that one, no need to call get_file_handle_for_metadata().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14907
RN: set_ea_dos_attribute() fallback calling get_file_handle_for_metadata() triggers locking.tdb assert

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Nov 16 18:51:15 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3f0935b369e79d67f7a42b9531b2c123f2410ccc">3f0935b3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: get_real_filename() is actually static to filename.c

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/86e42fb484147ed687086cf3fcf8cd8eb07b7164">86e42fb4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add ucf_flags parameter to normalize_filename_case().

Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b460c534272271b3f6c673ef544b7a5549ad11bb">b460c534</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Ensure normalize_filename_case() doesn't modify posix names.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/35ee8a7b6c7e68a6a48e2ecafae78d9f6f901040">35ee8a7b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add case_sensitive, case_preserve, short_case_preserve to state struct.

Not yet used.

This allows them to be independent of conn settings on
a handle-basis for posix.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2910657694ed6843702b1f901674e0568e64846e">29106576</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Use state->case_sensitive instead of state->conn->case_sensitive.

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/598c07b106edf47febc2319f923931542fa1c519">598c07b1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Use state->case_preserve instead of state->conn->case_preserve.

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f4354571d615c5b6ea64ed20cb880049c1b49053">f4354571</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Use state->short_case_preserve instead of state->conn->short_case_preserve.

No logic changes.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/77f54fc14f2dcf9da6a68dd8880f0d31ac33c860">77f54fc1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Turn on case sensitivity for a posix filename lookup.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d650d9ad8aef9d39ed8eb960ec6d5fe409c3f6b3">d650d9ad</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add comment to unix_convert() explaining why posix never calls into mangle_is_mangled() here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3911ca59f48f5d7445195b09ba61f97374370f85">3911ca59</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In unix_convert_step_search_fail() ensure posix names don't call into name mangling functions.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1cc5a394209f018f4c41d07bc0c790fb2bd5b29e">1cc5a394</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In unix_convert() component_was_mangled is always false for posix.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1240f741e6672a0bef036c8d1b1f89507ec0b599">1240f741</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add 'bool case_sensitive' to struct smbd_dirptr_lanman2_state.

Initialize from conn->case_sensitive. Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1b130decc2bb17b058d57bbcd46babb5b2b939a6">1b130dec</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Use state->case_sensitive instead of state->conn->case_sensitive.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/af35c684a39ed59a750a03b71ef78522fc14ce13">af35c684</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add case_sensitive to struct smb_Dir.

Not yet used.

This allows it to be independent of conn settings on
a per-handle-basis for SMB2 posix.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ede3a45dfcaa91bbf8c64683ec51eeba9054cfbb">ede3a45d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Use dir_hnd->case_sensitive instead of conn->case_sensitive.

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ab1e97f87b10596a83794579ac0bfb4be39eded2">ab1e97f8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In OpenDir_fsp(), set dir_hnd->case_sensitive to true if FSP_POSIX_FLAGS_OPEN is set.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e163f22e81d082e2ca161ee032eb14083154b70f">e163f22e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add dptr_case_sensitive(). Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/df8abb5aa760363391edd2def3f2edb667d66ba2">df8abb5a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Use dptr_case_sensitive() in directory listing code.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/51b582546b5d613a108f8b5a3ef4b7a1cd99df86">51b58254</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In open_file(), use a helper variable instead of always checking sp->posix_flags & FSP_POSIX_FLAGS_OPEN.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/db6902a3c5889112b5349b28b10df813fc747525">db6902a3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In open_file() use the helper variable to select correct case_sensitive setting to is_in_path().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/89d986ec13085f416e24276375cc1d2353077010">89d986ec</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Use a helper variable in smbd_smb2_query_directory_send().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/836d6f8a22696e1de4009dbde46bf355261f8e7a">836d6f8a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add and use case_sensitive helper variable to unlink_internals().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/026b4318967eb923b8b5666e7b8e977b43b2dbcc">026b4318</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add and use helper variables case_sensitive, case_preserve in rename_internals_fsp().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/23be0565dc738e98d1619435dffb716726b62214">23be0565</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add and use helper variable posix_pathname in rename_internals().

We're going to re-use it inside this function.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/395acac7b465c5b8e9461d42f50e860003a98bad">395acac7</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Ensure we never call mangle_is_mangled() for a posix path.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/826ae5c80694093f65809b314c72fd5e1cb45b47">826ae5c8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add and use helper variables for case_sensitive, case_preserve, short_case_preserve to rename_internals().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d0d8f32d8f764bb2c9c00a3eda36367a7cd5a08f">d0d8f32d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In SMB1 reply_copy(), make req->posix_pathnames a helper variable.

I need to use it elsewhere in here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e3c40250fb1afafe833a02ff65474a76ea6e41eb">e3c40250</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_copy(). Posix pathnames should never call into mangle_is_mangled().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e2c45a092639c56d4a6b615fecef6d85f13b87eb">e2c45a09</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 reply_copy(). Posix pathnames always means case_sensitive = true.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/761c9190454ce1704a041275723e23025bf62cf3">761c9190</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T20:21:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In unlink_internals() ensure we never call mangle_is_mangled for a posix path.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1c8ea2448eaacb84c1c134e9597a5f873779b0a4">1c8ea244</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-11-16T21:06:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In SMB1 call_trans2findnext() add and use a helper variable to ensure we don't call mangle_is_mangled() with a posix name.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Nov 16 21:06:38 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fccb105e079df7bfe22b6887262128ab9e81064d">fccb105e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-17T04:36:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytests: check that we don't have bad format characters

Unicode has format control characters that affect the appearance —
including the apparent order — of other characters. Some of these,
like the bidi controls (for mixing left-to-right scripts with
right-to-left scripts) can be used make text that means one thing look
very much like it means another thing.

The potential for duplicity using these characters has recently been
publicised under the name “Trojan Source”, and CVE-2021-42694. A
specific example, as it affects the Rust language is CVE-2021-42574.

We don't have many format control characters in our code — in fact,
just the non-breaking space (\u200b) and the redundant BOM thing
(\ufeff), and this test aims to ensure we keep it that way.

The test uses a series of allow-lists and deny-lists to check most
text files for unknown format control characters. The filtering is
fairly conservative but not exhaustive. For example, XML and text
files are checked, but UTF-16 files are not.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c3194d0d65d838b79cb5345a9d9433704b2f95ba">c3194d0d</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-17T04:36:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test/bad_chars: ensure our tests could fail

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4c85693f55341344117f0b6d2bb7498099828dab">4c85693f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-17T04:36:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules/vfs_acl_common.h: use utf-8

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6ced906e2be66fb324aa012a06c8d3b10bbf78b2">6ced906e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-17T04:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test/blackbox/test_samba-tool_ntacl: use utf-8

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/039f876c4e9f635b207f3b16c99662297a93dd5e">039f876c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-17T04:36:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/auth/gensec/gensec_krb5_heimdal: use utf-8

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2868b8036498e7fa0c7ae3615f5d97b42b360da2">2868b803</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-17T05:27:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/replace/timegm: use utf-8

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Nov 17 05:27:39 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9faa3173193ddcb95905993d960cc10d4366524e">9faa3173</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-17T17:41:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add reproducer for bug 14908

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14908
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6270525699fbc856b217cf18ece7f1d063b144d">d6270525</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-17T17:41:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Add required includes to source3/include/secrets.h

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14908
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/63c80f25da8829a7bd3244afea29c13f699efac1">63c80f25</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-17T17:41:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">cmdline: Add a callback to set the machine account details

source3 clients need to work in clustered mode, the default
cli_credentials_set_machine_account() only looks at the local
secrets.tdb file

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14908
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cdc0268c1987f36ab400ea01df88d55c02dccfdb">cdc0268c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-11-17T18:29:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">cmdline: Make -P work in clustered mode

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14908
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Nov 17 18:29:09 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e94e649bbb474920c681c644e9a53e5f09147982">e94e649b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-19T12:35:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party: remove pep8

This was a *partial* copy of the python linting tool that has been
known as 'pycodestyle' since 2017. I say partial copy, because it does
not seem to contain the pep8 binary itself, just some documentation
and tests. It has not been changed since it was added in 2015.

It is GOOD that people run python linters, but this doesn't help them
in the slightest.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2c3596e72144fb1b356de860ccfef1ea1f39fd9d">2c3596e7</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-19T12:35:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/source_chars: forget thirdparty/pep8 test file

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1926335839a83795a8594fe0b3a2a298bdf366ac">19263358</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-19T13:25:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party/update: forget pep8

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Fri Nov 19 13:25:16 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3c18bb6c77d33b000489c6b4bd1dd87b81f2162f">3c18bb6c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-22T10:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py/dnsserver: add missing imports

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b5e2651f1ca99a8a654f60767a40f9228413437b">b5e2651f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-22T10:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py/dnsserver: add a missing exception variable

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/524ca3c6d23323a67fad36e39f5e05f893c44a80">524ca3c6</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-22T10:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/dns_aging: use correct variable names

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5bbf105937cd94a09abe550297aa0d366aa839e1">5bbf1059</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-22T10:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/dns_aging: remove duplicate tests

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b674c57a1829365f50bfdf846ca609d4ac205e52">b674c57a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-22T10:28:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/docs: set_smbconf_arbitrary_opposite() needs param_type

also, we fixed the name ("arbitrary", not "arbitary").

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b5e0f33e8296d6312efadd8a78d752b788d66f54">b5e0f33e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-11-22T11:18:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/docs: better spelling of set_smbconf_arbitrary

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Mon Nov 22 11:18:09 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dcfcafdbf756e12d9077ad7920eea25478c29f81">dcfcafdb</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-25T01:41:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3670 tests/krb5/test_ldap.py: Add test for LDAP timeouts

We allow a timeout of 2x over to avoid this being a flapping test.
Samba is not very accurate on the timeout, which is not otherwise an
issue but makes this test fail sometimes.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14694

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/86fe9d48883f87c928bf31ccbd275db420386803">86fe9d48</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-25T01:41:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3670 ldap_server: Set timeout on requests based on MaxQueryDuration

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14694

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e1ab0c43629686d1d2c0b0b2bcdc90057a792049">e1ab0c43</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-25T01:41:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3670 ldap_server: Ensure value of MaxQueryDuration is greater than zero

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14694

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d5b155619bc532c46932965b215bd73a920e56f">1d5b1556</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-25T01:41:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3670 ldb: Confirm the request has not yet timed out in ldb filter processing

The LDB filter processing is where the time is spent in the LDB stack
but the timeout event will not get run while this is ongoing, so we
must confirm we have not yet timed out manually.

RN: Ensure that the LDB request has not timed out during filter processing
as the LDAP server MaxQueryDuration is otherwise not honoured.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14694

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2b3af3b560c9617a233c131376c870fce146c002">2b3af3b5</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-25T01:41:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3670 ldap_server: Remove duplicate print of LDAP search details

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14694

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f0590362c5c0c5ee20503a67467f9be2d50e73b">5f059036</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-25T01:41:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3670 dsdb/anr: Do a copy of the potentially anr query before starting to modify it

RN: Do not modify the caller-supplied memory in the anr=* handling to
allow clear logging of the actual caller request after it has been processed.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14694

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3507e96b3dcf0c0b8eff7b2c08ffccaf0812a393">3507e96b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-25T02:30:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-3670 ldap_server: Clearly log LDAP queries and timeouts

This puts all the detail on one line so it can be searched
by IP address and connecting SID.

This relies on the anr handling as otherwise this log
becomes the expanded query, not the original one.

RN: Provide clear logs of the LDAP search and who made it, including
a warning (at log level 3) for queries that are 1/4 of the hard timeout.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14694

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Thu Nov 25 02:30:42 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/28be1acd8eb921c15cbd1260711cbbdd48595e6c">28be1acd</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-29T08:39:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">mit-kdc: Use more strict KDC default settings

As we require MIT KRB5 >= 1.19 for the KDC, use more secure defaults..

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d128a85f999afb002b510ad6ec8c94f7df006195">d128a85f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-29T08:39:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:mit-kdb: Reduce includes to only what's needed

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8b83758b7c51e4effc57c6130abb38bd53d74bb9">8b83758b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-29T08:39:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Remove trailing spaces in db-glue.c

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/90febd2a33b88af49af595fe0e995d6ba0f33a1b">90febd2a</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2021-11-29T09:32:25+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:mit-kdb: Force canonicalization for looking up principals

See also
https://github.com/krb5/krb5/commit/ac8865a22138ab0c657208c41be8fd6bc7968148

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Nov 29 09:32:26 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cbf312f02bc86f9325fb89f6f5441bc61fd3974f">cbf312f0</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-11-29T19:40:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Fix possible NULL pointer dereference

BUG: https://bugzilla.redhat.com/show_bug.cgi?id=2019888

Signed-off-by: Andreas Schneider <asn@samba.org>
Rewiewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Nov 29 19:40:50 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ad4d6fb01fd8083e68f07c427af8932574810cdc">ad4d6fb0</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Check received LDB error code when STRICT_CHECKING=0

We were instead only checking the expected error.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/57b1b76154d699b9d70ad04fa5e94c4b30f0e4bf">57b1b761</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Remove unused variable

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f0b222e3ecf72c8562bc97bedd9f3a92980b60d5">f0b222e3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Deduplicate AS-REQ tests

salt_tests was running the tests defined in the base class as well as
its own tests.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/167bd2070483004cd0b9a96ffb40ea73c6ddf579">167bd207</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Run test_rpc against member server

We were instead always running against the DC.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a560c2e9ad8abb824d1805c86c656943745f81eb">a560c2e9</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow PasswordKey_create() to use s2kparams

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e930274aa43810d6485c3c8a7c82958ecb409630">e930274a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Split out methods to create renewable or invalid tickets

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d95705172bcf6fe24817800a4c0009e9cc8be595">d9570517</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Adjust error codes to better match Windows with PacRequestorEnforcement=2

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/28d501875a98fa2817262eb8ec68bf91528428c2">28d50187</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Remove unnecessary expect_pac arguments

The value of expect_pac is not considered if we are expecting an error.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7574ba9f580fca552b80532a49d00e657fbdf4fd">7574ba9f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add tests for invalid TGTs

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/778029c1dc443b87f4ed4b9d2c613d0e6fc45b0d">778029c1</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add tests for TGS requests with a non-TGT

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ec823c2a83c639f1d7c422153a53d366750e5f2a">ec823c2a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add TGS-REQ tests with FAST

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebc9137cee94dee9dcf0e47d5bc0dc83de7aaaa1">ebc9137c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Align PAC buffer checking to more closely match Windows with PacRequestorEnforcement=2

We set EXPECT_EXTRA_PAC_BUFFERS to 0 for the moment. This signifies that
these checks are currently not enforced, which avoids a lot of test
failures.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca80c47406e0f2b6fac2c55229306e21ccef9745">ca80c474</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add tests for validation with requester SID PAC buffer

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/749349efab9b401d33a4fc286473a924364a41c9">749349ef</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add comments for tests that fail against Windows

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/11fb9476ad3c09415d12b3cdf7934c293cbefcb2">11fb9476</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal:kdc: Fix error message for user-to-user

We were checking the wrong variable to see whether a PAC was found or not..

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9cfb88ba04818b5e9cec3c96422e8e4a3080d490">9cfb88ba</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Fix typo

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f7a2fef8f49a86f63c3dc2f6a2d7d979fb53238a">f7a2fef8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal:kdc: Adjust no-PAC error code to match Windows

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d5d22bf84a71492342287e54b555c9f024e7e71c">d5d22bf8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: Adjust SID mismatch error code to match Windows

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bac5f75059450898937be891e863826e1350b62c">bac5f750</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add test for S4U2Self with wrong sname

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6a25f5f016aef39c3b1d7be8b3ecfe021c03c83">b6a25f5f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: Match Windows error code for mismatching sname

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/690a00a40c0a3f77da6e4dca42b630f2793a98b8">690a00a4</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: Always add the PAC if the header TGT is from an RODC

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/73a48063469205099f02efdf3b8f0f1040dc7a3d">73a48063</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add tests for renewal and validation of RODC TGTs with PAC requests

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e61983c7f2c4daade83b237efb990d0c0645b3a3">e61983c7</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "CVE-2020-25719 s4/torture: Expect additional PAC buffers"

This reverts commit fa4c9bcefdeed0a7106aab84df20b02435febc1f.

We should not be generating these additional PAC buffers for service
tickets, only for TGTs.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/90025b6a4d250a15c0f988a9a9150ecfb63069ef">90025b6a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: Don't include extra PAC buffers in service tickets

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b60e9516497c2e7f1545fe50887d0336b9893f2">4b60e951</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: Remove PAC_TYPE_ATTRIBUTES_INFO from RODC-issued tickets

Windows ignores PAC_TYPE_ATTRIBUTES_INFO and always issues a PAC when
presented with an RODC-issued TGT. By removing this PAC buffer from
RODC-issued tickets, we ensure that an RODC-issued ticket will still
result in a PAC if it is first renewed or validated by the main DC.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/192d6edfe912105ec344dc554f872a24c03540a3">192d6edf</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add a test for S4U2Self with no authorization data required

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f4f3018c5001b289b91959a72d00575c8fc0ac1">1f4f3018</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal:kdc: Always generate a PAC for S4U2Self

If we decided not to put a PAC into the ticket, mspac would be NULL
here, and the resulting ticket would not contain a PAC. This could
happen if there was a request to omit the PAC or the service did not
require authorization data. Ensure that we always generate a PAC.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ee4aa21c487fa80082a548b2e4f115a791e30340">ee4aa21c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Properly check extra PAC buffers with Heimdal

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9bd26804852d957f81cb311e5142f9190f9afa65">9bd26804</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T02:42:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal:kdc: Do not generate extra PAC buffers for S4U2Self service ticket

Normally samba_wdc_get_pac() is used to generate the PAC for a TGT, but
when generating a service ticket for S4U2Self, we want to avoid adding
the additional PAC_ATTRIBUTES_INFO and PAC_REQUESTER_SID buffers.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38c5bad4a853b19fe9a51fb059e150b153c4632a">38c5bad4</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-11-30T03:33:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: Require that PAC_REQUESTER_SID buffer is present for TGTs

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Nov 30 03:33:26 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/03cd1449f697dc7a9950fd4d333273ea72bcb174">03cd1449</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: fix "nondevel" builds of 'samba-libs'

Commit 3e6af7109eb9d49328b426095580e4bfb2338ceb removed environment
variables like PKG_CONFIG_PATH from the configure run, so we no longer
tested a build against the shared libraries we build before.

We also assert that we no longer build private libraries

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/893c24605a5874b4b093ea1967ebbcb1e4837ffa">893c2460</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: mark SAMBA_MODULE() with private_library=True

Symbols from modules should have a symbol versioning tag of the
current version.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/932c408c1b4f53098c8857941bcaf67c978195ec">932c408c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: fix '--private-libraries' option when using 'ALL,!something'

We already had the desired logic in LIB_MUST_BE_BUNDLED(), so we can
just reuse it in LIB_MUST_BE_PRIVATE().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6749f590f338cff42634c7406dda96dc1d8e2fd">d6749f59</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: SAMBA_GENERATOR() should not alter the callers dep_vars

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/43b90da1867135ddb5f740c9d664af4c2d96a18f">43b90da1</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: remove unused private_library argument of PRIVATE_NAME()

The only caller asserts that private_library is True.

Use: git show -U5

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da7c41e26016845f0dfd78601987c075ef8711a6">da7c41e2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: use private extentions also for bundled public libraries

Playing tricks with redefining libraries, which may also be installed in
the system with the same version, isn't really a good thing.
It may work in some cases, but there are so many things which may go
wrong. So if we build a library as private/bundled library we should
change the soname of the library.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/33e6949dda83996550d126d7de09a13691ff35cc">33e6949d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: the symbol version string of private libraries should be based on the toplevel project

If we build a private library all symbols should be made private based
on a unique suffix.

When we use a unique soname and a unique symbol version suffix it's very unlikely
to hit conflicts due to inherited libraries.

For the abi checking we still use the original vnum as abi_vnum.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3aff74e29ed3bb99fd7b9a510001e7046b86c8fa">3aff74e2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: assert for *.sigs source files in abi_build_vscript()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/295e5270f60296feb4e9bbb57ae3b3f58f2d3258">295e5270</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: add SAMBA_SUBSYSTEM(force_empty=False)

We will need to define empty subsystems without any dependency.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38ef29bc219afcd608a1c87f8aae99cebe79b665">38ef29bc</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: let reduce_objects() not remove duplicates of BUILTINS even if there are more than one

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/70da83a8ca7fdb2d1bcd8601a1a0111d39469000">70da83a8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: introduce require_builtin_deps/provide_builtin_linking/builtin_cflags to SAMBA_{SUBSYSTEM,LIBRARY}

The 'provide_builtin_linking=True' option that allows wscript files
to specify that a SAMBA_{SUBSYSTEM,LIBRARY} will also create a
builtin version of them in addition.

The logic behind this is very similar to what we already have with the
'--builtin-libraries=BUILTIN_LIBRARIES' configure option.

This avoids the need for manual definitions of SAMBA_SUBSYSTEMS() with
like this:

   bld.SAMBA_SUBSYSTEM('replace-hidden',
                       source=REPLACE_SOURCE,
                       group='base_libraries',
                       hide_symbols=True,
                       deps='dl attr' + extra_libs)

The builtin version will also make sure that it will include all
dependecies (of internal code) also in the builtin variant.
Note that this is also possible if the dependency also
provided 'provide_builtin_linking=True' in order to limit
the scope.

We now imply '-D_PUBLIC_=_PRIVATE_' and 'hide_symbols=True' for
builtin libraries and subsystems in order to avoid exporting
the symbols of them.

With 'require_builtin_deps=True' a library can specify that it
is only able to use libraries/subsystems marked with
provide_builtin_linking=True. As a result it won't
link against any other SAMBA_LIBRARY() dependency,
but link in everything internal. Only system libraries
still get linked dynamically.

Use 'git show -w' to see a reduced diff.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/38d37d4a53285f08ce805f28b0659456c197f023">38d37d4a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: introduce SAMBA[3]_PLUGIN()

This will be used to define plugins we provide to be used
via dbopen/dlsym to external consumers.

SAMBA_PLUGIN() is used instead of SAMBA_LIBRARY() in order
to make it more strict that these plugins can't be used as
normal depedency by other subsystems and libraries.

With require_builtin_deps=True we make sure that only
symbols explicitly marked with _PUBLIC_ are exported
and we only link to system libraries and include all
internal depedencies as builtin subsystems.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f168f548784e643335cf0351a5f506dbc087f65f">f168f548</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: allow SAMBA_LIBRARY() to get and use original 'version-script.map' for private libraries

We'll soon use this for the internal Heimdal build and take the raw
version-script.map files in order to create our own .vscript file
with our private version suffix.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e35f23195f921f48b78dfe9cc1d0f85194697ece">e35f2319</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: remove unused cflags argument of HEIMDAL_LIBRARY()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6c64f3cee832c9f48b3cc058d3de31561524997a">6c64f3ce</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: avoid using hardcoded vnum values passed to HEIMDAL_LIBRARY()

For private libraries we don't want versioned sonames,
it's also pointless to use the upstream heimdal vnum values
for our private libraries as the soname is different anyway.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c461b906ca5940bcf69901f973b5698e3ef75063">c461b906</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: let HEIMDAL_LIBRARY() use SAMBA_LIBRARY()

This simplifies a lot and makes sure we always use the
same rules for private libraries.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/600ebefa5af806f376abda722fb492895f0603ac">600ebefa</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libwbclient: fix strict-overflow warning in wbcSidToString()

../../nsswitch/libwbclient/wbc_sid.c:83:5: error: assuming signed overflow does not occur when simplifying conditional [-Werror=strict-overflow]
  if (len+1 > sizeof(buf)) {
     ^

Even this would fail:
../../nsswitch/libwbclient/wbc_sid.c:83:5: error: assuming signed overflow does not occur when simplifying conditional [-Werror=strict-overflow]
  if (len >= sizeof(buf)) {
     ^

Note that this only seems to happen with gcc 7 and when -O3 and
-fvisibility=hidden are used together. E.g. in the opensuse151-samba-o3
builds.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/35446c27f8ef3532d2440d4e86774e13065e86c4">35446c27</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: remove notify_msg.c from smbstatus sources

This is not needed for smbstatus and the symbols are also available
via 'smbd_base', which already contains notify_msg.c.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac8977d1e760824d9f170455899e53aa555f807e">ac8977d1</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:ntlm_auth: use wbcRequestResponse[Priv]() instead of winbindd_request_response()

We should try to route everything through libwbclient.so, because we'll
soon don't have a single library providing winbindd_request_response().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f3c5980f76f30c65378623e4f5b25e73d4ace25b">f3c5980f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/winbind: use wbcRequestResponse() instead of winbindd_request_response()

We should try to route everything through libwbclient.so, because we'll
soon don't have a single library providing winbindd_request_response().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/41108b9ed9f32ca9ad1b3d4a48a91a6f22c65db6">41108b9e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: move winbindd_free_response() as inline function to winbind_struct_protocol.h

nsswitch/wb_common.c will be made completely internal soon.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9615395b1fdaa4509a9739bada93c3bb72903b2c">9615395b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch/wbinfo: use wbcRequestResponse() instead of winbindd_request_response()

We should try to route everything through libwbclient.so, because we'll
soon don't have a single library providing winbindd_request_response().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a663c9648f14294d7e02f30ee1a9a53b1a404279">a663c964</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: explicitly mark magic krb5 plugin symbols as _PUBLIC_

The symbols which are used via dlopen()/dlsym() need to be exported,
in future we'll do hide all other symbols.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3f9948bd6dc16e7cf488277fab6837f545e94432">3f9948bd</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: explicitly mark PAM_EXTERN pam_sm_* symbols as _PUBLIC_

The symbols which are used via dlopen()/dlsym() need to be exported,
in future we'll do hide all other symbols.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/419ca68de0c9ed02612e64717963d133833061e7">419ca68d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: explicitly mark NSS_STATUS _nss_winbind_* symbols as _PUBLIC_ on Linux

The symbols which are used via dlopen()/dlsym() need to be exported,
in future we'll do hide all other symbols.

On other platforms, which are implemented as wrappers above the
Linux implementation, we mark the symbols as _PRIVATE_

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa98a44cb4d94c6a290deb931b260e411364314d">fa98a44c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: explicitly mark nss_module_register() _PUBLIC_ on FreeBSD

This is the only symbol which is used via dlopen()/dlsym() and
needs to be exported, in future we'll do hide all other symbols.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62d05a81087029d93ba0cf81c11e5b244d788aef">62d05a81</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch/libwbclient: explicitly mark all wbc* symbols as _PUBLIC_

Some private functions from wbclient_internal.h already
leaked into the ABI. With hide_symbols=True we make sure
this doesn't happen again.

Having wbcRequestResponse[Priv]() as part of the ABI helps us
in order to hide winbindd_[priv_]request_response() soon.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/05ca7b9809d7329aea93fc8f1b8b2e54703f1dbd">05ca7b98</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/replace: use dlsym(RTLD_DEFAULT,) for {nss,nss_host,uid,socket}_wrapper_enabled()

We should not provide the symbols ourself instead we should just check
if they are already available when we want to check the result.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/66e90b7391bd404580f3919c4f2b8625c9c89c0e">66e90b73</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: reduce dependecies to private libraries and link static/builtin if possible

Over the last month I got more and more reports,
that it's not possible to use a custom Samba version
on systems with sssd being installed, which depends on some
specific samba libraries installed in the system.

One major problem is that the custom libnss_winbind.so.2
depends on the libreplace-samba4.so of the custom build
and also injects an RPATH into the running process.
When sssd uses any nss library call it will get this,
when it then tries to load some of its plugins via dlopen(),
e.g.

ldd /usr/lib64/sssd/libsss_ad.so| grep samba

   libsamba-util.so.0 => /lib64/libsamba-util.so.0
   libreplace-samba4.so => /usr/lib64/samba/libreplace-samba4.so
   libsamba-security-samba4.so => /usr/lib64/samba/libsamba-security-samba4.so
   libsamba-errors.so.1 => /lib64/libsamba-errors.so.1
   libsamba-debug-samba4.so => /usr/lib64/samba/libsamba-debug-samba4.so
   libgenrand-samba4.so => /usr/lib64/samba/libgenrand-samba4.so
   libsocket-blocking-samba4.so => /usr/lib64/samba/libsocket-blocking-samba4.so
   libtime-basic-samba4.so => /usr/lib64/samba/libtime-basic-samba4.so
   libsys-rw-samba4.so => /usr/lib64/samba/libsys-rw-samba4.so
   libiov-buf-samba4.so => /usr/lib64/samba/libiov-buf-samba4.so

When that loads dlopen() will fail as a soname libreplace-samba4.so is
already loaded, but the symbol version within the other one don't match, as the
contain the exact version, e.g. replace_dummy@@SAMBA_4.13.3.

This is just an example and similar things can happen in all situations
where we provide libraries, which are potentially injected into every
process of the running system. These should only depend on libc.so and
related basic system libraries in order to avoid the problem.

We have the following libraries, which are in the that category:

- libnss_winbind.so.2
- libnss_wins.so.2
- pam_winbind.so
- winbind_krb5_locator.so
- async_dns_krb5_locator.so

The rules of library loading are really complex and symbol versioning
is not enough to solve it, only the combination of unique soname and
unique symbol version suffix seem to solve the problem, but injecting
an RPATH is still a problem.

In order to solve the problem I experimented with adding SAMBA_SUBSYSTEM()
definitions with 'hide_symbols=True' in order to do some static linking
of selected components, e.g.

   bld.SAMBA_SUBSYSTEM('replace-hidden',
                       source=REPLACE_SOURCE,
                       group='base_libraries',
                       hide_symbols=True,
                       deps='dl attr' + extra_libs)

It's relatively simple to get to the point where the following are
completely static:

- libnss_winbind.so.2
- libnss_wins.so.2
- pam_winbind.so
- winbind_krb5_locator.so

But 'async_dns_krb5_locator.so' links in almost everything!
It seems we install the krb5 plugins into our own $MODULESDIR/krb5/,
so it may not be so critical, as long it's the admin who created
the desired symlinks into the location the kerberos libraries search
for plugins. Note the at least the locator plugins are always loaded
without any configuration, every .so in a special path are loaded with dlopen().
This is done by every application using kerberos, so we load a lot of samba libraries
into them.

Packagers should not put async_dns_krb5_locator.so (nor a symlink) into
the path that's reachable by libkrb5.so.

As a longterm solution we may want to change async_dns_krb5_locator.so
to use a helper process with posix_spawn() instead of doing everything
within the process.

Note I added hiden_symbols=True to the nss modules for Linux and
FreeBSD only, because these are the only platforms I'm able to test
on. We most likely should do the same on other platforms, but some
with access to the platform should provide a tested patch.

In order to avoid manual definitions of SAMBA_SUBSYSTEMS() with
'-hidden', I added the 'provide_builtin_linking=True' option,
as the logic is very similar to what we already have with the
'--builtin-libraries=BUILTIN_LIBRARIES' configure option.

SAMBA_PLUGIN() is used in order to use SAMBA_LIBRARY() in order
to make it more strict that these plugins can't be used as
normal depedency by other subsystems and libraries.

While being there it was easy enough to make libwbclient.so
also standalone without dependecies to other samba libraries.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4862a8ff2f02cf7c735d666520846f6a0d63c6b0">4862a8ff</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: make sure nss and pam plugins don't link any samba libraries

Note that we exclude libtalloc.so.2 in pam_winbind.so as that simulates
a system libtalloc.so.2.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6745968a15497c88646c1213ec6a8b198e624abb">6745968a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: make sure nss, pam and krb5 plugins don't provide unexpected symbols

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5d295e41af4e9316aee1b4cf1c3087663b7c06a4">5d295e41</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T15:53:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_not_implemented: mark all functions with _PUBLIC_

These functions are used directly by other modules.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ccfefe289093457587009e1862e1ed8591495aac">ccfefe28</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T16:44:57+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:samba: split out a samba_service_init() helper function

The loading function should be in the same SAMBA_LIBRARY()
as the modules.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Nov 30 16:44:57 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/75e1000d280a1310d64c9bfffe55f7b67b402463">75e1000d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-11-30T18:30:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: consistently pass extra_cflags=cflags to HEIMDAL_CFLAGS()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de18c9bf4108dd4f838a4711eda0ed2a59f6ff09">de18c9bf</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-30T18:30:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Allow errors integer overflow errors in gen.c (only)

This is in preperation for the Heimdal upgrade.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/93de0f017fddbd84e1356c7bdc5c43ab7456422e">93de0f01</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-30T18:30:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Allow overflow in lib/hx509.c and lib/gssapi/mech/gss_inquire_cred.c

This is in preperation for the Heimdal upgrade (which otherwise
can be compiled with stricter flags).

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f7b555dad96f9d36cb48d46b232a74f18ce2eb7">6f7b555d</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-30T18:30:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Do not list hx509 files twice

This makes maintaining the file lists easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6a1a849a2aec1172ead1b85482b4cea37cd10bd">d6a1a849</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2021-11-30T18:30:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Use HAVE___ATTRIBUTE__ for unused, noreturn and unused_result

[abartlet@samba.org Squashed with TODO commit from Gary that provided
 HEIMDAL_UNUSED_ATTRIBUTE etc]

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0991946ab2e64cb9aa3ed9f177e5a545c82c7b3d">0991946a</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-11-30T19:18:59+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Remove memset_s from roken, already in libreplace

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Nov 30 19:18:59 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/04a79139a42cfd1b607317dec041618cbf629584">04a79139</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-01T11:04:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: split out smb2cli_raw_tcon* from smb2cli_tcon*

This will be used in tests in order to separate the tcon from
validate_negotiate_info.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14788

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/735fc34682c541056fd912d07c69f299f961983c">735fc346</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-01T11:04:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add smb2.ioctl.bug14788.VALIDATE_NEGOTIATE

Demonstrate that smbd fails FSCTL_VALIDATE_NEGOTIATE_INFO
only because the user doesn't have permissions on the share root.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14788

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1cd948d8520fd41a4e2f0cc6ee787c1e20211e33">1cd948d8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-01T11:04:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_server: make sure in_ctl_code = IVAL(body, 0x04); reads valid bytes

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14788

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd3ba3c96e6ba811afd5898ff5470188557a6e33">bd3ba3c9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-01T11:04:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_server: decouple IOCTL check from signing/encryption states

There's no reason to handle FSCTL_SMBTORTURE_FORCE_UNACKED_TIMEOUT
differently if signing/encryption is used.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14788

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c850ce96fd32ea91d8a31223bb09dd5b8b98d99e">c850ce96</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-01T11:04:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_server: skip tcon check and chdir_current_service() for FSCTL_VALIDATE_NEGOTIATE_INFO

We should not fail this just because the user doesn't have permissions
on the share root.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14788

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b3212b359edb78d4c60fed377fa18478c8e75d9a">b3212b35</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-01T11:04:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: test FSCTL_QUERY_NETWORK_INTERFACE_INFO with BUFFER_TOO_SMALL

It seems that we currently don't have BUFFER_TOO_SMALL handling
for FSCTL/IOCTL calls.

FSCTL_QUERY_NETWORK_INTERFACE_INFO is just an easy example
to demonstrate it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14788

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aab540503434817cc6b2de1d9c507f9d0b3ad980">aab54050</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-01T11:04:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_ioctl: return BUFFER_TOO_SMALL in smbd_smb2_request_ioctl_done()

We should not send more data than the client requested.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14788

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fb33f145ff598b03a08098b7f12f3c53491f6c04">fb33f145</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-01T11:04:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: FSCTL_QUERY_NETWORK_INTERFACE_INFO gives INVALID_PARAMETER with invalid file ids

An invalid file id for FSCTL_QUERY_NETWORK_INTERFACE_INFO gives
INVALID_PARAMETER instead of FILE_CLOSED.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14788

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1744dd8c5bc342a74e397951506468636275fe45">1744dd8c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-01T11:04:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_server: don't let SMB2_OP_IOCTL force FILE_CLOSED for invalid file ids

smbd_smb2_request_process_ioctl() already detailed checks for file_ids,
which not reached before.

.allow_invalid_fileid = true was only used for SMB2_OP_IOCTL.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14788

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/629d161b8f579bc24acfaf3fe02612a5237345b4">629d161b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-01T11:04:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: FSCTL_QUERY_NETWORK_INTERFACE_INFO should work on noperm share

Demonstrate that smbd fails FSCTL_QUERY_NETWORK_INTERFACE_INFO
only because the user doesn't have permissions on the share root.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14788

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f4d0bb164f028da46eab766135bb38175c117deb">f4d0bb16</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-01T11:51:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_server: skip tcon check and chdir_current_service() for FSCTL_QUERY_NETWORK_INTERFACE_INFO

We should not fail this just because the user doesn't have
permissions on the share root.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14788

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Dec  1 11:51:50 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/492fd5b00fe9d62f53b96e3a7588a7f2848a571d">492fd5b0</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-02T13:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Add rpcclient schannel tests

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14767

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b3bf5bbaf81de369c8f9415d903816a2d7424ffc">b3bf5bba</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-02T13:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_client: Remove trailing white spaces from cli_pipe.c

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14767

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/016429acaf76bde53bd4ab81b48be23c2bcc28e3">016429ac</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-12-02T13:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_client: Pass remote name and socket to cli_rpc_pipe_open()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14767

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/33eb7a1bc9c21463dc699d6daaa6a1e19f668268">33eb7a1b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-02T13:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Remove trailing white spaces in rpcclient.c

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14767

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/34c57ebee04bb770174fab31edd9bfe2f88a84eb">34c57ebe</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-02T13:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libnet: Remove tailing whitespaces in libnet_join.c

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14767

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bb3e0ce8fc932f5146044c548730f454a0119800">bb3e0ce8</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-12-02T13:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_client: Pass remote name and socket to cli_rpc_pipe_open_noauth_transport()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14767

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be1520d2058a9430cf370f6fefd07bbddf3fbfe0">be1520d2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-02T13:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Remove trailing white spaces from passchange.c

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c7ead1292852da371ff53fcdbd7ebd4bc1c08fbd">c7ead129</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-12-02T13:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_client: Pass remote name and socket to cli_rpc_pipe_open_with_creds()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14767

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62aa769667464451cda672fc073e52a8e52ae4c1">62aa7696</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-02T13:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_client: Add remote name and socket to cli_rpc_pipe_open_bind_schannel()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14767

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6bf3a39b11832ad2feb655e29da84f8b5aac298e">6bf3a39b</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-12-02T13:59:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_client: Pass remote name and socket to cli_rpc_pipe_open_schannel_with_creds()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14767

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d1ea9c5aaba42447f25a15935a9bf5bbd20f7d93">d1ea9c5a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-02T14:49:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Allow to connect to netlogon server offering only AES

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14912

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Dec  2 14:49:35 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f621317e3b25a8925ab6e448068264488a0a47c7">f621317e</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-12-03T12:05:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Use DSDB_SEARCH_SHOW_EXTENDED_DN when searching for the local replicated object

This may allow further processing when the DN normalisation has changed
which changes the indexing, such as seen after fixes for bug 14656.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14656
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14902

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1e61de8306604a0d3858342df8a1d2412d8d418b">1e61de83</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-12-03T12:05:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2020-25717: s3-auth: fix MIT Realm regression

This looks like a regression introduced by the recent security fixes. This
commit should hopefully fixes it.

As a quick solution it might be possible to use the username map script based on
the example in https://bugzilla.samba.org/show_bug.cgi?id=14901#c0. We're not
sure this behaves identical, but it might work in the standalone server case.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14922

Reported-at: https://lists.samba.org/archive/samba/2021-November/238720.html

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5e3df5f9ee64a80898f73585b19113354f463c44">5e3df5f9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-12-03T12:54:04+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: s3-dsgetdcname: handle num_ips == 0

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14923

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Dec  3 12:54:04 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/697abc15ea50e9069eb483fdd734588281bae123">697abc15</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-12-03T18:00:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool domain backup: cope better with dangling symlinks

Our previous behaviour was to try to os.stat() the non-existent
target.

The new code greatly improves efficiency for this little task.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14918

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f7e58b0e29778711d3385adbba957c175c3bdef">0f7e58b0</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-12-03T18:00:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool domain backup: backup but do not follow symlinks

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14918

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dab828f63c0a6bf0bb96920fd36383f6cbe43179">dab828f6</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2021-12-03T18:53:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/source_char: check for mixed direction text

As pointed out in https://lwn.net/Articles/875964, forbidding bidi
marker characters is not always going to be enough to avoid
right-to-left vs left-to-right confusion. Consider this:

$ python -c's = "b = x  # 2 * n * m"; print(s); print(s.replace("x", "א").replace("n", "ח"))'

b = x  # 2 * n * m
b = א  # 2 * ח * m

Those two lines are semantically the same, with the Hebrew letters
"א" and "ח" replacing "x" and "n". But they look like they mean
different things.

It is not enough to say we only allow these scripts (or indeed
non-ascii) in strings and comments, as demonstrated in this example:

$ python -c's = "b = \"x#\"  #  n"; print(s); print(s.replace("x", "א").replace("n", "ח"))'

b = "x#"  #  n
b = "א#"  #  ח

where the second line is visually disordered but looks valid. Any series
of neutral characters between teo RTL characters will be reversed (and
possibly mirrored).

In practice this affects one file, which is a text file for testing
unicode normalisation.

I think, for the reasons shown above, we are unlikely to see legitimate
RTL code outside perhaps of documentation files — but if we do, we can
add those files to the allow-list.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Dec  3 18:53:43 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d6380560f871a0097366b26382d2ac22b60bc48e">d6380560</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2021-12-06T18:24:24+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: fix documentation for default of "fruit:zero_file_id"

This got changed by 6e65c283120e3e627f0d8570601263f904529996 without updating
the manpage.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14926

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Dec  6 18:24:24 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/209a33670fab5dd7373444ae1ce76dbb5dfa0058">209a3367</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-12-06T20:56:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Only use embedded Heimdal include paths in an embedded Heimdal build

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14924

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/98cb41cb35dfacbd5c6acfb13a0ac555b474da08">98cb41cb</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-12-06T20:56:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Remove kdc_include except where needed

This include was being set on too many subsystems, including some MIT-related.

This was a problem because it would then trigger the mixing of MIT and Heimdal
krb5.h files.  It is now only set on the plugins and services that use the
embedded Heimdal KDC.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14924

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/05c09e8cfa09d22b31b7da6b461413dfb807984a">05c09e8c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-12-06T21:48:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Prepare for Heimdal upgrade by only building HEIMDAL_ASN1_GEN_HOSTCC when needed.

This will otherwise break the system-heimdal build.

This is correct regardless.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Dec  6 21:48:30 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5e31e8f15bf0dea1de4f09d270f6bed1a71fb875">5e31e8f1</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-12-06T22:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Create DNS entries on member join

The net ads join command already handles this,
and the call was missing from the python bindings
for samba-tool domain join member.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/528e5efc17ddc3393c04b7add9c51303d5ff9336">528e5efc</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2021-12-06T22:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Test DNS record creation on member join

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3bfdbc1e93bdad91e7498ba2601e1527bc1982f0">3bfdbc1e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-06T22:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:param: Remove trailing spaces in loadparm.c

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8393adaa5ad8e4b9ba9b2a155514e09f16298ca8">8393adaa</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-06T22:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:param: Only include smb_ldap.h for LDAP_* defines

There is no need for ads.h which would pull in krb5.h and much more ...

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/93619962020968bbfe7967f88b8814cff3ce5510">93619962</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-06T22:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:waf: Fix dependencies for TORTURE_UTIL

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18788e174edbc0c852eccf7eadb76c1a421778f5">18788e17</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-06T22:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:waf: Fix dependendies for libads

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/61ce2899791dc9a078b1af4ee62ab29436fe95dc">61ce2899</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-06T22:08:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: Pass lib to CHECK_DECLS()

This is needed if you have headers in non-standard include paths.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/61404faf7671f87359cf7c701ac6e159e7f2c7f9">61404faf</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-06T22:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf:mitkrb5: Detect com_err with pkgconfig first

It is needed as a dependency later!

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/238e4c86ca70174e88f11ab876965f9aba866e0d">238e4c86</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-06T22:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf:mitkrb5: Fix MIT KRB5 detection if not in default system location

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8036aa12766840e019f28e914a30769f71444ba9">8036aa12</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-06T22:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf:mitkrb5: Always define lib so we get the header include path

If you have libkrb5 in a non-standard include path, we would not check the
latest version but search default paths (e.g. /usr/include) first.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/10983779bc5d50cdb69b64656cbc56f0250e3f23">10983779</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-06T22:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Only create testing accounts once per test run

This decreases the time that the tests take to run.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3fc9dc2395ebc292087ae050bd721747e851056d">3fc9dc23</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-06T22:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check logon name in PAC for canonicalization tests

This allows us to ensure that the correct name makes it through to the
PAC.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff6d325e38d83b689da47c1b059f3ed865ffa7c2">ff6d325e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-06T22:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check ticket cname for Heimdal

This is currently not checked in several places due to STRICT_CHECKING
being set to 0.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/31900a0a58283868798dcb90ed43519b39559c2c">31900a0a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-06T22:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add more AS-REQ ENC-TIMESTAMP tests with different encryption types

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/860065a3c99475e43f68330f7349cb317bc5b009">860065a3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-06T22:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add tests for AS-REQ with an SPN

Using a SPN should only be permitted if it is also a UPN, and is not an
enterprise principal.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f8b17214d06ad9f1321a1d57f6e9bfe7b8899bf6">f8b17214</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-06T22:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add tests for enterprise principals with canonicalization

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/23ec41fd13f3ccae6b494682901f084d34538bec">23ec41fd</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-06T22:08:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Remove AS_REQ_SELF test stage

This behaviour is already covered by existing Python tests. This test
stage also modifies the request prior to sending it, which can cause
problems with an upgraded Heimdal version.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7eb1e1cc9498c761c9fcd2bd839e1e2c28a365df">7eb1e1cc</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-06T22:57:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Remove test combination with enterprise principal without canonicalize flag

This test combination is not needed. Removing it allows us to avoid
modifying requests prior to sending them, which can cause problems with
an upgraded Heimdal version.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Dec  6 22:57:54 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2701293f48a9e4014f9ba1e925d458fe25865bfb">2701293f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-07T04:05:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Remove pre-send and post-receive callbacks

The client-side testing done by these callbacks is no longer needed, and
the server-side testing is covered by Python-based tests. Removing these
leaves us with a more manageable test of the Kerberos API.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a0d75b1cce4b97e1d6b78ba2b7adf96988d55608">a0d75b1c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-12-07T04:05:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/replace: For heimdal_build: Try to use the OS or compiler provided atomic operators

This provides the defines that may be needed to use the
compiler-provided atomics, rather than a fallback.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dc2222eee8f62ace1b7a67401d502d2b3c4a1e17">dc2222ee</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-12-07T04:05:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal_build: Do not build samba4kinit unless building embedded Heimdal

We should not attempt to build local copies of Heimdal utilities against
a system krb5 library.

Inspired by a WIP commit by Stefan Metzmacher <metze@samba.org> in his
lorikeet-heimdal import branch of patches to upgrade to a modern Heimdal.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14924

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8bd7b316bd61ef35f6e0baa0b65f0ef00910112c">8bd7b316</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-07T04:54:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: Canonicalize realm for enterprise principals

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Dec  7 04:54:35 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f8e55b3670c221e5d880c79d0def7be82819e435">f8e55b36</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-07T07:40:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Adjust expected error codes for FAST tests

This allows more of the tests to pass.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1eb1049d2bdd44af95da820b3dcb5ccd94e4c231">1eb1049d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-07T07:40:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Don't request renewable tickets

This is not necessary for testing FAST, and was causing some of the
tests to fail.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9c050a4a03a8bb1dd8b25a1e800942ce1da68710">9c050a4a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-07T07:40:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add test for AD-fx-fast-armor in enc-authorization-data

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dfe6ef6f3ec61a99e4f067d26dc1abae5adf5cce">dfe6ef6f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-07T07:40:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add tests for FAST with use-session-key flag and armor ticket

This flag should be ignored and the FAST armor key used instead.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6bf3610c5dc729cf1dd0b6b63d85e512c25e99c3">6bf3610c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-07T07:40:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Make edata checking less strict

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/45d81d56abeb5dbc63471ef45bf6473d3ebf5189">45d81d56</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-07T07:40:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow additional unexpected padata types

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa38476d89d4a41bef63f3814dd921c4dd4e103f">aa38476d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-07T07:40:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Remove magic flag constants

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d14aedd3dc904d4341d06c8b38d6e94e780ea71">7d14aedd</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-07T07:40:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add test for FAST with invalid ticket checksum

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f03f304deb30522ed5bdc0875cf3b5233ef6ddc5">f03f304d</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-07T07:40:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Adjust unknown critical FAST option test

Heimdal does not check FAST options when no preauth data is supplied, so
the original test could not pass against Heimdal.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d5cb6a1449db10f2ab287798704c035f793f584c">d5cb6a14</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-07T07:40:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Don't require claims PAC buffers if STRICT_CHECKING=0

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9844a331864ff44645d15e946707fe5278f97ae6">9844a331</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-07T07:40:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow 'renew-till' element to be present if STRICT_CHECKING=0

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/221569a14c8ecd529eae5c8c021cffe65324afec">221569a1</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-07T08:32:42+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Allow PADATA-ENCRYPTED-CHALLENGE to be missing for skew errors

A skew error means the client just tried using PADATA-ENC-TIMESTAMP or
PADATA-ENCRYPTED-CHALLENGE, so it might not be necessary to announce
them in that case.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Dec  7 08:32:42 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b948aeac5398693e0c8c70cbff531965ed7ecd23">b948aeac</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-09T02:47:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">hdb: Initialise HDB structure

Additional fields may be added to this structure without us explicitly
initialising them. This could cause Heimdal to crash upon reading
garbage data, so we should zero-initialise the structure.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Dec  9 02:47:27 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cd5a5f590ff21587a45405977ab6bef9ff3c2db6">cd5a5f59</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-12-09T06:55:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Add missing dependency on addns

This becomes noticed when we upgrade Heimdal as we do not find
the correct gssapi headers any more.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/102ad9ee6a037e2aa6296d0dfbf17f3e4175a581">102ad9ee</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-12-09T07:42:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: match gensec_gssapi and call gsskrb5_set_dns_canonicalize() for Heimdal

This is needed to ensure Heimdal does not attempt to use nss to canonicalize the name.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Dec  9 07:42:38 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce293eb861b2fc6c7a88cf67664c91735bf49d44">ce293eb8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-09T13:22:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth/credentials: Handle ENOENT when obtaining ccache lifetime

The new Heimdal may return ENOENT instead of KRB5_CC_END.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1bacf26d30adc89348786bff7b9e2fe6d6f43856">1bacf26d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-09T13:22:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth/credentials: Fix cli_credentials_shallow_ccache error case

Avoid dangling values if something fails...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e2b7a2f78117e20739aa4f895ce68825e160d451">e2b7a2f7</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2021-12-09T14:14:12+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-auth: Remove unused headers

These changes were submitted in a patch by
Stefan Metzmacher <metze@samba.org> in his lorikeet-heimdal
import branch of patches to upgrade to a modern Heimdal.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Dec  9 14:14:12 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3d0857c9ec2c99636a44da927b6ccbb8eff9a9de">3d0857c9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: libcli: Add smbcli_unlink_wcard().

We will use this in place of smbcli_unlink() when we
know we are using a wildcard pattern. If can be used
to generally replace smbcli_unlink() as it calls down
to smbcli_unlink() is no wildcard is detected.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5b7ff5a9d0028d1ea8d22f88c410e73557f214e2">5b7ff5a9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: libcli: In smbcli_deltree() use smbcli_unlink_wcard() in place of smbcli_unlink().

We know we have a wildcard mask here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/35d8b1466551ebe78346265899f130b1c60ae098">35d8b146</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: In raw.notify test use smbcli_unlink_wcard() in place of smbcli_unlink().

We know we have a wildcard mask here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/781028949318d808836738c8f8067c718aa24a6f">78102894</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: Use smbcli_unlink_wcard() to remove wildcards in base.chkpath test.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c697ad1e389ab8c282b44961c6fa224e45759d30">c697ad1e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: Use smbcli_unlink_wcard() to cleanup in base.mangle test.

Avoid using smbcli_unlink() calls with wildcard names.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/367dc3cb59793babc393e842c610b45b42016454">367dc3cb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: Use smbcli_unlink_wcard() in base.casetable test.

Avoid smbcli_unlink() calls with a wildcard path.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3a42b35136437b8bbb2f1473ecb2dfdee13bbbb9">3a42b351</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: Use smbcli_unlink_wcard() to setup and cleanup in masktest.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/770d8375fca47fa2312d25ae4deb52b6b2346aff">770d8375</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: libcli: smbcli_unlink() is no longer used with wildcard patterns.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a0bfb37b4beb74bdb3f95e491efcd1806069a154">a0bfb37b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Add torture_deltree() for setup and teardown.

Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3a73178fe48efd0f98da49547941dd0ac052f715">3a73178f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: In run_smb1_wild_mangle_unlink_test() use torture_deltree() for setup and cleanup.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7ffc03d5e7d517957fcf4fe26d7ba423ef02a306">7ffc03d5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: In run_smb1_wild_mangle_rename_test() use torture_deltree() for setup and cleanup.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/498b3d923cd74b1190f4ab7dcaa9f9b04ddba6fd">498b3d92</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: In torture_utable(), use torture_deltree() for setup.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1eeabbf8401b576b96723dd714d6993b096f6ed3">1eeabbf8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: In torture_casetable(), use torture_deltree() for setup and cleanup.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5a802ae2d314e3a8558894f516f61ecf85a256aa">5a802ae2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: In torture_chkpath_test(), use torture_deltree() for setup and cleanup.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9398655cfddb2f4a3f2c8243b6c0f48f36bad14f">9398655c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: In run_streamerror(), use torture_deltree() for setup.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6cb9f127e1fcec2cef42eafa92d085e5fdfe0230">6cb9f127</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: In test_mask(), use torture_deltree() for setup.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/78ee275c7347440748995e94e0c064ac30e8b3c7">78ee275c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: In torture_mangle(), use torture_deltree() for setup and cleanup.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef1d9d31bc3bf620c549a1c609e2ce99ceacff43">ef1d9d31</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: In run_smb1_wild_mangle_unlink_test() use a valid pathname for rename target.

The server will not be supporting wildcard rename soon.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3c9a33ca3463ab010e24430a1743f4669c70a75f">3c9a33ca</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: Remove the wildcard unlink test code.

This is pre WindowXP SMB1 functionality, and we
need to remove this from the server in order to
move towards SMB2-only, so the test must go.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fb4e998346db1bbaa7c6be7edbba17b9b07f5765">fb4e9983</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: Remove the wildcard rename test code.

This is pre WindowXP SMB1 functionality, and we
need to remove this from the server in order to
move towards SMB2-only, so the test must go.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d2aae105c610e263f53eb502822d6de65bb7a733">d2aae105</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Remove the wildcard unlink test code.

This is pre WindowXP SMB1 functionality, and we
need to remove this from the server in order to
move towards SMB2-only, so the test must go.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7f61ff777b1dafb757794e256fb9d3a52dfb7e24">7f61ff77</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove support for SMBcopy SMB_COM_COPY (0x29)

It's not used in our client code or tested.

>From MS-CIFS.

This command was introduced in the LAN Manager 1.0 dialect
It was rendered obsolete in the NT LAN Manager dialect.
This command was used to perform server-side file copies, but
is no longer used. Clients SHOULD
NOT send requests using this command code.
Servers receiving requests with this command code
SHOULD return STATUS_NOT_IMPLEMENTED (ERRDOS/ERRbadfunc).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f46445cb6ae81d17a423da9ef0b2703ae755d191">f46445cb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In reply_unlink() remove the possibility of receiving a wildcard name.

This was the only user of "has_wild=true" passed to
unlink_internals().

Next commit will remove this functionality from unlink_internals().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/42985702df0485208fc46117ea73622f1a9e4a26">42985702</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change unlink_internals() to ignore has_wild parameter.

It's always passed as false now so we can remove the (horrible)
enumeration code for unlink.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/098d63a219c3db0406fecca853ea1798cf50cb1b">098d63a2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove 'bool has_wild' parameter from unlink_internals().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4cfe055ca7e5428cf2e616039ceb065708db3af2">4cfe055c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove UCF_ALWAYS_ALLOW_WCARD_LCOMP flag from pathname processing in reply_mv().

We are no longer supporting wildcard rename via SMBmv (0x7)
as WindowsXP SMB1 and above do not use it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f67f25bcf02d82f04742eef213235e0136d875ef">f67f25bc</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In smb_file_rename_information() (SMB_FILE_RENAME_INFORMATION info level) prevent destination wildcards.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff4bbb1279a383ae0965601d89a6fb41d3cdd9c4">ff4bbb12</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In SMBntrename (0xa5) prevent wildcards in destination name.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e66148c8741175bfb2f117ce2ff3a3aa4bf23946">e66148c8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In reply_ntrename() remove the UCF_ALWAYS_ALLOW_WCARD_LCOMP flag for destination lookups.

We know the destination will never be a wildcard.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f44fc91505a4e021ebf2bdaffac9944cd2cf8a01">f44fc915</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In reply_ntrename(), never set dest_has_wcard.

It can never be true.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de90620bec55e26535917a8bacd71b1f115e1733">de90620b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In reply_ntrename() remove 'bool dest_has_wcard' and all uses.

It's always false now.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/885a982b9fde950e80862c481ee711a9e16403b2">885a982b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Prepare to remove wildcard matching from rename_internals().

src_has_wild and dest_has_wild can never be true.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3cb5ef1c7985c6a9a92cc854f9b23e5cc8af7eb7">3cb5ef1c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove dest_has_wild and all associated code from rename_internals()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff722c0fdfb2ce7691ff67349edd96b3c6c19d2a">ff722c0f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove all wildcard code from rename_internals().

We no longer use resolve_wildcards() so comment it out
for later removal. Keep the '{ ... }' block around the
singleton rename for now, to keep the diff small.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fe92aaa962a61ac912b1cad4c7c6136785c11a9c">fe92aaa9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove the commented out resolve_wildcards().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7ac844ce92afe15354520dfcf0e090e6af5b951b">7ac844ce</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Inside rename_internals() remove '{ ... }' block around singleton rename code.

Best viewed with 'git show -b'

As we're touching the DEBUG() code, change it to modern DBG_NOTICE().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5190a8bd8211f93b11409ae2ba5fbe365b1a8390">5190a8bd</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove 'const char *src_original_lcomp' parameter from rename_internals().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4ac91bd065cee699cdb4daeff719d02464d75326">4ac91bd0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:06:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove 'const char *src_original_lcomp' from reply_mv().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd98e040d4a4a24cc2be5bb9cfde5ebbe575ce52">bd98e040</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-09T18:57:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Update WHATSNEW.txt with removal of wildcard copy, rename and unlink.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Dec  9 18:57:15 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d1934e2331f4e452dce8fa2ed2e32ea595dc5e97">d1934e23</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">named_pipe_auth: Bump info4 to info5

We'll add a field soon

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/530fb4fdfb32d38cc55ed57cc6157bf63df069a7">530fb4fd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">named_pipe_auth.idl: Add "need_idle_server"

Once RPC services are done by individual processes, we need to avoid
recursion between processes:

Any RPC server process will be able to serve multiple client requests
simultaneously, but each request is served in a single-threaded
blocking manner.

For example the netlogon RPC service needs to ask samr for
something. The netlogon->samr connection will initially be handled by
a central dispatcher assigning clients to processes. This dispatcher
needs to know that this connection can't end up in the same process
that originated the request.

With this flag an RPC client can request a samr server process that
exclusively serves its own requests and that will not serve anybody
else while serving netlogon.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1bab76223cd1b87a96909a66143d02b8b6b5d5f6">1bab7622</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Add named_pipe_auth_req_info5->transport

This will serve as a check to make sure that in particular a SAMR
client is really root. This is for example used in get_user_info_18()
handing out a machine password.

The unix domain sockets for NCACN_NP can only be contacted by root,
the "np\" subdirectory for those sockets is root/root 0700.

Connecting to such a socket is done in two situations: First, local
real root processes connecting and smbd on behalf of SMB clients
connecting to \\pipe\name, smbd does become_root() there. Via the
named_pipe_auth_req_info4 smbd hands over the SMB session information
that the RPC server blindly trusts. The session information (i.e. the
NT token) is heavily influenced by external sources like the KDC. It
is highly unlikely that we get a system token via SMB, but who knows,
this is information not fully controlled by smbd.

This is where this additional field in named_pipe_auth_req_info5 makes
a difference: This field is set to NCACN_NP by smbd's code, not
directly controlled by the clients. Other clients directly connecting
to a socket in "np\" is root anyway (only smbd can do become_root())
and can set this field to NCALRPC.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa445f153180fee33291f0650437c1a72ccc9104">fa445f15</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth: Fix a typo in auth/gensec/ncalrpc.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/00e41d198d2972dddf075f79747f257f81c8e3b8">00e41d19</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Get transport out of tstream_npa_accept_existing_recv()

To be used by the RPC servers in the next commit

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d5fa62639489a97407ac53fcedbded2246328407">d5fa6263</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Check info5->transport

Eventually, this new mechanism might replace the ncalrpc_as_system mechanism: I
think with this we're much more flexible and even more secure: We rely on the
direct permissions on "np/" and don't have to pretend that the local client
came from a file on /root. We are more flexible because with this mechanism we
can easily fake arbitrary tokens and play with session keys.

However, this would require that the source4 librpc code needs to learn about
this mechanism, which I was not able to complete.

The source3 rpc_server side of this will go away soon, so for now only
allow NCACN_NP there. The check in source4 will stay with us for a
while, so allow NCACN_NP and NCALRPC to be set remotely here. With
NCACN_NP (the case for a client to connect on a named pipe), protect
against accidentially connecting as system.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/afd014245a95f97f2bf166dad74ca9e6a58fc83b">afd01424</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test: Prime the kpasswd server

I was getting this failure:

[102(815)/143 at 10m59s] samba4.blackbox.net_ads_dns(ad_member:local)(ad_member:local)
UNEXPECTED(failure): samba4.blackbox.net_ads_dns(ad_member:local).Adding an unprivileged user(ad_member:local)
REASON: Exception: Exception: Could not add user unprivuser. Error setting password Incorrect net address

My preliminary analysis shows that the KRB5KRB_AP_ERR_BADADDR error
message is triggered by the libkrb5 client code. I have not yet shown
this to happen with pure libkrb5, but my theory is the following:

k5_privsafe_check_addrs() fails under the following circumstances: The
kpasswd server is contacted on IPv4 and is slow to reply. After
waiting a bit, libkrb5 also tries to contact kpasswd on
IPv6. kpasswd_sendto_msg_callback() for the IPv6 request changes the
authentication context's local_addr to IPv6. Then the IPv4 request is
replied to, and then k5_privsafe_check_addrs() bails on the address
family in ac->local_addr (IPv6) vs the one received and via the IPv4
connection.

libkrb5's src/lib/krb5/os/changepw.c has this comment:

    /*
     * TBD:  Does this tamper w/ the auth context in such a way
     * to break us?  Yes - provide 1 per conn-state / host...
     */

I think we're hit by this.

This patch hacks around the situation by priming the kpasswd server
without error checking. If the initial v4 request is quick enough
because the kpasswd server is already started up properly, everything
works flawlessly.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a60c7b4ff29bc59c0d5a42f14dbe0ae4dbe26192">a60c7b4f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:services: Disable rcinit-based service control code

This is a become_root user callout that I have never seen in use in
more than 20 years of Samba. Why disable now? In the next commit I
need to make a change to initializing the registry values for
services, the svcctl service won't be able to do registry transactions
anymore. I'm not sure that going without transactions is 100% safe in
all failure cases, so I decided to propose disabling the problematic
code that might lead to security issues.

One fix might be to add a lot more validation code to
_svcctl_OpenServiceW() to see whether the registry values underlying
the service are sane.

Yes, this is technical debt, but I would question that starting unix
daemons via DCERPC used at all out there.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f83f7bd6bdd8c8e62446d67ec59c21db31c11ba8">f83f7bd6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server: Remove direct registry access from svcctl_init_winreg

Once we do registry access via a pipe into a different process, a
registry client won't be able to directly do registry transactions
anymore. In this case, I argue that doing this in a transactioned way
is overkill anyway. svcctl_init_winreg() just sets up some registry
keys, and if that leaves behind some stale entries if it fails
somewhere in the middle, it does not really matter because the only
one looking at these registry keys is the svcctl service, and that
only starts up if the init function was successfully run.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ebc3918f7d0704b8f08b6e7e3d50c7b0c50b9fc6">ebc3918f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_client: Bump debug level for ncalrpc connect error

This does not have to go to syslog by default always, it might be just
a daemon not listening.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3284ee9985d8cc0dd2086b03acee4937fefcd5e0">3284ee99</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dcesrv_core: Add dcesrv_context_set_callbacks()

We'll need to set custom callbacks on source3's global_dcesrv_ctx,
which right now is deeply embedded. Once we have everything more
nicely layered, this can go again.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/95659031e4519e9c9222c51737fe177eb5a56a7c">95659031</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">backupkey.idl: Don't listen on \\pipe\ntsvcs

[MS-BKRP] says it SHOULD listen here. In the ad dc, this conflicts
with smbd's srv_ntsvcs_nt.c listening also on nt ntsvcs unix domain
socket. Because "samba" starts smbd after itself, smbd takes over the
socket anyway, backupkey can't have been reached over this transport.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da90c02b16849038a8fce4f3ab824a41c43bfea9">da90c02b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dcesrv_core: Add dcesrv_loop_next_packet()

This is used by the helpers of samba-dcerpcd: When accepting a DCERPC
client, normally the server engine would read the initial bind
packet. In case of samba-dcerpcd the bind packet will already be read
from the socket, so we need to inject it into the rpc server engine
externally.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a697814eba925c0a1d7bea8210181adf370436be">a697814e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idl: Define messages sent between samba-dcerpcd and rpcd's

MSG_RPC_DUMP_STATUS will be like pool-usage carrying a file descriptor to
report status to, the other two are described in rpc_host.idl.

NOALIGN on rpc_worker_status: This makes it easier to count bytes to
push into a static buffer.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8ffeb18b9a1aac87d5bcec09744c7c90f64fbdbd">8ffeb18b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Add "rpc start on demand helpers", true by default.

If "true" allow smbd and winbindd to spawn samba-dcerpcd
as a named pipe helper. Allows upgrade without any change
to smb.conf. If samba-dcerpcd is run as a daemon this
must be set to "false".

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3ca7c640da0bd47bfa9899f0921404a42013d28d">3ca7c640</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server: Add samba-dcerpcd

Central dispatcher for incoming RPC requests, supported by helpers
that implement RPC services.

Upon startup, it asks all helpers which interfaces and endpoints to
listen on so it doesn't interfere with the samba binary when we're
configured as an Active Directory Domain Controller, then samba-dcerpcd
opens the relevant sockets. Once clients connect, start required helpers
and tell them to shut down once idle for a while.

Can be started as a full standalone daemon without smbd involved or as
a helper daemon started on demand by smbd or winbind or other local
processes trying to connect to a named pipe based RPC service.

NB. To start as a standalone daemon the smb.conf [global] option
"rpc start on demand helpers = false" must be set.
By default "rpc start on demand helpers = true"
in order to allow upgrades without needing an smb.conf change.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d75f08fd22f1126a4fd616d8374de15305970b9">4d75f08f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_client: Add local_np_connect()

This will be used for internal pipe connects. It starts samba_dcerpc
on demand if it's not there yet, so long as smb.conf [global]
has "rpc start on demand helpers = true" (the default setting).

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d3e1ece1a451f9f91a2c2a4fc3169ac08c4758ba">d3e1ece1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server: Implement the rpcd_* helper-end of the samba-dcerpc protocol

This is the generic code that becomes the
template that all rpcd_* instances that
serve DCERPC can use to provide services to samba-dcerpcd.

The external entry point is:
rpc_worker_main() which takes an argc/argv list
and two functions:

get_interfaces() - List all interfaces that this server provides
get_servers() - Provide the RPC server implementations

Each rpcd_* service needs only to provide
the implementations of get_interfaces() and get_servers()
and call rpc_worker_main() from their main() function
to provide services that can be connected to from samba-dcerpcd.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/188586dddde933ef9dfd8e732593982a1a65e540">188586dd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_client: Add rpc_pipe_open_local_np()

Helper routine to connect to bind to a locally started rpcd_* process's
rpc interface.

Based upon local_np_connect() to start samba-dcerpcd on demand if it's
not there, designed to replace our internal RPC interfaces where the
RPC server runs in the same process. This will be called from winbindd_cm.c
and source3/rpc_server/rpc_ncacn_np.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3aee4c171c2fdb555c91f74d861d7977e4b91f06">3aee4c17</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbcontrol: Add rpc-dump-status

Get status information out of samba-dcerpcd and its RPC helpers.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c2b8cf05c372c12658d6a65da7f37afce0f8655b">c2b8cf05</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:printing: Move pcap_cache_loaded() to load.c

A future patch will remove the PRINTING dependency from smbd, but in
delete_and_reload_printers() we still reference it.

Maybe at some later stage we can remove reload_printers() overall, we
don't really need to load the full printer list into every smbd. All
we need is to load them on-demand for explicit listing functions, but
there we can throw them away again. And when someone connects to the
printer, we can also load them on demand.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a0075a1fd0e2cc650997562d0980982b1f9d564f">a0075a1f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">unittest: Remove test_sambafs_srv_pipe

is_known_pipename() will be removed soon

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a350a000f10ed3360fa0b1300893902db8e07231">a350a000</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server: Make npa_state_init() public

Will be used later in client tools.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3fb2fd49445eae8a075638d0ed18e2ca41696450">3fb2fd49</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Close internal RPC pipes after 5 idle seconds

Even internal pipes have a small cost, external ones will block a
process from exiting soon.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d522a8cce12043903ecf4f66835eb69367cdde17">d522a8cc</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server: Add samba-dcerpcd helper programs

These are rpcd_* binaries.

rpcd_classic collects everything that's not specific

Changes the epmapper to read the epmdb.tdb, which will make the
epmapper tests non-bisectable until the switch is done.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a7c65958a15149918415b7456d6f20ee8c9669d2">a7c65958</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server: Activate samba-dcerpcd

This is the big switch to use samba-dcerpcd for the RPC services in
source3/. It is a pretty big and unordered patch, but I don't see a
good way to split this up into more manageable pieces without
sacrificing bisectability even more. Probably I could cut out a few
small ones, but a major architechtural switch like this will always be
messy.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9e3ee8c40c012ef6febe1737d952a744b0b14861">9e3ee8c4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Remove "start_daemons" from printing_subsystem_init()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/730f7dfd615ed9997cdf2e7e418605b28826e310">730f7dfd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server: Delete unused code and doc references

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7b62fa967d02f771d4afa9eaeef2f6b2d9f6ccd0">7b62fa96</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-10T14:02:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dcesrv_core: Remove unused dcesrv_reinit_context()

This was only used in the prefork source3 rpc servers

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea2ec7ea5e891f662278dc0fae9f87b426196f2e">ea2ec7ea</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-10T14:52:54+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW. Added section about samba-dcerpcd.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-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 Dec 10 14:52:54 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f7e1a81cc05fdffb2c377bdc480e974a70f76bef">f7e1a81c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-11T00:25:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:torture: Initialize pointer with NULL

source3/torture/torture.c:4309:17: error: ‘pname’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
 4309 |                 printf("qfilename gave different name? [%s] [%s]\n",
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4310 |                        fname, pname);
      |                        ~~~~~~~~~~~~~

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Dec 11 00:25:46 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0333348239d422fe6a99aaaf4ac5cd9e32169e05">03333482</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Move setting of dirtype if FILE_ATTRIBUTE_NORMAL to do_unlink().

Now we don't use wildcards when calling in unlink_internals()
the logic inside it serves no purpose and can be replaced with
a direct call to do_unlink() (which we will rename to unlink_internals())..

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e60360c4868190633debc6bc31b98af2b74ad7cd">e60360c4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Move to modern debug calls inside do_unlink().

We will be changing its name next.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b2a0664d4c1a91e98e5b1c3b15480c157525280f">b2a0664d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Comment out the old unlink_internals(). Rename do_unlink() -> unlink_internals().

One parameter needs changing position. The logic inside unlink_internals()
is no longer needed if it doesn't accept wildcards. filename_convert()
already handles mangled names just fine, so we don't need this logic.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6db08012e999b59cc92ae0ba9ac864d4bf59694d">6db08012</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove the old unlink_internals() implementation.

No longer used. filename_convert() already handles mangled
names just fine, so we don't need this logic.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d58b9094f7bffec7b59f30229c8ee925fdd7581a">d58b9094</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Handling SMB_FILE_RENAME_INFORMATION, the destination name is a single component.

No errors should be allowed from filename_convert().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/07df94ade1efaa4f261df672ebe6d460063338d6">07df94ad</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In rename_internals_fsp(), remove unneeded call to check_name().

All callers have gone through filename_convert(), which has
already called check_name() on the destination.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/449aa4153a65177eb15f8dcb77f4a6615d5690b3">449aa415</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: check_name() is now static to filename.c

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a325cb095527054a8b57a7ffe6c93052c6d2bd09">a325cb09</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In rename_internals(), remove the name spliting and re-combining code.

filename_convert() handles mangled names just fine, so we don't
need to split the last component and check for mangle.

Now we don't take wildcard names this is not needed. This was the
last caller of split_fname_dir_mask(), so ifdef it out.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a3acb8698bb0f4fa00a0084ca66cd58b6561aa1a">a3acb869</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove split_fname_dir_mask().

No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/18a1cc632b4b799e0219554c8873024cb45f1b6a">18a1cc63</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In call_trans2findfirst() we don't need filename_convert_with_privilege() anymore.

It was extra-paranoid code now not needed as the new VFS
version of filename_convert() does the same job.

There are now no remaining callers of filename_convert_with_privilege().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/59b7101ac9ebc001f3ad9f03b5607e1db577e9e4">59b7101a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove filename_convert_with_privilege(). No longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b18c2abae99563e411b0dd798e1c4a59e87c2ccc">b18c2aba</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In filename_convert_internal(), remove call to check_name_with_privilege().

We now always pass NULL as struct smb_request *smbreq,
so this code path can never be taken.

Comment out check_name_with_privilege() as it's now
no longer used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/02f840308d5e265eab7dcc90029f7defb3f79809">02f84030</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove unused check_name_with_privilege().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5425f2aa43d289b3fc57d55441992500e6cf6661">5425f2aa</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove now unused check_reduced_name_with_privilege().

We now only have one function that does this check (check_reduced_name()),
used everywhere.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/14e0dd43d56f5daad12af87a373db78d2b2a709a">14e0dd43</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: filename_convert() is now a one-to-one wrapper around filename_convert_internal().

Remove filename_convert() and rename filename_convert_internal() -> filename_convert().
Move the old DEBUG(..) statements to DBG_XXX() so they don't print the wrong name.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a568e92e51a7229a3a370daa95f066413ab2b293">a568e92e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In dfs_path_lookup(). If we have a DFS path including a @GMT-token, don't throw away the twrp value when parsing the path.

Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/addbf4cc3ba3a7a72c35118cf71bbed0e6d2c7f7">addbf4cc</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Allow dfs_redirect() to return a TWRP token it got from a parsed pathname.

This one is subtle. If an SMB1 request has both a DFS path and a @GMT token,
the unix_convert() inside the DFS path processing will remove the @GMT
token, not allowing the subsequent unix_convert() inside filename_convert()
to see it. By returning it from dfs_redirect() we can ensure it's correctly
added to the smb_filename returned from filename_convert().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3ca822186435d917913f4163532ad5a0f306215f">3ca82218</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add filename_convert_smb1_search_path() - deals with SMB1 search pathnames.

SMB1search and trans2 findfirst are unique in that
they are the only passed in pathnames that can contain
a terminal wildcard component.

Deal with these two special cases with this new function
that strips off the terminal wildcard and returns as
the mask, and pass the non-wildcard parent directory
component through the standard filename_convert().

Uses new helper function strip_gmt_from_raw_dfs().

When SMB1search and trans2 findfirst have been
converted to use this function, we can strip all
wildcard handling out of filename_convert() as
we now know it will only ever be given valid
pathnames.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1658fad32cbc30f9bd9e5fa3620762f47821bf7b">1658fad3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Convert reply_search() to use filename_convert_smb1_search_path().

Cleans up this code path nicely !

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa45c91cb45afc1a2e11e8569b4564d49000ae34">fa45c91c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix call_trans2findfirst() to use filename_convert_smb1_search_path().

filename_convert() no longer has to handle wildcards.
UCF_ALWAYS_ALLOW_WCARD_LCOMP is now unused.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/181257474833745c78de00a54daef3ac88d43719">18125747</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: dfs_path_lookup() no longer deals with wildcards.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/52ca4bf6d5adcb4a40fb0b660779760c1f876cbd">52ca4bf6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove 'bool search_wcard_flag' from parse_dfs_path().

Never set.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/24002be5883692fa6a586f66bf46f30cee72d4ba">24002be5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: parse_dfs_path() can ignore wildcards.

If one is passed to filename_convert(), it will error out there
with NT_STATUS_OBJECT_NAME_INVALID.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da1417fb37b88b975c22dba8276723e05f2ea282">da1417fb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: filename_convert() no longer deals with wildcards.

These are already errored out with NT_STATUS_OBJECT_NAME_INVALID
in the unix_convert() code.

Remove the check.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e1cc3e3a6737d8c238abd111264dd6c3490ddc9a">e1cc3e3a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Inside 'struct uc_state', remove allow_wcard_last_component.

This is never allowed.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f15f8b68a56fca559604a83d30b659b301d2a43">6f15f8b6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: We no longer need determine_path_error().

Now we don't have to consider wildcards just
return NT_STATUS_OBJECT_PATH_NOT_FOUND for
the cases we used to call it.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6493d39b6796a7997c078902e7dcf71493bf8d9c">6493d39b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: UCF_ALWAYS_ALLOW_WCARD_LCOMP 0x00000002 is no longer used.

Hurrah !

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1d52a4a46779244950f7ca911364b92166117b4b">1d52a4a4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Inside unix_convert(), never set state->name_is_wildcard.

We error out immediately if it's set anyway.
Preparing to remove 'state->name_is_wildcard' structure element.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b21ba035bf364400c74385c1364ea93387903c7f">b21ba035</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In unix_convert(), remove all references to state->name_has_wildcard.

It is never set.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce6b3ba4099cf1fd35ccd5b85c59f1e76918fb3b">ce6b3ba4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In unix_convert() remove the now unneeded block indentation.

We removed the 'if (state->name_has_wildcard) {' clause, so
the block no longer needs indenting.

Best seen with git show -b.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e6f0269817ef121f55b212bcec8ed9fad40a6ffd">e6f02698</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In unix_convert_step() remove all use of 'state->name_was_wildcard'

We know it is never true.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0ecb5e3e3fb45c119c9cb933cc8479b6d33de1ad">0ecb5e3e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T07:17:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In unix_convert_step_stat() remove use of state->name_was_wildcard.

It can never be true.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/25c87b70c07647896c9e7c4c1132835dbe318b61">25c87b70</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T08:07:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove 'struct uc_state' name_has_wildcard element.

It is never set or looked at.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Sat Dec 11 08:07:14 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/57c56d89be068f3ff5f46368566fcb9622294460">57c56d89</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T11:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: Fix raw.search:test_one_file() to use torture_result() instead of printf.

I think this test pre-dates torture_result.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/00fd039c9040ae9649151555314d5d70dae565f5">00fd039c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T11:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: In raw.search:test_one_file() remove the leading '\\' in the test filenames.

We'll soon be using this under SMB1+POSIX and neither Windows or POSIX
need a leading '\\' (and SMB1+POSIX sees the '\\' as part of the name).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/59fa3806c942ef7cd290e5bddb19f38949c4ca3b">59fa3806</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T11:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Tighten up info level checks for SMB1+POSIX to make sure POSIX was negotiated first.

Add knownfail file

        knownfail.d/posix_infolevel_fails

for tests that don't currently negotiate
SMB1+POSIX before using SMB1+POSIX calls.

These are:

samba3.smbtorture_s3.plain.POSIX-BLOCKING-LOCK.smbtorture\(nt4_dc_smb1\)
samba3.blackbox.acl_xattr.NT1.nt_affects_posix.*
samba3.blackbox.acl_xattr.NT1.nt_affects_chown.*
samba3.blackbox.acl_xattr.NT1.nt_affects_chgrp.*
samba3.blackbox.inherit_owner.*.NT1.*verify.*unix\ owner.*
samba3.unix.info2.info2\(nt4_dc_smb1\)
samba3.unix.info2.info2\(ad_dc_smb1\)
samba3.raw.search.one\ file\ search.*

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4bd1f7609fa36d19ee4c7837105cfd365a8e87fa">4bd1f760</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T11:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbclient: Give a message if we try and use any POSIX command without negotiating POSIX first.

Ensure we only use a POSIX command if POSIX is set up.
Issue the message: Command "posix" must be issued before the "XXXX" command can be used.
After the parameter parsing has been done.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d681a4b058522211e2db3095653dddf53a1f3caf">d681a4b0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T11:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: In raw.search:test_one_file() add a second connection.

Change from torture_suite_add_1smb_test() to torture_suite_add_2smb_test().

Not yet used. We will need this to do SMB1+POSIX search calls on
a connection on which we have negotiated SMB1+POSIX.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aaa6d09f6fa376926237f90168c2dbc22fcf2e39">aaa6d09f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T11:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: raw.search: Add setup_smb1_posix(). Call it on the second connection in test_one_file().

Not yet used.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/397cc7599b91cec10aa79570e29e9ced72a1690f">397cc759</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T11:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: Fix raw.search:test_one_file() by using the SMB1+POSIX connection for POSIX info levels.

Remove the following entry in knownfail.d/posix_infolevel_fails.

        ^samba3.raw.search.one\ file\ search.*

from knownfail.d/posix_infolevel_fails

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6453e5aac45a41b21c5cad989bad34caa47d7e53">6453e5aa</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T11:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: Fix unix.info2 test to actually negotiate SMB1+POSIX before using POSIX calls.

Cope with the minor difference in wildcard search return when
we're actually using SMB1+POSIX on the server (SMB1+POSIX treats
all directory search paths as wildcards).

Remove the following entries in knownfail.d/posix_infolevel_fails.

        samba3.unix.info2.info2\(nt4_dc_smb1\)
        samba3.unix.info2.info2\(ad_dc_smb1\)

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e7f2cfb5442f50c25c9a127dc1676360cab78b50">e7f2cfb5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T11:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: tests: Fix the samba3.blackbox.inherit_owner test to actually negotiate SMB1+POSIX before using POSIX calls.

Remove the following entry in knownfail.d/posix_infolevel_fails.

        samba3.blackbox.inherit_owner.*.NT1.*verify.*unix\ owner.*

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/89f284af616e63b4ebc8bf00aed289cc7faf372e">89f284af</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T11:14:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: tests: Fix the samba3.blackbox.acl_xattr test to actually negotiate SMB1+POSIX before using POSIX calls.

Remove the following entries in knownfail.d/posix_infolevel_fails.

    samba3.blackbox.acl_xattr.NT1.nt_affects_posix.*
    samba3.blackbox.acl_xattr.NT1.nt_affects_chown.*
    samba3.blackbox.acl_xattr.NT1.nt_affects_chgrp.*

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b5e7e7b65ae3251e128bbb41e7bbd0bfaeef4c7b">b5e7e7b6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-11T12:03:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbtorture3: Fix POSIX-BLOCKING-LOCK to actually negotiate SMB1+POSIX before using POSIX calls.

This must be done before doing POSIX calls on a connection.

Remove the final entry in knownfail.d/posix_infolevel_fails

    samba3.smbtorture_s3.plain.POSIX-BLOCKING-LOCK.smbtorture\(nt4_dc_smb1\)

And remove the file knownfail.d/posix_infolevel_fails itself.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Sat Dec 11 12:03:36 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1dc803048f8f0069079142245ec5ac4c11933bff">1dc80304</a></strong>
<div>
<span>by Bernd Kuhls</span>
<i>at 2021-12-13T16:22:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: Add signal.h include

Fixes build error with samba-4.15.3 and uClibc:

../../source3/printing/samba-bgqd.c: In function ‘main’:
../../source3/printing/samba-bgqd.c:340:21: error: ‘SIGPIPE’ undeclared (first use in this function); did you mean ‘EPIPE’?
../../source3/printing/samba-bgqd.c:384:14: error: ‘SIGTERM’ undeclared (first use in this function)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Dec 13 16:22:28 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62dab3921b335d47a0c9c419714d0e2ea2320f74">62dab392</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-15T00:15:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">configure: Check for __atomic_add_fetch() and __atomic_load()

To be used in the tdb_seqnum code soon

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b9f06ab3472352d064082a44f7d5077c8c13931c">b9f06ab3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-15T00:15:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Use atomic operations for tdb_[increment|get]_seqnum

With locking.tdb now based on g_lock.c code, we change locking.tdb a
lot more often. I have a customer case where LDX tortures smbd very
hard with 800+ concurrent connections, which now completely falls over
where 4.12 still worked fine. Some debugging showed a thundering herd
on fcntl locking.tdb index 48 (TDB_SEQNUM_OFS). We still use fcntl for
the seqnum, back when we converted the chainlocks to mutexes we did
not consider it to be a problem. Now it is, but all we need to do with
the SEQNUM is to increment it, so an __atomic_add_fetch() of one is
sufficient.

I've taken a look at the C11 standard atomics, but I could not figure
out how to use them properly, to me they seem more general to be
initialized first etc. All we need is a X86 "lock incl 48(%rax)" to be
emitted, and the gcc __atomic_add_fetch seems to do this.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5b526f4533bda42b51326c3b60fd771bc1cd88e7">5b526f45</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-15T01:03:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Raw performance torture to beat tdb_increment_seqnum

Running this on sn-devel-184 takes ~14 seconds with the atomic
ops. Without them I did not wait for it to finish. After reducing
NPROCS from 500 to 50 it still ran for more than a minute.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Dec 15 01:03:56 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f00eb8485f429e100d09ae2d529a7b8a1f6a6d34">f00eb848</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T03:41:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:mitkdc: Initilalize is_error with errno instead of EPERM(1)

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c69bfa0939df3a8f15c917d7f9b8336fb0fef655">c69bfa09</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T03:41:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:mitkdc: Use talloc_get_type_abort() in ks_get_context()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b46a942f95bb28bceb84a14d1125d7f69fdc3fe7">b46a942f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T03:41:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:mitkdc: Reset errno to 0 for com_err messages

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e95fb04c5dec9f0487010fb59b6ebf99effe873f">e95fb04c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T03:41:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:mitkdc: Add support for pac_attrs and requester_sid

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/731d9c42d0775d9b1a7475ad2efbe23c2439f6db">731d9c42</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T03:41:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:mitkdc: Pass NULL to ks_get_pac() as the client_key

This is unused with MIT KRB5 < 1.20 as this is probably not the right key.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3a3f7feac59feba08438831cb02564e9b80cdc59">3a3f7fea</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T03:41:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:mitkdc: Do not allocate the PAC buffer in samba_make_krb5_pac()

This will be allocated by the KDC in MIT KRB5 1.20 and newer.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/abbeb5c2175ad9574d75e852c101887d6e642cb4">abbeb5c2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T03:41:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:mitkdc: Call krb5_pac_init() in kdb_samba_db_sign_auth_data()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7dfcbc4e381080b3e3e1777134aecef5522d1f01">7dfcbc4e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-15T03:41:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add tests for PAC buffer alignment

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/31f3e815799a205f48bebae666deb327e1058674">31f3e815</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-15T03:41:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "s4/heimdal/lib/krb5/pac.c: Align PAC buffers to match Windows"

This alignment should be done on the Samba side instead.

This reverts commit 28a5a586c8e9cd155d676dcfcb81a2587ace99d1.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bba30095ca14dd947cb32a4403e351b0523304dd">bba30095</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-15T03:41:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: Pad UPN_DNS_INFO PAC buffer

Padding this buffer to a multiple of 8 bytes allows the PAC buffer
padding to match Windows.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/030afa6c01bfc0bfd20a204a5cc7c9d33032a1e7">030afa6c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-15T03:41:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Remove comments that are no longer relevant

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b23ae59ac4953d20ca4422b567a15227a17c545">3b23ae59</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-15T03:41:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Fix typo

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1eb91291b54b194d8312dac6dd605c793eabfd53">1eb91291</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-15T03:41:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Generate unique UPNs for enterprise tests

This helps to avoid problems with account creation on Windows due to UPN
uniqueness constraints.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/100be7eb8e70ba270a8e92957a5e47466160a901">100be7eb</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-15T03:41:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Correctly determine whether tickets are service tickets

Previously we expected tickets to contain a ticket checksum if the sname
was not the krbtgt. However, the ticket checksum should not be present
if we are performing an AS-REQ to our own account. Now we determine a
ticket is a service ticket only if the request is also a TGS-REQ.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f4eca775aa52cfe40a25ead90c560d76b286ad9">0f4eca77</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-15T04:33:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add tests for AS-REQ to self with FAST

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Dec 15 04:33:11 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8767f60a0a2db0bd9c0de2a36b9cef64efef6ada">8767f60a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-15T18:36:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In check_parent_exists() use utility function vfs_stat().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/89574ed33ba5b22c05e8f1911f663e4f7026a78f">89574ed3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-15T18:36:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In setup_close_full_information() use vfs_stat() helper function.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c94d919fd9c93f6d8987e2a0d6fa4ba066497d99">c94d919f</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-12-15T18:36:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In setup_close_full_information() the posix_open parameter is not needed anymore.

Signed-off-by: Noel Power <npower@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d8f09c1bf097087f287d39b660f135793b652d2d">d8f09c1b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-15T18:36:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In stat_cache_lookup(), use vfs_stat() utility function.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da2d61ba80d5b7cc87e52e373cdb2f2270b86c12">da2d61ba</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2021-12-15T18:36:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In stat_cache_lookup(), remove unused posix_paths param.

Signed-off-by: Noel Power <npower@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b0a41119f4ccebd8930cc79d6fe381ab4b363058">b0a41119</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-15T18:36:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In smbd_smb2_getinfo_send(), use vfs_stat() utility function.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/04a4cd2ada7557f0db5bd32e7459b146567d2240">04a4cd2a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-15T18:36:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In vfs_stat_smb_basename() use vfs_stat() helper function.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eb0e68d0e7a22f0cc2a53757d7daf87489406282">eb0e68d0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-15T18:36:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In parent_dirname_compatible_open(), use helper function vfs_stat().

This is a change in behavior, but the old behavior was incorrect.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8c0f34f05706f7e172c96f54e679d34962f67a2e">8c0f34f0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-15T18:36:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In call_trans2qfilepathinfo(), TRANSACT2_QFILEINFO case, use helper function vfs_stat().

This isn't a change in behavior, even though the
old comment says: "Always do lstat for UNIX calls".

A previous commit enforces POSIX pathname negotiation
before allowing UNIX info levels to be processed here,
so we can guarantee that SMB_FILENAME_POSIX_PATH is set
on smb_fname if we're allowing a UNIX info level.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/80e3f4e5ca66cff1d078a8020c7de918824bb75a">80e3f4e5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-15T18:36:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In call_trans2qfilepathinfo(), TRANSACT2_QPATHINFO on a named stream case, use helper function vfs_stat().

This isn't a change in behavior, even though the
old comment says: "Always do lstat for UNIX calls".

A previous commit enforces POSIX pathname negotiation
before allowing UNIX info levels to be processed here,
so we can guarantee that SMB_FILENAME_POSIX_PATH is set
on smb_fname if we're allowing a UNIX info level.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de88369c358abee3f6991a99c2b6e6f1e589ce52">de88369c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-15T18:36:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In call_trans2qfilepathinfo(), TRANSACT2_QPATHINFO, use helper function vfs_stat().

This isn't a change in behavior, even though the
old comment says: "Always do lstat for UNIX calls".

A previous commit enforces POSIX pathname negotiation
before allowing UNIX info levels to be processed here,
so we can guarantee that SMB_FILENAME_POSIX_PATH is set
on smb_fname if we're allowing a UNIX info level.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eabcaa2e5545abce9363b729a8128046e10a6191">eabcaa2e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-15T18:36:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: call_trans2setfilepathinfo(), TRANSACT2_SETFILEINFO case, use helper function vfs_stat().

This isn't a change in behavior, even though the
old comment says: "Always do lstat for UNIX calls".

A previous commit enforces POSIX pathname negotiation
before allowing UNIX info levels to be processed here,
so we can guarantee that SMB_FILENAME_POSIX_PATH is set
on smb_fname if we're allowing a UNIX info level.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d508dff634509eb9c3a69ef628f618eeeda34d9b">d508dff6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-15T18:36:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Inside call_trans2setfilepathinfo(), for the TRANSACT2_SETPATHINFO case, ensure we have a VALID_STAT return from filename_convert().

Remember, filename_convert() can return NT_STATUS_OK
with !VALID_STAT() if the last component doesn't exist,
as this may be an object create.

For call_trans2setfilepathinfo(), there are only 4 info levels
for the TRANSACT2_SETPATHINFO (pathname) case that don't require
an existing filesystem object (i.e. a VALID_STAT()) in the return
from filename_convert() as they can create an object in the
filesystem.

If we don't get a VALID_STAT() and the info level isn't one of
those 4, error out.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/834aa7bb0118ad3fab7cc2bb80d9be48f2e5b7e4">834aa7bb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-15T18:36:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Inside call_trans2setfilepathinfo(), for the TRANSACT2_SETPATHINFO case, we don't need to re-stat.

If we need a valid filesystem object, and we have a !VALID_STAT()
return from filename_convert(), the previous commit has already
errored out. We don't need a re-stat call here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6000d3408e303936eaccdc06d4e7f3087834ce13">6000d340</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-15T18:36:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In call_trans2qfilepathinfo(), we must have an existing object in the QPATHINFO case.

qpathinfo must operate on an existing file, so we
can exit early if filename_convert() returned the "new file"
NT_STATUS_OK, !VALID_STAT case.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c8c3c547646c2f91c63b5a195476d5bed88ae2a1">c8c3c547</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-15T19:26:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In call_trans2qfilepathinfo(), remove unneeded vfs_stat().

We know at this point that we have VALID_STAT(smb_fname->st).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Dec 15 19:26:50 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9bd0fbf5e8d2e4cf65d5d26311a8b510eef3eba5">9bd0fbf5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T19:32:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Fix memory leak in netapi examples

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8e1a74da3f5ba4850a6f4ad8b54ea2ac5703710">e8e1a74d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T19:32:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Do not close fd = -1 on fail in netapi example

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e25af2bc4f18e2c497c64e654b3059a1949c909e">e25af2bc</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T19:32:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Check return value of tdb_parse_record()

This makes covscan happy.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3397e04d7149f22604e6213e833190da7ce1a5ac">3397e04d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T19:32:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libnet: Initialize struct ODJ_POLICY_DNS_DOMAIN_INFO

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/90fd7674f81ca03485908ea483d6c9a5631a0179">90fd7674</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T19:32:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb:client: Initialize structs and pointers in ctdb_ctrl_(en|dis)able_node()

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/116123e9214cfc9a2c2c0f5ffe223f65ae03da05">116123e9</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T19:32:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dns_server: Remove less-than-zero comparison of an unsigned value

This will never be true. Found by covscan

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/092e11295a9cfaed1cc0b70a4d1e25a6a106826c">092e1129</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T19:32:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Remove dead code from sam_rids_to_names()

domain_name is never NULL in this case. Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/31b9208d8390d2cb6fc784ff3486cab27a187b98">31b9208d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T19:32:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:krb_wrap: Add missing error check in smb_krb5_salt_principal_str()

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4e9a58f376f60b16e88f0e34f35168fc3e260326">4e9a58f3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T19:32:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Initialize pid

Found by covscan

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eae4c54e2b15c0022010b75c3117edce39d6c204">eae4c54e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-15T20:22:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Fix using normalized name in sam_name_to_sid()

name is never read again, we want lsa_name to be set.

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Dec 15 20:22:47 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/20c85cc1da8d8c7f1932fbdd92128bb6dafad472">20c85cc1</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2021-12-16T03:05:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pam_winbind: add new pwd_change_prompt option (defaults to off).

This change disables the prompt for the change of an expired password by
default (using the PAM_RADIO_TYPE mechanism if present).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=8691

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Dec 16 03:05:30 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5fa7f73b14790f4c581fb2bd4d67cd5561e79b6a">5fa7f73b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2021-12-16T07:33:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In setup_close_full_information(), remove unneeded vfs_stat().

After openat_pathref_fsp() is successful we know we have a VALID_STAT().

It either returns NT_STATUS_OK or we look at the stat
struct for S_ISLNK so we know we have VALID_STAT().

If it's not successful we error out, so we don't need
another vfs_stat() here.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Dec 16 07:33:09 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/36325f1ee907d38c978229da67de3844f969cd33">36325f1e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-20T08:26:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:tests: Don't require an emtpy 'authorization-data' to be present

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>

Autobuild-User(master): Joseph Sutton <jsutton@samba.org>
Autobuild-Date(master): Mon Dec 20 08:26:45 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/00c2425c2c10c324868f0c5e7283da7714c009eb">00c2425c</a></strong>
<div>
<span>by Anoop C S</span>
<i>at 2021-12-20T10:14:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/rpc_server: Remove duplicate dependency listing for RPC_SERVICE

Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Mon Dec 20 10:14:53 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bd804e0eef85ed4e05f9a3b7afbd29b1ba4a5d97">bd804e0e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-20T16:10:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "python:tests: Don't require an emtpy 'authorization-data' to be present"

This reverts commit 36325f1ee907d38c978229da67de3844f969cd33.

This was not the latest version from:
https://gitlab.com/samba-team/samba/-/merge_requests/2304

The correct version follows...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2da538a4585bc8ead5fc4e4c4422b8fe638cb621">2da538a4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2021-12-20T17:01:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:tests: Don't require an emtpy 'authorization-data' to be present

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Dec 20 17:01:11 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b5f71e25d49cff27a7f9c48b60a1a0eb70adfeec">b5f71e25</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-24T02:16:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/common: add dsdb_dc_functional_level() helper

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2926cfb299c14a6d80c32059377833d41fd7a32a">2926cfb2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-24T02:16:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server/dnsserver: make use of dsdb_dc_functional_level()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/454e46c467fbba9814c03c7200c58efb269c326d">454e46c4</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-24T02:16:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netlogon.idl: Add flags for indicating directory service versions

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e0b47257d9f004e943da78dcb84f9a4a15552cef">e0b47257</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-24T02:16:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsgetdcname: Display new flags in debug output

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0e515b3309d0c3bbb63447fb712df2279f071551">0e515b33</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-24T02:16:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/netlogon: make use of dsdb_dc_functional_level() in fill_netlogon_samlogon_response()

[MS-ADTS] 6.3.3.2 "Domain Controller Response to an LDAP Ping" indicates
that the resulting flags depend on the server software (behavior)
and not the domain wide functional level.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/55948433135929488fa8370f826afdc02db1bf2a">55948433</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-24T02:16:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/netlogon: Indicate DC functional level support in samlogon response

The DS_SERVER_DS_8 flag is necessary for Windows to detect FAST support.

Note for know we only ever have DS_DOMAIN_FUNCTION_2008_R2 (4) in the
msDS-Behavior-Version attribute of our own NTDSA object. So
for now this is only for manual testing. In future we most likely
want to extend 'samba-tool domain level' to raise the dc level
manually or let 'samba' autoupgrade the value.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d9abd7fff58970725fa1375bf0ed210602e45d27">d9abd7ff</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2021-12-24T02:16:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server/netlogon: adjust the flags logic to MS-NRPC 3.5.4.3.1 DsrGetDcNameEx2

Note that this doesn't change the logic as we still reject
DS_DIRECTORY_SERVICE_{8,9,10}_REQUIRED via the initial DSGETDC_VALID_FLAGS
check. The may change that in future, but may need some tests for it.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9a68025ad391b148166c25b7dec06a7ce12fe4a6">9a68025a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-24T03:03:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server/netlogon: adjust the valid_flags based on dsdb_dc_functional_level()

This allows us to let DS_DIRECTORY_SERVICE_{8,9,10}_REQUIRED through
based on the manual changed msDS-Behavior-Version of our NTDSA object.

We still need to have tests depending on the msDS-Behavior-Version
value if the DSGETDC_VALID_FLAGS is really correct at all.
But for now this allows us to test krb5 FAST from Windows clients.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>

Autobuild-User(master): Joseph Sutton <jsutton@samba.org>
Autobuild-Date(master): Fri Dec 24 03:03:50 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/648b476dcdb6f378b627266cb787fd8f38fba56a">648b476d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-27T15:45:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/Samba3: enable SMB1 for maptoguest

guest authentication is an old school concept,
so we should make sure it also works with SMB1.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14935

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/59e436297b0a4baa01e4e8a4bbb9c0bc9d7e1f29">59e43629</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-27T15:45:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/libsmbclient: add libsmbclient.noanon_list test

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14935

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0a808f6b53f50f426bd706f5327f610bb9e5967d">0a808f6b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-27T15:45:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:selftest: run libsmbclient.noanon_list against maptoguest

This demonstrates the problem with guest access being rejected
by default.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14935

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d2bf015378c5bc630c92618e034c5eba95cc6b4">9d2bf015</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2021-12-27T16:38:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: fix signing regression SMBC_server_internal()

commit d0062d312cbbf80afd78143ca5c0be68f2d72b03 introduced
SMBC_ENCRYPTLEVEL_DEFAULT as default, but the logic to enforce
signing wasn't adjusted, so we required smb signing by default.

That broke guest authentication for libsmbclient using applications.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14935

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Dec 27 16:38:11 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5988607d7fa3f5f62cf7e0f9517b471c1db19aee">5988607d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-30T11:03:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix a fd leak when closing a print file

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/28e09580b05951d2c1f5a6c57a1287b51e034e35">28e09580</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-30T11:03:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pysmbd: Fix file descriptor leaks

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e6c8b38ecf1f040630a91a859d5f5bf528ceffbd">e6c8b38e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-30T11:03:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_commit: Reset fsp->fd->fd to -1 after SMB_VFS_CLOSE

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/529e6718c0944ce2e31ba5c72799bedd8569541c">529e6718</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-30T11:03:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Replace SMB_VFS_CLOSE() calls with fd_close()

fd_close() mostly wraps SMB_VFS_CLOSE() but also takes care of refcounting
fsp->fh properly and also makes sure that fsp->fh->fd is set to -1 after close.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/96b1070229545a7c7e223dddadb9e8503d7d8b6a">96b10702</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2021-12-30T11:54:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Assert we don't leak fd's in struct fd_handle

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Dec 30 11:54:17 UTC 2021 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/07cb2246cb36c70588ab19b2dd83d0a29851ae59">07cb2246</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-01T01:24:21+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Happy New Year 2022!

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Jan  1 01:24:21 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a03aa131554ef17801248a21722f2c8fb398ee44">a03aa131</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2022-01-04T19:58:24+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Remove stray reference to "ldap ssl ads"

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14462

"ldap ssl ads" has been deprecated and removed.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Isaac Boukris <iboukris@gmail.com>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan  4 19:58:24 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0ef1254f4428ab83ab6c8ca5e3415a1a9e069c92">0ef1254f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-04T20:07:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth/credentials: cli_credentials_set_ntlm_response() pass session_keys

Otherwise cli_credentials_get_ntlm_response() will return session keys
with a 0 length, which leads to errors in the NTLMSSP code.

This wasn't noticed as cli_credentials_set_ntlm_response() has no
callers yet, but that will change in the next commits.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14932

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e7e521fe9b947e553e2bf093e93f1d66ae9c95b9">e7e521fe</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-04T20:07:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/rpc: add test for invalid av_pair content in LogonSamLogonEx

A netapp diag tool uses a NTLMv2_CLIENT_CHALLENGE with invalid bytes
as av_pair blob. Which is supposed to be ignored by DCs.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14932

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f123c1a171e59113feb688523b499dab0b824528">f123c1a1</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-04T20:07:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/auth: let NTLMv2_RESPONSE_verify_netlogon_creds ignore BUFFER_TOO_SMALL

Windows doesn't complain about invalid av_pair blobs,
we need to do the same.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14932

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/23bedd69b2db0dd6de98ed147eddcba799694de7">23bedd69</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-04T20:07:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/auth: let NTLMv2_RESPONSE_verify_netlogon_creds ignore invalid netapp requests

We should avoid spamming the logs with wellknown messages like:
ndr_pull_error(Buffer Size Error): Pull bytes 39016

They just confuse admins (and developers).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14932

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e0b705d26f0b151ba52d1f9f5504f622fadf7d7c">e0b705d2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-04T20:07:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add smb2.session.ntlmssp_bug14932 test

This demonstrates that an invalid av_pair in NTLMv2_CLIENT_CHALLENGE
should result in NT_STATUS_INVALID_PARAMETER at the NTLMSSP layer.

This is different from the netr_LogonSamLogon*() case, where it is
ignored instead.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14932

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd9886100514941aa16af8566faf41501b601a44">dd988610</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-04T20:57:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth/ntlmssp: make sure we return INVALID_PARAMETER for NTLMv2_RESPONSE parsing errors

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14932

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan  4 20:57:41 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d0b61ecd74c2d564ca38a6e84c3c8dae81a1ddb7">d0b61ecd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Save a few lines by using cp_smb_filename_nostream()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ce8b395ec4bebb441fb568769cf6b91a94c1dd4">5ce8b395</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix a few typos

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6c64e698f036d2028c3273939c2ebbeb3c74485c">6c64e698</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Move fast_string_hash() to mangle_hash.c, the only user

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9a2f5a52e8c534ae9d70ceaa5ea697237480fab0">9a2f5a52</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove an unneeded anonymous struct declaration

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d60f583245a9847e791a42c25286f2200662fc8d">d60f5832</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Avoid some casts

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c7e36be5da5f09d03689c23e2a91d79a011e9204">c7e36be5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Avoid a cast

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/25aa7243fb238f910ba52fc084d94f3430811ead">25aa7243</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Remove some unused code

I think that if we want to work on asn1 routines we should use
libtasn1. We already depend on this via gnutls these days.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/22176770ad2257319dd0a8b9c265b42de1d06122">22176770</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Avoid a DEBUGADD statement

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f9f1fa0c26c065984d32426c1e55f88e7bcaced">0f9f1fa0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Inline make_internal_ncacn_conn() into rpc_worker.c

This was the only user, and as we have another custom version in
winbind with make_internal_ncacn_conn(), I think this is not really
required to keep around as a separate function.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2777fde6a1a7d6b6683712b08f21d156080e97e3">2777fde6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Inline make_base_pipes_struct() into rpc_worker.c

This is the only user, and in winbind_dual_ndr.c's
make_internal_ncacn_conn we have another creator of pipes_struct. So
it seems not necessary to keep this public.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5a0155fb51dff6ce9f874f29ca847aebf349108d">5a0155fb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove pipes_struct->local_address

Also available via dcesrv_connection_get_local_address(p->dce_call->conn)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/640f4403c65f3d07551127c1fe6ce8f9ed2b6785">640f4403</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove pipes_struct->remote_address

Also available via dcesrv_connection_get_remote_address(p->dce_call->conn)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cdc18db7e2b43a52da1b7f038be7ae4483f81d04">cdc18db7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Inline make_base_pipes_struct()

This did not even use all its arguments anymore.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/716727c020fefa8f5efe2e68814eb979e1bb5e22">716727c0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove pipes_struct->pipe_bound

Only used in pipe_access_check(), superseded by dcesrv_call_auth_info()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8379d8cd532be9540cd61332923b76197ddb1e2c">8379d8cd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove pipes_struct->session_info

This is a big patch, but all it does is replace all "p->session_info"
with "session_info" after introducing a local variable from
dcesrv_call_session_info(p->dce_call).

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0a7ecf1880a8d3191a142ed5d18d57fbe858f86c">0a7ecf18</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove pipes_struct->auth

Replace with a call to dcesrv_call_auth_info(p->dce_call)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0cae08f298856af10959a031794155946a4e778c">0cae08f2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: No linked list for pipes_struct anymore

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0eed31db6c327eaedc984ff5aab32afeea8a144a">0eed31db</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Don't transfer a pointer that's NULL anyway

ncacn_conn was created by make_internal_ncacn_conn with talloc_zero(),
and that does not set session_info for the purely one-shot connection
state in winbindd_dual_ndrcmd().

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d92880fbf42e77a4193c7ff5ab2a22a0a65a79c">7d92880f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: dcerpc_ncacn_conn->ev_ctx was only set but never used

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/909e309414fcc6926f8b574ac8247f837befb32a">909e3094</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove dcerpc_ncacn_conn->msg_ctx

This was only used inside rpc_worker_new_client(), a leftover from
times where accepting a client was an async process waiting for the
struct named_pipe_auth_req_info4.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0d315ddbfe919898d75284c9aefce5ed56cf6ca8">0d315ddb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove dcerpc_ncacn_conn->dce_ctx

This was only used inside rpc_worker_new_client(), a leftover from
times where accepting a client was an async process waiting for the
struct named_pipe_auth_req_info4.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7c5b247e31484862edd394072e25c7154b890d8b">7c5b247e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove dcerpc_ncacn_conn->tstream

This was only used inside rpc_worker_new_client(), a leftover from
times where accepting a client was an async process waiting for the
struct named_pipe_auth_req_info4.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/10478d39a1c028a79991a91984243f8d9d063045">10478d39</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove dcerpc_ncacn_conn->remote_client_addr

This was only used inside rpc_worker_new_client(), a leftover from
times where accepting a client was an async process waiting for the
struct named_pipe_auth_req_info4.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/79024fa681f3d64d21db80abc23ef6b8c238750a">79024fa6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove dcerpc_ncacn_conn->local_server_addr

This was only used inside rpc_worker_new_client(), a leftover from
times where accepting a client was an async process waiting for the
struct named_pipe_auth_req_info4.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/55cdb61269f828be13186060b35c9be742a22fa0">55cdb612</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Remove dcerpc_ncacn_conn->session_info

This was only used inside rpc_worker_new_client(), a leftover from
times where accepting a client was an async process waiting for the
struct named_pipe_auth_req_info4.

The talloc hierarchy is correctly maintained, dcesrv_endpoint_connect() takes a
talloc_reference() of session_info.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bad374ae66d795f971153c5561067b26c45e1c7b">bad374ae</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Inline pipes_struct into dcerpc_ncacn_conn

This makes it clear that our internal representation of a rpc client
connection in the source3/ server is struct dcerpc_ncacn_conn and that
struct pipes_struct is only around for API compatibility with the
existing server stubs.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0970822699804dad44dba02513f47d875cf54d8d">09708226</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Inline single-use rpcint_binding_handle_ex()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aa377c7fd788585ac359c2a61066b7ffe90d8883">aa377c7f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Modernize a DEBUG statement

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/621ceafe7f1ff1148b8ca3249a25f57c62a17c97">621ceafe</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T00:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: Modernize a DEBUG statement

Fix the function name printed

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/42cf3f4f0079549b99d6cdecdc741654ff7844d6">42cf3f4f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-05T01:02:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jan  5 01:02:38 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0d9d1546a7bad6e0fac58e146a75e4eb1ce78c11">0d9d1546</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-06T10:57:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: selftest: Add two tests that show we try and send an SMB1 request over an SMB2 connection to list servers if "-mSMB3" is selected.

Add knownfail: knownfail.d/list_servers

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14939

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/099c62a654da2623653218c771dd8fabdc7cc091">099c62a6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-06T11:50:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbclient: In do_host_query(), if we need SMB1, ensure we select NT1 as the client max protocol" before continuing.

Remove knownfail: selftest/knownfail.d/list_servers

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14939

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Thu Jan  6 11:50:32 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9a0212800cbc51e51e069334f1d5f3aa0e239086">9a021280</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-06T15:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add "enum brl_flavour" to struct smbd_lock_element.

Initialized correctly but not yet used.
Will allow 'brl_flavour' to be removed from lock calls.
This will allow SMB2 POSIX handles to call with POSIX_LOCK
flavour instead of always using WINDOWS_LOCK (as now).

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/85e131b54ba91f349316d9d637b4344d1a642bc5">85e131b5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-06T15:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Move implicit call to lp_posix_cifsu_locktype() out of init_strict_lock_struct().

Make it explicit. When we add POSIX handles to SMB2 we will only
look at the handle type. lp_posix_cifsu_locktype() already does this,
but hidden inside init_strict_lock_struct() makes it hard to see.

No logic change.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4a567652422f8fcf507fa8e5ec7300d7014268a0">4a567652</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-06T15:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove lock_flav parameter from smbd_do_locks_try().

This is now contained in the struct smbd_lock_element for
each lock.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c1d5993489472ac857f83729c901004f26866d6f">c1d59934</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-06T15:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: In smbd_smb1_do_locks_send() move access of lock_flav until after we know we have locks in the array.

When we remove the lock_flav parameter this will need to look into the array itself.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b03e0da5288667933d69b8a162534cdec8bc9b25">b03e0da5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-06T15:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove lock_flav argument from smbd_smb1_do_locks_send().

And also inside struct smbd_smb1_do_locks_state.
All calls to this always (a) have one or more locks of the same type.
(the setup for smbd_smb1_do_locks_send() ensures there is always
at least one lock) and (b) always set locks[0].lock_flav correctly before calling.

lock_flav is thus a redundent argument. Removing it means
we can never drift out of sync with the lock_flav element
in the passed in locks array.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8ec30dade11c85b6f6b55a3ab564167f79ba3b0f">8ec30dad</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-06T15:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove lock_flav argument from internal function smbd_smb1_do_locks_check()

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/07c74582c0f9fd74d00a667879787cdde1de3fb3">07c74582</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-06T15:11:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove lock_flav argument from smbd_smb1_brl_finish_by_lock().

We lookup the lock array from the state stored in the passed-in req
and all the locks in an array are always the same flavour, so this
isn't needed.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea9dc21a2308b9d8ad51d3205327e9e91ade9d84">ea9dc21a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-06T16:03:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Remove now redundent lock_flav parameter from smbd_do_unlocking().

We already stored this in struct smbd_lock_element.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Thu Jan  6 16:03:28 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/30fea0d31117c1a899cd333a9b8a62ba765dbb02">30fea0d3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-08T05:43:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Add 2 tests for unique fileid's with top bit set (generated from itime) for files and directories.

smb2.fileid_unique.fileid_unique
smb2.fileid_unique.fileid_unique-dir

Create 100 files or directories as fast as we can
against a "normal" share, then read info on them
and ensure (a) top bit is set (generated from itime)
and (b) uniqueness across all generated objects
(checks poor timestamp resolution doesn't create
duplicate fileids).

This shows that even on ext4, this is enough to
cause duplicate fileids to be returned.

Add knownfail.d/fileid-unique

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14928

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/29d69c22a0d945193ce3dac27e1083dbc5c53f03">29d69c22</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-08T05:43:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: util: Add a function nt_time_to_unix_timespec_raw().

Not yet used. Does no checks on the converted values.

A later cleanup will allow us to move nt_time_to_unix_timespec()
and nt_time_to_full_timespec() to use common code.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14928

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/23fbf0bad0332a0ae0d4dc3c8f6df6e7ec46b88b">23fbf0ba</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-08T06:35:22+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Create and use a common function for generating a fileid - create_clock_itime().

This first gets the clock_gettime_mono() value, converts to an NTTIME (as
this is what is stored in the dos attribute EA), then mixes in 8 bits of
randomness shifted up by 55 bits to cope with poor resolution clocks to
avoid duplicate inodes.

Using 8 bits of randomness on top of an NTTIME gives us around 114
years headroom. We can now guarentee returning a itime-based
fileid in a normal share (storing dos attributes in an EA).

Remove knownfail.d/fileid-unique

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14928

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Jan  8 06:35:22 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/03734be1d62b8860a6ccaae3801d89b7129729df">03734be1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-10T10:59:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test: Test rpcclient ncacn_ip_tcp:<ip-address>

Right now connecting to an IP address is broken.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b5e56a30dfd33e89cfb602b1e7480e210434d600">b5e56a30</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-10T11:47:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: Fix ncacn_ip_tcp:<ip-address>

inet_pton expects "struct in_addr" or "struct in6_addr" as destination
pointer. It does not fill in a struct
sockaddr_storage. interpret_string_addr() takes care of this.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Jan 10 11:47:34 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/920611f0bc98229ac4a5ee127af7f99216075341">920611f0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-10T17:49:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: In create_clock_itime(), use timespec_current() -> clock_gettime(CLOCK_REALTIME..).

CLOCK_MONOTONIC (which we previously used) is reset
when the system is rebooted.

CLOCK_REALTIME is a "wall clock" time. It's still affected by NTP
changes (for Linux we should probably use CLOCK_TAI instead
but that is Linux-specific). For most systems CLOCK_REALTIME
will be good enough.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/745af26a1a6531b2e906aa7c1c0355cbab658441">745af26a</a></strong>
<div>
<span>by Jones Syue</span>
<i>at 2022-01-10T18:42:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: includes: Make the comments describing itime consistent. Always use "invented" time.

It gets confusing if we call it "imaginary" or "instantiation"
in different places.

Signed-off-by: Jones Syue <jonessyue@qnap.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Jan 10 18:42:02 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/41ebb7f68c5b21492f503afc4cb341a97654a43d">41ebb7f6</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-10T23:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules: VFS CAP symlinkat always fails

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14941

Found by covscan.

Since capnew is initialized by NULL, checking it too early makes the
rest of the function a dead code.

Pair-programmed-with: Andreas Schneider <asn@samba.org>

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d7ed39fd8fa18f90756f215c8b0fc5d293e955e">4d7ed39f</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-10T23:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules: Fix the horrible vfs_crossrename module

It really has to be removed! ;-)

Found by covscan. The code always leaves here as the dst variable

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14940

Pair-programmed-with: Andreas Schneider <asn@samba.org>

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/728600a40f939de3172bbe429e17ea65ff21699a">728600a4</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-10T23:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Fix trailing whitespaces in dosmode.c

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/46460025175e83fbb47a510e412d83b1b2573db9">46460025</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-10T23:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Fix dereferencing null pointer "fsp"

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14942

Remove fsp which is always NULL and replace it with smb_fname->fsp.

Found by covscan.

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/41c86c9dda3fd7a733f54fa1af31adec96bb4a33">41c86c9d</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-10T23:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server: Fix possible NULL dereference

Found by covscan.

Pair-Programmed-With: Andreas Schneider <asn@samba.org>

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ac8762256830f1c7e48dcc9684802f00fc3b5c2">5ac87622</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-10T23:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb:utils: Improve error handling of hex_decode()

This has been found by covscan and make analyzers happy.

Pair-programmed-with: Andreas Schneider <asn@samba.org>

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/82f53c82ed6ec4818bb1e2220e25e76fee7cb23e">82f53c82</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-10T23:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libnet: Fix dead code in libnet_join.c

Found by covscan.

Pair-programmed-with: Andreas Schneider <asn@samba.org>

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e649846348ad6ce451b32ab534ac0030ccc7c0f">2e649846</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-10T23:31:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libnet: Fix dereference of NULL win7

Found by covscan.

Pair-Programmed-With: Andreas Schneider <asn@samba.org>

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cebf26d0624489db3cbf5e31e97c4a92771758f0">cebf26d0</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-11T00:22:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules: Fix possible dereference of NULL for fio

We do not check consistently for fio being NULL in this file.

Found by covescan.

Pair-Programmed-With: Andreas Schneider <asn@samba.org>

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan 11 00:22:09 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/545442ec0cab9ed06b1fa2be125ca36296597048">545442ec</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-11T00:45:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: util: Make nt_time_to_unix_timespec() call nt_time_to_unix_timespec_raw() for the conversion.

Cleanup to eliminate duplicate code.

The low/high checks are now done against ret.tv_sec,
not 'd', as after calling nt_time_to_unix_timespec_raw()
this is identical to the previous intermediate 'd'
variable.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c7488bf9e39ee4560061bf90a42c60c9590f7ff2">c7488bf9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-11T01:36:51+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: util: Make nt_time_to_full_timespec() call nt_time_to_unix_timespec_raw() for the conversion.

Cleanup to eliminate duplicate code.

The high check is now done against ret.tv_sec,
not 'd', as after calling nt_time_to_unix_timespec_raw()
this is identical to the previous intermediate 'd'
variable.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan 11 01:36:51 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4a0a0d2fc9555dc8ff7692607b1d51189785bd47">4a0a0d2f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-11T21:13:37+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/rpc: test how CSDVersion="" wipes operatingSystemServicePack

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14936

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1243f52f7ae58de1005c431e20563f2f1902dfce">1243f52f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-11T22:03:03+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server/netlogon: let CSDVersion="" wipe operatingSystemServicePack

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14936

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan 11 22:03:03 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e16d29f719f8268b244cf7c6b20ade5d829669aa">e16d29f7</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-12T02:20:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/schema/tests: let samba4.local.dsdb.syntax call the validate_dn() hook

This demonstrates that our OR-Name syntax is wrong,
which wasn't noticed yet as it's not used in the AD-Schema.

I noticed it by installing the Exchange-Schema on a Samba DC.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8115fb03b6ade8d99c8acd459fc94dab5413a211">8115fb03</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-12T02:20:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/schema: fix Object(OR-Name) syntax definition

This is a strange one, it uses DN_BINARY in the drsuapi
representation, while the binary part must be 0 bytes.
and the LDAP/ldb representation is a plain DN (without 'B:').

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/15f332a1c0340b808730427e482e374c96e2cd20">15f332a1</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-12T02:20:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/common: dsdb_dn_construct_internal() more strict checking

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8026efd647957bdb63e2ba98ea736ccaf3a71f4c">8026efd6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-12T02:20:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/schema: add no memory checks for {ldb,dsdb}_dn_get_extended_linearized()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8c0391d38e53a356aabc6e2c9fdf747a1f1f16d5">8c0391d3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-12T03:09:52+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/schema: let dsdb_syntax_DN_BINARY_drsuapi_to_ldb return WERR_DS_INVALID_ATTRIBUTE_SYNTAX

When Object(OR-Name) uses dsdb_syntax_DN_BINARY_drsuapi_to_ldb() it
should genrate WERR_DS_INVALID_ATTRIBUTE_SYNTAX if the binary part
is not empty.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jan 12 03:09:52 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/baaedd69b3e02cdef06353bd5a21a5c5e6079604">baaedd69</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-13T16:13:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: rindex->strrchr

According to "man rindex" on debian bullseye rindex() was deprecated
in Posix.1-2001 and removed from Posix.1-2008.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/820b0a63ccaceb4d66b18e3bcd585400a0b99ed2">820b0a63</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-13T16:13:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Save 50 bytes .text segment

Having this as a small static .text is simpler than having to create
this on the stack.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/224e99804efef960ef4ce2ff2f4f6dced1e74146">224e9980</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-13T16:13:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Allow rfc5952 "[2001:db8::1]:80" ipv6 notation

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14934
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/255fe69c90fb0d437d26ce0a6966841b3663aa05">255fe69c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-13T16:13:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Add extra IPv6 socket parsing tests

Add tests to confirm that square brackets are handled and that
IPv4-mapped IPv6 addresses are parsed as expected.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7163846a49165cc3d70b2b20909af2ed19778e7a">7163846a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-13T17:02:21+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Print IPv6 sockets with RFC5952 "[2001:db8::1]:80" notation

RFC5952 says the existing style is not recommended and the [] style
should be employed.

There are more optimised ways of adding the square brackets but they
tend to be uglier.

Parsing IPv6 sockets without [] is now tested indirectly by parsing
examples in both styles and comparing the results.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Signed-off-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Jan 13 17:02:21 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f9dbf3decd17129f360cbe14383cc79e20fb70b">5f9dbf3d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-14T03:34:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add missing pop_sec_ctx() in error code path of close_directory()

If delete_all_streams() fails.

Found by Andrew Walker <awalker@ixsystems.com>

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14944

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jan 14 03:34:47 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/666a048707436a8ba3b9a9cb297a4fd504fa1e54">666a0487</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T03:43:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Switch initial debug type to DEBUG_DEFAULT_STDERR

This can be overridden by DEBUG_FILE, whereas DEBUG_STDERR can not.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/10d15c9e5dfe4e8595d0b322c96f474fc7078f46">10d15c9e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T03:43:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Use Samba's DEBUG_FILE logging

This has support for log rotation (or re-opening).

The log format is updated to use an RFC5424 timestamp and to include a
hostname.  The addition of the hostname allows trivial merging of log
files from multiple cluster nodes.

The hostname is faked from the CTDB_BASE environment variable during
testing, as per the comment in the code.  It is currently faked in a
similar manner in local_daemons.sh when printing logs, so drop this.

Unit tests need updating because stderr logging no longer produces a
"PROGNAME[PID]: " header.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d0a19778cdbd04f8b6fca43199d7b12e1d4933b7">d0a19778</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T03:43:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Separate sock_daemon's SIGHUP and SIGUSR1 handling

SIGHUP is for reopening logs, SIGUSR1 is for reconfigure.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/72773853901832e4728e42588570d69c93976ce1">72773853</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T03:43:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Add support for reopening logs

Now that CTDB uses Samba's file logging it is possible to reopen the
logs, so that log rotation can be supported.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4ed37de82b1be4732f6e5936e149aae718855513">4ed37de8</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T03:43:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Add basic top-level log reopening

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4acfefed61f2c9e069963ac76b2001469a694461">4acfefed</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T03:43:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Add basic log reopening

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c554a325fe81aab90f4816600849f6c4f901b2f9">c554a325</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T03:43:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Enable log reopening for recovery daemon

Pass on a SIGHUP to the recovery daemon, which will then reopen its
logs.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f14d7c0b9bf1f122a1e9f92c1b8bdc57c4c9e68">4f14d7c0</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T03:43:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-event: Reopen logs on SIGHUP

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/51f0380e83c93702a08e29c230bb8d87d472b616">51f0380e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T03:43:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Enable log reopening for event daemon

Add and call hook to pass on SIGHUP to eventd.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/97a45f6f25f34fff97a9be7ba2b346a4e8b93218">97a45f6f</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T03:43:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Add log reopening on SIGHUP to helpers

Recovery and takeover helpers can run for a while and generate
non-trivial logs.  They should support log reopening.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8e949a60828bae47a3636f051dcc86387b5fce23">8e949a60</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T03:43:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Record helper PID in recovery daemon context

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/57a32cebdd834e24e69f524f8ffaa980472cde33">57a32ceb</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T04:36:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Pass SIGHUP to running helper

The recovery and takeover helpers can run for a while and generate
non-trivial logs, so have them reopen their logs to support log
rotation.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Mon Jan 17 04:36:30 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c8721d01c6547f33f51b8e26b3e1f4370ec1ecc6">c8721d01</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Factor out and use function this_node_is_leader()

Make the code self-documenting.

This preempts an upcoming change to terminology but doing it now saves
a lot of churn.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff0140e470016a7a2b5365c06f4d912e7a7c8af8">ff0140e4</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Use this_node_is_leader() in an extra context

This is arguably clearer.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9dbe7cc85e41ce4f9163d8298ba9fb20052db894">9dbe7cc8</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Add PNN to recovery daemon context

This is currently referenced in a number of inconsistent
ways, including:

* pnn
* rec->ctdb->pnn
* ctdb->pnn
* ctdb_get_pnn(ctdb)
* ctdb_get_pnn(rec->ctdb)

The first of these always requires some thought about the context - is
this the node PNN or some other PNN (e.g. argument to function)?

The intention is to always use rec->pnn when referring to the recovery
daemon's PNN.

Doing this also reduces reliance on struct ctdb_context internals.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/57882beb16a89d5e4081d0645549891a04ab5fb0">57882beb</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Simplify arguments to some election functions

The pnn and nodemap arguments to force_election() and
send_election_request() are always effectively rec->pnn and
rec->nodemap, so simplify.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/67b51916408831f13ca05a6c395f01824288fe8d">67b51916</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Simplify arguments to do_recovery()

pnn and nodemap are both available via the rec context, so simplify.
vnnmap is unused.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a5e0ddac626bc90c859949c977657cdf1fa110ac">a5e0ddac</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Simplify arguments to verify_local_ip_allocation()

All other arguments are available via rec, so simplify.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b7c138ca99a4a839b9c30e59dff40fd2b95e13ec">b7c138ca</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Simplify arguments to ctdb_ban_node()

ban_time argument is always ctdb->tunable.recovery_ban_period, so
build this in and make the calling code more readable.

ctdb_ban_node() already logs how long a node is banned for, so don't
repeatedly log this.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4af3b10a378ea614f926c23570ec91334e2c6408">4af3b10a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Change argument to srvid_disable_and_reply()

Reduce dependency on struct ctdb_context internals, enable a
subsequent change.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2ee6763c7d9a8e347c0a98f918ad39f62222df31">2ee6763c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Use rec->pnn everywhere

This is currently referenced in a number of inconsistent
ways, including:

* pnn
* rec->ctdb->pnn
* ctdb->pnn
* ctdb_get_pnn(ctdb)
* ctdb_get_pnn(rec->ctdb)

The first of these always requires some thought about the context - is
this the node PNN or some other PNN (e.g. argument to function)?

rec->pnn is now always used when referring to the recovery daemon's
PNN.

Doing this also reduces reliance on struct ctdb_context internals.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd79e9bd14dd61fc60dfaac5c9065d465336714c">dd79e9bd</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Rename recmaster field to leader

Recovery master is being renamed to leader.  This follows clustering
best practice (e.g. RAFT).

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/94b546c268ee5fb4505c6febe4bce05f1d75e7cd">94b546c2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Logging/comments: recovery master -> leader

There are some remaining instances in this file but they will be
removed in subsequent commits.

Modernise debug macros as appropriate.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7baadfe27eda40560753fb4a61e053ea357fd2d2">7baadfe2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Add and use function this_node_can_be_leader()

This makes the code self-documenting.

In ctdb_election_data() there is a slight behaviour change.  An
inactive node will now try to lose an election.  This case should not happen
because:

* An inactive node can't win an election round and then send a reply.

* Any inactive node should never start an election.  There are
  currently places where this happens and they will be fixed later.

There is an instance where this could be used in
validate_recovery_master() but this involves a more serious logic
change.  Overhaul this function later.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac5a3ca063fd7435557a65866fda5fa1e0012394">ac5a3ca0</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Only start election if node can be leader

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c2cfd9c21aae6045b4ebf3ba330cbf2b9631490e">c2cfd9c2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Add an explicit flag for election in progress

An alternate election method will be added that doesn't use the
election timeout, so this provides a common way for recognising when
an election is in progress.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3d3767a259b29674882c102fe629cff1eb1a702c">3d3767a2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Add CTDB_SRVID_LEADER

CTDB_SRVID_LEADER will be regularly broadcast to all connected nodes
by the leader.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/789a75abfa2af0af39616c69575882e5db2b6f07">789a75ab</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Process leader broadcasts

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5c7f6da0f0e6c92ae4cd338b92f475bb4a8e2cc9">5c7f6da0</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Send leader broadcasts

These are triggered on 1 second timer, but are only sent if the node
is the current leader and there is no election underway.

If this node can not be the leader then ensure it releases the
recovery lock.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef4b8c13c0762fc5072627ee0211b3bf506f2d73">ef4b8c13</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Handle leader broadcast timeout

If no leader broadcasts have been received from the leader for more
than 5s then trigger an election.

Apart from being sane behaviour, this avoids elected-before-connected
bugs at startup, where a node elects itself leader before it is
connected to other nodes.

When a node processes a leader broadcast timeout it sends an unknown
leader broadcast to all nodes.  That causes cancellation of the leader
broadcast timeout across the cluster.  This is particular important at
startup, since nodes may be started in a staggered fashion.  Without
this cluster-wide cancellation, a node might notice the lack of
leader, win an election and complete a recovery before other nodes
notice the lack of leader.  When the leader broadcast timeout finally
occurs on the other nodes then they'll put the cluster back into an
unnecessary recovery.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7e53fab0a364426a03932974727c386e750716be">7e53fab0</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Drop special case for elected-before-connected

This no longer occurs at startup due to the leader broadcast timeout.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b029ca4d513163c4b0146c2a303130ae2a2581b4">b029ca4d</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Drop leader validation

The introduction of the leader broadcast timeout provides an
alternative to the current leader validation.  Using the leader
broadcast may not be as fast but it is more correct.

When the leader node is stopped or banned, the only way of triggering
an election is currently to fetch the leader's node map to check
whether the it is still active.  This is because the leader will no
longer push the node map to other nodes.  However, having all nodes
fetch the node map from an inactive leader may be unreliable.

Most of the other cases are also handled more reliably by the leader
broadcast timeout.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef7e3265f76fbfdacdd9f17f3ddfca79ce823b60">ef7e3265</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Setup cluster with expected arguments

ctdb_test_init() doesn't actually pass arguments to local_daemons.sh.
This needs to be done using ctdb_nodes_start_custom().

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/037abf862069694acd849760175be9943a6fcd3e">037abf86</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Avoid a race

See the comment in the code for details.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/011e880002b8d2bc783f96e8ea5713322fcc2a93">011e8800</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Factor out function cluster_lock_take()

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0f2250f4f9f4efbf73e887538969c395c57e57be">0f2250f4</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Take cluster lock when election completes

It is no longer just a recovery lock but is always held by the cluster
leader.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ee664ee17fa4d2fbdea2be3f4c0b1fd8f8971b1">5ee664ee</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Terminology change: recovery lock -> cluster lock

No functional changes, just name changes for clarity.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/36ffaaa691c63896b7b92628b147b7a564421311">36ffaaa6</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Add and use function cluster_lock_enabled()

Now all references to ctdb->recovery_lock are encapsulated in the
cluster lock code.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/358c59f51ab39175ffe72afdfc4c2e0ed23b5929">358c59f5</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: No longer take cluster lock during recovery

Confirm instead that it is already held.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/958746f947dcd499b0fe9afee21e436912739284">958746f9</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Simplify some stopped/banned checks to inactive checks

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/756dfdfed9fe7d6acf2cf894d9918c8ac489571e">756dfdfe</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Implement srvid_handler for dispatching messages

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4786982cc80f4ec0c23673a144ac179fa60bde78">4786982c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Add leader broadcasts to fake_ctdbd

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/403db5b52882c91f35ae189bcf8f01f8180c7b50">403db5b5</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Factor out getting leader and waiting for leader change

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/01a8d1a4a400a3bacbe334ef0f379c03d64633d5">01a8d1a4</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-client: Factor out function ctdb_client_wait_func_timeout()

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ec90f36cc6185fc6ed13164fb13ec3630aff68ad">ec90f36c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Print "UNKNOWN" when leader PNN is unknown

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17ba15ccd88367dca82b0c4c8e4ff3f859896d87">17ba15cc</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Handle leader broadcasts in ctdb tool

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/92fb68e9b8a5481d9dd5c9033c98e204035509fe">92fb68e9</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Factor out get_leader()

This seems pointless but it localises a subsequent change and also
starts a terminology change in the tool code.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e60581d5b5ecbac2b4bae49fbf60e071372fc2d3">e60581d5</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Use leader broadcast in get_leader()

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f02e097485722badf27523c706adb99f21342f56">f02e0974</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: recovery master -> leader

The following command names are changed:

  recmaster -> leader
  setrecmasterrole -> setleaderrole

Command output changed for the following commands:

  status
  getcapabilities

Documentation and tests are updated to reflect these changes.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/58d7fcdf7c9568a3a4b9d8e5db8b68f073409ab1">58d7fcdf</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Drop recovery master verification

This doesn't make sense if leader broadcasts are used.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c68267b2a60559755835c4d56b5ba7c766155489">c68267b2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Drop calls to ctdb_ctrl_setrecmaster()

Nothing fetches this value anymore.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/16efbca0036ee444aecfa0a992ff733bb182b2c7">16efbca0</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Drop unused old client recmaster functions

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cda673ff6dc6e33e947022305859f004197a803a">cda673ff</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-client: Drop unused recmaster functions

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/193b624d26acffaa39a5fc393268f152b5809f99">193b624d</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Drop protocol client functions for recmaster controls

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a76374070d38e2dc86067ce413bb26b8e554c0b2">a7637407</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Drop implementation of {GET,SET}_RECMASTER controls

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/03ae158cffc3812f82365c65f8333768539f854d">03ae158c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Drop marshalling for {GET,SET}_RECMASTER controls

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/938d64c8ff3d1776c2d5959714c4c11eba7278c4">938d64c8</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Mark {GET,SET}_RECMASTER controls obsolete

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/73555e8248aff683b6cb3a02262a66ab52f2c665">73555e82</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Use race for cluster lock as election when lock is enabled

If the cluster is partitioned then nodes in one partition can not take
the lock anyway, so election is pointless.  It just introduces
unnecessary corner cases.

Instead just race for the lock.

When a node notices a lack of leader and notifies other nodes of an
election via an unknown leader broadcast, the cluster lock election is
hooked into this broadcast.

The test needs to be updated because losing the cluster lock can now
result in a leadership change.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d752a92e1153fa355b0cbaa1f482fdc0d88e42f5">d752a92e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-doc: Update documentation for leader and cluster lock

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f5a39058f0743f5607df91cb698a2b15618e1360">f5a39058</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-config: [cluster] recovery lock -> [cluster] cluster lock

Retain "recovery lock" and mark as deprecated for backward
compatibility.

Some documentation is still inconsistent.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1dfb266038f6fdf971bb0ffe0726f778b986371d">1dfb2660</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-config: [legacy] recmaster capability -> [cluster] leader capability

Rename this configuration item and move it into the [cluster]
configuration section.

Update documentation to match.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/34d2ca0ae6471c8d742b22aa4c57012232a2a832">34d2ca0a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-config: Add configuration option [cluster] leader timeout

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5d317781498a69c94b47ce47b60438e6cb520f96">5d317781</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Support commenting out local daemons configuration options

Can be used to disable default options, such as cluster lock.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/01313ea243e4d52ea558ca4c53b6f4a1f07341e7">01313ea2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Improve test coverage for leader role yield and elections

Rename test, clean up node selection.  Duplicate for for banning and
removing leader capability cases.  Repeat all 3 tests without cluster
lock.

All of the standard election triggers are now tested, with and without
cluster lock.  Due to test cluster configuration limitations, the
tests without cluster lock are skipped on a real cluster.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a940ad9370687c97d1ccb0f934842b69c1d44c76">a940ad93</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-doc: Update example configuration migration script

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f7de2132bb999780331e5b005946ba5b494063c1">f7de2132</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T10:21:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-doc: Remove documentation for recovery process

This is many years out of date and recent changes make it worse.  It
is unlikely that anyone has the time to fix this in the near future,
so remove it because it is misleading.

Database recovery steps are well documented in comments in the
recovery helper.  Cluster monitoring documentation can be re-added
when things stop changing.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com></pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/da2e1047f1fc9f0ac98490c79c21c427b47274d5">da2e1047</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-01-17T11:16:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Document CTDB leader and cluster lock changes

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Mon Jan 17 11:16:14 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6a463c40d755b75b02884f123c19cc2c2845d729">6a463c40</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-01-17T12:23:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: handle --build-options without parsing smb.conf

The smb.conf is parsed in post mode of a popt callback. The smbd
--build-options parameter should be handled when first encountered
to avoid requiring smb.conf presence.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14945

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7a8c6c362e0151bc1bbd9cca8e2bfb03ba8320de">7a8c6c36</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2022-01-17T12:23:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: reduce fp.write calls for build_options.c generation

build_options.c is inefficient in multiple ways:
1) it's generated via one python fp.write() call per line
2) the generated code calls output() for each and every build option

This commit reduces fp.write() calls for (1). I observe no change in the
generated build_options.c .

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/493fe1a4315a8da3403b18233cbcbdc4e43fb4ee">493fe1a4</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2022-01-17T13:17:53+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: reduce printf() calls in generated build_options.c

build_options.c is inefficient in multiple ways:
1) it's generated via one python fp.write() call per line
2) the generated code calls output() for each and every build option

This commit addresses (2), modifying write_build_options_header() and
write_build_options_footer(). write_build_options_section() could also
be collapsed into a single output() call, but this may lead to oversize
string literals, so has been left as is.

I observe no change in smbd --build-options output.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Mon Jan 17 13:17:53 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b26c714d42fc5e4ab7d4138db987171edda6463">3b26c714</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-17T20:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Make etype list variables static

If they are not made static, these variables end up being used by the
Kerberos libraries after they have gone out of scope.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/492d9f083dc23aff2c1fa12e21765861df1c1b38">492d9f08</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-17T20:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Remove netbios realm and lowercase realm tests

Tests for these are already present in
samba.tests.krb5.as_canonicalization_tests. These tests cause problems
with an upgraded Heimdal version, and we want to stop supporting
non-canonical realm names, so this commit removes them.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a107bb8b0d424bb1f8ee6df34e8f8e81dd499333">a107bb8b</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-17T20:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Generate unique UPNs for AS-REQ enterprise tests

This helps to avoid problems with account creation due to UPN uniqueness
constraints.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c51805f90c09b40236765c9594693fcb66a55715">c51805f9</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-17T20:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Adjust expected error codes

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/48362a706f8a6c35a17ecbf625bbf29802143185">48362a70</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-17T20:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add FAST enc-pa-rep tests

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f94bdb41fccdb085d8f8f5a1a5e4a56581839e8e">f94bdb41</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-17T20:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Check encrypted-pa-data if present

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/775bfc72509bf98f3c637ca22cc5edf0e7fae794">775bfc72</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-17T20:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add AS-REQ PAC tests

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e9caa1edef846cdea2a719976ee0fd5bd8531048">e9caa1ed</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-17T20:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Update supported enctype checking

We now do not expect the claims or compound ID bits to be set unless
explicitly specified, nor the DES bits.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6fc5f22978bd77e4775856359d116492eccc9be6">6fc5f229</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-17T20:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc: Fix leak

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12154b981c40d619e4ddb53aceee9f86368a75fb">12154b98</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-17T20:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:heimdal_build: make version_script optional to HEIMDAL_LIBRARY()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/879eba2740ac5e5f456b93a3b47e9a6b70355415">879eba27</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-17T20:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: check for pac_blob==NULL in test_generate_session_info_pac() functions

We should return an error instead of crashing for tickets without a PAC.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/84b76270ceb38cbb0263f415f4089bafa751b3a3">84b76270</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-17T20:05:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:auth: debug make_user_info_dc_pac() failures in kerberos_pac_to_user_info_dc()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/19d9504b1b34ec7c52eaaf663d5ecf4f05066b6d">19d9504b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-17T20:55:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: improve DEBUG messages in samba_wdc_reget_pac2()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>

Autobuild-User(master): Joseph Sutton <jsutton@samba.org>
Autobuild-Date(master): Mon Jan 17 20:55:41 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/114116b659dca81054801918f229380f041963cd">114116b6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T20:22:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">profile3: remove an unused include

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6df560d353c18bb8a6f22cbed877642b29c2265b">6df560d3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T20:22:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: Save a few lines with str_list_add_printf()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2468f0412127e391ed486a1541c5f87319fa34bf">2468f041</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T20:22:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Save a few lines with str_list_add_printf()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5ef5d1d4e5653687805cc1d5811327ab99d1357b">5ef5d1d4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T20:22:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Save a few lines with str_list_add_printf()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/07101587599d87eefe91fd52d855f3c6bc284495">07101587</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T20:22:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Save a few lines with str_list_add_printf()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/87325613962ced1d58249e37a0375f0a3e857098">87325613</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T20:22:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove unused tstream_npa_socketpair()

This was used in the pre samba-dcerpcd source3 rpc server.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a924e2cb203affa5b0224d9fb7234e9585c803ad">a924e2cb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T20:22:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_host: We have tevent_req_oom() for ENOMEM

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a7fe22fd7f46a0db30e34ffc1ef400ebb321d096">a7fe22fd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T20:22:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture3: Align two integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/232a1fa46af0b05ba12bf5edc944caeb4f919c38">232a1fa4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T20:22:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix a typo

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d5c1509bea058f434983da41fde014dae874187">4d5c1509</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T20:22:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Align a few integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac12207e15c5483ef4a423221a1d7c104a4b9672">ac12207e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T20:22:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Avoid a cast

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/84e53769382f1f5e381df131e675c86f7aeba607">84e53769</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T20:22:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net: Align a few integer types

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b6b12a19fc8bed2ee5a01fdf55be99c0297001e">3b6b12a1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T20:22:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libads: Convert sitename_key() to talloc

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6bcdd3460a29a5b4e84290d963bfe1a3941adc69">6bcdd346</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T20:22:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: Replace asprintf() with talloc_asprintf()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12ca34115eabbb430cd0b01afeaaebfac76174d3">12ca3411</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T20:22:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove unused asprintf_strupper_m()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ec6d28e7290783da92cb8d9ee492e831ac7ed959">ec6d28e7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-18T21:17:43+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove a duplicate protoype

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan 18 21:17:43 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ce4d134da7725df1c98f849f38dfc35b6b6271de">ce4d134d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-01-19T10:49:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Use Fedora 34 for Coverity Scan

The Coverity Scan tools are not updated very often and miss support for the
latest gcc build. Lets use Fedora 34 for that and stay behind a bit.

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): Wed Jan 19 10:49:18 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5636bfa9a27707895c97a32b0836ab9801456499">5636bfa9</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-19T20:50:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netlogon.idl: Add FAST support bits

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d2a3016a9c59f93f89cf4bb86d40938d56400453">d2a3016a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-19T20:50:34+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:heimdal_build: include heimdal headers relative to heimdal_build

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/40b65c840e03bd5eb7f3b02fe80144650c63c005">40b65c84</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:heimdal: import lorikeet-heimdal-202201172009 (commit 5a0b45cd723628b3690ea848548b05771c40f14e)

See
https://git.samba.org/?p=lorikeet-heimdal.git;a=shortlog;h=refs/heads/lorikeet-heimdal-202201172009
or
https://gitlab.com/samba-team/devel/lorikeet-heimdal/-/tree/lorikeet-heimdal-202201172009

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Pair-Programmed-With: Joseph Sutton <josephsutton@catalyst.net.nz>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b2c96d927a661d5e830b271043a6a2be94d4c04d">b2c96d92</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:heimdal_build: changes required to build after import

For libtommath we do this by using the list from makefile.commo
in in libtommath rather than trying to match the list by hand.

This will be easier to maintain over the long term.

Thanks to work over many years by:
 - Gary Lockyer <gary@catalyst.net.nz>
 - Stefan Metzmacher <metze@samba.org>
 - Andrew Bartlett <abartlet@samba.org>

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6e8ac61b36ec74581fde8720107bce8971989015">6e8ac61b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Update latin1 list and ignored file list for new Heimdal import

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/195e099f5508fc5d29280de64753a4474db11e90">195e099f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Fix build failure by including <heimbase.h>

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aaaae360192397533db75442f22701c8c85849c2">aaaae360</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Do not encode the NTSTATUS error into a PA-DATA, just linearlise it

This allows another routine to do the wrapping.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9e43da24019761f75996e27f978da60509b4a52c">9e43da24</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Update samba_wdc_check_client_access() to match updated Heimdal

This based on a patch in Debian by Samuel Cabrero <scabrero@zentyal.com> in Debian.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/78937243dc5f8a9aebe687f017f3de8ca7666a23">78937243</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Adapt samba_wdc_check_client_access() to upstream Heimdal

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3057e140972400aa6bbe9d996cfb2cabfe0dc880">3057e140</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Adapt wamba_wdc_check_client_access() to modern Heimdal

Modern Heimdal falls back to kdc_check_flags() internally
when KRB5_PLUGIN_NO_HANDLE is returned, avoiding the need
to call back into the internal KDC APIs.

Selected from patch by by Stefan Metzmacher <metze@samba.org>
from his Heimdal upgrade branch.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3d8edb7b768578816b68c41aef0aae4222cb0b11">3d8edb7b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Adapt to use new combined windc interface in lorikeet-heimdal

This interface is as requested by Luke Howard towards possibly merging
this feature.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5a05066bafc432ddfd2bdbba14934308ba57071b">5a05066b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Update to match updated Heimdal's new HDB version

Including updates to hook into the improved hdb_auth_status
by Stefan Metzmacher <metze@samba.org> from his Heimdal
upgrade branch.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/52ccce259ddbebcedd5780ee683386d283aabda0">52ccce25</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/auth_log: adjust expected authDescription for test_smb_bad_user

With NO_SUCH_USER we don't know if any pre-authentication was requested,
so with the new Heimdal code we now used use "AS-REQ" instead of
assuming ENC-TS Pre-authentication.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6395cbe32baa80d81fc656b828c8d63caf73e454">6395cbe3</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kerberos: adjust smb_krb5_debug_wrapper() to embedded heimdal

In future we need a real configure check for Heimdal 8.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eb5c3bb951391879f844199fe4de6076b4c98217">eb5c3bb9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kerberos: adapt the heimdal send_to_kdc hooks to the send_to_kdc/realm plugin interface

With the recent heimdal upgrade we better try to use the send_to_realm()
hooks as it allows us to handle the KDC lookup as well as only getting
each logical request just once in the testing code, which makes it
let dependend on the heimdal internal kdc lookup logic.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8329e8d46917d67f0cb51c3a004e323a87fa1499">8329e8d4</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Set entry.flags.force_canonicalize to override the new Heimdal behaviour

This is needed to give hdb_samba4 the full control over the returned
principal, rather than the new code in the Heimdal KDC.

Including changes selected from code by Stefan Metzmacher <metze@samba.org>
in his Heimdal upgrade branch.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8d7e9366f90a549cd191c271fddfd03b4d00e4bb">8d7e9366</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc/hdb: Store and retrieve a FX-COOKIE value

Note Windows uses the string "MICROSOFT" as cookie,
so it's wrong to have a per DC cookie, but we need to
adjust the Heimdal logic to support that.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0d107482b5ade604b1edffb55b111b29e6028884">0d107482</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Adapt KDC to new Heimdal to load samba4 HDB plugin for keytab

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c7bd176f4cb5d058337b64819858eca2764bd88e">c7bd176f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Move calls using the samba4 name to be right after each other

These all need to be in sync

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/28701dc2d128f7fdfe8a4fa73584d1289918038a">28701dc2</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: cope with upstream rename of configuration parameters.

This copes with the upstream commit:

commit c757eb7fb04a9b0ca883ddb72c1bc75bf5d814f3
Author: Nicolas Williams <nico@cryptonector.com>
Date:   Fri Nov 25 17:21:04 2011 -0600

    Rename and fix as/tgs-use-strongest-key config parameters

        Different ticket session key enctype selection options should
        distinguish between target principal type (krbtgt vs. not), not
        between KDC request types.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>

[abartlet@samba.org Researched and updated the commit message]
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3dbf967703c9669e4c504ac92ed1b3834bc61c84">3dbf9677</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc/heimdal: Always include the salt in the PA-ETYPE-INFO[2]

This matches Windows and is detected by our samba.tests.krb5.as_canonicalization_tests
test as this always expects the salt, which Windows always provides.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ba154d62f70d1749aea44ddb4dc62439766f1a0b">ba154d62</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Set require_pac and no-ENC_TS in FAST for new Heimdal import

This allows us to continue to avoid CVE-2020-25719 in particular
and pass our tests for expected FAST behaviour as the patches
we requested by upstream to be conditional, not hard-coded.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6c2a97d3b29ba14ff43840f3c7b146960f0f1665">6c2a97d3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Add PAC_ATTRIBUTES integration for Heimdal

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cb382f7cddebabde3dac2b4bdb50d5b864463abf">cb382f7c</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Set supported enctypes in KDC entry

This allows us to return the supported enctypes to the client as
PA-SUPPORTED-ENCTYPES padata.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0be58f55fa0f0249b5f93568f71829400ea6ceb1">0be58f55</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Return PA-SUPPORTED-ENCTYPES

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/64e539bb7fd8f6634a0ba767f6890356b6d51299">64e539bb</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/krb5: Add option to check reply padata

So far we have only been checking padata in error replies and with FAST.
We should also check it in the general success case.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e5b9cc8f6c1c34a40787c1c395067e715140d6fe">e5b9cc8f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Update SimpleKerberosTests now that Samba supports FAST

Heimdal matches Windows in this respect

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/71685966c22303c42f4f0b7fb269013d81d0f714">71685966</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: knownfail updates after Heimdal Upgrade

The Heimdal upgrade brings the new feature of FAST, allowing more tests to pass.

However it causes a regression in FL2003 for the returned salt format in
the AS-REP, but FL 2003 has not been the default since Samba 4.2 as AES
keys are much stronger and should be preferred.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2232d8408e50e813380bde27b728fdf69ac7dd67">2232d840</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: set [libdefaults] fcache_strict_checking = false

We're using uid_wrapper so the checks will fail.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0b9c8b9e12965b0ca2b38f673726c3e08733aeeb">0b9c8b9e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Expect FAST support for both MIT and Heimdal

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7679d596c5f1c57e8c6316b64097dc36530ac70e">7679d596</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: return ETYPE_INFO2 on PREAUTH_FAILED

This is an alternative to 978bc8681e74ffa17f96fd5d4355094c4a26691c
which got overriten by the upgrade merge.
One difference however, is that we don't return ENC_TIMESTAMP like
in PREAUTH_REQUIRED but only ETYPE_INFO2 same as Windows.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b59687a762fec30f9954282f3b587f24903d710d">b59687a7</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Adapt LSA tests to newer Heimdal version

The Heimdal upgrade results in some changes that affect these tests. The
cname is now non-NULL in certain circumstances, the IO counts are
different due to a change between the ordering of capaths and referrals,
some requests no longer fail, and referral tickets are not cached
anymore, and so cannot be checked.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9eead4853e26c1f589c4ef69469c199ff6670060">9eead485</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Fix Orpheus' Lyre tests

The enc-pa-rep request protection allows these tests to now pass as
expected.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a24280dc72d05828befdf4bd1288bbea1e97e08c">a24280dc</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Remove PAC-REQUEST check for RESPONSE_TOO_BIG

Needed by the Heimdal upgrade...

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1954e50f266256c9e153c9613f49f9d9f5dbf67b">1954e50f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-19T20:50:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Adapt KDC canon test to Heimdal upstream changes

NOTE: This commit finally works again!

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7055827b8ffd3823c1240ba3f0b619dd6068cd51">7055827b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-19T21:41:59+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">HEIMDAL: move code from source4/heimdal* to third_party/heimdal*

This makes it clearer that we always want to do heimdal changes
via the lorikeet-heimdal repository.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>

Autobuild-User(master): Joseph Sutton <jsutton@samba.org>
Autobuild-Date(master): Wed Jan 19 21:41:59 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/19fa22b1fbcf33dbc4defe4dd2e487a642786c49">19fa22b1</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-20T09:10:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb/paged_results: fix segfault in paged_results()

It can happen that the paged_results() failes, e.g. due to
LDB_ERR_TIME_LIMIT_EXCEEDED, if that happens we should not
dereference ares->response, if ares is NULL.

We also should not call ldb_module_done() if paged_results()
fails, as it was already called.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14952

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7d16a56b9d1cde8a5174381ef4924a2ea7be59bc">7d16a56b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-20T10:04:39+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb/vlv_pagination: fix segfault in vlv_results()

It can happen that the vlv_results() failes, e.g. due to
LDB_ERR_TIME_LIMIT_EXCEEDED, if that happens we should not
dereference ares->response, if ares is NULL.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14952

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jan 20 10:04:39 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d1891a0c4f6f639f60d2063ca4c54d3b283e3636">d1891a0c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-01-20T14:19:02+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Fix path for libwbclient ldd checks

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jan 20 14:19:02 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f60780c8b633ece61c952122aee4f313edb26010">f60780c8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-20T18:01:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/dns: Fix TCP fallback

A customer has come across a DNS server that really just cuts a SRV
reply if it's too long. This makes the packet invalid according to
ndr_pull and according to wireshark. DNS_FLAG_TRUNCATION is however
set. As this seems to be legal according to the DNS RFCs, we need to
hand-parse the first two uint16's and look whether DNS_FLAG_TRUNCATION
is set.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jan 20 18:01:41 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d0aa04e8c16192babfbafc7e9869e7ff98a731c9">d0aa04e8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-21T20:46:35+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: use compat-gnutls37-devel for centos7

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/82a21581c63fc4e453fd4f5cd44e77a95c84f50c">82a21581</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-01-21T21:42:08+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Without getrandom() require gnutls 3.7.2

gnutls before 3.7.2 and without getrandom() will open /dev/urandom at library
initialization time before main() is run. We use closefrom(3) in samba-bgqd and
samba-dcerpd, which closes /dev/urandom, which then breaks gnutls. On system
with getrandom(), no file descriptor is opened and gnutls 3.7.2+ will open and
close /dev/urandom whenever it needs to access it.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jan 21 21:42:08 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/85dbc023c300a651e7802b9ebb1f08b4c2f56e8b">85dbc023</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-21T23:33:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: Remove clangdb code which doesn't work

This generates an incomplete database where defines and includes are missing.

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6843bdae306292a781636b4d295ed8d04ae59e07">6843bdae</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-21T23:33:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: Add our own implmentation to generate the clangdb

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/afcdb090769f6f0f66428cd29f88b0283c6bd527">afcdb090</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-21T23:33:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: set ads->auth.flags using krb5_state

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14955

Pair-Programmed-With: Andreas Schneider <asn@samba.org>

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/49d18f2d6e8872c2b0cbe2bf3324e7057c8438f4">49d18f2d</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-21T23:33:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Remove trailing spaces from sasl.c

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14955

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7785eb9b78066f6f7ee2541cf72d80fcf7411329">7785eb9b</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-21T23:33:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Disable NTLMSSP for FIPS

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14955

Pair-Programmed-With: Andreas Schneider <asn@samba.org>

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f6251abf2f468b3744a96376b0e1c3bc317c738">5f6251ab</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-21T23:33:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Improve debug messages for SASL bind

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14955

Pair-Programmed-With: Andreas Schneider <asn@samba.org>

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/17ea2ccdabbe935ef571e1227908d51b755707bc">17ea2ccd</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-21T23:33:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Disable NTLMSSP if not allowed (for builds without kerberos)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14955

Pair-Programmed-With: Andreas Schneider <asn@samba.org>

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eb0fa26dce77829995505f542af02e32df088cd6">eb0fa26d</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-21T23:33:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Add test for disabling NTLMSSP for ldap client connections

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14955

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9624e60e8c32de695661ae8f0fb5f8f9d836ab95">9624e60e</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-21T23:33:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:selftest: plan test suite samba4.blackbox.test_weak_disable_ntlmssp_ldap

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14955

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fcf225a356abb06d1205f66eb79f707c85803cb5">fcf225a3</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-21T23:33:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Remove trailing spaces from winbindd_ads.c

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14955

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f03abaec2abbd22b9dc83ce4a103b1b3a2912d96">f03abaec</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-21T23:33:36+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Do not set ADS_AUTH_ALLOW_NTLMSSP in FIPS mode

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14955

Pair-Programmed-With: Andreas Schneider <asn@samba.org>

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fa5413b63c8f4a20ab5b803f5cc523e0658eefc9">fa5413b6</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-01-22T00:27:52+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libnet: Do not set ADS_AUTH_ALLOW_NTLMSSP in FIPS mode

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14955

Pair-Programmed-With: Andreas Schneider <asn@samba.org>

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Jan 22 00:27:52 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/809f4fe2c7862f25547cbdcf01160537e43e3f95">809f4fe2</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2022-01-23T12:51:44+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:librpc: raise log level for failed connection attempts

this keeps the log files silent when other DCs are currently not running. We
saw frequent NT_STATUS_HOST_UNREACHABLE messages at log level 0 for now.

https://bugzilla.samba.org/show_bug.cgi?id=11537

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Jan 23 12:51:44 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1c776e54cf33b46b2ed73263f093d596a0cdbb2f">1c776e54</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-24T11:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: version 1.4.6

* Use atomic operations for tdb_[increment|get]_seqnum

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6bc927ac8fd40b27fa5193788297ebd6abf44ae">c6bc927a</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-01-24T11:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Up to Samba 4.16.0rc1.

Signed-off-by: Jule Anger <janger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/401df670af40c613f44e795de758e265b90080cc">401df670</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-01-24T11:21:32+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Disable GIT_SNAPSHOT for the Samba 4.16.0rc1 release.

Signed-off-by: Jule Anger <janger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3fdc553c9812f1d857abc7ed328e21ec7b56796d">3fdc553c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-28T11:17:33+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to 4.16.0rc2...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(v4-16-test): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(v4-16-test): Fri Jan 28 11:17:33 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/20f84f11651e93c14818bcfcfe9b2fe259496ae3">20f84f11</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-30T10:57:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dcesrv_core: wrap gensec_*() calls in [un]become_root() calls

This is important for the source3/rpc_server code as it might
be called embedded in smbd and may not run as root with access
to our private tdb/ldb files.

Note this is only really needed for 4.15 and older, as
we no longer run the rpc_server embedded in smbd,
but we better be consistent for now.

This should be able to fix the problem the printing no longer works
on Windows 7 with 2021-10 monthly rollup patch (KB5006743).

Windows uses NTLMSSP with privacy at the DCERPC layer on top
of NCACN_NP (smb).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14867

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 0651fa474cd68b18d8eb9bdc7c4ba5b847ba9ad9)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c4132ef482bc2a3a20742cfdc5b524bedc8c445b">c4132ef4</a></strong>
<div>
<span>by FeRD (Frank Dana)</span>
<i>at 2022-01-30T10:57:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing/bgqd: Disable systemd notifications

samba-bgqd daemon is started by existing Samba daemons. When running
under systemd, those daemons control systemd notifications and
samba-bgqd messages need to be silenced.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14947

Signed-off-by: FeRD (Frank Dana) <ferdnyc@gmail.com>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 36c861e25b1d9c5ce44bfcb46247e7e4747930c5)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8097c9b388531483e47defb0d5ebe31fb4cecc51">8097c9b3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-30T10:57:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: split out a dump_data_block16() helper

This simplifies the logic a lot for me.

It also fixes some corner cases regarding whitespaces in the
output, that's why we have to mark a few tests as knownfail,
they will be fixed in the next commit.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14956

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 58b09e107cadd7fb8191822d4e7e42657b1ed4c7)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f1cbfdc43c8e940c6d2667eccc7545e39be49468">f1cbfdc4</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-30T10:57:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">blackbox.ndrdump: adjust example files to changed dump_data() output.

The cleanup using dump_data_block16() fixed the space handling.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14956

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 9110a8854a518befa2908c26076e17a085c5ec48)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1538a574a22c2762ed322ffbf34f63ca872f034b">1538a574</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-30T10:57:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: add dump_data_diff*() helpers

That will make it easy to see the difference
between two memory buffers.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14956

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit b489b7feda19b3c0f0fe2300f2c76d416776355b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c1bd0f0d5e3cc6da66e9241832ae29048c4cda40">c1bd0f0d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-30T10:57:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ndrdump: make use of dump_data_file_diff() in order to show differences

This makes it much easier to detect differences in the given and
generated buffers.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14956

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit d1a7f392a8ceef111a5d6c3d2a3bdb9dcb90db5e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a55de23fb057d1bf431f20225529e2eadbbccfdf">a55de23f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-30T10:57:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">blackbox.ndrdump: adjust example files to the usage of dump_data_diff output.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14956

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 1dc385cb648f0c37b04f4ede6b1c96916e379b23)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9be924f907c5215d9452db1cb407c83f39df67a5">9be924f9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-30T10:57:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/ndr: demonstrate the ndr_push_string(STR_NOTERM|REMAINING) of "" is wrong

convert_string_talloc() never returns a string with len=0 and always
implies zero termination byte(s).

For ndr_push_string this is unexpected as we need to be compatible on
the wire and push 0 bytes for an empty string.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14956

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 8da26cb6725b5d853ab481a348a3a672966715b5)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7734584c4fd5bee49ed564771a16d63f2b005937">7734584c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-30T10:57:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc/ndr: let ndr_push_string() let s_len == 0 result in d_len = 0

convert_string_talloc_handle() tries to play an the safe side
and always returns a null terminated array.

But for NDR we need to be correct on the wire...

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14956

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 43648e95a514020da4c7efa62df55d0882e3db85)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4d3054261df3b8726a4db943b0734071ad151423">4d305426</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-01-30T11:52:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">blackbox.ndrdump: fix test_ndrdump_fuzzed_NULL_struct_ntlmssp_CHALLENGE_MESSAGE test

This actually reveals that ndr_push_string() for TargetName="" was
failing before because it resulted in 1 byte for a subcontext with
TargetLen=0.

This is fixed now and we no longer expect ndrdump to exit with 1.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14956

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Jan 24 16:18:34 UTC 2022 on sn-devel-184

(cherry picked from commit 12464bd4c222d996aac6d6250b7945d63f20f4bc)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Sun Jan 30 11:52:27 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/eaede91afd6d171539aa5298644aa5fb107a6341">eaede91a</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2022-0336: pytest: Add a test for an SPN conflict with a re-added SPN

This test currently fails, as re-adding an SPN means that later checks
do not run.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14950

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e4f18bfaec844f261fa03616c9e55924366dfcf9">e4f18bfa</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2022-0336: s4/dsdb/samldb: Don't return early when an SPN is re-added to an object

If an added SPN already exists on an object, we still want to check the
rest of the element values for conflicts.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14950

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d7dd721b81292c197f0c1556e38c006604b6727">9d7dd721</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-44142: libadouble: add defines for icon lengths

>From https://www.ietf.org/rfc/rfc1740.txt

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14914

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/36f847861bcea8cfca80121055685d7ddf6d73f2">36f84786</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-44142: smbd: add Netatalk xattr used by vfs_fruit to the list of private Samba xattrs

This is an internal xattr that should not be user visible.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14914

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/39eb60d97a4e2ae2765b5bc964e5606534ef664a">39eb60d9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-44142: libadouble: harden ad_unpack_xattrs()

This ensures ad_unpack_xattrs() is only called for an ad_type of ADOUBLE_RSRC,
which is used for parsing ._ AppleDouble sidecar files, and the buffer
ad->ad_data is AD_XATTR_MAX_HDR_SIZE bytes large which is a prerequisite for all
buffer out-of-bounds access checks in ad_unpack_xattrs().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14914

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/03c6ba0054b79143519fcf3079715139c0632a6f">03c6ba00</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-44142: libadouble: add basic cmocka tests

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14914

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ef8229843604bd2dcd17403a786ea70586e3d632">ef822984</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-44142: libadouble: harden parsing code

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14914

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1dcd818303bdd5a1ea59faae114d290b51fc7999">1dcd8183</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-44141: s3: torture: Add samba3.blackbox.test_symlink_traversal.SMB2.

Add to knownfail.d/symlink_traversal

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14911

Signed-off-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e6ccaced533d28f4685319b94dcf935dc7a5b150">e6ccaced</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-44141: s3: torture: Add samba3.blackbox.test_symlink_traversal.SMB1.

Add to knownfail.d/symlink_traversal.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14911

Signed-off-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ea20599ff17315f9ee197634dabdfbb0e41b740c">ea20599f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-44141: s3: torture: Add samba3.blackbox.test_symlink_traversal.SMB1.posix

Add to knownfail.d/symlink_traversal.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14911

Signed-off-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6d70dad3a28978e853e330ca4fcd96f435c83ac">c6d70dad</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-44141: s3: torture: In test_smbclient_s3, change the error codes expected for test_widelinks() and test_nosymlinks() from ACCESS_DENIED to NT_STATUS_OBJECT_NAME_NOT_FOUND.

For SMB1/2/3 (minus posix) we need to treat bad symlinks
as though they don't exist.

Add to knwownfail.d/symlink_traversal

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14911

Signed-off-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b8da8b722051030465e86aaf08305cb18cea02a3">b8da8b72</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-44141: s3: torture: Change expected error return for samba3.smbtorture_s3.plain.POSIX.smbtorture.

Trying to open a symlink as a terminal component should return
NT_STATUS_OBJECT_NAME_NOT_FOUND, not NT_STATUS_OBJECT_PATH_NOT_FOUND.

Mark as knownfail.d/simple_posix_open until we fix the server.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14911

Signed-off-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4106af6d620e4b4b66c015333d8e1dac9b4e9fd1">4106af6d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-44141: s3: smbd: For SMB1+POSIX clients trying to open a symlink, always return NT_STATUS_OBJECT_NAME_NOT_FOUND.

Matches the error return from openat_pathref_fsp().

NT_STATUS_OBJECT_PATH_NOT_FOUND is for a bad component in a path, not
a bad terminal symlink.

Remove knownfail.d/simple_posix_open, we now pass.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14911

Signed-off-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f4202a0bccd5d52aa5448748cdd2d67a68738fc0">f4202a0b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-44141: s3: smbd: Inside check_reduced_name() ensure we return the correct error codes when failing symlinks.

NT_STATUS_OBJECT_PATH_NOT_FOUND for a path component failure.
NT_STATUS_OBJECT_NAME_NOT_FOUND for a terminal component failure.

Remove:

        samba3.blackbox.test_symlink_traversal.SMB1.posix
        samba3.blackbox.smbclient_s3.*.Ensure\ widelinks\ are\ restricted\(.*\)
        samba3.blackbox.smbclient_s3.*.follow\ symlinks\ \=\ no\(.*\)

in knownfail.d/symlink_traversal as we now pass these. Only one more fix
remaining to get rid of knownfail.d/symlink_traversal completely.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14911

Signed-off-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/86157b3c7bfda64060ed4fbe23711aaa571be092">86157b3c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-44141: s3: smbd: Fix a subtle bug in the error returns from filename_convert().

If filename_convert() fails to convert the path, we never call
check_name(). This means we can return an incorrect error code
(NT_STATUS_ACCESS_DENIED) if we ran into a symlink that points
outside the share to a non-readable directory. We need to make
sure in this case we always call check_name().

Remove knownfail.d/symlink_traversal.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14911

Signed-off-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/239e915b8f721bab820ffba6ff355d828a34ffe9">239e915b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-44141: s3: torture: Add a test samba3.blackbox.test_symlink_rename.SMB1.posix that shows we still leak target info across a SMB1+POSIX rename.

Add a knownfail.d/posix_sylink_rename

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14911

Signed-off-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b88d24e33b2f4a2a540698520d76f1b8a2fe3e4d">b88d24e3</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2021-44141: s3: smbd: Inside rename_internals_fsp(), we must use vfs_stat() for existence, not SMB_VFS_STAT().

We need to take SMB1+POSIX into account here and do an LSTAT if it's
a POSIX name.

Remove knownfail.d/posix_sylink_rename

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14911

Signed-off-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c278515c492a1b9ca842e809120ecf3a1328d112">c278515c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/rpc_server: install elasticsearch_mappings.json

This was removed accidentally remvoed by
a7c65958a15149918415b7456d6f20ee8c9669d2 because the original code
only installed the json file if the mdssvc was built as module:

     if bld.SAMBA3_IS_ENABLED_MODULE('rpc_mdssvc_module'):
         bld.INSTALL_FILES(bld.env.SAMBA_DATADIR,
                           'mdssvc/elasticsearch_mappings.json')

Installing the json file should just depend on Elasticsearch support
being enabled, regardless of the removed module support.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14961

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Fri Jan 28 10:22:31 UTC 2022 on sn-devel-184

(cherry picked from commit 0eecfddd071ea54844c56516dd7adc761be03c27)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4c3863633d31a3a45e5259e495c970e71df32732">4c386363</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add release notes for Samba 4.16.0rc2.

Signed-off-by: Jule Anger <janger@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a4763bd9d87f9efe93fa6d3ffc0ae9588663f8ef">a4763bd9</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-01-31T14:26:10+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Disable GIT_SNAPSHOT for the 4.16.0rc2 release.

Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/29355d0a2d4e2b64a0cd1b8d16067f94f1594114">29355d0a</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-01-31T15:26:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to Samba 4.16.0rc3...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Jule Anger <janger@samba.org>

Autobuild-User(v4-16-test): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(v4-16-test): Mon Jan 31 15:26:29 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5c55418c25eb18d44416f486d1468ca6ccce0ab7">5c55418c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-02-04T07:46:50+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: test: Add samba4.libsmbclient.rename test. Currently fails for SMB3.

Add knownfail.d/libsmbclient_rename

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14938

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 0ecc58858360bcc0181a02e52ada3e8327f97c5b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/64aea70f9f80acec2ba4f5da44e413f2f91c75c0">64aea70f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-02-04T08:41:09+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: libsmbclient: Ensure cli_rename() always sets cli->raw_status.

Identical change as used in cli_unlink(), cli_mkdir(), cli_rmdir()
cli_chkpath() to ensure SMB2 calls correctly set raw_status for
libsmbclient uses.

Remove knownfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14938

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Feb  2 21:50:31 UTC 2022 on sn-devel-184

(cherry picked from commit ca60f6350d566b7ecc822bcbb44fb65a1d150bbe)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Fri Feb  4 08:41:09 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/95aca464c7c500f798640a7979dade699931cefc">95aca464</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-02-09T11:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: tests: Add a new test test_msdfs_hardlink() that does simple hardlinks on MSDFS root shares.

We pass this already as the cmd_hardlink in smbclient doesn't
do the DFS path conversion on the hardlink target. But it's
good to have the test.

Note we need to add the new test to "selftest/knownfail.d/smb1-tests"
as test_smbclient_s3.sh is run against the (ad_member|nt4_member)
environments first using NT1 (SMB1) protocol and then using SMB3,
but the (ad_member|nt4_member) environments don't support SMB1.
Seems a bit strange to me, but all the other SMB1 tests inside
test_smbclient_s3.sh have already been added to "selftest/knownfail.d/smb1-tests"
so just go with the test environment.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14169

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
(cherry picked from commit d7deb876053ef45313026b4dea9ee1b376153611)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/738fbcca5440f3a8ccbeb6e74b2a6560a6b74533">738fbcca</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-02-09T11:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: tests: Add a new test test_msdfs_rename() that does simple renames on MSDFS root shares.

We fail this on SMB2 for a subtle reason.

Our client code called from smbclient only sets the SMB2_HDR_FLAG_DFS flag
in the outgoing packet on the SMB2_CREATE call, and SMB2 rename does the
following operations:

SMB2_CREATE(src_path) // We set SMB2_HDR_FLAG_DFS here for a MSDFS share.
SMB2_SETINFO: SMB2_FILE_RENAME_INFO(dst_path). // We don't set SMB2_HDR_FLAG_DFS

However, from smbclient, dst_path is a MSDFS path but we don't set the flag,
so even though the rename code inside smbd will cope with a MSDFS path
(as used in the SMB1 SMBmv call) it fails as the correct flag isn't set.

Add knownfail selftest/knownfail.d/msdfs-rename.

Note we need to add the new test to "selftest/knownfail.d/smb1-tests"
as test_smbclient_s3.sh is run against the (ad_member|nt4_member)
environments first using NT1 (SMB1) protocol and then using SMB3,
but the (ad_member|nt4_member) environments don't support SMB1.
Seems a bit strange to me, but all the other SMB1 tests inside
test_smbclient_s3.sh have already been added to "selftest/knownfail.d/smb1-tests"
so just go with the test environment.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14169

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
(cherry picked from commit 44cc9fb0e01b3635804f41e03f9b20afc3bfe36c)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/62ce0c8f55b52f487b33b49cb4438eff69c138ac">62ce0c8f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-02-09T11:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add cli_dfs_target_check() function.

Strips any DFS prefix from a target name that will be passed
to an SMB1/2/3 rename or hardlink call. Returns a pointer
into the original target name after the prefix. Not yet used.

If the incoming filename is *NOT* a DFS prefix, the
original filename is returned unchanged.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14169

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
(cherry picked from commit 2abba0ea109d7a3a0b0cb4a7030293f70c2d9d8a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/96122869594760360b2ae26d194c7908bd900bd4">96122869</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-02-09T11:09:40+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Call cli_dfs_target_check() from cli_smb2_hardlink_send().

Currently we don't pass MSDFS names as targets here, but a caller
may erroneously do this later, and for non-DFS names this is a no-op.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14169

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
(cherry picked from commit 4bdbe3c2fc0c35635474ae526896b28f55142aca)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/01b06586f195a7eb592f18e5f5657ca9f2fa031d">01b06586</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-02-09T11:09:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Call cli_dfs_target_check() from cli_ntrename_internal_send().

Currently we don't pass MSDFS names as targets here, but a caller
may erroneously do this later, and for non-DFS names this is a no-op.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14169

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
(cherry picked from commit cf3e5724422d8becd045542be196dfea6ac9ec2b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1304041a4fd2fbd5c35b5f5235345b40b5f17bf0">1304041a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-02-09T11:09:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Call cli_dfs_target_check() from cli_smb1_rename_send().

Strips off any DFS prefix from the target if passed in.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14169

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
(cherry picked from commit dd0317f6ecb572a80893405daa83e079dbcdf113)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/35a250f49ee8ae49fc8a9dfbb704211b189c9435">35a250f4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-02-09T11:09:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Call cli_dfs_target_check() from cli_cifs_rename_send().

Strips off any DFS prefix from the target if passed in.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14169

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
(cherry picked from commit 4473aea926fe4ddd23a6e0913009bb1a0a1eaa90)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cdcf23aac2f979d1ffa33a3a7b3fe98aa47c83d7">cdcf23aa</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-02-09T11:09:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Call cli_dfs_target_check() from cli_smb2_rename_send().

Strips off any DFS prefix from the target if passed in.

Remove knownfail selftest/knownfail.d/msdfs-rename.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14169

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Fri Feb  4 12:02:36 UTC 2022 on sn-devel-184

(cherry picked from commit b9b82f3611c56e837e9189f5275ae9a78e647262)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8cbf38a1b2ba83cde9529d7e9d71bc8fce449293">8cbf38a1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2022-02-09T11:09:41+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libads: simplify storing existing ads->ldap.ss

We just need temporal storage for ads->ldap.ss, no need to store it as a struct
samba_sockaddr.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14674
MR: https://gitlab.com/samba-team/samba/-/merge_requests/2354

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit c266ed40aeb1b1f59a1811cd4511e32e44a4a719)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/188b96164c5849e28d0349adac6472e2bc4bd000">188b9616</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2022-02-09T12:03:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libads: ensure a sockaddr variable is correctly zero initialized

is_zero_addr() doesn't work with addresses that have been zero-initialized.

This fixes the logic added in c863cc2ba34025731a18ac735f714b5b888504da.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14674
MR: https://gitlab.com/samba-team/samba/-/merge_requests/2354

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Feb  8 20:24:12 UTC 2022 on sn-devel-184

(cherry picked from commit 3ee690455eb963dedc7955b79316481387d4ac8c)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Wed Feb  9 12:03:17 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8deee49cda04907202e3b0ce1fda5211bed7154e">8deee49c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-02-13T09:11:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/quick: add smb2.session

We run the quicktest on each linux distro as part of samba-o3 builds.

We should make sure smb2 signing/enctyption works on all of them
and all different system libraries.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14968

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 68e62962b08497da8359ddbe4324443818c05cd1)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f400eef07a4e844e04affc0078c116b64cce897b">f400eef0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-02-13T09:11:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: fix error checking in smb2_signing_decrypt_pdu() invalid ptext_len

When the ptext_size != m_total check fails, we call this:

   status = gnutls_error_to_ntstatus(rc, NT_STATUS_INTERNAL_ERROR);
   goto out;

As rc is 0 at that point we'll exit smb2_signing_decrypt_pdu()
with NT_STATUS_OK, but without copying the decrypted data
back into the callers buffer. Which leads to strange errors
in the caller.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14968

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 99182af4ab5a3413311e27c2a193e09babceb01c)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fe8bf1d8aa61fddf853e60f23750cc240ed8dcc6">fe8bf1d8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-02-13T10:18:29+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: let smb2_signing_decrypt_pdu() cope with gnutls_aead_cipher_decrypt() ptext_len bug

The initial implementation of gnutls_aead_cipher_decrypt() had a bug and
used:
    *ptext_len = ctext_len;
instead of:
    *ptext_len = ctext_len - tag_size;

This got fixed with gnutls 3.5.2.

As we only require gnutls 3.4.7 we need to cope with this...

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14968

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Feb  2 18:29:08 UTC 2022 on sn-devel-184

(cherry picked from commit 735f3d7dde3daf5d0af2e8a1de60422b88663992)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Sun Feb 13 10:18:29 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6628357976bbef265bd0785c40a7607642a25a54">66283579</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-02-14T09:01:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Add a HDB to SDB mask

For most flags the mapping is 1 to 1, but it's not always
the case anymore.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14960

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 63e00f81b5dd05b50e6ac286e87b8637a4ecd7e0)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/27c6ad1f9b6dc75bf21efe54895acde160c99bcf">27c6ad1f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-02-14T09:01:11+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Remove trailing spaces in hdb-samba4.c

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14960

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 2a0d6c11330c40f5692dc07ed6482c7107035bd4)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bc72fb438fe72d4403ba30f8e1a394a92507b88b">bc72fb43</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-02-14T09:58:46+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Translate HDB flags to SDB flags

We used to have a 1 to 1 mapping, but now we have
a conflict with these:

 #define SDB_F_FORCE_CANON 16384
 #define HDB_F_PRECHECK    16384

We currently don't really care about HDB_F_PRECHECK,
so we can just filter it out.

In the long run we may change the SDB flags space to uint64...

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14960

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 6063e8016fccbefd1c3fe378e3807c77bc04e4ec)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Mon Feb 14 09:58:46 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2fd16c0cbf6bbf8ec9ca349b7a30a7eb1dc49f72">2fd16c0c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-02-14T13:32:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Do not force -d0 for smbd/nmbd/winbindd

We have the env variable SERVER_LOG_LEVEL which allows you to change
the log level on the command line. If we force -d0 this will not work.

make test TESTS="samba" SERVER_LOG_LEVEL=10

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 9693f7ea7383c6a51ab58b7c8255b30206f18a3b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/174fcd9f6b34fcbb7dfe1571097118bdc82ae2f6">174fcd9f</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-02-14T13:32:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules: Implement dummy virus scanner that uses filename matching

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14971

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 9f34babec7c6aca3d91f226705d3b3996792e5f1)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/db32ea07caa75623d0e4e82cd7971e50dc53dc99">db32ea07</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-02-14T13:32:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml:manpages: Document 'dummy' virusfilter and 'virusfilter:infected files'

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14971

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 2fd518e5cc63221c162c9b3f8526b9b7c9e34969)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e95306ed8e3023419bef683264d7232a17d3eb8d">e95306ed</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-02-14T13:32:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Fix trailing whitespace in Samba3.pm

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14971

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 547b4c595a8513a4be99177edbaa39ce43840f7a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/63f6fac589e0fb210521e80111f53a8914a5f1a0">63f6fac5</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-02-14T13:32:15+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:selftest: Add test for virus scanner

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14971

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit a25c714c34d3e00e0f3c29d2acfa98cf9cdbc544)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e1e2bae551ebf031634c3b33a7fe3cb9fad7e8ee">e1e2bae5</a></strong>
<div>
<span>by Pavel Filipenský</span>
<i>at 2022-02-14T14:26:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules: Fix virusfilter_vfs_openat

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14971

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Feb 10 22:09:06 UTC 2022 on sn-devel-184

(cherry picked from commit 3f1c958f6fa9d2991185f4e281a377a295d09f9c)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Mon Feb 14 14:26:30 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a260463481a90812c483195273d7001269570080">a2604634</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-02-14T17:46:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Slightly simplify create_file_unixpath()

Avoid the "needs_fsp_unlink" variable, describe the talloc hierarchy a
bit differently in the comments.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14975

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 1c1734974fcf1d060bc6bcdbe1858cba1b7e5a73)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/692fb63a1ace5d4f2f03445458514fcff1e927a8">692fb63a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-02-14T17:46:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Move the call to file_free() out of close_directory()

Call file_free() just once

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14975

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 9966b5e233ef2ff0368ba5860c824c7cd6420415)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3500cb497649b5e5b47b372db2b107310d9dfb1e">3500cb49</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-02-14T17:46:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Move the call to file_free() out of close_normal_file()

Call file_free() just once

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14975

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 2293ca5b572178404273856f8d8989a5ee7de80c)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b48431f4783f30ee9e6f08095545feb688a036d4">b48431f4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-02-14T17:46:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Move the call to file_free() out of close_fake_file()

Centralize calling file_free(), but leave close_fake_file() in for API
symmetry reasons.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14975

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 244c5a7d31c3a37082b320680f2b71108d77bbd4)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f9bada50afdb5e7276f0aa980b41f5636d8764e">4f9bada5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-02-14T17:46:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Call file_free() just once in close_file()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14975

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 363ac7533895fda786f56c4fe8346128753f38a5)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d088caa4002cfa26db0298218e4934f4b3803bf7">d088caa4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-02-14T17:46:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: NULL out "fsp" in close_file()

Quite a few places already had this in the caller, but not all. Rename
close_file() to close_file_free() appropriately. We'll factor out
close_file_smb() doing only parts of close_file_free() later.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14975

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit f5bc73a2ad97647f76143f7962c964f45aa6b1a0)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c0e02d8e8794e54556adb7ff260c7080dda19e2a">c0e02d8e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-02-14T17:46:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: No base fsps to close_file_free() from file_close_conn()

close_file_free() needs to handle base fsps specially. This can be
simplified a lot if we pass the the open files a second time in case
we encountered base_fsps that we could not immediately delete.

file_close_conn() is not our hot code path, and also we don't expect
many thousand open files that we need to walk a second time.

A subsequent patch will simplify close_file_free(), the complicated
logic is now in files.c, where it IMHO belongs because
file_set_base_fsp() are here as well.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14975

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit d1341d666af12965b4318f89b1d0e1e8769e861e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9794341b29e68726f6c4c8989b0a1e0db913d815">9794341b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-02-14T17:46:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Factor out close_file_in_loop() from file_close_conn_fn()

To be reused in file_close_user(). Deliberately a separate commit to
make the previous commit easier to understand.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14975

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 61f57ba24ee2e54abf224118f93bd0ccda44ec41)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e8d165da42a89093b629d20fd4064b82100cc9b3">e8d165da</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-02-14T17:46:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: No base fsps to close_file_free() from file_close_user()

Same logic as the change for file_close_conn()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14975

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 1fbd9877fead466a17d697c143cd370c0b27f610)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a61a91d427fef0b29fbe4983ee2b9dd4d9f0c074">a61a91d4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-02-14T17:46:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Simplify the flow in close_file_free()

We are no longer called on base_fsp's in SHUTDOWN_CLOSE. That
simplifies the logic in the common case, we now have a linear flow for
the very often-called close_file()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14975

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 93fe9c83145d31ea11a9cd25049ac527ad4a000d)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4cc60cbdb70172e3b996fe55968003320bd10f2c">4cc60cbd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-02-14T17:46:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Add a test to show that full_audit uses a ptr after free

Run vfstest with this vfstest.cmd under valgrind and you'll see what
happens. Exact explanation a few patches further down...

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14975

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 5f1ceead7094aefc6ad1f209468e9ea8f009716c)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/521178327e4ca5581d741966e8c288253be3d8f3">52117832</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-02-14T17:46:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Factor out fsp_unbind_smb() from file_free()

For example, remove our entry from smbXsrv_open_global.tdb

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14975

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit e751c6237b750adb4cb59df4a42bb9f39354e7e4)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d44c45cbdbc7e13047ce127ea7ebcac2810a7891">d44c45cb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-02-14T17:46:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Introduce close_file_smb()

This does almost everything that close_file_free() does, but it leaves
the fsp around.

A normal close_file() now calls fsp_unbind_smb() twice. Functionally
this is not a problem, fsp_unbind_smb() is idempotent. The only
potential performance penalty might come from the loops in
remove_smb2_chained_fsp(), but those only are potentially large with
deeply queued smb2 requests. If that turns out to be a problem, we'll
cope with it later. The alternative would be to split up file_free()
into even more routines and make it more difficult to figure out which
of the "rundown/unbind/free" routines to call in any particular
situation.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14975

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit e91b59c4dfb2b35661dbecbc5769584109e23571)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cdc5e9e4dbeb3e63e00db2afc3a8c48152885d40">cdc5e9e4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-02-14T18:36:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Only file_free() a self-created fsp in create_file_unixpath()

This fixes a use-after-free in smb_full_audit_create_file() when
calling SMB_VFS_CREATE_FILE with fsp->fsp_name as smb_fname.

create_file_unixpath() has this comment:

 * This is really subtle. If someone passes in an smb_fname
 * where smb_fname actually is taken from fsp->fsp_name, then
 * the lifetime of these objects is meant to be the same.

so it seems legitimate to call CREATE_FILE this way.

When CREATE_FILE runs into an error, create_file_unixpath() does a
file_free, which also takes fsp->fsp_name with
it. smb_full_audit_create_file() wants to log the failure including
the smb_fname after NEXT_CREATE_FILE has exited, but this will then
use the already free'ed data.

Fix by only doing the file_free() on an fsp that
create_file_unixpath() created itself.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14975

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Feb 10 19:11:33 UTC 2022 on sn-devel-184

(cherry picked from commit 434e6d4b4b45757878642d229d26d146792a3878)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Mon Feb 14 18:36:26 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1bbb3677ae5b95ea12bf9037b3a74725452382dc">1bbb3677</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-02-14T22:18:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Safeguards for getpwuid

Attempt to fix

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14900

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 929ccd3d1afb864ea715fa4d3d8af8f997e5d2aa)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Mon Feb 14 22:18:31 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5f8796ea63014be2031428c79ff5e57503ceb9a8">5f8796ea</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-02-15T08:10:33+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add release notes for Samba 4.16.0rc3.

Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2517bca6b10fb2ff5b2a2381a04c0ef957663a96">2517bca6</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-02-15T08:11:16+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Disable GIT_SNAPSHOT for the 4.16.0rc3 release.

Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/caa6785eff0dee455f2f9a0125f9a6c069b2cadd">caa6785e</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-02-15T08:12:02+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to Samba 4.16.0rc4...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/07540a8cf4597f683e6661cc4418b858f59d7312">07540a8c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-02-15T09:01:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Always cancel election in progress

Election-in-progress is set by unknown leader broadcast, so needs to
be cleared in all cases when election completes.

This was seen in a case where the leader node stalled, so didn't send
leader broadcasts for some time.  The node continued to hold the
cluster lock, so another node could not become leader.  However, after
the node returned to normal it still did not send leader broadcasts
because election-in-progress was never cleared.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14958

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 188a9021565bc2c1bec1d7a4830d6f47cdbc44a9)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/758e953ee07343e1e3fd0389eb2d82c0654be61c">758e953e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-02-15T09:01:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Consistently have caller set election-in-progress

The problem here is that election-in-progress must be set to
potentially avoid restarting the election broadcast timeout in
main_loop(), so this is already done by leader_handler().

Have force_election() set election-in-progress for all election types
and do not bother setting it in cluster_lock_election().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14958

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 9b3fab052bd2dccf2fc3fe9bd2b4354dff0b9ebb)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ddda97dc146179a035485219bca6af2338b360e9">ddda97dc</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-02-15T09:01:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Always send unknown leader broadcast when starting election

This is currently missed when the cluster lock is lost.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14958

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit bf55a0117d045e8ca888f7e01591cc2a2bce9223)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d0133dd3a54acc29949e8351702b0996ba8d66c6">d0133dd3</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-02-15T09:01:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Consistently log start of election

Elections should now be quite rare, so always log when one begins.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14958

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 0e74e03c9cf83d5dc2d97fa9f38ff8fbaa3d2685)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f3047e90a8653284f19ef7138ddbe9ada3b7a303">f3047e90</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-02-15T09:01:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Factor out functions to detect when generation changes

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14958

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 265e44abc42e1f5b7fef6550cd748459dbef80cb)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/79b42f0f2bfa539c66ca46adba8383e2465af783">79b42f0f</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2022-02-15T09:55:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Add a test for stalled node triggering election

A stalled node probably continues to hold the cluster lock, so confirm
elections work in this case.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14958

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Mon Feb 14 02:46:01 UTC 2022 on sn-devel-184

(cherry picked from commit 331c435ce520bef1274e076e6ed491400db3b5ad)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Tue Feb 15 09:55:38 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0d27228e75c6cb30394306dff1d5764e8183ae4c">0d27228e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-02-18T08:05:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Add a sanity check for the range

What we want to avoid:

$ ./bin/testparm -s | grep "idmap config"
        idmap config * : rangesize = 10000
        idmap config * : range = 10000-19999
        idmap config * : backend = autorid

$ ./bin/wbinfo --name-to-sid BUILTIN/Administrators
S-1-5-32-544 SID_ALIAS (4)

$ ./bin/wbinfo --sid-to-gid S-1-5-32-544
10000

$ ./bin/wbinfo --name-to-sid ADDOMAIN/alice
S-1-5-21-4058748110-895691256-3682847423-1107 SID_USER (1)

$ ./bin/wbinfo --sid-to-gid S-1-5-21-984165912-589366285-3903095728-1107
failed to call wbcSidToGid: WBC_ERR_DOMAIN_NOT_FOUND
Could not convert sid S-1-5-21-984165912-589366285-3903095728-1107 to gid

If only one range is configured we are either not able to map users/groups
from our primary *and* the BUILTIN domain. We need at least two ranges to also
cover the BUILTIN domain!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14967

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit fe84ae5547313e482ea0eba8ddca5b38a033dc8f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/be4e42f01fb958a0b7dbcd2d4ebc89991773ce49">be4e42f0</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-02-18T08:05:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Add a testparm check for idmap autorid

What we want to avoid:

$ ./bin/testparm -s | grep "idmap config"
        idmap config * : rangesize = 10000
        idmap config * : range = 10000-19999
        idmap config * : backend = autorid

$ ./bin/wbinfo --name-to-sid BUILTIN/Administrators
S-1-5-32-544 SID_ALIAS (4)

$ ./bin/wbinfo --sid-to-gid S-1-5-32-544
10000

$ ./bin/wbinfo --name-to-sid ADDOMAIN/alice
S-1-5-21-4058748110-895691256-3682847423-1107 SID_USER (1)

$ ./bin/wbinfo --sid-to-gid S-1-5-21-984165912-589366285-3903095728-1107
failed to call wbcSidToGid: WBC_ERR_DOMAIN_NOT_FOUND
Could not convert sid S-1-5-21-984165912-589366285-3903095728-1107 to gid

If only one range is configured we are either not able to map users/groups
from our primary *and* the BUILTIN domain. We need at least two ranges to also
cover the BUILTIN domain!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14967

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit db6d4da3411a910e7ce45fe1fecfabf2864eb9f4)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/48929ba6634c93174f9f863d9e9f59d2add4d720">48929ba6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-02-18T09:07:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Fix idmap_autorid documentation

What we want to avoid:

$ ./bin/testparm -s | grep "idmap config"
        idmap config * : rangesize = 10000
        idmap config * : range = 10000-19999
        idmap config * : backend = autorid

$ ./bin/wbinfo --name-to-sid BUILTIN/Administrators
S-1-5-32-544 SID_ALIAS (4)

$ ./bin/wbinfo --sid-to-gid S-1-5-32-544
10000

$ ./bin/wbinfo --name-to-sid ADDOMAIN/alice
S-1-5-21-4058748110-895691256-3682847423-1107 SID_USER (1)

$ ./bin/wbinfo --sid-to-gid S-1-5-21-984165912-589366285-3903095728-1107
failed to call wbcSidToGid: WBC_ERR_DOMAIN_NOT_FOUND
Could not convert sid S-1-5-21-984165912-589366285-3903095728-1107 to gid

If only one range is configured we are either not able to map users/groups
from our primary *and* the BUILTIN domain. We need at least two ranges to also
cover the BUILTIN domain!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14967

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 7e5afd8f1f7e5cfab1a8ef7f4293ac465b7cd8de)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Fri Feb 18 09:07:13 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3fef25f2e62ac2e835abb97b9b1d6f63d8ac0edc">3fef25f2</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2022-02-25T17:12:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Fix memory leak in kerberos_return_pac() error path

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 3dbcd20de98cd28683a9c248368e5082b6388111)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7db685f8422a0000f2e77ad3dda743ea606537c6">7db685f8</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2022-02-25T17:12:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:krb5_wrap: Improve debug message and use newer debug macro

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit ed14513be055cc56eb39785323df2c538a813865)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a4b9a9ce8ef9c8947a7cd45044033a2aa3d7e40f">a4b9a9ce</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2022-02-25T17:12:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:krb5_wrap: Fix wrong debug message and use newer debug macro

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 1b5b4107a5081f15ba215f3025056d509fcfcf2a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/85fdd88e3cabbd405ddfda32b0b2b4e7eeee673e">85fdd88e</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2022-02-25T17:12:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Return canonical principal and realm from kerberos_return_pac()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14979

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 00b1f44a7e8f66976757535bcbc6bea97fb1c29f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e3efe2d0de20216ea7ecbc8e41ae8c6968507d29">e3efe2d0</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2022-02-25T17:12:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Store canonical principal and realm in ccache entry

They will be used later to refresh the tickets.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14979

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 0f4f330773d272b4d28ff3ba5a41bdd4ba569c8b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4346dac73a4e74b1e286346f1e6d867a8369f5fd">4346dac7</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2022-02-25T18:08:19+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Use the canonical principal name to renew the credentials

The principal name stored in the winbindd ccache entry might be an
enterprise principal name if enterprise principals are enabled. Use
the canonical name to renew the credentials.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14979

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 8246ccc23d064147412bb3475e6431a9fffc0d27)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Fri Feb 25 18:08:19 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9016cb5c64351ff267d8deb43451370d6dcbba64">9016cb5c</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2022-02-27T19:08:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">acl: fix function arguments for AIX' and Solaris' sys_acl_get_fd()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14974

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 183ab5ced8377b63ad07d2e810396d3b414f4a7d)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/821e16c077c98ea4d792a4a788be68c2fbb21264">821e16c0</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2022-02-27T19:08:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wscript: s/default/required/ _static_modules for the acl modules

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14974

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 89e903985b6968c5becc69b757b23144b1aba66e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e82833a107834cdfaef72e5a2c805a780ef2cba5">e82833a1</a></strong>
<div>
<span>by Bjoern Jacke</span>
<i>at 2022-02-27T19:08:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_aixacl: add proper header file

BUG: https://bugzilla.samba.org/show_bug.cgi?id=7239

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 396c17160c19c6df43123074bf62268c6ed0f9e4)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/76463193044cdbcf96a7199fa4bf4ef45a5b2513">76463193</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2022-02-27T19:08:16+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">readlink test: inverse return code

We need to return 0 in case readlink is *broken* here - this is because our waf
CHECK_CODE function does only allow generating defines in case the test succeeds

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13631

Signed-off-by: Bjoern Jacke <bj@sernet.de>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit e225ab70db0cc01454d319eaca5265d7e33f396c)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2d87ade08a6f03e34428c8ff0793be8f1552b685">2d87ade0</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2022-02-27T20:03:27+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: re-add missing readlink test

this was another portability regression that came with the moving to waf

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13631

Signed-off-by: Bjoern Jacke <bj@sernet.de>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Feb 18 23:12:51 UTC 2022 on sn-devel-184

(cherry picked from commit 45cb14ac80889ac913f7f76dbfaebcb4d5ee14fd)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Sun Feb 27 20:03:27 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d89d82bdde43e93aa545bc30876159495ff35b59">d89d82bd</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-03-01T08:56:31+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add release notes for Samba 4.16.0rc4.

Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3b4041236d18e48db6fe4c521b0c267ae08b15a6">3b404123</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-03-01T08:57:23+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Disable GIT_SNAPSHOT for the 4.16.0rc4 release.

Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/91c7a2cb662c91fde271315d6abbc584dd63639b">91c7a2cb</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-03-01T08:58:07+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to Samba 4.16.0rc5...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9fd10105530fb8c14c36e74de97561b909fc40a6">9fd10105</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2022-03-02T10:26:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix a use-after-free

stat_cache_lookup() allocates its result on top of talloc_tos().
filename_convert_smb1_search_path() creates a talloc_stackframe(),
which makes the names which were supposed to be allocated on the "ctx"
parameter of filename_convert_smb1_search_path() go away too
early. Reparent the results from stat_cache_lookup() properly.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14989

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Mar  1 20:59:55 UTC 2022 on sn-devel-184

(cherry picked from commit 8c97743511e4d53f795f2469a28aabfb96da0dfa)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b668c076722745c060ba7b1c5e4b2c9342452fe2">b668c076</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-02T10:26:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:sam: Don't use talloc_steal for msg attributes in authsam_make_user_info_dc()

This is most likely not a problem for the current callers,
but that it is unexpected and will likely cause problems with future
changes.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14993
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit f6fe86924c2ca756083d3628d5dbace0b12d06b0)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/635c8b730f7163dcb7e73d640948d91f88e70369">635c8b73</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth: Cope with NULL upn_name in PAC

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit ef95fb439237910b945b8d6a3ad4a140a8d6d1ea)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/77ed10e2ff82a2c3df873c0fee4de586e4a82d49">77ed10e2</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party/heimdal_build: Add KDC_LIB macro definitions

This is an adaptation to Heimdal:

commit 7bb00a40eabbed2bc1c268f5244bfb9736d9bebe
Author: Luke Howard <lukeh@padl.com>
Date:   Tue Jan 4 13:08:35 2022 +1100

    kdc: fix Windows build

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 6d8fec7006e8eadf5967a6f2f5add7d3c2c7bd3e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/97011aa3ce11877685a735906b868d1789a089d7">97011aa3</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Don't pass empty PAC buffers to krb5_pac_add_buffer()

Heimdal will no longer allow us to pass a dummy zero-length buffer to
krb5_pac_add_buffer(), so we have to pass a buffer of length 1 instead.

This is an adaption to Heimdal:

commit 190263bb7a56fc775b50a6cd0dc91820d2b2e5eb
Author: Jeffrey Altman <jaltman@secure-endpoints.com>
Date:   Wed Jan 19 22:55:33 2022 -0500

    assert non-NULL ptrs before calling mem funcs

    The definitions of memcpy(), memmove(), and memset() state that
    the behaviour is undefined if any of the pointer arguments are
    NULL, and some compilers are known to make use of this to
    optimise away existing NULL checks in the source.

    Change-Id: I489bc256e3eac7ff41d91becb0b43aba73dbb3f9
    Link: https://www.imperialviolet.org/2016/06/26/nonnull.html

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 9936038fae72fb440864be543e9afd500444d502)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/947ad1581a6bdc6695a63e7af477f65564a46fda">947ad158</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party/heimdal_build: Determine whether time_t is signed

Without this, Heimdal will assume time_t is unsigned, and a wrong
assumption will cause 'infinite' ticket lifetimes to be reckoned as from
the past, and thus requests will fail with KDC_ERR_NEVER_VALID.

This is an adaptation to Heimdal:

commit 9ae9902249732237aa1711591604a6adf24963fe
Author: Nicolas Williams <nico@twosigma.com>
Date:   Tue Feb 15 17:01:00 2022 -0600

    cf: Check if time_t is signed

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Mar  1 18:07:50 UTC 2022 on sn-devel-184

(cherry picked from commit 9eb27f296ae2b797803fffbb7f4cb34d8eb06f34)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c9a77ff43e07c144052e9db53699ab3304233ac0">c9a77ff4</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party/heimdal_build: Define fallthrough macro for switch statements

This is an adaptation to Heimdal:

commit ddc61136100b32346c4c4efa2bb6ddb5baedfb3e
Author: Nicolas Williams <nico@twosigma.com>
Date:   Fri Jan 14 16:32:04 2022 -0600

    Use fallthrough statement attribute

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit fccf9859786dfb50b317ea2296c2494997f0ae09)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e26fbf420e41666cb1ccbe955a411ffbbcdfaae4">e26fbf42</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party/heimdal: import lorikeet-heimdal-202203010107 (commit 0e7a12404c388e831fe6933fcc3c86e7eb334825)

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 51569b3152a952d07fddaa3a70d60c920618c704)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/26880578a5f8bc2fc3944ab08817b14d023a98b1">26880578</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party/heimdal_build: Add source files to build

This is an adaptation to Heimdal:

commit be708ca3cf98900c61919f8ff7ced4428b5d1f32
Author: Nicolas Williams <nico@twosigma.com>
Date:   Wed Dec 22 17:01:12 2021 -0600

    gsskrb5: Add simple name attributes support

    This adds Kerberos mechanism support for:

     - composite principal name export/import
     - getting rudimentary name attributes from GSS names using
       gss_get_name_attribute():
        - all (raw) authorization data from the Ticket
        - all (raw) authorization data from the Authenticator
        - transit path
        - realm
        - component count
        - each component
     - gss_inquire_name()
     - gss_display_name_ext() (just for the hostbased service name type
                               though)

    The test exercises almost all of the functionality, except for:

     - getting the PAC
     - getting authz-data from the Authenticator
     - getting the transit path

    TBD (much) later:

     - amend test_context to do minimal name attribute checks as well
     - gss_set_name_attribute() (to request authz-data)
     - gss_delete_name_attribute()
     - getting specific authorization data elements via URN fragments (as
       opposed to all of them)
     - parsing the PAC, extracting SIDs (each one as a separate value)
     - some configurable local policy (?)
     - plugin interface for additional local policy

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit f2ca9c5db7e1bb20cfc6705633b48c32b1496334)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9627ee616b55d809d1b31cb2c2cbbd46afbd3acb">9627ee61</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:30+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Refactor HDB API

This is an adaptation to Heimdal:

commit b1dcc1a47485165ada778ef3c3463cfc0779d183
Author: Luke Howard <lukeh@padl.com>
Date:   Fri Dec 31 17:24:58 2021 +1100

    kdc: refactor Samba-specific auditing API in terms of existing API

    Make Samba-specific HDB auth status API a wrapper on the existing auditing API,
    with a view towards unifying the two APIs in a future commit.

    The term "auth status" is replaced with "auth event", and the HDB auth_status
    method is replaced with a more general purpose audit method which has access to
    the entire request structure.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit a2f7987d58372cfc52bc5f9786c0719439956fee)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/115d8e493fe36cc08e1f20b6fae4f73f9da959b2">115d8e49</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Adapt to removal of auth event details

This is an adaptation to Heimdal:

commit e15e711b13e2fb33f4480a054cba60b6c4c0183b
Author: Luke Howard <lukeh@padl.com>
Date:   Sat Jan 1 18:05:51 2022 +1100

    kdc: remove auth_event_details audit key

    The auth event details audit key (formerly, parameter to auth_status)
    contained, variously, an encryption type name; a PKINIT client certificate
    name; or, a GSS initiator name. Audit these instead using individual keys that
    reflect the values' contents.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 7989ef0aa7b75b2e5af7be445fc64cbf49b2985c)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cef9e6f8514c2bddd20d15d03b81825b6a09416b">cef9e6f8</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Add 'not authorised' auth events

This is an adaptation to Heimdal:

commit d683780b1d728bf8c5b794a1f66842e5a25bd360
Author: Luke Howard <lukeh@padl.com>
Date:   Sat Jan 1 23:44:05 2022 +1100

    kdc: separate PKINIT/GSS authorization failure

    Create a new audit event for PKINIT/GSS authorization (impersonation) failure

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 0d37a1928100e229bea46701b41d4efa72e10266)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b88d892498077a94ac81b6d554923ff7b50b8667">b88d8924</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Add referral policy callback

This is now used instead of a configuration option.

This is an adaption to Heimdal:

commit 3fa47f5a1a422e178d968a8ec0d59889eaa71548
Author: Luke Howard <lukeh@padl.com>
Date:   Sun Jan 2 21:51:43 2022 +1100

    kdc: add referral_policy callback to windc plugin

    Add a referral policy hook to the TGS as a more elegant way of resolving
    referral detection for Samba). The hook can either rewrite the server_princ in
    the request, or it can return an error to disable built-in referral processing.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit a5799cea037a4613ba4d1073fff6e6151ed06c76)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9e76300526621fa616b88e16b10b1a55f56923b3">9e763005</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Rename windc to kdc plugin

This is an adaptation to Heimdal:

commit fcff5933ade652343d7c169659da92fac0e6e0d4
Author: Luke Howard <lukeh@padl.com>
Date:   Mon Jan 3 11:10:18 2022 +1100

    kdc: rename windc to kdc plugin

    Rename the "windc" plugin API to the more general "kdc" plugin API, for two
    reasons: the Heimdal KDC uses the Windows PAC even when not emulating a domain
    controller, and the plugin API has accreted methods that are not specific to
    emulating a domain controller (such as referral_policy and finalize_reply).

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 83586e8f5846fff7a8bbe47e743e03166b559584)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b6e2028f277651588385002a59f139dd714b16e6">b6e2028f</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Adapt to removal of auth audit event types

This is an adaptation to Heimdal:

commit 06f8985c55fcd23e3efe0017ed2480c5b3c4524f
Author: Luke Howard <lukeh@padl.com>
Date:   Wed Jan 5 09:42:03 2022 +1100

    hdb: consolidate preauth audit event types

    Instead of having distinct preauth success/failure events for different
    mechanisms, have a single event; the mechanism can be disambiguated by querying
    the HDB_REQUEST_KV_PA_NAME key.

    Note: there is still an explicit event for long-term key-based success/failure
    in order to help the backend implement lockout.

    Audit failure (HDB_AUTH_EVENT_PREAUTH_FAILED) in the main preauth loop, rather
    than in each mechanism. Success is still audited in the mechanism to allow
    client pre-authentication success to be noted even if something subsequent
    (e.g. encoding a reply, memory allocation) fails. The generic catch-all for
    success remains.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit f234361abea4166ce4e10cfa4e7f4096b83480a9)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0918e692fac217c44b1de8aec331765b251b468d">0918e692</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party/heimdal_build: Add SFU source file

This is an adaptation to Heimdal:

commit 0287558838de79313e38026d2f0905ffc987d0b8
Author: Luke Howard <lukeh@padl.com>
Date:   Fri Dec 24 13:49:55 2021 +1100

    kdc: move Services for User implementation out of krb5tgs.c

    Move the Services for User (SFU/S4U) implementation -- protocol transition and
    constrained delegation -- into its own compilation unit, with an interface that
    only takes an astgs_request_t, so it can be easily factored out into a plugin
    module in the future.

    This refactoring is also careful to update all client names in the request
    structure after the SFU/S4U validation has successfully completed.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit b9f4ea8bdb70476d6cc6df962bf6b28805588ed5)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5493c1a5df62249d11c14ad2c5321d8c3f74060d">5493c1a5</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Explicitly set plugin minor version

This is an adaptation to Heimdal:

commit 7cc4b7a9e624f5eecfbb38607d4cc0870a895671
Author: Luke Howard <lukeh@padl.com>
Date:   Wed Jan 5 13:08:11 2022 +1100

    kdc: KDC plugin API contract notes

    Add some notes about the KDC plugin API contract, and require plugins to
    explicitly indicate which version of the API they support (remove the macro
    alias for the current version).

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 675f913e54d8fddb9173c1e67b9d14885cc1d878)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8ae5ce46e57e8a78d55f3bd6cbb679ca8308adeb">8ae5ce46</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party/heimdal_build: Don't generate .x source files

This is an adaptation to Heimdal:

commit 9427796f1a65906f12768b28abdb5a928222f3c6
Author: Jeffrey Altman <jaltman@secure-endpoints.com>
Date:   Wed Jan 5 15:45:23 2022 -0500

    Generate .x source files as .c source files

    The generated .x source and .hx header files are plain C source files..
    Generate them as .c source files and avoid unnecessary file copying
    and special makefile rules.

    Change-Id: Ifc4bbe3c46dd357fdd642040ad964c7cfe1d395c

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 7cb68fdba75c362cdfd8f3bf08bcd9c22bbe4556)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f90e729e01eb9d43345bde12af891acf5d8ab64b">f90e729e</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Increment plugin minor version

This is an adaptation to Heimdal:

commit 40e4a4df09c2d6c3ba7bf14df1dee74a0bc18110
Author: Luke Howard <lukeh@padl.com>
Date:   Mon Jan 10 12:50:37 2022 +1100

    kdc: use astgs_request_t for client/server name (TGS)

    Store the client and server principal name from the TGT and request
    (respectively) in the astgs_request_t rather than using local variables.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 068f2bf117ab9968011fdb8d60b98bb37d529658)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/12a61bb7416eed3b7fa261791eea926f683ee5f1">12a61bb7</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Adapt to hdb_entry_ex removal

Rather than having a 'free_entry' member that can be called to free an
hdb_entry, we now implement the free function in HDB. We perform the
free only if the context pointer is non-NULL.

We also remove the ZERO_STRUCTP() in sdb_entry_to_hdb_entry(), as the
context pointer is now part of the 'hdb_entry' structure itself, and
this would undesirably zero it out.

This is an adaptation to Heimdal commits:

commit c5551775e204d00c7ee8055ab6ddbba7e0590584
Author: Luke Howard <lukeh@padl.com>
Date:   Fri Jan 7 12:15:55 2022 +1100

    hdb: decorate HDB_entry with context member

    Decorate HDB_entry with context and move free_entry callback into HDB structure
    itself. Requires updating hdb_free_entry() signature to include HDB parameter.
    A follow-up commit will consolidate hdb_entry_ex (which has a single hdb_entry
    member) into hdb_entry.

commit 0e8c4ccc6ee0123ea39e53e8917fc3f6bb74e8c8
Author: Luke Howard <lukeh@padl.com>
Date:   Fri Jan 7 12:54:40 2022 +1100

    hdb: eliminate hdb_entry_ex

    Remove hdb_entry_ex and revert to the original design of hdb_entry (except with
    an additional context member in hdb_entry which is managed by the free_entry
    method in HDB).

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 94d387abd5031c12989f925ee5eb733432402d1d)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/71912b630e945ab554d2f36f94d879c4ec87cfb9">71912b63</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-02T10:26:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Adapt to removal of publicly accessible request structure members

We now have to use the accessor functions instead.

This is an adaptation to Heimdal:

commit ec24edf7005c340018450a202d27ca75fcf322d4
Author: Luke Howard <lukeh@padl.com>
Date:   Thu Jan 20 09:15:24 2022 +1100

    kdc: add accessor functions for KDC request structure

    Add accessor functions for use by Samba and other plugin developers.
    Documentation is in kdc/kdc-accessors.h.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 9399a15fabb5a1b8470b1069a098132e2fdb7f0f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/794c717ba75c15e96bdc3a651ddd0715bcd4f92e">794c717b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-03-02T10:26:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-kdc: Adapt to move from HDB auditing to KDC auditing constants

This is to adapt to:

    commit 6530021f09a5cab631be19a1b5898a0ba6b32f16
    Author: Luke Howard <lukeh@padl.com>
    Date:   Thu Jan 13 14:37:29 2022 +1100

        kdc: move auth event definitions into KDC header

        Move KDC auth event macro definitions out of hdb.h and into a new KDC header,
        kdc-audit.h.

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
(cherry picked from commit c9b0b4bfc4e2e0b08b21f39bf56fd5395d66d66f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5b6ca18e020416aef105fa13d2e35bbd03c4da45">5b6ca18e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-02T11:24:26+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: hdb_samba4_audit() is only called once per request

So we need to restructure the logic a bit.

NOTE: This commit finally works again!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Joseph Sutton <jsutton@samba.org>
Autobuild-Date(master): Tue Mar  1 23:28:22 UTC 2022 on sn-devel-184

(cherry picked from commit 791be84c3eecb95e03611458e2305bae272ba267)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Wed Mar  2 11:24:26 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5dee3a6834ca69f8623cd270028922818270d5ab">5dee3a68</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2022-03-07T09:10:18+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest:auth_log: expect TLS connections when using ldaps

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit f37682747898591b37405f9e96a8135c15638637)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14996
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c240b977dbea2976ad2567f349b05c29755c037b">c240b977</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2022-03-07T10:11:22+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/auth/simple_bind: correctly report TLS state

It went wrong in 366f8cf0903e3583fda42696df62a5337f22131f

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Jan 26 12:39:52 UTC 2022 on sn-devel-184

(cherry picked from commit 309f1982263677045d407463eb19a2444c165a63)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14996

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Mon Mar  7 10:11:23 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ac61afa50224a2ee6d3b521222b3c5210ba95947">ac61afa5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-07T10:54:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:py_net: allow machinepass=None to py_net_join_member()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14984

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 576bdb08c51c47c390cc390fbefdcfee275b7f0f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e13a72df5f2f36f4dce5e1a51c0e0b5db2231db0">e13a72df</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-07T10:54:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool/join_member: let py_net_join_member() choose the password

It means we'll let trust_pw_new_value() generate the password.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14984

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 59ac782452c4993274fa837256a8b9c5675e707b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4872e1af2c1f826631fe45424af16a24dd8809d6">4872e1af</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-07T10:54:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision: use 120 characters for the dns account password

We should use the same as for the computer account.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14984

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 3b91be36581de1007427d539daffdaa62752412d)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/66d8622b6467419e7953100e752f448355e3a3ae">66d8622b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-07T10:54:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">upgradehelpers.py: let update_machine_account_password() use 120 character passwords

We already changed provision to use 120 character passwords with commit
609ca657652862fd9c81fd11f818efb74f72ff55.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14984

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 6bb7c0f24918329804b7f4fb71908e8fab99e266)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8c9bb2cafd62411cb904a8199e96e3948bbe9c20">8c9bb2ca</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-07T10:54:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision: add a comment that the value of krbtgtpass is ignored in the backend

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14984

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 725c94d57d3d656bc94633dacbac683a4c11d3e6)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a31721982fe63775ab3d0ad7e3dc00f647ffb5cc">a3172198</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-07T10:54:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">upgradehelpers.py: add a comment to update_krbtgt_account_password()

The backend generates its own random krbtgt password values.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14984

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit ad0b5561b492dfa28acfc9604b2358bb8b490703)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5caac70d8d426e1f3afa40d05515d96669f24569">5caac70d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-07T10:54:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:trusts_utils: use a password length of 120 for machine accounts

This is important when we change the machine password against
an RODC that proxies the request to an RWDC.

An RODC using NetrServerPasswordSet2() to proxy PasswordUpdateForward via
NetrLogonSendToSam() ignores a return of NT_STATUS_INVALID_PARAMETER
and reports NT_STATUS_OK as result of NetrServerPasswordSet2().
This hopefully found the last hole in our very robust machine account
password handling logic inside of trust_pw_change().

The lesson is: try to be as identical to how windows works as possible,
everything else may use is untested code paths on Windows.

A similar problem was fixed by this commit:

    commit 609ca657652862fd9c81fd11f818efb74f72ff55
    Author: Joseph Sutton <josephsutton@catalyst.net.nz>
    Date:   Wed Feb 24 02:03:25 2021 +1300

        provision: Decrease the length of random machine passwords

        The current length of 128-255 UTF-16 characters currently causes
        generation of crypt() passwords to typically fail. This commit
        decreases the length to 120 UTF-16 characters, which is the same as
        that used by Windows.

        BUG: https://bugzilla.samba.org/show_bug.cgi?id=14621

        Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
        Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
        Reviewed-by: Andrew Bartlett <abartlet@samba.org>

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14984

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Feb 23 08:49:54 UTC 2022 on sn-devel-184

(cherry picked from commit 5e2386336c49fab46c1192db972af5da1e916b32)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/423bbea002e6877c7d7cffde69fe66d52dcf0d96">423bbea0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-03-07T10:54:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: Add new SMB2 lease test test_lease_duplicate_create().

Checks we return INVALID_PARAMETER when trying to create a
new file with a duplicate lease key on the same share.

Checked against Windows10. Samba already passes this
but we didn't have a test before.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14737

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>
(cherry picked from commit bf22548d11fe67ea3f4ec10dff81773d626e4703)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7995e03b39e7cb972dc76be574d25eed7c8c2da7">7995e03b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-03-07T10:54:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: Add new SMB2 lease test test_lease_duplicate_open().

Checks we return INVALID_PARAMETER when trying to open a
different file with a duplicate lease key on the same share.

Checked against Windows10. Currently fails against smbd
so add knownfail.d/smb2-lease-duplicateopen

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14737

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>
(cherry picked from commit ca3896b6f8bbcad68f042720feceedfa29ddbd83)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de8fc990b21aeb6741e76bfd33772384b66682d9">de8fc990</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2022-03-07T11:49:31+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix our leases code to return the correct error in the non-dynamic share case.

We now return INVALID_PARAMETER when trying to open a
different file with a duplicate lease key on the same
(non-dynamic) share. This will enable us to pass another
Windows test suite leases test.

We now behave the same as Windows10.

Remove knownfail.d/smb2-lease-duplicateopen

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14737

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Feb 18 20:12:12 UTC 2022 on sn-devel-184

(cherry picked from commit 408be54323861c24b6377b804be4428cf45b471e)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Mon Mar  7 11:49:31 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/364b16068b1e46ba6aeffe321dd20840c35c2ab7">364b1606</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-03-08T10:33:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:tests: Add a test to check the output of smbstatus.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14999

Signed-off-by: Jule Anger <janger@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit b108e039ab13ee9f8f2c629c5b57085a462d14db)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9df5283f3d99ef6627843c223141040bfe263cf1">9df5283f</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-03-08T11:31:47+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: assign ids to struct to list shares correctly

The commit "99d1f1fa10d smbd: Remove unused "struct connections_key"" removes
also the assignment of information to connections_data, which are needed to list
shares.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14999

Signed-off-by: Jule Anger <janger@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Jule Anger <janger@samba.org>
Autobuild-Date(master): Mon Mar  7 15:27:48 UTC 2022 on sn-devel-184

(cherry picked from commit 9e9e6955ba93691545ea35e39ebdc285cd484406)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Tue Mar  8 11:31:47 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/302f9acb4a0c689a572b157f4947333485d05724">302f9acb</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-08T13:35:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party/heimdal: import lorikeet-heimdal-202203031927 (commit 7abc451ddd74d0c2e57dbb32f3198bde8def73ab)

NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14865

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit f33f73f82fb2d5d96928ce5910e2d0d939c2ff57)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b8e20583b052aeb8f1bda381f7a0dab420325e8d">b8e20583</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-08T13:35:17+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: let pac functions in wdc-samba4.c take astgs_request_t

NOTE: This commit finally works again!

This aligns us with the following Heimdal change:

   commit 11d8a053f50c88256b4d49c7e482c2eb8f6bde33
   Author:     Stefan Metzmacher <metze@samba.org>
   AuthorDate: Thu Feb 24 18:27:09 2022 +0100
   Commit:     Luke Howard <lukeh@padl.com>
   CommitDate: Thu Mar 3 09:58:48 2022 +1100

       kdc-plugin: also pass astgs_request_t to the pac related functions

       This is more consistent and allows the pac hooks to be more flexible.

       Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14865

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 27ee5ad713b760e8226537d79c529ace1efb07bf)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b6a6af868c03407d41dd978e8a72b1acbc87720">4b6a6af8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-08T14:30:45+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: redirect pre-authentication failures to an RWDC

The most important case is that we still have a previous
password cached at the RODC and the inbound replication
hasn't wiped the cache yet and we also haven't triggered
a new replication yet.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14865

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 0f5d7ff1a9fd14fd412b09883d413d1d660fa7be)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Tue Mar  8 14:30:45 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c3ee2db15a8f7c879ccbf1b6f1326621e7072c08">c3ee2db1</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-03-08T15:46:47+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add release notes for Samba 4.16.0rc5.

Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3a2c1b12f841f6ab2e3d2208fa9f46a55d5129f3">3a2c1b12</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-03-08T15:47:32+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Disable GIT_SNAPSHOT for the 4.16.0rc5 release.

Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8ac427eed2c6d200105d199c4695a304f17c76a5">8ac427ee</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-03-08T15:48:22+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to Samba 4.16.0rc6...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2aa95f782037be279b093df5b3f9cbe4f1c44ab3">2aa95f78</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-14T14:27:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party/heimdal: import lorikeet-heimdal-202203101709 (commit 47863866da25cc21d292ce335a976b8b33fa1864)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15002
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15005

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
(cherry picked from commit 67bdc922f9836779f1b37805575c5c4eea9ba3e6)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9aa78f15fd6f4796657246d09dab883a717de6f6">9aa78f15</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-14T14:27:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: add 'kdc enable fast' option

This will be useful to test against a KDC without FAST support
and find/prevent regressions.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15002
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15005

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
(cherry picked from commit 12b623088cf48cf9e4a046441810ef20e1f079b8)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4643536739464a1f1c49ca780ae34a1c8f6df360">46435367</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-14T14:27:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: make use of the 'kdc enable fast' option

This will useful to test against a KDC without FAST support
and find/prevent regressions.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15002
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15005

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
(cherry picked from commit 2db7589d69abebad16b66d933114367f815d5fc3)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e6196c456c1d9635376fcc5565b9f67e2e7cf65a">e6196c45</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-14T14:27:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: use 'kdc enable fast = no' for fl2000 fl2003

This makes sure we still run tests against KDCs without FAST support
and it already found a few regressions.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15002
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15005

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
(cherry picked from commit f1a71e24864367a55a30813dd642e7ef392b5ac9)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9d819c9359f35758219ee78ef0ade3828a9d8135">9d819c93</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-14T14:27:13+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party/heimdal: import lorikeet-heimdal-202203101710 (commit df8d801544144949931cd742169be1207b239c3d)

This fixes the regressions against KDCs without FAST support.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15002
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15005

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Mar 11 18:06:47 UTC 2022 on sn-devel-184

(cherry picked from commit 9b48e7f7eda5e368c1192d562c268885c1f68d8b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1fcb5ed30f9a2b2fd7e02be66ab6052ae960aeed">1fcb5ed3</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-03-14T15:24:28+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-kdc: Fix memory leak in FAST cookie handling

The call to sdb_free_entry() was forgotten.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15000

Signed-off-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Mar 11 11:05:55 UTC 2022 on sn-devel-184

(cherry picked from commit b7bc1f6dddc1c5fee8a39422823f167db1f24bb2)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Mon Mar 14 15:24:28 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/528ed90d03ab74f45f5c6d790e468445767b259e">528ed90d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python:tests: let insta_creds() also copy the bind_dn from the template

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit a30a7626254c863f95b98c97ea46ff54b98078ad)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/43c4dc75e21051e41dc2ed8dc8e2c42857aa6591">43c4dc75</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/tests: passwords.py don't need to import BasePasswordTestCase

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 90754591a7e4d5a3af70c01425930f4ec063c516)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff7ffbdf612dbf1a1e177b57deb2bcabf4152d23">ff7ffbdf</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/tests: let all BasePasswordTestCase tests provide self.host_url[_ldaps]

This will make further changes easier.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 5a3214c99048a88b0a9f509e3b5b38326529b02c)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c35de738dad02b847aab18220228dcab6e45fab0">c35de738</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/tests: make use of assertLoginFailure helper

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 03ba5af3d9eaeb5f0c7c1a1a61ef2ac454eb8392)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4b245891416d421bd6c0899d6098af16d1648d05">4b245891</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/tests: introduce assertLoginSuccess

This makes it possible to catch failures with knownfail entries.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 751ce671a4af32bc1c56433a5a1c8161377856c5)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/54bb3569e5d66bc5a8d62174c811bd21221cb364">54bb3569</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/tests: prepare BasePasswordTestCase for simple bind tests

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 0b1fbc9d56e2a25e3f1527ee5bc54880bdc65fc6)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/d92b46a4c04f2e2b30e60069404d0f4d31c2491e">d92b46a4</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/tests: add test_login_basics_simple()

This demonstrates that 'old password allowed period' also
applies to LDAP simple binds and not only to GSS-SPNEGO/NTLMSSP binds.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15001

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 3625d1381592f7af8ec14715c6c2dfa4d9f02676)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cafbb3e7307e0c1b1442ae02a8b83bb017a5eea9">cafbb3e7</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:auth: let make_user_info_netlogon_interactive() set USER_INFO_INTERACTIVE_LOGON

This is not really relevant for now, as USER_INFO_INTERACTIVE_LOGON is
not evaluated in the source3/auth stack. But better add it to
be consistent.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15001

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 012bd9f5b780f7a90cf3bd918f044ea67fae7017)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/64b2075c119e0cfa401082993f692bd48a343090">64b2075c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:auth_sam: use USER_INFO_INTERACTIVE_LOGON as inducation for an interactive logon

Using != AUTH_PASSWORD_RESPONSE is not the correct indication
due to the local mappings from AUTH_PASSWORD_PLAIN via
AUTH_PASSWORD_HASH to AUTH_PASSWORD_RESPONSE.

It means an LDAP simble bind will now honour
'old password allowed period'.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15001

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 2ad44686229ba02f98de5769c26a3dfeaf5ada2b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fcec3b21d9a9cf77567dcdfb993a430785236ede">fcec3b21</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rodc: Add tests for simple BIND alongside NTLMSSP binds

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 62fb6c1dc8527db6cf0f08d4d06e8813707f767a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/80f35f7ab6a992d8b93c1e12b061039ee64d117b">80f35f7a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_client: let rpccli_netlogon_network_logon() fallback to workstation = lp_netbios_name()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14641

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 5c04c01354944fc3a64bb109bf3e9bf89086cc6f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9898afd747f790521cacca91e64bb9e9838b8817">9898afd7</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:auth: a simple bind uses the DCs name as workstation

I've seen that in LogonSamLogonEx request triggered
by a simple bind with a user of a trusted domain
within the same forest. Note simple binds don't
work with users for another forest/external domain,
as the DsCrackNames call on the bind_dn fails.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14641

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 31db704882bbcd569c2abb764ac1d3691ee0a267)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6841fdef65bbe62260f9eb200d00742e3aef1a8f">6841fdef</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:auth: encrypt_user_info() should set password_state instead of mapped_state

user_info->mapped_state has nothing to do with enum auth_password_state,
user_info->password_state is the one that holds the auth_password_state value.

Luckily user_info->password_state was never referenced in the
encrypt_user_info() callers.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit a6fb598d9dcbfe21ef285b5f30fabcb88a259c93)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/27a8698ced542308c5e72648e1a65dfb41ce1943">27a8698c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth/ntlmssp: don't set mapped_state explicitly in auth_usersupplied_info

We already use talloc_zero() and mapped_state will be removed in the
next commits.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 9a4ac8ab2e2c8ee48f6bf5a6ecf7988c435ba1c6)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7b31dcbd70464a5a110452b70079ff230748114d">7b31dcbd</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:smb_server: don't set mapped_state explicitly in auth_usersupplied_info

We already use talloc_zero() and mapped_state will be removed in the
next commits.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 859c7817350553259eb09c889bc40afebb60064a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/20be02ecfded1de4e765fba78f0b7d9a5f2e6837">20be02ec</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb: don't set mapped_state in auth_usersupplied_info for audit logging

mapped_state is completely irrelevant for audit logging and
will also be removed in the next commits.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 99efe5f4e9ce426b28cef94d858849707ce15739)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b353567acf0a6b813b79cb782d9888b69b14180f">b353567a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: don't set mapped_state in auth_usersupplied_info for audit logging

mapped_state is completely irrelevant for audit logging and
will also be removed in the next commits.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit ca6948642bc2ff821ec4ca8ab24902b1ba9e8397)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/03996701fb5421916eba5616be2cf3fa2041b450">03996701</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server/samr: don't set mapped_state in auth_usersupplied_info for audit logging

mapped_state is completely irrelevant for audit logging and
will also be removed in the next commits.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 52787b9c1e9370133ff4481c62c2e7b9393c2439)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e691165b4de1466a11fe8288c1601ced31b9f1ff">e691165b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:auth: check for user_info->mapped.account_name if it needs to be filled

mapped_state is a special hack for authenticate_ldap_simple_bind_send()
in order to avoid some additional work in authsam_check_password_internals().

But that code will be changed in the next commits, so we can simplify
the logic and only check for user_info->mapped.account_name being NULL..
As it's the important factor that user_info->mapped.account_name is
non-NULL down in the auth stack.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit c7b8c71b2b71bb9d95c33d403c4204376f443852)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a219a81ff89912cbd55050e9e1fa78731f66e3bc">a219a81f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:auth: fix confusing DEBUG message in authsam_want_check()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit a12683bd1206df4d4d87a3842d92e34a69e172b7)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c46c341016d82566d97829d67b40a0e7bed25f36">c46c3410</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:auth: make_user_info_map() should not set mapped_state

mapped_state is only evaluated in authsam_check_password_internals()
of auth_sam.c in source4, so setting it in the auth3 code
doesn't make any difference. I've proved that with
an SMB_ASSERT() and a full pipeline not triggering it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit c56cb12f347b7582290ce1d4dfe3959d69050bd9)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cd29a661e0f552b0d29c87fae7a9be8703c3a9db">cd29a661</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: let test_wbinfo.sh also test wbinfo -a $USERNAME@$DOMAIN

When winbindd forwards wbinfo -a via netrLogonSamLogon* to a remote
DC work fine for upn names, e.g. administrator@DOMAIN.

But it currently fails locally on a DC against the local sam.

For the RODC only work because it forwards the request to
an RWDC.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15003

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit e1d2c59d360fb4e72dafe788b5d9dbb0572bf811)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1e617128adbb8eadf8e66473260b28a07894db30">1e617128</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: don't set mapped_state in winbindd_dual_auth_passdb()

mapped_state is a special hack for authenticate_ldap_simple_bind_send()
in order to avoid some additional work in authsam_check_password_internals()

This doesn't apply here. We should also handle wbinfo -a
authentication UPN names, e.g. administrator@DOMAIN,
even if the account belongs to the local sam.

With this change the behavior is consistent also locally on DCs and
also an RODC can handle these requests locally for cached accounts.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15003

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 8dfdbe095a4c8a7bedd29341656a7c3164517713)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f4e3909545013dafccba1e7ac22e3a78209b77ea">f4e39095</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:auth: rename user_info->mapped_state to user_info->cracknames_called

This makes it much clearer what it is used for and
it is a special hack for authenticate_ldap_simple_bind_send()
in order to avoid some additional work in
authsam_check_password_internals().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 427125d182252d8aee3dd906ee34a909cdbb8ef3)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7bb17ee5134fa8cbcc2278da142defa4834bd2b3">7bb17ee5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T13:41:14+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth: let auth logging prefer user_info->orig_client.{account,domain}_name if available

The optional user_info->orig_client.{account,domain}_name are
the once really used by the client and should be used in
audit logging. But we still fallback to
user_info->client.{account,domain}_name.

This will be important for the next commit.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 24b580cae23860a0fe6c9d3a285d60564057043d)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/bf8f8c592b0395562a7bd296505c24ec09f65e4b">bf8f8c59</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-16T14:40:08+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:auth: let authenticate_ldap_simple_bind() pass down the mapped nt4names

authenticate_ldap_simple_bind*() needs to pass the
result of the cracknames operation into the auth stack
as user_info->client.{account,domain}_name, because
user_info->client.{account,domain}_name is also used
when forwarding the request via netrLogonSamLogon*
to a remote server, for exactly that the values are
also used in order to map a AUTH_PASSWORD_PLAIN into
AUTH_PASSWORD_RESPONSE, where the NTLMv2 response
contains the account and domain names passed in the
netr_IdentityInfo value.

Otherwise it would not be possible to forward the
LDAP simple bind authentication request to a remote
DC.

Currently this only applies to an RODC that forwards
the request to an RWDC.

But note that LDAP simple binds (as on Windows) only
work for users in the DCs forest, as the DsCrackNames
need to work and it can't work for users of remote
forests. I tested that in a DC of a forest root domain,
if rejected the LDAP simple bind against a different forest,
but allowed it for a users of a child domain in the
same forest. The NTLMSSP bind worked in both cases.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13879

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Mar 10 04:10:54 UTC 2022 on sn-devel-184

(cherry picked from commit 40f2070d3b2b1b13cc08f7844bfe4945e9f0cd86)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Wed Mar 16 14:40:08 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/34771e1931587807d0395c7ac7f4be18654997f4">34771e19</a></strong>
<div>
<span>by Elia Geretto</span>
<i>at 2022-03-17T09:14:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Fix errno for failed authentication in SMBC_server_internal()

In SMBC_server_internal(), when authentication fails, the errno value is
currently hard-coded to EPERM, while it should be EACCES instead. Use the
NT_STATUS map to set the appropriate value.

This bug was found because it breaks listing printers protected by
authentication in GNOME Control Panel.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14983

Signed-off-by: Elia Geretto <elia.f.geretto@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Mar 16 19:44:18 UTC 2022 on sn-devel-184

(cherry picked from commit 70b9977a46e5242174b4461a7f49d5f640c1db62)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dd6c50b82ee7e1ffc4f4a481543b4888df37b89c">dd6c50b8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-03-17T09:14:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testprogs: Add test that local krb5.conf has been created

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15016

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit d2ac90cdd5672330ed9c323fc474f8ba62750a6f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c20ca210fb8cb123501cfa9ead0fbb2dd29acdf0">c20ca210</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-03-17T09:14:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Remove trailing spaces in kerberos.c

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15016

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 567b1996796e5d3cf572653f38817d832fa135ca)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2599f5313bd86b9821ba38dd0b9679b5aaa50acc">2599f531</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-03-17T09:14:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Leave early on error in get_kdc_ip_string()

This avoids useless allocations.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15016

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 313f03c78487ae49747b8143220ecbfe8ad9310a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cce13c772f1db5a03e43f083819c458a4a8844c8">cce13c77</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-03-17T09:14:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Improve debug messages for get_kdc_ip_string()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15016

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 7f721dc2eee0064a1ddd480fcaf77bf1659c7a26)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cfbd47d7b48896847cd43da58167cd6afcbef31e">cfbd47d7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-03-17T09:14:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Use talloc_asprintf_append() in get_kdc_ip_string()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15016

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 812032833aa65729dbbfd4313a6e3fe072c88530)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3c98408be7ddfe1d3df45b4790746eb608c2b98d">3c98408b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-03-17T09:14:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Allocate all memory on the talloc stackframe

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15016

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 652c8ce1672dfead00c7af6af22e3bb3927764ec)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3c5d0c379d7882d8c3c45a0dde53a68c7ec8a2a7">3c5d0c37</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-03-17T09:14:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Remove obsolete free's of kdc_str

This is allocated on the stackframe now!

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15016

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit cca189d0934790418e27d9d01282370b1e6a057f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/abe01ca6b215e51dea8328869731d88956bfb2dc">abe01ca6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-03-17T09:14:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Check print_canonical_sockaddr_with_port() for NULL in get_kdc_ip_string()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15016

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 12c843ad0a97fcbaaea738b82941533e5d2aec99)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9272ec1a2452ecea60b894f649c18d870cf9e2aa">9272ec1a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2022-03-17T09:14:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Fix creating local krb5.conf

We create an KDC ip string entry directly at the beginning, use it if we
don't have any additional DCs.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15016

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Mar 16 14:26:36 UTC 2022 on sn-devel-184

(cherry picked from commit 68d181ee676e17a5cdcfc12c5cc7eef242fdfa6c)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/507ececf03d8644b93a9ea953f6ab1c4aefb8e47">507ececf</a></strong>
<div>
<span>by Joseph Sutton</span>
<i>at 2022-03-17T09:14:56+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-kdc: Handle previously unhandled auth event types

Cases to handle KDC_AUTH_EVENT_VALIDATED_LONG_TERM_KEY and
KDC_AUTH_EVENT_PREAUTH_SUCCEEDED were removed in:

commit 791be84c3eecb95e03611458e2305bae272ba267
Author: Stefan Metzmacher <metze@samba.org>
Date:   Wed Mar 2 10:10:08 2022 +1300

    s4:kdc: hdb_samba4_audit() is only called once per request

Normally these auth event types are overwritten with the
KDC_AUTH_EVENT_CLIENT_AUTHORIZED event type, but if a client passes the
pre-authentication check, and happens to fail the client access check
(e.g. because the account is disabled), we get error messages of the
form:
hdb_samba4_audit: Unhandled hdb_auth_status=9 => INTERNAL_ERROR

To avoid such errors, use the error code provided in the request
structure to obtain a relevant status code in cases not handled
explicitly.

For unexpected values we return KRB5KRB_ERR_GENERIC
in order to hopefully prevent success. And within make test
we panic in order let a ci run fail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15015

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit b01388da8a72c11c46bb27e773b354520bc6ac88)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/41054b612311e624fa6a673808118fc319e758d8">41054b61</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2022-03-17T10:12:38+00:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: tunnel the check_client_access status to hdb_samba4_audit()

Otherwise useful information gets lost while converting
from NTSTATUS to krb5_error and back to NTSTATUS again.
E.g. NT_STATUS_ACCOUNT_DISABLED would be audited as
NT_STATUS_ACCOUNT_LOCKED_OUT.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15015

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 5294dc80090482d5669126802672eb2c89e269cf)

Autobuild-User(v4-16-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-16-test): Thu Mar 17 10:12:38 UTC 2022 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f42362715008716ed8508645329a9b16995e7db9">f4236271</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-03-17T11:23:03+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: older SMB1 command removal/simpliciation and deprecation

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e79f04a317906b1fbd9a53c831800088e2aab680">e79f04a3</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-03-17T11:23:03+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW for Heimdal upgrade

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8892af2a0925ef40cf133fa351a17f7518fb038e">8892af2a</a></strong>
<div>
<span>by Thomas Debesse</span>
<i>at 2022-03-21T10:47:20+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: IRC is irc.libera.chat according to https://www.samba.org/samba/irc.html

Signed-off-by: Thomas Debesse <dev@illwieckz.net>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/85ce5e7d821f7adb4520799b3aaab23595145792">85ce5e7d</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2022-03-21T10:47:20+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Mention our matrix room as well

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9fef6aae682c02a3cdf4110ff52b2be2755c15fb">9fef6aae</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-03-21T11:05:22+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add release notes for Samba 4.16.0.

Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e95d85f784ae6b19f2cb42cc9039b60b146e5b69">e95d85f7</a></strong>
<div>
<span>by Jule Anger</span>
<i>at 2022-03-21T11:08:03+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Disable GIT_SNAPSHOT for the 4.16.0 release.

Signed-off-by: Jule Anger <janger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ec6cfc3946d2b68bb15a1e5f06cbc10a9b77e044">ec6cfc39</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-24T13:19:50+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Update d/gbp.conf, d/watch and d/README.source for 4.16
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/25dc168fc77da2ca34e1777cb038d111cea40f21">25dc168f</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-24T13:21:57+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/copyright, d/gbp.conf: mark non-DFSG RFCs in heimdal sources to remove
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9414fcd9e1244a361c65e19bd2fa9394d44d19d5">9414fcd9</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-24T13:24:58+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">New upstream version 4.16.0+dfsg</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9840c9a7877585883fe2108f0dfa8e66570f9aab">9840c9a7</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-24T13:25:11+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/gbp.conf: do not remove non-existing *.chm from source
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7433a79ace1a6fbf2983defb975e6435affab0a0">7433a79a</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-24T13:25:47+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Update upstream source from tag 'upstream/4.16.0+dfsg'

Update to upstream version '4.16.0+dfsg'
with Debian dir bd3b6294070ad8eff70be48459863e8360b432f3</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/75d71a451b43fd610498ef53f285e20f7fcd276f">75d71a45</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-24T15:07:35+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/changelog: start of 4.16
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/08db2646f55d22292f76061d7319c598f1b2087b">08db2646</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-24T15:07:35+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">refresh patches (reduce context in ctdb.conf), comment out add-so-version-to-private-libraries for now
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3a162b8fdabd8924afc4c975b5c4178ae0e393c9">3a162b8f</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-24T15:07:35+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/control: update required versions (talloc=2.3.3,tdb=1.4.6,tevent=0.11.0,ldb=2.5.0)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/caacc0128e46a4bc85aad9b2e10d5fe5e6395b78">caacc012</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-24T15:07:35+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/control: add myself to Uploaders
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8eabb51407f53031d3009f701015838e4e725e29">8eabb514</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-24T15:07:35+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/rules: --with-dnsupdate has been consolidated with --with-ads
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/34dd6171e5479931c8d1e30e9843ae15f6bf2116">34dd6171</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-24T15:07:37+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/control: add python3-markdown to build-depends
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5c0c5b148c2bf6fe6c9b1fdbc8b150e2d6f5080f">5c0c5b14</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-24T15:12:20+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/control: add libjson-perl to build-depends (needed for heimdal)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/175c1ea39e2cb9c139bdcffe55e18a1437183f65">175c1ea3</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-26T19:49:02+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/rules: bump talloc and tdb library build-deps to include _PUBLIC_ fix
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f5ee633cdde1bf365be80636040336c87904b050">f5ee633c</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/rules: do not disable samba-cluster-support lib

with samba-cluster-support in --builtin-libraries,
smbd fails to link
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7bb2df7e7b02fae7588edee280e6e35931265c9e">7bb2df7e</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/rules: do not remove files after install which are not present in current samba
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/16caefaf5bcf44ead045bc1f5e9d902586aa84ff">16caefaf</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">refresh and re-enable add-so-version-to-private-libraries
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/516fd8b3fe30087095902094febec944fb74685e">516fd8b3</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbclient: do not install findsmb for now (it is just an example)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dedbc9a2d770fba783e02ccf24bbec4e3f96da47">dedbc9a2</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">all private libraries in libdir/samba are of the form libFOO-samba4.so.0
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/dca3789ee4ff09471732b0d4517c9b9375ccbf47">dca3789e</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-libs: remove dlz_bind9.so from the list
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/98286c6a588a57cbbfeb7a104b45c89a7731aac2">98286c6a</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-libs: bump soversion for libnetapi.so(0->1) & libsamba-credentials.so (0=>1)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/00a6c17edc1883f53efba8cb85229ee05bdfb995">00a6c17e</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: do not install ctdb_local_daemons
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ca0b3c40503edec1211f8716e7297848e9d38b8f">ca0b3c40</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-libs: do not install non-existing private libutil-cmdline libcmdline-credentials libpopt-samba3*
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/115e0e3b0291acd10a3bed51cf092cc40fdaf0b9">115e0e3b</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libwbclient0: do not install non-existing private libwinbind-client
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/a932acb27848e864f85d615aceecde975a25fd6c">a932acb2</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-libs: install all of libsmbldap.so.2*
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/85b2bac3857fe72a8dc81b814f9150375514b8ae">85b2bac3</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-libs: install new private libcmdline
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/aac01fca917f61fed623663723b26fbb21a7f3e7">aac01fca</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-libs: install libsamba-cluster-support-samba4.so.0 (was built-into smbd before)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/87f84ae8f1a6f4148d15b9d143616a761fa6a700">87f84ae8</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba: install new private libREG-FULL & libRPC-WORKER
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/970d3785f4390bdc6d4963c2be4fe928cd947dfd">970d3785</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba: install new private libgss-preauth (needed by libkdc)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/0c8bd089a244a68b3474bcdcd06803afd24785c9">0c8bd089</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba: install new samba-bgqd & samba-dcerpc binaries (in libdir/samba/)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c6c4f2079c1fb37bcf9d05682b1b788d3bac2533">c6c4f207</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-libs: install private libRPC-SERVER-LOOP (needed by winbindd & samba)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5dcc1a17ffb6060c1a05cf7d72c7b9ee8c97ee56">5dcc1a17</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba: install new libdir/samba/rpc_* services
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/457bb1f65ce4d76dd022cdbd212b0f3c2cb0efb0">457bb1f6</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: install libdir/ctdb/tdb_mutex_check
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4f49e4f4661e470b5296fb58ea5342953437b417">4f49e4f4</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: install libdir/samba/async_dns_krb5_locator.so
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/c64d491d05465723940e0c4f0c597b1018e999b6">c64d491d</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T13:11:46+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/rules: allow non-verbose build by using d/rules V=

verbose (-v) waf invocation is just too verbose. For one,
it clobbers all the various warnings emitted during build.
By default it uses usual verbose build, but this can be turned
off by using d/rules V= .
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/f676a3b11fa61eb6e2d5546fc5d47972f37d93cf">f676a3b1</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:53:56+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/rules: do not explicitly set DEB_HOST_*, include architecture.mk instead

This reduces d/rules startup cost from 2s to 0.8s on my machine
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/28f8095362f1c410b7c5e38f0be6b1af2a75bda2">28f80953</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/rules: move python definitions up, and use $PYSHORT instead of python3

also drop quotes around PYTHON_CONFIG
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5546b224792184c531bea6934a2d522d545e1a19">5546b224</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmbclient: add new version symbol
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/cdb83c38ddcac726a86ac5a242c6e3454d44effd">cdb83c38</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libwbclient0: refresh symbols file. client_socket_addr close_low_fds get_socket_port read_hex_bytes string_sub_once string_sub_talloc are gone
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/75c130df724acd7f7f8be6bd2f6789f12610fa6c">75c130df</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/rules: switch from LD_LIBRARY_PATH to -l for dh_shlibdeps, use common variable for it
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/b1a28572e6a190b1c78174c435f69f0378ac8831">b1a28572</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/make_shlibs: switch to use dpkg-parsechangelog -S, convert backticks to $(), switch to /bin/sh
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/1f213f1564540dba7e2bd3700d34cc591649fb77">1f213f15</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debian/make_shlibs: do not exclude non-existing $libdir/plugin dir for dh_makeshlibs
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ae6ab152d3be30a4fd16027af2fba28c0a7cd48a">ae6ab152</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">open-code d/merge_shlibs.pl into d/make_shlibs
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/969bf84d292d22b25d58174b27536af56a8363fb">969bf84d</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/copyright: heimdal sources are moved
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/4dc5e55498e9cb331638b15ae7c6c7cb443c6f91">4dc5e554</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/rules: stop listing old/random stuff in --bundled-libraries & --builtin-libraries, stop using --minimum-library-version
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/02ea90a436caecbe287fa0ac2d1fc0e8ac64d9cb">02ea90a4</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">export PYTHONHASHSEED=1 for waf to make include path ordering fixed

https://lists.samba.org/archive/samba-technical/2022-March/137230.html
https://bugzilla.samba.org/show_bug.cgi?id=15033
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2676dc404f09dd481d5ba457423edc9033975770">2676dc40</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">debian/samba-libs.lintian-overrides: fix embedded heimdal lintian message
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/2e926e779c934f6f30af970cefe7294b4434d2a0">2e926e77</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/samba-libs.lintian-overrides: fix another lintian warning
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/ff9d9462e35f6b2bbf5b5dc78d4f025ee9a1a11c">ff9d9462</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/libwbclient0.lintian-overrides: fix renamed internal lib like in samba-libs
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/61bb1114812641fa7eb464066d7c207b934a46e8">61bb1114</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">internal-ldb: Copy files from ldb source package
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/8766c0f97b78d871467f4fb12f8824a92140f176">8766c0f9</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">internal-ldb: fix private libraries names in ldb install files, list ldb files explicitly
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/04705f105e632cfd16317fd9d6560a746f28fcc3">04705f10</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">internal-ldb: d/samba-dsdb-modules.install: list modules explicitly (intermixes with libldb)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/931810e5f05bc79c5db674ae17285bf28a77a78c">931810e5</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">internal-ldb: Copy control stanzas
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5be3e28d95265b8f3f10d8b591ce7983f47ad60a">5be3e28d</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:25+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">internal-ldb: Update build dependencies

- Import missing dependencies from ldb source
- Remove ldb as buildep
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5c79b11662ebb1f06a162c6fbf7873512cc4a75a">5c79b116</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:26+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">internal-ldb: d/rules ldb bits
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9822508be5959708c217fa15f40e8079c0bef1bb">9822508b</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2022-03-28T23:54:26+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">internal-ldb: Force LDB as standalone (patch/hack)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/6f8570b6db5cd43d12a379ee805d761fd9edccf5">6f8570b6</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:26+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">internal-ldb: use-bzero-instead-of-memset_s.patch to avoid linking of libldb with libreplace-samba4
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e43929f385573ff30dd4fbd73b50ab0b9786288c">e43929f3</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:26+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">internal-ldb: make d/make_shlibs to accept custom version info for specified packages
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/de9705dd2a102c634675abb5d9b816bb71ee6b63">de9705dd</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-28T23:54:26+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">internal-ldb: d/rules: specify ldb packages version when invoking d/make_shlibs
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/e43e93190e933d466842afd00652c16552b35c6d">e43e9319</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-31T12:35:35+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">switch from including /usr/share/dpkg/architecture.mk back to inline definitions

This effectively reverts commit f676a3b11fa61eb6e2d5546fc5d47972f37d93cf
"d/rules: do not explicitly set DEB_HOST_*, include architecture.mk instead", -
while including architecture.mk made _startup_ time faster, it also
made time before the first external command make(1) invokes significantly
slower, because architecture.mk defines lots of variables ane make(1)
exports _all_ of them before it invokes commands to make the first target..

It'd be nice if architecture.mk were defining all vars in one invocation
of dpkg-architecture (which it allows) instead of invoking it for every
variable. For this, I guess, make(1) needs to support reading makefile
fragments from external commands, which it does not.

This all is not very important in the buildd environment since dpkg/dh
already exports all these variables before invoking d/rules, so we
actually never call dpkg-architecture. But it makes a lot of sense
when debugging build.
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/5aafd3737265189c21c28042b5d534dfff2ee259">5aafd373</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-31T12:35:45+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">internal-ldb: cache ldb-version-related vars in d/ldb-version.mk

This significantly reduces the startup cost of make and sub-makes.

We store two variables (${LDB_DEB_VERSION} and ${LDB_DEPENDS})
in debian/ldb-version.mk, defining them once in a simple shell
fragment, from lib/ldb/wscript, and include this make fragment
in d/rules. The variables in there needs complex (from the
makefile PoV) commands to set, and they're repeated in each
submake too (think dh sequence). The idea is to generate it
once so it can be directly read by all submakes and need not
be regenerated each time while one debug the build procedure.

There's no need to keep d/ldb-version.mk in git or in the
.debian.tar.gz file, but by keeping it we will avoid removing
this file so it is regenerated on every ./d/rules clean.
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/80f8cb67966923fced3c9a30f5053c0733100719">80f8cb67</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-31T12:35:45+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/rules: only invoke dh sequence for known targets
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/7b2817d8d615c3ecc9533af820930c2f4299b71d">7b2817d8</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-31T12:35:45+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/rules: another startup time optimization: cache dh_listpackages output, run it once not 8 times in a row
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/471fdc926ce1ea5a6a7d565bb58bfea8896a4b75">471fdc92</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-31T12:36:15+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">update changelog
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/3fa3e446d18f00ec377c7a1edaab64cab91a72c0">3fa3e446</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-31T12:37:38+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-common-bin.postinst: mkdir /run/samba before invoking samba binaries (#953530)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/32650b2079b02029a710f7dca396f0662f9ee6f9">32650b20</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-31T12:38:30+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/rules: do not run waf build step, perform waf install step instead

Stop building samba runnable directly from the build directory
as `waf build' builds, we don't need it.
See comments in the d/rules.
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/fecb53ded2a68527625229d5555a25e17df29b4b">fecb53de</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-31T12:38:38+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python3-ldb.lintian-overrides: add override for not-linked-against-libc python plugin
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/-/commit/9cfe68cfa99d6c283f6fc468a626e1a9698ed309">9cfe68cf</a></strong>
<div>
<span>by Michael Tokarev</span>
<i>at 2022-03-31T12:38:38+03:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">d/rules, d/clean: rework and cleanup the clean target

there's no need to run $(WAF) clean since we rm whole bin/ dir anyway.
Also, waf leaves quite alot of work/temp files floating around.
In particular, there are several __pycache__/ dirs which either
needs to be explicitly listed or removing with find(1).
Also stop removing files which are not there.
</pre>
</li>
</ul>
<h4>21 changed files:</h4>
<ul>
<li class="file-stats">
<a href="#626a747c8694eaae66f2afb3d1a745b045782c70">
<span class="new-file">
+
.editorconfig
</span>
</a>
</li>
<li class="file-stats">
<a href="#8677e5054aca90114999dd8643c63f83297f5897">
<span class="new-file">
+
.gitlab-ci-coverage-runners.yml
</span>
</a>
</li>
<li class="file-stats">
<a href="#194103ac5219d79ef317b7df3a6d8190fcb5aa29">
<span class="new-file">
+
.gitlab-ci-coverage.yml
</span>
</a>
</li>
<li class="file-stats">
<a href="#5c5c1d798bc03252faf2bf0dd53fd68e658af49a">
<span class="new-file">
+
.gitlab-ci-default-runners.yml
</span>
</a>
</li>
<li class="file-stats">
<a href="#03334583e48a51c2c1ee5af1cf219912287b63db">
<span class="new-file">
+
.gitlab-ci-default.yml
</span>
</a>
</li>
<li class="file-stats">
<a href="#7ee2b04ed3decdbe5384823b6bc06e6289a229b4">
<span class="new-file">
+
.gitlab-ci-main.yml
</span>
</a>
</li>
<li class="file-stats">
<a href="#1e7f0290c43feede36a7d7f90d5535909356001b">
.gitlab-ci-private.yml
</a>
</li>
<li class="file-stats">
<a href="#587d266bb27a4dc3022bbed44dfa19849df3044c">
.gitlab-ci.yml
</a>
</li>
<li class="file-stats">
<a href="#90dc64370b2e40ab627e1191ce6d77b0456acddb">
README.Coding.md
</a>
</li>
<li class="file-stats">
<a href="#8b515a7d43244a5a8370af86f2671bc0841bed1f">
README.contributing
</a>
</li>
<li class="file-stats">
<a href="#b33892fbddeffc3368077b4904ad0b3d562a7312">
VERSION
</a>
</li>
<li class="file-stats">
<a href="#ac71054f0b72d8caae1df2cab2db238e2d71d827">
<span class="new-file">
+
VFS-License-clarification.txt
</span>
</a>
</li>
<li class="file-stats">
<a href="#3277e12b5a9f9ff632d229e2629d34ad21dd93fc">
WHATSNEW.txt
</a>
</li>
<li class="file-stats">
<a href="#8949504a58f9f540cf1b88389d4f731790dd8d7f">
auth/auth_log.c
</a>
</li>
<li class="file-stats">
<a href="#b92a94ee4472cf33f2bd4ac352ea7c22dfd2662c">
auth/auth_sam_reply.c
</a>
</li>
<li class="file-stats">
<a href="#537370e7e9d868507093bf1a758bef98a2e919b0">
auth/common_auth.h
</a>
</li>
<li class="file-stats">
<a href="#0789ffa2f9e10b296a93e28057e96840974fc1f1">
auth/credentials/credentials.c
</a>
</li>
<li class="file-stats">
<a href="#47298d35dd6d29d98b5aa6920f4cb1204c47056e">
auth/credentials/credentials.h
</a>
</li>
<li class="file-stats">
<a href="#09af5df63769087d7e53e2aacede9dc7bddd6555">
<span class="new-file">
+
auth/credentials/credentials_cmdline.c
</span>
</a>
</li>
<li class="file-stats">
<a href="#3cabb240602f7bd203efad9484fbd03dbc9c3a94">
auth/credentials/credentials_internal.h
</a>
</li>
<li class="file-stats">
<a href="#fcf792b723f1fb082b2ae957ef92e787131776f7">
auth/credentials/credentials_krb5.c
</a>
</li>
</ul>
<h5>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: #666;">

<br>
<a href="https://salsa.debian.org/samba-team/samba/-/compare/6f32806da3c9fecdb7f49152396ca13a85d7eb25...9cfe68cfa99d6c283f6fc468a626e1a9698ed309">View it on GitLab</a>.
<br>
You're receiving this email because of your account on salsa.debian.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.



</p>
</div>
</body>
</html>