<!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>
Mathieu Parent 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/de516b958d801b11ffe82f41fb60e794b0b65ccb">de516b95</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-01-15T10:37:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to 4.11.0pre1

and re-enable GIT_SNAPSHOT.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d40ad902aea3794e145c8ce7b7fd99f72889e96b">d40ad902</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-01-15T10:40:06Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Start release notes for Samba 4.11.0pre1.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/09effcb53a97a935f3281a6c770f3608bc21f992">09effcb5</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-01-15T20:27:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-smbd: use fruit:model string for mDNS registration

With this change we now allow to modify the icon to represent Samba in
Finder. Possible values are at least:

fruit:model = iMac
fruit:model = MacBook
fruit:model = MacPro
fruit:model = Xserve
fruit:model = RackMac

Prior to this change we only displayed the correct icon when a mac
client negotiated the apple create context over SMB.

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

Based on proposed patch from Rouven WEILER <Rouven_Weiler@gmx.net>

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Tue Jan 15 21:27:20 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/dd231a16a338cfe63d12cadf0fc3e2ebe7cac828">dd231a16</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-01-15T21:27:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: dns_hub: Fix indentation of 'raise' on error.

Remove second socket.sendto().

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/0b996afec2ba4a4ba4e492123ca03f3b877a9db0">0b996afe</a></strong>
<div>
<span>by Dylan Stephano-Shachter</span>
<i>at 2019-01-16T01:01:55Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">profiling: stop smbprofile from growing unnecessarily

Signed-off-by: Dylan Stephano-Shachter <dshachter@nasuni.com>
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): Wed Jan 16 02:01:55 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/193a0d6f01372604b925d1972591062a0bb2400f">193a0d6f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-01-16T04:34:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Print locks latency in machinereadable stats

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13742
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Jan 16 05:34:17 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c324f84a2fa25e29d2f7879fbcd35ce0e76a78f8">c324f84a</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-16T07:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Honor disable_netbios option in smbsock_connect_send

If disable_netbios is set, return before the tevent timer is triggered
to prevent outgoing netbios connections.

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

Signed-off-by: Justin Stephenson <jstephen@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 Jan 16 08:54:23 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e68dd420b45a3f7d9ce3b08e866c5495be18b725">e68dd420</a></strong>
<div>
<span>by Philipp Gesang</span>
<i>at 2019-01-16T17:51:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: remove declaration of nt_errstr_const

nt_errstr_const was renamed nt_errstr in 2011, rendering the
declaration useless.

Signed-off-by: Philipp Gesang <philipp.gesang@intra2net.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/3bb7808984c163a7bba66fb983411d1281589722">3bb78089</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-16T17:51:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">join: Fix TypeError when handling exception

When we can't resolve a domain name, we were inadvertently throwing a
TypeError whilst trying to output a helpful message. E.g.

ERROR(<class 'TypeError'>): uncaught exception - 'NTSTATUSError' object
does not support indexing

Instead of indexing the object, we want to index the Exception.args so
that we just display the string portion of the exception error.

The same problem is also present for the domain trust commands.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Rowland Penny <rpenny@samba.org>
Reviewed-by: Jeremy Allison <rpenny@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9e4b08f4c384b8cae5ad853a7be7cf03e2749be5">9e4b08f4</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-16T21:11:04Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">join: Throw CommandError instead of Exception for simple errors

Throwing an exception here still dumps out the Python stack trace, which
can be a little disconcerting for users.

In this case, the stack trace isn't going to really help at all (the
problem is pretty obvious), and it obscures the useful message
explaining what went wrong.

Throw a CommandError instead, which samba-tool will catch and display
more nicely.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Rowland Penny <rpenny@samba.org>
Reviewed-by: Jeremy Allison <rpenny@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jan 16 22:11:04 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2723d900ef35f4797058675f298f4a4364b29cd3">2723d900</a></strong>
<div>
<span>by Ralph Wuerthner</span>
<i>at 2019-01-17T00:36:54Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fileid: fix fsname_norootdir algorithm

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

Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Reviewed-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 Jan 17 01:36:54 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3b2e86bba1f6b22b144b07db454b842f0c0779ae">3b2e86bb</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T00:40:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/gpclass: Convert gpclass to use s3 SMB Python bindings

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b982811b60521624f1f600841ffa05e306eb936a">b982811b</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T00:40:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:pylibsmb: Add .set_acl API to SMB py bindings

This is pretty similar code to py_smb_getacl(), except it's calling
cli_set_security_descriptor() instead of cli_query_security_descriptor()

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/345746ea5f4cca2620421ac0c8a649a596f5c19d">345746ea</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T00:40:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Change SMB flags from s4 Py bindings to s3

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0304b08de5ba1b4a6e08568a559c52f7d9e943d3">0304b08d</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T00:40:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:pylibsmb: Add FILE_READ_ATTRIBUTES access to .loadfile() API

Add FILE_READ_ATTRIBUTES when opening the file handle, as we need to
read the file's size.

The .loadfile() API can end up calling cli_qfileinfo_basic() to get the
file size. This can end up doing a 'FILE_ALL_INFORMATION' SMBv2 request
underneath, which the MS-SMB2 spec (section 3.3.5.20.1 Handling
SMB2_0_INFO_FILE) says the file handle must have FILE_READ_ATTRIBUTES
access granted.

I noticed this problem when running .loadfile() against the NTVFS
server.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/08f1627cb3fa1c9ff7a0f74e32874d305647dc42">08f1627c</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T00:40:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Change GPO commands to use s3 SMB Py bindings

This means we can now use GPO commands on a DC that has SMBv1 disabled.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6a29e63f32c0024587020fc1f92b3d1ecaa0afbc">6a29e63f</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T00:40:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:pysmb: Add error log that the s4 bindings are deprecated

We plan to delete the s4 SMB Python bindings in the next Samba release
after v4.10, but first give external consumers a heads-up, just in case
they are currently using the s4 bindings.

Note the auth_log tests still use the s4 bindings, but all user-facing
tools should now be updated to use the s3 bindings.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2a7372da7b84921b247cefc23d7003b8056d74a4">2a7372da</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T00:40:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Run samba_tool.gpo tests against backup testenvs

Run the GPO tests against the backup/restore testenvs.

Because the backup/restore preserves the NTACLs of the sysvol files,
running the GPO tests against the backup testenvs is a good sanity-
check. If fact it highlights that there is currently a problem with
restoring the GPO files - this shows up in 'samba-tool gpo aclcheck',
but we never noticed it until now.

NTACL backup works slightly different for offline backups, and rename
backups end up with more sysvol files, so run the tests against both
these envs.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f3fe96fc2e2d942b4a2e241777b5ee12b2295b97">f3fe96fc</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T00:40:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ntacls: Pass correct use_ntvfs through to setntacl()

We were already checking the smb.conf to see if it uses the NTVFS file
server or the default smbd server. However, we weren't passing this
through to the setntacl() call.

This fixes the problem we noticed with 'samba-tool gpo aclcheck' failing
after a restore.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/da33c2c4e4849f0985b08fbdc58cbd59b8426ec6">da33c2c4</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T00:40:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Run GPO commands against testenv with SMBv1 disabled

Just to prove that they work across SMBv2.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a310de2db13c02a602e74139cb47ea9a25628e01">a310de2d</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T00:40:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Give the backup testenvs a 'test1' share

The ntacls_backup tests use the test1 share, and we want to run them
against the restoredc (which has SMBv1 disabled).

The xattr.tdb file is needed for the backend_obj.wrap_getxattr() call
(in ntacls.py) to work.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7fb93eaca74ffe17bbe7255210dd3090afe8d5dc">7fb93eac</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T00:40:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Run ntacls_backup tests against testenv with SMBv1 disabled

Just to prove that the NTACL backup works over SMBv2.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/065faa6a1429db99ef1372ab194960f817d13ebf">065faa6a</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T00:40:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Relax auth_log SMB assertions to cover v1 *or* v2

The s4 Python bindings currently only support SMBv1 connections.
If we change the bindings to support *either* v1 or v2, they'll
end up negotiating v2. In which case the server is "SMB2", not "SMB",
and these assertions fail.

Long-term we want to get rid of SMBv1, so it makes sense to write the
tests so that they pass against either v1 or v2.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e82e1b31e39631f6603be6d14debf79d2d9b16cd">e82e1b31</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T00:40:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Use MUST_USE_KERBEROS over AUTO_USE_KERBEROS in auth_log tests

The s3 SMB client bindings seem slightly different to s4, in that they
default to setting the CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS flag.
This seems to fallback to finding a valid KRB TGT (from a previous
successful test), which results in the connection succeeding rather than
failing.

Setting MUST_USE_KERBEROS explicitly avoids this behaviour.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/914e9d359010361c7fcaae8f17ef6404d5c18805">914e9d35</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T00:40:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Refactor auth_log SMB connection to be in a single place

This should not alter the behaviour of the tests at all. It just makes
it easier to switch over the underlying SMB client bindings.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a67b711ebcc8c88f37a09e8bbdbc97e412d76911">a67b711e</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T03:47:56Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Switchover auth_log from s4 SMB client bindings to s4

The main changes required are:
- we need to use an s3 loadparm instead of the standard s4 lp.
- the s3 SMB bindings don't support the use_spnego/ntlmv2_auth params,
  however, we can set these in the loadparm instead, which will get the
  SMB client code to do what we want. Instead of passing in boolean
  parameters, we need to use yes/no strings that the lp will accept.
  (We always set these values because the underlying lp context is
  actually global, and setting a value is 'sticky' and will persist
  across test cases. These conf settings are only used by the SMB client
  code, and so will only affect the SMB test cases).
- For the no_spnego_no_ntlmv2 test cases, we now explicitly force it to
  an SMBv1 connection. The s4 bindings only ever supported SMBv1
  connections, so this is the same behaviour. The other test cases will
  now try to negotiate SMBv2 connections, however, the no_ntlmv2 test
  cases are explicitly checking for bare-NTLM (with the s3 bindings, it
  now ends up as NTLMSSP by default).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jan 17 04:47:56 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1937b0cb1533ecf8178a20301b06584973ec7d5b">1937b0cb</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-17T10:35:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">generate_param.py: Use C99 initializer for last element in param table

Signed-off-by: Andreas Schneider <asn@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/48285a9c60a9156d465d1dc04e4a0289c043a5af">48285a9c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-17T10:35:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:librpc: Use C99 initializer for PyGetSetDef in py_auth

Signed-off-by: Andreas Schneider <asn@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/b8c248e4d903b657c209b4faedcf6dc1ddacf2fe">b8c248e4</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-17T14:23:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns_hub: Rename variable to avoid naming collision in exception handler

In dns_hup.py, we are both importing the socket module and declaring a
variable called socket. When we try to catch a socket.error exception
(defined by the module), Python thinks we're referring to the variable.
As the variable has no attribute called 'error', Python throws an
exception, e.g.:

  File "./bin/python/samba/tests/dns_forwarder_helpers/dns_hub.py", line
123, in handle
    except socket.error as err:
AttributeError: 'socket' object has no attribute 'error'

We can avoid this problem by calling the variable 'sock' instead.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Jan 17 15:23:23 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/528d33963aceb137fb9fde5afa5dd5f4c4b1fac8">528d3396</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-01-18T11:58:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wscript: Make non_posix_acls a subsystem

This fixes build error when building vfs_gpfs as static module:

ERROR: circular library dependency between smbd_base and non_posix_acls

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/fd789b2c69ce3005cf9747fe525ee3a9e12b7e5b">fd789b2c</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-01-18T11:58:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party: Add gpfs.h header file

This is the only requirement for building the vfs_gpfs module; the
corresponding library is opened through dlopen at runtime. The intent
here is to always build the vfs_gpfs module to easily detect breakage
e.g. due to vfs interface changes.

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/c41ec2a9751a760eca1307a1e29508518999d097">c41ec2a9</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-01-18T16:21:02Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Use gpfs.h from third_party on Linux

Update the logic for finding the gpfs.h header file: Look for the header
file in the default location under /usr/lpp/mmfs/include. If it is not
available there, default to the file in third_party/gpfs/ on Linux (AIX
could be added if there is demand).

The configure option --with-gpfs=GPFS_HEADERS_DIR can always be used to
overwrite the default behavior with a specific location.

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): Fri Jan 18 17:21:02 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c5a69c9f0c8e66e1f9f0dac5875478555e0b3d14">c5a69c9f</a></strong>
<div>
<span>by Puran Chand</span>
<i>at 2019-01-18T19:11:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: parse_finfo_id_both_directory_info capture FileID in SMB2_FIND_ID_BOTH_DIRECTORY_INFO response

This captures the FileID in struct file_info while parsing SMB2_FIND_ID_BOTH_DIRECTORY_INFO
response

Refered MS doc for spec:- https://msdn.microsoft.com/en-us/library/cc246290.aspx

Signed-off-by: Puran Chand <pchand@vmware.com>
Reviewed-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/2c113522fe229b3334b1222190c055d86d27ca18">2c113522</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-01-18T19:11:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Store file allocation size in struct file_info.

We get this already, from SMB2_FIND_ID_BOTH_DIRECTORY_INFO
so return it.

For SMB1 leave this as zero so callers know it hasn't
been initialized.

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/4b26ccff859048654c0680665acee53714997980">4b26ccff</a></strong>
<div>
<span>by Martin Krämer</span>
<i>at 2019-01-18T22:19:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: dsal: Fix possibility of identical ACE's being added.

Currently it is possible to add the same ace multiple times if
the case sensitivity does not match the existing one using "--sddl" parameter.
As an example while an ace

"OA;CIIO;RPWP;3e978925-8c01-11d0-afda-00c04fd930c9;bf967a86-0de6-11d0-a285-00aa003049e2;PS"

already exists a sddl

"OA;CIIO;RPWP;3E978925-8C01-11D0-AFDA-00C04FD930C9;BF967A86-0DE6-11D0-A285-00AA003049E2;PS"

can be added without detection (and can be added multiple times). As an end result
after a high number of addings (in my tests it was about 1600-1800 aces for one
object) no further changes on that object are possible.

Signed-off-by: Martin Krämer <mk.maddin@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Rowland Penny <rpenny@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jan 18 23:19:13 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5822449a7340f53987ce4c04851652427f5b49e8">5822449a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-19T11:24:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Fix the debug message for adding cache entries.

To get correct values, we need to cast 'timeout' to 'long int' first in
order to do calculation in that integer space! Calculations are don in
the space of the lvalue!

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/f3c30b2f8cd39b9eaf5ff7ba0d3c96669e8ade37">f3c30b2f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-19T11:24:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:mscat: Fix may be used uninitialized warnings

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/56bbfd90c4188e5f1fe560eafaf30334f9afccbf">56bbfd90</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-19T11:24:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:mscat: Use size_t for len value to fix build issue

asn1_read_value_type() only uses it as an unsigned it, a negative value
isn't assinged.

Signed-off-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9ac30e77f3d0570ca0adca79be8608e0dc2fa7c2">9ac30e77</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-19T11:24:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb: Fix size types in audit_log

audit_log.c:878:7: error: assuming signed overflow does not occur when
simplifying conditional to constant [-Werror=strict-overflow]

Signed-off-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c195134e3550530d3abb3012d3b63860bb872c85">c195134e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-19T11:24:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb: Fix size type for num_of_attrs in acl_read

This fixes a compile error on sn-devel184.

Signed-off-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/448d67bae7201523f971f02d2f8578752cd83706">448d67ba</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-19T14:36:51Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:kdc: Fix size type for num_bind in kdc-heimdal

This fixes a compile error on sn-devel184.

Signed-off-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Sat Jan 19 15:36:51 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fb0498275690c9477a5c0a7c2da20a3bb29556af">fb049827</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-01-19T18:21:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: dns_hub: do not crash if a socket fails

We print the error and keep going.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
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/011ee2713f0b5b0236865bc21c171d6e4ce3d108">011ee271</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-01-19T18:21:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/uptodateness: cope with unknown invocation ID

This can happen if a server has been replaced

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/7fc60ea55ca56da1a9a37f642bfa03f4da2b45fa">7fc60ea5</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-01-19T18:21:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/kcc lib: cope with differently formed repsToFrom

samba-tool visualise reuses these libraries to parse reps from other DCs, and Windows sometimes sends
more data than we are expecting

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/f4b3229f5b817a919b5ccede27215f283ce2734b">f4b3229f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-01-19T18:21:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/py_dsdb: catch/handle alloc failures in py_dsdb_normalise_attributes()

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/942567afda8129425083228062c5d0f5b2a08eda">942567af</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-01-19T18:21:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">group_audit: Tests for error handling in group change

Add tests to exercise the error handling in
log_group_membership_changes.

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/60aa7b3634e3312e92955779f3c9d339456c4a95">60aa7b36</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-01-19T21:32:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">group_audit: error handling in group change

Generate an appropriate log message in the event of an error
log_group_membership_changes.  As the changes have not been applied to
the database, there is no easy way to determine the intended changes.
This information is available in the "dsdbChange" audit messages, to
avoid replicating this logic for what should be a very rare occurrence
we simply log it as a "Failure"

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): Sat Jan 19 22:32:05 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/08ba013a2b8b2cf9fc17fdcb3d107e1434709036">08ba013a</a></strong>
<div>
<span>by Anoop C S</span>
<i>at 2019-01-19T23:31:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/messaging: Fix undefined reference in linking libMESSAGING-samba4.so

Early check for DEVELOPER or ENABLE_SELFTEST configure options inside
messaging_handlers.c leaves us with the following undefined reference
linkage error:

[1315/3712] Linking bin/default/source4/lib/messaging/libMESSAGING-samba4.so
/usr/bin/ld: source4/lib/messaging/messaging.c.4.o: in function
                                                `imessaging_init_internal':
/root/samba.git/bin/default/../../source4/lib/messaging/messaging.c:472:
                undefined reference to `imessaging_register_extra_handlers'
collect2: error: ld returned 1 exit status

This happened due to failure in including "includes.h" before checking
the above mentioned configure options.

Signed-off-by: Anoop C S <anoopcs@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/0628ca2a558871402f9a17cc7f7a0c69d857ae19">0628ca2a</a></strong>
<div>
<span>by Lukas Slebodnik</span>
<i>at 2019-01-20T02:49:59Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Fix compatibility of wscript with older python

Traceback (most recent call last):
  File "tdb-1.3.17/third_party/waf/waflib/Scripting.py", line 158, in waf_entry_point
    run_commands()
  File "tdb-1.3.17/third_party/waf/waflib/Scripting.py", line 251, in run_commands
    ctx = run_command(cmd_name)
  File "tdb-1.3.17/third_party/waf/waflib/Scripting.py", line 235, in run_command
    ctx.execute()
  File "tdb-1.3.17/third_party/waf/waflib/Context.py", line 204, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File "tdb-1.3.17/third_party/waf/waflib/Context.py", line 286, in recurse
    user_function(self)
  File "tdb-1.3.17/wscript", line 225, in testonly
    cmd = "BINDIR={} {}".format(blddir, sh_test)
ValueError: zero length field name in format

Signed-off-by: Lukas Slebodnik <lslebodn@fedoraproject.org>
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): Sun Jan 20 03:49:59 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/10e54a095f005c0988a7e5e8a35cea6200197854">10e54a09</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-21T15:34:06Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Try to improve domain backup error message

I ran this command as non-root by mistake and didn't find the error
message particularly helpful. Tweak the error message so it reminds the
user that they should be root. Also display the path we're looking for
the sam.ldb file in, to give them more clues.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Mon Jan 21 16:34:06 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/adffe0dcf002aa4721dc7897261895e3486d5271">adffe0dc</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-01-22T17:37:56Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-vfs: add glusterfs_fuse vfs module.

This module only implements the get_real_filename function by accessing
a distinct extended attribute that is available over a glusterfs fuse
mount.

By implementing this vfs function users of a glusterfs fuse mount
achieve a much better performance in create based workloads where samba
then can avoid trying multiple case folding options to detect the real
filename.

Patch is based on an initial patch provided by
Poornima G <pgurusid@redhat.com>

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Tue Jan 22 18:37:56 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/36c42e6d629a0d4b0e5c60bdd68e08a8e60c477a">36c42e6d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-01-22T22:37:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: dns: Change internal DNS_REQUEST_TIMEOUT from 2 to 10 seconds.

Should make us more robust when dealing with slow DNS servers.

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jan 22 23:37:16 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4729c90f974bf6b11d9164cdcd819e6238eea08a">4729c90f</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-01-23T02:09:41Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">traffic: rm --scale-traffic default value

-S, --scale--traffic defaults to 1.0
when we switch to new option -T, both -T and -S are set, which raise an error:

script/traffic_replay #234: --scale-traffic and --packets-per-second are incompatible. Use one or the other.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>

Autobuild-User(master): Tim Beale <timbeale@samba.org>
Autobuild-Date(master): Wed Jan 23 03:09:41 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/574fdfae59c6d7c97be48ca52ac9aefac82feccd">574fdfae</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-01-23T11:41:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CI: run "samba-nt4" as part of the free runners

Looks like this got lost in the py2/py3 reshuffling around
d01d85ccb255cbdfd3d379dfe0cd7ac58af7f284.

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

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Jan 23 12:41:32 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9f666969f8cb39ed95ccd36c1bc50b151d739d1c">9f666969</a></strong>
<div>
<span>by SATOH Fumiyasu</span>
<i>at 2019-01-23T17:49:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Fix a typo in manpage for idmap_ad

Signed-off-by: SATOH Fumiyasu <fumiyas@osstech.co.jp>
Reviewed-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/c99402724a65f4e1f8ed4dcd236a43e0603bef0a">c9940272</a></strong>
<div>
<span>by Anoop C S</span>
<i>at 2019-01-23T20:59:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-vfs: Use ENOATTR in errno comparison for getxattr

* ENODATA is not defined in FreeBSD
* ENOATTR is defined to be a synonym for ENODATA in Linux
* In its absence Samba already defines ENOATTR to either
  ENODATA or ENOENT

Thus it is safe and correct to compare with ENOATTR rather
than ENODATA.

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jan 23 21:59:10 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/67fc683a3eec4d24de774e2a82c72b69eb03565e">67fc683a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-01-24T01:45:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CI: move target "build_nt4" to private gitlab runners

Fixes the mistake of 574fdfae59c6d7c97be48ca52ac9aefac82feccd that added
"build_nt4" to the public runners.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>

Autobuild-User(master): Tim Beale <timbeale@samba.org>
Autobuild-Date(master): Thu Jan 24 02:45:09 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e903d37ea4a8372f819f8bdbec7dfeef1799f612">e903d37e</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-25T12:20:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpclient: rpclient help is not very helpful

The help was not telling me that there was a mandatory 'server' argument
that I needed to specify. After trying several different combinations
of parameters, I eventually had to run the tool in gdb to work out why
it was complaining.

This is the output I was getting:

bin/rpcclient -U$USERNAME%$PASSWORD -I $SERVER_IP
Usage: rpcclient [OPTION...]
  -c, --command=COMMANDS                 Execute semicolon separated
cmds
  -I, --dest-ip=IP                       Specify destination IP address
  -p, --port=PORT                        Specify port number
...

New help output is:

Usage: rpcclient [OPTION...] <server>
Options:
  -c, --command=COMMANDS                 Execute semicolon separated
cmds
...

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7b21b4c1f538650f23ec77fb3c02fe1e224d89aa">7b21b4c1</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-01-25T12:20:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: tests: Add regression test for smbd crash on share force group change with existing connection.

Mark as known fail for now.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e37f9956c1f2416408bad048a4618f6366086b6a">e37f9956</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-01-25T15:31:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: uid: Don't crash if 'force group' is added to an existing share connection.

smbd could crash if "force group" is added to a
share definition whilst an existing connection
to that share exists. In that case, don't change
the existing credentials for force group, only
do so for new connections.

Remove knownfail from regression test.

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

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 Jan 25 16:31:27 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d93f901ed7d4b21693273e43dcc59aac2304513b">d93f901e</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2019-01-25T20:57:57Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix tests when building with selftest but without developer

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Reviewed-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 Jan 25 21:57:57 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8c097b4a3177c8c5786ed599fe7c39ce8421fb2c">8c097b4a</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-25T23:53:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:pylibsmb: Initialize pointers to NULL in new API code

Fix a few uninitialized pointers that managed to sneak through review.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
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/80685fd823f3bdb47876e5ec5985420df506ce4e">80685fd8</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-01-26T03:05:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli: Remove (now unused) pysmb.c bindings

The s4 SMB client bindings don't support SMBv2, so we've made the
decision to use the s3 SMB client bindings/library code instead.
Everything in the Samba codebase now uses the s3 bindings, and we'll
add a warning message to Samba v4.10 that the s4 bindings are
deprecated. This patch removes the unused s4 bindings completely for
the next (i.e. v4.11) release.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Jan 26 04:05:25 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8989916b5af6fed9c4c63035d4488583396b8c5a">8989916b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-26T18:08:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Move the image definition to the template

And in addition use variables for defining project and build env.

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/5aee11c28693270aebc2abe5962fcca9d4cb4626">5aee11c2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-26T18:08:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Move before and after script to shared template

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/b9924839ce6c4f8da56566fb0193a626696ab55b">b9924839</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-26T21:16:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Use artifacts instead of after_script

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): Sat Jan 26 22:16:38 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/db6992c2e9037444b6976e9b9c32ced97017b41f">db6992c2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Use C99 initializer for poptOption in ctdb tool

Signed-off-by: Andreas Schneider <asn@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/23709cc3516fe54637775c19b4e57432fbada8f6">23709cc3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Use C99 initializer for poptOption in test_options

Signed-off-by: Andreas Schneider <asn@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/d304d3c6f0deb3c9a713aa12d678e658ec658437">d304d3c6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">examples: Reformat testacl libsmbclient example

Signed-off-by: Andreas Schneider <asn@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/007898bf8d750fd343746b7de47da3b4583918f3">007898bf</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">examples: Use C99 initializer for poptOption in testacl

Signed-off-by: Andreas Schneider <asn@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/cbf8917b401d70f93d7dc9761c6ff18d587d9163">cbf8917b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:texpect: Use C99 initializer for poptOption in texpect

Signed-off-by: Andreas Schneider <asn@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/cdf03f92069d10231912fdb9bb8243108e34e4cd">cdf03f92</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:nbt: Use C99 initializer for poptOption in nmblookup

Signed-off-by: Andreas Schneider <asn@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/53e2e8c37df765479f7478982b5fda31f26a3039">53e2e8c3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: Use C99 initializer for poptOption in wbinfo

Signed-off-by: Andreas Schneider <asn@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/b0dbc7d1f5072e82346059a156af7e1c13dac28c">b0dbc7d1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:client: Use C99 initializer for poptOption in smbclient

Signed-off-by: Andreas Schneider <asn@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/3834ea867a4bf3d8c7742c5718927589390b98aa">3834ea86</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for poptOption in cmd_witness

Signed-off-by: Andreas Schneider <asn@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/9a15d458447ae054b36a24dbff1dd848aecb998b">9a15d458</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Use C99 initializer for poptOption in smbd server

Signed-off-by: Andreas Schneider <asn@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/a3aca2f73412fd35ece4b6610959928a2b62fff5">a3aca2f7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:torture: Use C99 initializer for poptOption in vfstest

Signed-off-by: Andreas Schneider <asn@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/83d25ca9d90897925a4431dd55e68c78244900b3">83d25ca9</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer for poptOption in smbstatus

Signed-off-by: Andreas Schneider <asn@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/5990980cc92cf15a2077990b74178fdc214e3d4e">5990980c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer for poptOption in smbcacls

Signed-off-by: Andreas Schneider <asn@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/19d449588218abf259ecb7c49b2b761d6b72e3ce">19d44958</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer for poptOption in nmblookup

Signed-off-by: Andreas Schneider <asn@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/aa944d50fa466c80d4b220387199cd48658be9a6">aa944d50</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer for poptOption in profiles

Signed-off-by: Andreas Schneider <asn@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/0fde49ac6b6f7e6156c3e94488e79784b20f979b">0fde49ac</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer for poptOption in sharesec

Signed-off-by: Andreas Schneider <asn@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/a2bb56542bade9c16ba2244a8efb0e8c4259ec4c">a2bb5654</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer for poptOption in ntlm_auth

Signed-off-by: Andreas Schneider <asn@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/f5f084e9fd09ef2d0ff2c1e30ce5866f30c9e412">f5f084e9</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer for poptOption in smbcquotas

Signed-off-by: Andreas Schneider <asn@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/7c8d4f2116fa3800d95ab0413dc77db8e1ad969e">7c8d4f21</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer for poptOption in testparm

Signed-off-by: Andreas Schneider <asn@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/5961286f29e9225f0fa5ee7b395825d06e2575c7">5961286f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer for poptOption in log2pcaphex

Signed-off-by: Andreas Schneider <asn@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/90103d1d9e2d19b8bb6bd5e38e4103e7d4e8a744">90103d1d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer for poptOption in net

Signed-off-by: Andreas Schneider <asn@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/0de35fd3f691a42ca5985f5ddd5dd3821d8d44a2">0de35fd3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer for poptOption in smbtree

Signed-off-by: Andreas Schneider <asn@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/f699cec7d56ae0f8350b28ae08083dbb1270abbc">f699cec7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer for poptOption in smbget

Signed-off-by: Andreas Schneider <asn@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/4c3ada25154000370b6221524d2430ec570f20a1">4c3ada25</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:param: Use C99 initializer for poptOption in test_lp_load

Signed-off-by: Andreas Schneider <asn@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/650af8bf9e98c9d79867952ce21465198338ceb1">650af8bf</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Use C99 initializer for poptOption in winbindd

Signed-off-by: Andreas Schneider <asn@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/54c1ab6d755b03ea0f43cb583e28f1006d61c01e">54c1ab6d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Use POPT_TABLEEND for last element of poptOption

Signed-off-by: Andreas Schneider <asn@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/d34edc6b7bad584784c36413bfa1af1ae7b7056d">d34edc6b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Use C99 initializer for poptOption in netapi common test

Signed-off-by: Andreas Schneider <asn@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/f68d6aa3356edd3b9f0f00cd7f57e5a0ded162a8">f68d6aa3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Use C99 initializer for poptOption in netapi nltest

Signed-off-by: Andreas Schneider <asn@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/fd499b7fef71c2b8e9182b2b4bbd020d02e9b1dc">fd499b7f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Use C99 initializer for poptOption in popt_common

Signed-off-by: Andreas Schneider <asn@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/1cde483c96456b23b896dad37bbe3088523931c9">1cde483c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Use C99 initializer for poptOption in popt_common_cmdline

Signed-off-by: Andreas Schneider <asn@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/025b32e5253f86ed348d917d57784fa3513cb1b5">025b32e5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:netapi: Use C99 initializer for poptOption in netapi example

Signed-off-by: Andreas Schneider <asn@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/e9ef830f6505bb1a8bc02d545a45618251180263">e9ef830f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:nmbd: Use C99 initializer for poptOption in nmbd

Signed-off-by: Andreas Schneider <asn@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/3a5cd0a333c94608284e7ef22788d1b2a4d74260">3a5cd0a3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer for poptOption in mvxattr

Signed-off-by: Andreas Schneider <asn@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/ee8f098646b0eb9d8da6dfbaba88693c4f90d1a5">ee8f0986</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:smbd: Use C99 initializer for poptOption in server

Signed-off-by: Andreas Schneider <asn@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/ad13bd56f2a45c74aaaca1f30078d6dcc61c91cb">ad13bd56</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:client: Use C99 initializer for poptOption in client

Signed-off-by: Andreas Schneider <asn@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/f66ead39de8d08472bbacf6b7e9b0d94d4d69d36">f66ead39</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:client: Use C99 initializer for poptOption in cifsdd

Signed-off-by: Andreas Schneider <asn@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/ded66cf39eda4161c2a1158490ed83c61567a34e">ded66cf3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:lib: Use C99 initializer for poptOption in popt_common

Signed-off-by: Andreas Schneider <asn@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/2b6706fbbee0426d0f2e0b68ef9ce5baf416b296">2b6706fb</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:lib: Use C99 initializer for poptOption in popt_credentials

Signed-off-by: Andreas Schneider <asn@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/34ae8dc311630dab2ff182a35535ea754e020048">34ae8dc3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:torture: Use C99 initializer for cmd_set in cmd_vfs

Signed-off-by: Andreas Schneider <asn@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/78b45a4762a17f447df6040931b71d0edf888a78">78b45a47</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:torture: Use C99 initializer for cmd_set in vfstest

Signed-off-by: Andreas Schneider <asn@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/65729e3782eda6ea0553f4e8ac53d9fe7fd6905b">65729e37</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_spoolss

Signed-off-by: Andreas Schneider <asn@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/5b298d30c84348ff1fa6420861205985e32e813d">5b298d30</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_dfs

Signed-off-by: Andreas Schneider <asn@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/281c5107b0f902d1e95b1d28dce344751d6ba31f">281c5107</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_netlogon

Signed-off-by: Andreas Schneider <asn@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/6087decf9ff91bb806fe8129d532c3ad0feb477e">6087decf</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_srvsvc

Signed-off-by: Andreas Schneider <asn@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/d1695761a1ada3ab0765722dc1d040cc9a3b8b3f">d1695761</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_echo

Signed-off-by: Andreas Schneider <asn@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/17d166e6bd850d1e0ad0a0a00e7f3f7825ef1701">17d166e6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_drsuapi

Signed-off-by: Andreas Schneider <asn@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/8cb851ffb9eb254ed63c35889c98afd6dcec9f7a">8cb851ff</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_dssetup

Signed-off-by: Andreas Schneider <asn@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/2bec9593ba2fc73405de52fe986a8e90eaf6612c">2bec9593</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_wkssvc

Signed-off-by: Andreas Schneider <asn@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/711cb035077b7e0677e69b9b38ecbdc4689bcf77">711cb035</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_fss

Signed-off-by: Andreas Schneider <asn@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/a1765267ad73694ddda3f6da6756ef32468f6fbd">a1765267</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_winreg

Signed-off-by: Andreas Schneider <asn@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/2069372e1ea47ce14a6e98fdcf3397abc692a4e8">2069372e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_iremotewinspool

Signed-off-by: Andreas Schneider <asn@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/b7b78134228fa96a0ccf2ef310720db6b18b2037">b7b78134</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_ntsvcvs

Signed-off-by: Andreas Schneider <asn@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/d69fbf4150a5587b2dcdf00506279dfa27304d85">d69fbf41</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_clusapi

Signed-off-by: Andreas Schneider <asn@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/90b338e86d0aadeabcc74ae7e4888d7a64e14633">90b338e8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_samr

Signed-off-by: Andreas Schneider <asn@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/bbc4d8c52afba0975d25c001656280a471189b81">bbc4d8c5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_lsarpc

Signed-off-by: Andreas Schneider <asn@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/05afe9624ff16d716562cc19417f4b4cbef4189b">05afe962</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in rpcclient

Signed-off-by: Andreas Schneider <asn@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/f70dbe9f866572d25a8973bd45250dd3c727c0d5">f70dbe9f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_witness

Signed-off-by: Andreas Schneider <asn@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/eee66741f6e0f3432ebb8a14deb79ce0f18c1d7a">eee66741</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_eventlog

Signed-off-by: Andreas Schneider <asn@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/328cb7aa9a6b2cc667f2e2de91de492a1c7d007f">328cb7aa</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_test

Signed-off-by: Andreas Schneider <asn@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/5701586d53109cfd84cfeebf6cfcaf162a19320c">5701586d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_epmapper

Signed-off-by: Andreas Schneider <asn@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/0a6f78d736f20bb02719a4f99ce9b6ecb96d0755">0a6f78d7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpcclient: Use C99 initializer for cmd_set in cmd_shutdown

Signed-off-by: Andreas Schneider <asn@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/651ee7f205f4a7e31c791f7bb235275816747463">651ee7f2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:tdb: Use C99 initializer for PyGetSetDef in pytdb

Signed-off-by: Andreas Schneider <asn@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/85a5dc56e34298a60d7ef96f4178ccff20d40c82">85a5dc56</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:ldb: Use C99 initializer for PyGetSetDef in pyldb

Signed-off-by: Andreas Schneider <asn@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/2baa2c0f434e2db956e6b2b59157f0b6994a436b">2baa2c0f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:passdb: Use C99 initializer for PyGetSetDef in py_passdb

Signed-off-by: Andreas Schneider <asn@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/7017f245d5cf8437101650a325ac3dd44ba35c36">7017f245</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:librpc: Use C99 initializer for PyGetSetDef in pyrpc

Signed-off-by: Andreas Schneider <asn@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/ee4795b9f1545bf5a4e36f65c746cf35163b5d0d">ee4795b9</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:lib: Use C99 initializer for PyGetSetDef in pymessaging

Signed-off-by: Andreas Schneider <asn@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/d538319ebc9ba1b1931a7ced1a1af7bd33896107">d538319e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:pyparam: Use C99 initializer for PyGetSetDef

Signed-off-by: Andreas Schneider <asn@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/246f7dd7623acdda9649fc7e64f4fb245088c8bb">246f7dd7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Use C99 initializer for PyMethodDef

Signed-off-by: Andreas Schneider <asn@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/14c7d19b6302cfa42eba5bdebb1d588d6c148f80">14c7d19b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Use C99 initializer in schannel

Signed-off-by: Andreas Schneider <asn@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/611b6c7ebc7f876d73295fd4ceb3e7712ac9b510">611b6c7e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Use C99 initializer for last element of tunables

Signed-off-by: Andreas Schneider <asn@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/6c520978e27e23db5b608f920a93582d953f2616">6c520978</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb:common: Use C99 initializer for 'struct ifreq'

Signed-off-by: Andreas Schneider <asn@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/fb57c97ce4e63e51d04e1d701ad89148930e0ce3">fb57c97c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb:tools: Use correct C99 initializer for ltdb_header

Signed-off-by: Andreas Schneider <asn@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/3cd5d4b39713559d2f88e21a24f8190fe9ce075c">3cd5d4b3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:ldb: Use C99 initializer for tdb_logging_context

Signed-off-by: Andreas Schneider <asn@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/146ed0894e640fe1791f75fa8f50167b6cdfc06e">146ed089</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:ldb: Use correct C99 initializer for 'struct tm'

Signed-off-by: Andreas Schneider <asn@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/a1ce666d68745a9bc65bd2709c581ed5105f656d">a1ce666d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:tdb: Use C99 initializer for tdb_header

Signed-off-by: Andreas Schneider <asn@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/47b57a2fc87664366099913305dd8d3783734a1a">47b57a2f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:tdb: Use C99 initializer for tdb_logging_context

Signed-off-by: Andreas Schneider <asn@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/0da2e9c215f882ea4c331ac4f17738913beb7404">0da2e9c2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:tevent: Use correct C99 initializer for tevent_req

Signed-off-by: Andreas Schneider <asn@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/014a72c7da09e326b93c7e86dfef0b836d09e3f2">014a72c7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Use C99 initializer for builtin_functions in iconv

Signed-off-by: Andreas Schneider <asn@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/fe78ebcbc0d75af05f802a267c0aef7e579f8067">fe78ebcb</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Use C99 initializer for weird_table in charset

Signed-off-by: Andreas Schneider <asn@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/7983b03a89ece230c1702296b113702422f9b0f8">7983b03a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Use C99 initializer in tfork test

Signed-off-by: Andreas Schneider <asn@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/bbc4d728781c3ef574ed5c6727f83e7eaaf6d4ef">bbc4d728</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libgpo: Use C99 initializer for gp_extension_reg_table

Signed-off-by: Andreas Schneider <asn@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/292dbbf13391a8b2fe60f37a5dafb0cf203954bc">292dbbf1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc:rpc: Use C99 initializer for last element in dcerpc_faults

Signed-off-by: Andreas Schneider <asn@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/99c2a24eb8bc39f4b33bfc097efd04bc11b77eb7">99c2a24e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sddl: Use C99 initializer for sid_codes

Signed-off-by: Andreas Schneider <asn@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/5e0923d8c4174266dc4526a2b34d57200f11fed5">5e0923d8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:registry: Use C99 initializer for BOM

Signed-off-by: Andreas Schneider <asn@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/58b4f48cfdc89de22206ac20e7e9e53121ddc171">58b4f48c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Use C99 initializer for audit_category_tab

Signed-off-by: Andreas Schneider <asn@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/4bb10422aeaa2e0444a25cfb7aedcd1bf4ac2b6f">4bb10422</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Use C99 initializer for RAP api_commands

Signed-off-by: Andreas Schneider <asn@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/e73ff6432d657ded91dc314dd129b4fe6a7b5687">e73ff643</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:torture: Use C99 initializer for torture_ops

Signed-off-by: Andreas Schneider <asn@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/4ad94b605be0ff04e0cae933b2ac609fc1f7351d">4ad94b60</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer for msg_types in smbcontrol

Signed-off-by: Andreas Schneider <asn@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/2eab064aa4679b3ee5020977cef459d5883aea97">2eab064a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer in functable in net_lookup

Signed-off-by: Andreas Schneider <asn@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/0e28116eedf506ef0012b60fb474db3c42a8c5ed">0e28116e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use C99 initializer in functable in net

Signed-off-by: Andreas Schneider <asn@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/8e1f9675c981c05790bfa58008047ef3ffa10a06">8e1f9675</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb: Use C99 initializer in util

Signed-off-by: Andreas Schneider <asn@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/4d1ae1904dfc08d4031ddb4ba53603024d5ea595">4d1ae190</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:samdb: Use C99 initializer for last element of ldb_map_objectclass

Signed-off-by: Andreas Schneider <asn@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/6395a9a85a88c1be275529d44fade7315ee24203">6395a9a8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use C99 initializers for dirs in oplock test

Yes, this was already valid C99 but the compiler on Ubuntu 14.04 simply
sucks. This doesn't happen with this gcc version on other Linux systems.

Signed-off-by: Andreas Schneider <asn@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/8647ae63d7728ecc4cce5a14df0347f13eb9332a">8647ae63</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use C99 initializers for levels in qfsinfo test

Signed-off-by: Andreas Schneider <asn@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/2df8e808d6aa7c7c9399d2136a0b7bfef2a408d6">2df8e808</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use C99 initializers for dirs in smb2 notify test

Signed-off-by: Andreas Schneider <asn@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/1474de31a12bb9159f68e0c0dee9ca0a39261748">1474de31</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use C99 initializers for levels in raw search test

Signed-off-by: Andreas Schneider <asn@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/d731ddf869dc11c5bb0d009dea5adad699acea3d">d731ddf8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use C99 initializers for levels in raw notify test

Signed-off-by: Andreas Schneider <asn@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/7ceffb31d0b60427c9777f96c8db48c02ee36b77">7ceffb31</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use C99 initializers for dirs in smb2 oplock test

Signed-off-by: Andreas Schneider <asn@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/a5362457af45293cafc969f30ec3d4e1c1a0174d">a5362457</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use C99 initializers for hold_sharemode_table in smb2 sharemode test

Signed-off-by: Andreas Schneider <asn@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/660428a2e3ffec807ad003594054a5cc29e8fbfb">660428a2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use C99 initializers for level in smb2 dir test

Signed-off-by: Andreas Schneider <asn@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/0bcbec40bbab1d7bb8fcc94a7321f3dba17b18db">0bcbec40</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use C99 initializers for file_levels in smb2 getinfo test

Signed-off-by: Andreas Schneider <asn@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/6b0963f68e4958c14f53b0d037141ee77fe5991b">6b0963f6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Complete C99 initializers for levels in raw qfileinfo test

Signed-off-by: Andreas Schneider <asn@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/7c9abe78bd8aab603b8d06f4c1a6caef85183dc3">7c9abe78</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use C99 initializer for last element in get_and_set_info

Signed-off-by: Andreas Schneider <asn@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/c0a6f69e0a10aabebee46fcdee4d6bb2fcc22b4d">c0a6f69e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use C99 initializer in test_SecurityDescriptorsSecInfo

Signed-off-by: Andreas Schneider <asn@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/3e3e3a92f0038f0b19f001c495762e8d054363f8">3e3e3a92</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Add missing C99 initializer for torture_rpc_samlogon

Signed-off-by: Andreas Schneider <asn@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/bb5b1c8078c1a34072f001f9a2b9990af2050cb3">bb5b1c80</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use C99 initializers in gentest

Signed-off-by: Andreas Schneider <asn@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/4609e6fb2b41d5b34a3c253f757d8e1adc0252fe">4609e6fb</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Fix C99 initializers for vfs fruit tests

Signed-off-by: Andreas Schneider <asn@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/8c774f5a5d63239f57ef06e3451fbab66a9ed2e5">8c774f5a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:cifsdd: Use C99 initializers for cifsdd argdef

Signed-off-by: Andreas Schneider <asn@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/6a332618b67987f1c5ff659c9ffbd348cd1fd2a2">6a332618</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T09:29:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Use C99 initializer for derivation in smbXcli_base

Signed-off-by: Andreas Schneider <asn@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/1c4ba8e93a4e79e1f32cbc10248f57f294ff02b0">1c4ba8e9</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-01-28T09:29:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyrpc: typo in transfer syntax docstring

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/1f37ac3b0655aa0667d9080676e3be5341351305">1f37ac3b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-01-28T09:29:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libgpo: remove duplicate entry in value table

previously added a few lines up.

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/9e4ddff2d35611e4f2b60d9e45c8f777be68aa69">9e4ddff2</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-01-28T09:29:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libgpo: remove 404 link in comment

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/ed209cfee37cbc63efab925bc44c2b384417cc9b">ed209cfe</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-01-28T13:28:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:nmbd: small improvements in --help strings

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

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Jan 28 14:28:29 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e2eadf9a926b3d627ff8cda72a5a142655a210e6">e2eadf9a</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Share test iremotewinspool functions

Create iremotewinspool_common.c and iremotewinspool_common.h to make
test functions available for additional tests

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8f240b12f95fa9a1cf91f7403347abec84997dd6">8f240b12</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Seperate out function calls inside params

Minor change to allow for easier debugging

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5c1514e677f9b6abc91be9dcf94375fbece9fdcc">5c1514e6</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc:idl: Fix pszDestInfPath winspool parameter type

The in/out type of pszDestInfPath needs to be a string type for
RPC call UploadPrinterDriverPackage.

Per the Spec:

[in, out, unique, size_is(*pcchDestInfPath)] wchar_t* pszDestInfPath,

 pszDestInfPath: A pointer to a buffer that receives a string that
 specifies the full path of the directory to which the driver
 installation control file was copied.

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a9c50a71e6ea9351c5dca902e123767b99dc31bf">a9c50a71</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Add iremotewinspool driver torture template

Add the template with setup and teardown functions
for the iremotewinspool_driver torture suite, and
add this to the list of torture tests

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5e97d3cda81628de8d23237d2f7d4ead55c729f6">5e97d3cd</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use test client user and machine name defaults

Use "testclient_machine" and "testclient_user" in open printer calls.

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7abf1d03394fb7a97b2f8ca58c95ab1916c7583f">7abf1d03</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-01-28T14:44:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util: Add file tree walk interface

Add tftw() utility to emulate nftw() behavior with a userdata pointer.
This is repurposed from the csync project custom file tree walker.

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7d42029ff79358684c1bfc51bde3cbd31ed840bd">7d42029f</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-01-28T14:44:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils:libgpo: re-add libgpo as library, it should not be part of gpext

It was initially removed in 78fd02cf31dfe72d596030f342aebefba1e72263 but
is needed by the inf file parsing.

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b6712ab902ab160bc66a3040eba8fc5c7d921dde">b6712ab9</a></strong>
<div>
<span>by Guenther Deschner</span>
<i>at 2019-01-28T14:44:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:printer_driver: Add printer_driver library to parse printer driver inf files

Pair-Programmed-With: Justin Stephenson <jstephen@redhat.com>
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/04d92b002024c5265c93ce7bd2a7064aaa187abc">04d92b00</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:printer_driver: Handle PrintProcessor string

This fixes an issue parsing the section of a certain HP
driver inf file:

PrintProcessor=%PRINT_PROCESSOR%

where %PRINT_PROCESSOR% is a [Strings] substituted value,
gp_inifile_getstring_ext() performs the substitution correctly.

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/166380111ba3a82b087ab3a54687d0ecabe5e819">16638011</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:printer_driver: Parse SourceDisksNames section

This allows a driver inf with a [SourceDisksNames] section
excluding the system architecture to be parsed.

https://docs.microsoft.com/en-us/windows-hardware/drivers/install/inf-sourcedisksnames-section?f=255&MSPPError=-2147217396

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5442355cdb527ddcaae509538c751b801a77a78c">5442355c</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:printer_driver: Don't overwrite printprocessor

If the printprocessor is parsed from the inf file in the codepath:

setup_driver_name
  find_driver_files
    process_driver_section_printprocessor

Don't overwrite the value later on in setup_driver_name with the default "winprint"

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7783c62bbf7d4237a3df02a02196c43d1152ed27">7783c62b</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:printer_driver: Retrieve Class value

Retrieve the Class value from the inf file [Version] section.

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1ac1b3e12fb5d981e94887e30669f7326ff5d6f7">1ac1b3e1</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Add driver parsing wrapper

Add wrapper function to parse inf driver file and get
validated driver information.

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/01f1bd3ff1c8916c26e2fc833cedd7120cc76f6e">01f1bd3f</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Add test_init_driver_info function

Validate torture options, obtain and retrieve driver information, and
call driver parsing function to retrieve driver info needed for
performing the test.

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a9619abb95f5d87686cded5754e4c33f34244ac3">a9619abb</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Add test_CopyDriverFiles

Add test to copy driver files from a torture option provided local driver_path
to the print$ share of //server/.

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a9f283c84ff9c429620f9e7fdc28b063174e4605">a9f283c8</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Add test_UploadPrinterDriverPackage

Add test to Upload Print Driver, a prerequisite RPC call before
installing the print driver. The inf driver file to use in this test
will be provided using torture option:inf_file

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c627b4e33b4dfde7cf79502fea4e58cbeecee7fa">c627b4e3</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Add test_InstallPrinterDriverFromPackage

Install a previous uploaded driver package.

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/38967fd954bf143bc2496b03bd1fdbbefffc4421">38967fd9</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Add test_ValidatePrinterDriverInstalled

Perform checks against the print driver registry information
to ensure the driver was installed as expected.

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/669b135b49db0bb7e89dfe44073ae9dd70500f97">669b135b</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T14:44:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Uninstall driver and cleanup

Uninstall and remove the print driver packages to cleanup
after the install. Cleanup and remove smb directory created
inside print$.

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/232273bfac3e65e69c4b9f4527f93cdfe4724f6b">232273bf</a></strong>
<div>
<span>by Justin Stephenson</span>
<i>at 2019-01-28T18:34:41Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Enforce Printer Class

Ensure that the provided inf defines Class=Printer for driver installation
to succeed.

Some driver packages(HP Universal Print Driver) include inf files with
other device types such as Class=USB. Attempting to install these will fail
when tested against Windows Server 2016 Print server using
iremotewinspool RPC calls.

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>

Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Mon Jan 28 19:34:41 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/45a202a197d7615a6285768545a691cfb05deb22">45a202a1</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-01-28T23:29:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib: don't rely on implicit int return type

C99 removed this behaviour.

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/f1b43dfe4a75683d881811bd0830e38e16822d6a">f1b43dfe</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-01-28T23:29:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib: clean up have_syscall() formatting

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/e13245803918a90c3e4eb074579885888bfc9310">e1324580</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-01-29T02:47:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: don't rely on implicit int return type

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): Tue Jan 29 03:47:27 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1f07c478ec1823c322b0de4db1a51029de8e5056">1f07c478</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-01-29T12:45:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/modules: maintain correct refcount for path items

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/3584fe46d92037c1fb9825d7d25ecc9bdd60c0f4">3584fe46</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-01-29T12:45:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/py_passdb: maintain correct refcount on allocation failure

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/e23b9f88cc1c8a8c8cda07fb25d639218c12d91a">e23b9f88</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-01-29T12:45:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/pyrpc_util: appropriately decrement refcounts on failure

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/a3aa5af3d5600b510a3289c5ab16610263f26c4f">a3aa5af3</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-01-29T12:45:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/pyrpc_util: catch alloc failure in py_dcerpc_interface_init_helper()

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/ca93b1e15a1c0606fe7e2d149af30cc0168fdb7b">ca93b1e1</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-01-29T15:54:48Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/param/provision py_dom_sid_FromSid: avoid python memleak

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): Tue Jan 29 16:54:48 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/60b062d614ecf8fa97b3efc0e587d3ee55e4971b">60b062d6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-01-29T21:06:59Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: Fix the 32-bit build

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

Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Tue Jan 29 22:06:59 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8061983d4882f3ba3f12da71443b035d7b672eec">8061983d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-01-29T21:09:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wscript: separate embedded_heimdal from system_heimdal

This allows to default (embedded_heimdal) to build even with a
broken krb5-config file from Heimdal.

In the system_heimdal case we parse the content of krb5-config
instead of just executing it. This fails on FreeBSD 12 as
krb5-config contains iso-8859-1 characters, which can't be parsed
as unicode python buffers when using python3.

Fixing the system_heimdal case is a task for another day,
I guess it will only work once we imported a current heimdal version
and actually tested the system_heimdal case.

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/e49df24e80a1c0bc2a1cc46c026e2aebfd5d6ddd">e49df24e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-01-29T21:09:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">replace: only include <sys/capability.h> with HAVE_POSIX_CAPABILITIES

On FreeBSD <sys/capability.h> is a legacy wrapper to <sys/capsicum.h>,
which implements something different. With FreeBSD 12 including
<sys/capability.h> generates a compiler warning/error.

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/b2050db67b47ab5d8ac9bf5b223b3a3289eb854e">b2050db6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-01-29T21:09:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba/replace: move __STDC_WANT_LIB_EXT1__ to CFLAGS

This fixes the build of python bindings, which use memset_s()
(via ZERO_STRUCT).

In python bindings Python.h needs to be the first header, which means
is already includes string.h. Defining __STDC_WANT_LIB_EXT1__ in
replace.h is too late in that case.

This fixes the --check-c-compiler=gcc --picky-developer on FreeBSD 12.

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/c0ed5bd05041e6a7a44c020588d9a1272f4be101">c0ed5bd0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-01-29T21:09:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party/resolv_wrapper: fix HAVE_RESOLV_IPV6_NSADDRS for struct __res_state

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/8e7b63a17112c012652d0c85ef8a45870e83d589">8e7b63a1</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2019-01-29T21:09:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">'articles' variable causes a dependency loop

This 'articles' variable contains
'smbdotconf/parameters.all.xml' and causes a
dependency loop when creating parameters.all.xml

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0b66cf93f2c46e3ccb537757f8132894a6526b7b">0b66cf93</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-01-29T21:09:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/tests/dns*: make use of dns.DNS_RCODE/dns.DNS_OPCODE

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-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/29f9618e38c42e8ccbabc5d2eedae94287c67355">29f9618e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-01-29T21:09:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns.idl: fix DNS_RCODE from 0xF to 0x1F

commit 74206984daa9c707a38675df88d6bbe660d876bc introduced
TSIG related error codes up to DNS_RCODE_BADALG   = 0x15

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-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/7a7a5ccf501f89c530970bde072509ed86d7bd89">7a7a5ccf</a></strong>
<div>
<span>by Lukas Slebodnik</span>
<i>at 2019-01-29T21:09:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: The test api.py should not rely on order of entries in dict

Test failed on s390x but there is a simple reproducer for any
architecture.

The built-in function repr returns the canonical string representation
of the object. We needn't care about order attributes in string
representation. Therefore test should pass for any order.

    for i in {1..30}; do
        PYTHONHASHSEED=random \
        python2 -c 'import ldb; msg = ldb.Message(); msg.dn = ldb.Dn(ldb.Ldb(), "dc=foo29"); msg["dc"] = b"foo"; print(repr(msg)) '
    done

  ======================================================================
  FAIL: test_repr (__main__.LdbMsgTests)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "tests/python/api.py", line 2322, in test_repr
      "Message({'dn': Dn('dc=foo29'), 'dc': MessageElement(['foo'])})")
  AssertionError: "Message({'dc': MessageElement(['foo']), 'dn': Dn('dc=foo29')})" != "Message({'dn': Dn('dc=foo29'), 'dc': MessageElement(['foo'])})"
  ----------------------------------------------------------------------
  Ran 1025 tests in 29.146s
  FAILED (failures=1)

Signed-off-by: Lukas Slebodnik <lslebodn@fedoraproject.org>
Reviewed-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/12b9adec3ff48f4356f9ff865891dc3c652ff86b">12b9adec</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-01-29T21:09:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">manpages/samba.7.xml: smbcontrol can also work with 'samba'

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Björn Baumbach <bbaumbach@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3a0c1da432c53de234b54bac90a3fb84534994eb">3a0c1da4</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-01-29T21:09:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:messaging: add support 'smbcontrol <pid> debug/debuglevel'

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Björn Baumbach <bbaumbach@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5bd7a8e5685caa09067745b108ef7e53e3108e97">5bd7a8e5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-01-29T21:09:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:server: avoid using pid=0 for the parent 'samba' process

It confuses the 'samba-tool processes' output and log messages.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Björn Baumbach <bbaumbach@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/832776c0fcf7cc658c128765514755c2d15b06a6">832776c0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-01-29T21:09:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:server: add support for 'smbcontrol samba shutdown'

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Björn Baumbach <bbaumbach@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d03991f569b54ae0a11911b622107fbae701715d">d03991f5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-01-30T00:51:48Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest:Samba4: use 'smbcontrol samba shutdown'

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Björn Baumbach <bbaumbach@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Jan 30 01:51:48 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/dc9a2c05a22867a7b3742ae6c6d5b7b583166e7c">dc9a2c05</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-01-30T20:21:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: smb2-posix: Add IO_REPARSE_TAG_NFS.

https://msdn.microsoft.com/en-us/library/dn617178.aspx

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/abbaa629c64078c34387cf450c77c8af92c08508">abbaa629</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-01-30T23:50:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: smb2-posix: Add NFS_SPECFILE_XXX defines.

Sub-types for NFS reparse point.

https://msdn.microsoft.com/en-us/library/dn617178.aspx

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 Jan 31 00:50:10 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4ecdcc4b462d03bec3ec36ba1b90f45d9977be8b">4ecdcc4b</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-01-31T03:25:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">man pages: document prefork process model

Document the process model options -M

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

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

Autobuild-User(master): Tim Beale <timbeale@samba.org>
Autobuild-Date(master): Thu Jan 31 04:25:14 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5d5a790bd349c591ea24bb510d7da447b70fdef9">5d5a790b</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns_hub: Fix flake8 warnings

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-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/a094e16fd58bec1d5938a25e941b15c180ec7a55">a094e16f</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Move dns_hub.py into selftest directory

As dns_hub.py is now integral to the selftest environments, it seems to
make sense for it to live under the selftest/ directory.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-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/b4211f69233f954a3fa596f464276184d85d322b">b4211f69</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add dns_hub to selftest/target/README

Add a description explaining what dns_hub does and why we need it.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-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/9a893f9613bd6440abd8e487d22a39ab5b82a7b9">9a893f96</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Avoid inefficient one-level searches

Commit 88ae60ed186c9 introduced a problem that made one-level
searches inefficient if there were a lot of child objects in the same
level, and the requested object didn't exist. Basically, it ignored the
case where ldb_kv_index_dn() returned LDB_ERR_NO_SUCH_OBJECT, i.e. the
indexed lookup was successful, but didn't find a match. At which point,
there was no more processing we needed to do.

The behaviour after 88ae60ed186c9 was to fall-through and run the
ldb_kv_index_filter() function over *all* the children. This still
returned the correct result, but could be costly if there were a lot of
children.

The case 88ae60ed186c9 was trying to fix was where we could not do
an indexed search (e.g. trying to match on a 'attribute=*' filter). In
which case we want to ignore the LDB_ERR_OPERATIONS_ERROR and just run
ldb_kv_index_filter() over all the children. This is still more
efficient than the fallback of doing a full database scan.

This patch adds in a short-circuit for the NO_SUCH_OBJECT case, so we
can skip the unnecessary ldb_kv_index_filter() work.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/72928444823c5b18ac9ef98e7432c999d70aa571">72928444</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Remove comment that no longer makes sense

This comment was written before the GUID_index_attribute block of code
existed. So we now *do* load the index values and *do* check for a
strict intersect, so the comment is redundant.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/132600685b8c5d4964f20634cd7a64b14f41cfa7">13260068</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Elaborate on ldb_kv_search_indexed() comments

Disclaimer: this is based on my limited understanding of what the code
is doing.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/57a565b2fd680fc1a34f4ab91c6f6314f68ef67f">57a565b2</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Rename variable

The old name confused me because it's not really related to the
one-level index at all. It's the result from evaluating the indexed
search specified in the ac->tree.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e7f524fd2128aacb82e980652af8eb6fd275e1a8">e7f524fd</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-02-01T02:36:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Add even more comments on what strict does to the list intersections

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5e716c0256a6bec92e7855ccfc077a328320f2ea">5e716c02</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-02-01T02:36:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Release ldb 1.5.3

* Avoid inefficient one-level searches (bug 13762)
* The test api.py should not rely on order of entries in dict (bug 13772)

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3f8d83b75390bd6525a3eb8009854d3b854fd54d">3f8d83b7</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba: Change default process model to prefork

Prefork is the more sensible default option now, as it better
handles a large number of client connections.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4603351544138f64e7c80ebda2eeb126bdd15d94">46033515</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Make process_model argument optional in check_or_start()

It's more realistic to *not* always specify a process-model, and rely on
the samba code to use the correct default. This patch changes selftest
so we only use the -M process-model option if a particular process_model
was specified. Otherwise the testenv will use whatever the default is.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d29853ab0a9754031c8463a593a11fb7bc800cc3">d29853ab</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Convert backup/restore testenvs to use default

These testenvs shouldn't be dependent on the process model at all, so we
should be able to convert them to the new default without any
repercussions.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c649aece90362c94156488d923491f14ff2496e5">c649aece</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">man pages: Add note about standard process model

Calling this model the 'standard' model made a lot more sense when it
was the default. Add a small note explaining that it has this name for
historical reasons.

(The term 'standard' may have originally been chosen for some other
reason. However, it's hard to find the rationale behind the term from
back in 2005)

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/402715206f8c101c158f5e71db8b2ce509899bdc">40271520</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Fix running proclimit tests locally

The dns_hub changes missed a dependency. Fortunately, during an
autobuild, the dns_hub is always up and running by the time the
proclimitdc tests are run. However, the tests were failing if run
locally just on their own.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6cee31b0ba966331022c2ab24bbdb7264b093c52">6cee31b0</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Reorder ENV_DEPS so similar testenvs are together

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b2126cd6f434a5c71ced965f1936f5e85ec6caf5">b2126cd6</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add comment elaborating on what ENV_DEPS actually does

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1e0db9726bb91ff967c896686d129aa30563697d">1e0db972</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove unnecessary tests.py options from proclimit tests

It seems like these extra options were just copy-n-pasted from another
test. The process_limits test doesn't actually try to use these env
variables at all. All the test is doing is creating LDAP connections to
the DC. The SOCKET_WRAPPER_DEFAULT_IFACE may have perhaps been needed,
but we can avoid this by dropping ':local' from the testenv and running
the test as a "client" instead.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5bfad1b2b08031b99834c9ca39c1900d52c8eb0d">5bfad1b2</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-01T02:36:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Improve error handling of gpo aclcheck as non-admin

Reading the nTSecurityDescriptor attribute over LDAP requires admin
creds. However, if you don't specify admin creds, then you get an error
like this:

bin/samba-tool gpo aclcheck
ERROR(<class 'KeyError'>): uncaught exception - 'No such element'
  File "bin/python/samba/netcmd/__init__.py", line 184, in _run
    return self.run(*args, **kwargs)
  File "bin/python/samba/netcmd/gpo.py", line 1536, in run
    ds_sd_ndr = m['nTSecurityDescriptor'][0]

This patch adds an explicit check/error message to make the problem
clearer.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f00362fb3d02f01346504ebe8d1ad8eb0dd5bb47">f00362fb</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-02-01T02:36:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">cracknames: Change search filter to use the smaller index

In large domains with many users, '(objectClass=User)' may as well not
be specified because it's iterating over the entire database.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e0c05383901b52f6a6834171c965dc386d6a9a4a">e0c05383</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-01T02:36:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Tests for segfaults in python bindings

These tests run in a child process and are regarded as succeeding if they
don't die by signal.

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/bdb4132617ef5082a81fe9247e233ae71e1b91f5">bdb41326</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-01T02:36:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pynbt: catch type errors in PyObject_AsNBTName()

This fixes some known segfaults.

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/ec1e56989b214376aa1c0a00368ffac11432cb94">ec1e5698</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-01T02:36:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pygensec: insist on proper AuthContext in start_server

Fixes another segfault.

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/a7e0741372d740b6999e873bf55fc6362d594c8e">a7e07413</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-01T02:36:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/pyauth: check ldb argument in py_user_session()

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/f17e36c3f1128566c33d4eabb32cc49ecaaf42af">f17e36c3</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-01T02:36:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/pyauth: insist on proper ldb in context_new()

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/1f9ac9135c4d4e6173ac2d39b93b8d96e1f038ee">1f9ac913</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-01T02:36:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/pyauth: fix memory leak when context_new() has bad arguments

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/b313a6aa9db15b2905646074d5e22db47a7c972c">b313a6aa</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-01T02:36:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/param/provision: check samdb argument in provision_bare()

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/3da801aea1a67606f25480ac7cd43eee77e003c8">3da801ae</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-01T02:36:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py_net: fix != None check

Py_None is not false in C, so this branch was always taken.

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/0e419a2163bf5cd680c75f229cb3750c2e7b9bb6">0e419a21</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-01T02:36:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyldb: make ldb.connect() url mandatory

The call fails without it, so we might as well fail sooner

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/545c3e6b12430f19ecd64d628e4f19e1556aa450">545c3e6b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-02-01T06:02:56Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Release ldb 1.6.0

* pyldb: make ldb.connect() url mandatory
* New version number for master (Samba 4.11 eventually)

The 1.5.x series will be maintained in the v4-10-test branch

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Feb  1 07:02:56 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bdb90ec974b31a6430a2f2329364b01d6f7270c6">bdb90ec9</a></strong>
<div>
<span>by David Disseldorp via samba-technical</span>
<i>at 2019-02-01T15:08:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: replace SAMBA3_ADD_OPTION with samba_add_onoff_option

The former is just an alias for the latter. samba_add_onoff_option()
better describes what the function actually does, so use that and
remove the alias.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0ae7c3144a30910adb1e54cf46d54d42a1036839">0ae7c314</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-02-01T15:08:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: drop pcap_cache_loaded() guard around load_printers()

Add the pcap_cache_loaded() check to load_printers() and return early
if it returns false. This simplifies callers in preparation for checking
lp_load_printers() in the printcap cache update code-path.

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

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6a77237c50dd258521f356af0b5dc9942dd5592e">6a77237c</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-02-01T18:25:03Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">printing: check lp_load_printers() prior to pcap cache update

Avoid explicit and housekeeping timer triggered printcap cache updates
if lp_load_printers() is disabled.

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

Signed-off-by: David Disseldorp <ddiss@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Fri Feb  1 19:25:03 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/63f4fb615d6738abd38f129882a3c40fdab8d3d3">63f4fb61</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-02T19:19:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">abi_gen.sh: ignore gdb customisations when comparing signatures

If a .gdbinit file says "set print pretty on", the signatures are printed over
several lines, and the abi_check fails. So let's ignore .gdbinit files.

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

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Sat Feb  2 20:19:05 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9df23fe4e51227b3d5bcb074fe34d10f9e019a66">9df23fe4</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-03T08:54:56Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sysquota_linux: fix querying of group quotas

for gids we need to get/set the effective gids, same like for the uids already

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>

Autobuild-User(master): Uri Simchoni <uri@samba.org>
Autobuild-Date(master): Sun Feb  3 09:54:56 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/64e05bc8c138e1155a27a992233015ebc0d91dbb">64e05bc8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-03T12:52:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Solaris cc does not like unnamed struct members

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/858a25abf4a71c1c1e2f15e3d61c8e378998f249">858a25ab</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-03T12:52:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Solaris cc can't return void values

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0e3eda5bab5ae9316a42725aea048fb350020ec7">0e3eda5b</a></strong>
<div>
<span>by Anoop C S</span>
<i>at 2019-02-03T16:00:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_glusterfs: Adapt to changes in libgfapi signatures

VFS module for GlusterFS fails to compile due to recent changes done to
some API signatures. Therefore adding missing arguments to those APIs
adapting to new signatures.

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

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sun Feb  3 17:00:33 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cca48c1a1029685672e1c25e39e8be2be947238f">cca48c1a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-04T01:03:56Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Document DCEPRC binding string for rpcclient

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 Feb  4 02:03:56 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/95b2c9d7751ae1e5a00e1fb096f045dd73c03d72">95b2c9d7</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-05T11:23:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Split backup/restore testenvs out into separate job

The samba-ad-dc-2 job was reaching its limits with the number of
testenvs and what the resource-limited CI machines can handle.
Samba processes were getting swapped out of memory, causing CI runs
to fail.

This patch splits the backup/restore testenv targets into a separate
autobuild job: samba-ad-dc-backup.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Feb  5 12:23:31 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9465292d4109f710f8fcd141a076f5c8278577bc">9465292d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-02-06T06:11:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tldap: avoid a use after free crash

I saw the following crash in tldap in the winbindd idmap child on a
member server after messing with the LDAP server on the DC:

0  0x00007f77ea9a307a in __GI___waitpid (pid=9815, stat_loc=stat_loc@entry=0x7ffe77569eb0, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
1  0x00007f77ea91bfbb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
2  0x00007f77edd8c24b in smb_panic_s3 (why=0x7f77f08e6e88 "Bad talloc magic value - access after free") at ../source3/lib/util.c:828
3  0x00007f77f15afe85 in smb_panic (why=0x7f77f08e6e88 "Bad talloc magic value - access after free") at ../lib/util/fault.c:170
4  0x00007f77f08e2678 in talloc_abort (reason=0x7f77f08e6e88 "Bad talloc magic value - access after free") at ../lib/talloc/talloc.c:472
5  0x00007f77f08e268b in talloc_abort_access_after_free () at ../lib/talloc/talloc.c:477
6  0x00007f77f08e2710 in talloc_chunk_from_ptr (ptr=0x55da7605a020) at ../lib/talloc/talloc.c:494
7  0x00007f77f08e4a19 in _talloc_free (ptr=0x55da7605a020, location=0x7f77e181474d "../source3/lib/tldap.c:1918") at ../lib/talloc/talloc.c:1716
8  0x00007f77e180b65c in tldap_search_all_done (subreq=0x55da7605a020) at ../source3/lib/tldap.c:1918
9  0x00007f77f0af0fd0 in _tevent_req_notify_callback (req=0x55da7605a020, location=0x7f77e1813e50 "../source3/lib/tldap.c:47") at ../lib/tevent/tevent_req.c:125
10 0x00007f77f0af10a5 in tevent_req_finish (req=0x55da7605a020, state=TEVENT_REQ_USER_ERROR, location=0x7f77e1813e50 "../source3/lib/tldap.c:47") at ../lib/tevent/tevent_req.c:162
11 0x00007f77f0af1113 in _tevent_req_error (req=0x55da7605a020, error=9780923860630110289, location=0x7f77e1813e50 "../source3/lib/tldap.c:47") at ../lib/tevent/tevent_req.c:180
12 0x00007f77e180781a in tevent_req_ldap_error (req=0x55da7605a020, rc=...) at ../source3/lib/tldap.c:47
13 0x00007f77e180b2c4 in tldap_search_done (subreq=0x55da76058280) at ../source3/lib/tldap.c:1813
14 0x00007f77f0af0fd0 in _tevent_req_notify_callback (req=0x55da76058280, location=0x7f77e1813e50 "../source3/lib/tldap.c:47") at ../lib/tevent/tevent_req.c:125
15 0x00007f77f0af10a5 in tevent_req_finish (req=0x55da76058280, state=TEVENT_REQ_USER_ERROR, location=0x7f77e1813e50 "../source3/lib/tldap.c:47") at ../lib/tevent/tevent_req.c:162
16 0x00007f77f0af11cd in tevent_req_trigger (ev=0x55da760526c0, im=0x55da76058360, private_data=0x55da76058280) at ../lib/tevent/tevent_req.c:219
17 0x00007f77f0af0378 in tevent_common_loop_immediate (ev=0x55da760526c0) at ../lib/tevent/tevent_immediate.c:135
18 0x00007f77f0af8b8f in epoll_event_loop_once (ev=0x55da760526c0, location=0x7f77f0af92b0 "../lib/tevent/tevent_req.c:269") at ../lib/tevent/tevent_epoll.c:911
19 0x00007f77f0af5925 in std_event_loop_once (ev=0x55da760526c0, location=0x7f77f0af92b0 "../lib/tevent/tevent_req.c:269") at ../lib/tevent/tevent_standard.c:114
20 0x00007f77f0aef201 in _tevent_loop_once (ev=0x55da760526c0, location=0x7f77f0af92b0 "../lib/tevent/tevent_req.c:269") at ../lib/tevent/tevent.c:725
21 0x00007f77f0af1361 in tevent_req_poll (req=0x55da7605eed0, ev=0x55da760526c0) at ../lib/tevent/tevent_req.c:269
22 0x00007f77e180fec9 in tldap_gensec_bind (ctx=0x55da76051ec0, creds=0x55da76052250, target_service=0x7f77e18164b3 "ldap", target_hostname=0x55da7605d182 "dc1.sdom1.site", target_principal=0x0, lp_ctx=0x55da76052180, gensec_features=6) at ../source3/lib/tldap_gensec_bind.c:358
23 0x00007f77e1810d21 in idmap_ad_get_tldap_ctx (mem_ctx=0x55da76050510, domname=0x55da76051d50 "sdom1", pld=0x55da76050518) at ../source3/winbindd/idmap_ad.c:326
24 0x00007f77e1811056 in idmap_ad_context_create (mem_ctx=0x55da76059c00, dom=0x55da76059c00, domname=0x55da76051d50 "sdom1", pctx=0x7ffe7756a5f8) at ../source3/winbindd/idmap_ad.c:374
25 0x00007f77e18119c0 in idmap_ad_get_context (dom=0x55da76059c00, pctx=0x7ffe7756a640) at ../source3/winbindd/idmap_ad.c:554
26 0x00007f77e181275b in idmap_ad_sids_to_unixids (dom=0x55da76059c00, ids=0x55da760518a0) at ../source3/winbindd/idmap_ad.c:784
27 0x00007f77e1813217 in idmap_ad_sids_to_unixids_retry (dom=0x55da76059c00, ids=0x55da760518a0) at ../source3/winbindd/idmap_ad.c:947
28 0x000055da7459ce05 in _wbint_Sids2UnixIDs (p=0x7ffe7756a870, r=0x55da76050860) at ../source3/winbindd/winbindd_dual_srv.c:202
29 0x000055da7460aa5e in api_wbint_Sids2UnixIDs (p=0x7ffe7756a870) at default/librpc/gen_ndr/srv_winbind.c:391
30 0x000055da7459c7f4 in winbindd_dual_ndrcmd (domain=0x0, state=0x7ffe7756abb8) at ../source3/winbindd/winbindd_dual_ndr.c:369
31 0x000055da7459828c in child_process_request (child=0x55da74874bc0 <static_idmap_child>, state=0x7ffe7756abb8) at ../source3/winbindd/winbindd_dual.c:666
32 0x000055da7459ae58 in child_handler (ev=0x55da7602c2b0, fde=0x55da7603f8a0, flags=1, private_data=0x7ffe7756abb0) at ../source3/winbindd/winbindd_dual.c:1567
33 0x00007f77f0af85f1 in epoll_event_loop (epoll_ev=0x55da76048b00, tvalp=0x7ffe7756aab0) at ../lib/tevent/tevent_epoll.c:728
34 0x00007f77f0af8c29 in epoll_event_loop_once (ev=0x55da7602c2b0, location=0x55da74628b08 "../source3/winbindd/winbindd_dual.c:1766") at ../lib/tevent/tevent_epoll.c:930
35 0x00007f77f0af5925 in std_event_loop_once (ev=0x55da7602c2b0, location=0x55da74628b08 "../source3/winbindd/winbindd_dual.c:1766") at ../lib/tevent/tevent_standard.c:114
36 0x00007f77f0aef201 in _tevent_loop_once (ev=0x55da7602c2b0, location=0x55da74628b08 "../source3/winbindd/winbindd_dual.c:1766") at ../lib/tevent/tevent.c:725
37 0x000055da7459b9e9 in fork_domain_child (child=0x55da74874bc0 <static_idmap_child>) at ../source3/winbindd/winbindd_dual.c:1766
38 0x000055da74596e96 in wb_child_request_waited (subreq=0x0) at ../source3/winbindd/winbindd_dual.c:188
39 0x00007f77f0af0fd0 in _tevent_req_notify_callback (req=0x55da7604f820, location=0x7f77f0af90f8 "../lib/tevent/tevent_queue.c:355") at ../lib/tevent/tevent_req.c:125
40 0x00007f77f0af10a5 in tevent_req_finish (req=0x55da7604f820, state=TEVENT_REQ_DONE, location=0x7f77f0af90f8 "../lib/tevent/tevent_queue.c:355") at ../lib/tevent/tevent_req.c:162
41 0x00007f77f0af10cd in _tevent_req_done (req=0x55da7604f820, location=0x7f77f0af90f8 "../lib/tevent/tevent_queue.c:355") at ../lib/tevent/tevent_req.c:168
42 0x00007f77f0af0cc1 in tevent_queue_wait_trigger (req=0x55da7604f820, private_data=0x0) at ../lib/tevent/tevent_queue.c:355
43 0x00007f77f0af06f2 in tevent_queue_immediate_trigger (ev=0x55da7602c2b0, im=0x55da760466a0, private_data=0x55da76046580) at ../lib/tevent/tevent_queue.c:149
44 0x00007f77f0af0378 in tevent_common_loop_immediate (ev=0x55da7602c2b0) at ../lib/tevent/tevent_immediate.c:135
45 0x00007f77f0af8b8f in epoll_event_loop_once (ev=0x55da7602c2b0, location=0x55da74612630 "../source3/winbindd/winbindd.c:1803") at ../lib/tevent/tevent_epoll.c:911
46 0x00007f77f0af5925 in std_event_loop_once (ev=0x55da7602c2b0, location=0x55da74612630 "../source3/winbindd/winbindd.c:1803") at ../lib/tevent/tevent_standard.c:114
47 0x00007f77f0aef201 in _tevent_loop_once (ev=0x55da7602c2b0, location=0x55da74612630 "../source3/winbindd/winbindd.c:1803") at ../lib/tevent/tevent.c:725
48 0x000055da74561431 in main (argc=2, argv=0x7ffe7756c968) at ../source3/winbindd/winbindd.c:1803

subreq is a child of the state of req which will already be free by the
callback of req.

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

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/bf91ee0a9727cc392583fe84ad069204be758515">bf91ee0a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-02-06T09:19:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tldap: avoid more use after free errors

See the previous commit for an explanation. :)

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

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): Wed Feb  6 10:19:12 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a8e10a12493fdb6b8347b14e157aeb619cf2d2da">a8e10a12</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-02-07T12:44:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Decrement references to python objects passed to Py_BuildValue

Py_BuildValue when processing format 'O' will
  'Pass a Python object untouched (except for its reference count,
   which is incremented by one'

Basically this means if you are using a new reference to a PyObject
to pass to BuildValue (to be used with the 'O' format) the reference
*isn't* stolen so you really do need to DECREF it in order to ensure
it gets cleaned up.

Signed-off-by: Noel Power <noel.power@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/1be9b0cf1bc95715e83c27eabecbd4fa2022530b">1be9b0cf</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-02-07T12:44:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Examine result of SetList (and prevent sending NULL to PyList_SetItem)

Signed-off-by: Noel Power <noel.power@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/53d973f59c3514f9c288cc8e53a682176a5fc415">53d973f5</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-02-07T12:44:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Cleanup references to module objects returned from PyImport_ImportModule

Signed-off-by: Noel Power <noel.power@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/85b7574b91f3dfcf751de8ae81876dc64fc5e686">85b7574b</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-02-07T12:44:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl: Fix Generated ndr python code to DECREF imported modules

Generated code calls Py_ImportModule but in all error returns
and also successful exit the code fails to decrement reference to
loaded modules in MODULE_INIT_FUNC function.

Signed-off-by: Noel Power <noel.power@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/e29c34942dcc29721f8f3dc8dbb58a18afda1e60">e29c3494</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-02-07T12:44:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">decref results of PyStr_FromString

Where we create temporary objects (which are added to containers)
these objects already get there ref count incremented. In this case
we need to decref those objects to ensure they are released.

Signed-off-by: Noel Power <noel.power@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/2814690d8fc302e79b041b3175e85bef1ac98e51">2814690d</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-02-07T12:44:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Cleanup (decref) some objects added to list.

PyList_Append doesn't steal references, so if the item created is
a temp object, created just to be added to the list we need to
 decref the item appended in order for it to be released.

Signed-off-by: Noel Power <noel.power@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/61670169d5241f742bc80bec37b02800af8c8517">61670169</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-02-07T16:17:46Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Clean up reference used with PyDict_Setxxx

PyDictSetxxx methods don't steal reference so if the items added
to the dictionary were created just for the purpose of inserting
into the dict then we need to decref them.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Thu Feb  7 17:17:46 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c824240cd48aea9e0655287c98c8de7c3ffd5f94">c824240c</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-02-07T16:23:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/debug: retain full string in state.prog_name global

setup_logging() retains a global pointer to the provided const string in
state.prog_name, which is later used in the debug_backend->reload()
callback.
Some setup_logging() callers, such as popt_common_callback(),
incorrectly assume that a dynamic buffer is safe to provide as a
prog_name parameter. Fix this by copying the entire string in
setup_logging().

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/901ca24e43a1b2b441f070e5dc40a6c7ddcba883">901ca24e</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-02-07T16:23:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib/popt_common: don't assume stackframe presence

popt_common_callback() should be leak-safe if a talloc stackframe isn't
available, as it's invoked early on.

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/f132c3767efd4197ae32a7114a7b91b55759adb4">f132c376</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-02-07T16:23:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib/popt_common: use stack buffer in set_logfile()

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/3e25d4d55f85be3323861b9a2f59626246b57182">3e25d4d5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-07T16:23:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: Update documentation for 'restrict anonymous' option

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Rowland Penny <rpenny@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/eaf63f0b845fb766ff243b1a7d0587c9507ab31e">eaf63f0b</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-02-07T20:33:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: "cluster addresses" dns registration

Bug 7871 added functionality to register smb.conf "cluster addresses"
when net ads dns register is called with clustering=yes, but the man
page was not updated. Add documentation for this behaviour.

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): Thu Feb  7 21:33:15 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/10114238c6c743bb25f5a7ff5788856693f420cb">10114238</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-07T21:47:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: add samba_runcmd_export_stdin() helper function

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/65e52c24bc16d6c1c67e92244bc6e96d391525a1">65e52c24</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-07T21:47:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb:util: make use of samba_runcmd_export_stdin()

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/531b713c558fad56c20b9f9d1fa4e6fbb236b100">531b713c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-08T01:54:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: inline lib/util/util_runcmd.h again

samba_runcmd_state should not be exposed!

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

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Feb  8 02:54:20 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/87149445af26b8577566dfe5e311b32e3650c6e6">87149445</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-02-08T05:34:47Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/scripting/bin: open unicode files with utf8 encoding and write unicode string

In files like `libcli/util/werror_err_table.txt` and `libcli/util/ntstatus_err_table.txt`,
there were unicode quote symbols at line 6:

    ...(“this documentation”)...

In `libcli/util/wscript_build`, it will run `gen_werror.py` and `gen_ntstatus.py`
to `open` above files, read content from them and write to other files.

When encoding not specified, `open` in both python 2/3 will guess encoding from locale.

When locale is not set, it defaults to POSIX or C, and then python will use
encoding `ANSI_X3.4-1968`.

So, on a system locale is not set, `make` will fail with encoding error
for both python 2 and 3:

    File "/home/ubuntu/samba/source4/scripting/bin/gen_werror.py", line 139, in main
        errors = parseErrorDescriptions(input_file, True, transformErrorName)
      File "/home/ubuntu/samba/source4/scripting/bin/gen_error_common.py", line 52, in parseErrorDescriptions
        for line in file_contents:
      File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 318: ordinal not in range(128)

In this case, we have to use `io.open` with `encoding='utf8'`.
However, then we got unicode strs and try to write them with other strs
into new file, which means the new file must also open with utf-8 and
all other strs have to be unicode, too.

Instead of prefix `u` to all strs, a more easier/elegant way is to enable
unicode literals for the python scripts, which we normally didn't do in samba.

Since both `gen_werror.py` and `gen_ntstatus.py` are bin scripts and no
other modules import them, it should be ok for this case.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Fri Feb  8 06:34:47 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/51bc92d8c81248504b65131790ce9eab8bbc31f6">51bc92d8</a></strong>
<div>
<span>by Aliaksei Karaliou</span>
<i>at 2019-02-08T07:51:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Get rid of hardcoded 'bin/default' in includes

Removed occurrences of bin/default used in #include directive for
auto-generated headers residing in build directory.
Build system is capable of resolving path to such headers by itself
without extra hardcoded path to build directory.

Signed-off-by: Aliaksei Karaliou <akaraliou@panasas.com>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-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/74cf2a1bda9bcd8db9201f0cc0a69f5ec05ecf82">74cf2a1b</a></strong>
<div>
<span>by Aliaksei Karaliou</span>
<i>at 2019-02-08T07:51:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build:docs: Get rid of hardcoded 'bin/default'

Build scripts for documentation still contain hardcoded path to build
destination rather than use proper final build path variables.

Signed-off-by: Aliaksei Karaliou <akaraliou@panasas.com>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-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/e4ae59bbb2965faaab130cf56d8cdbe8820198c0">e4ae59bb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-08T07:51:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture4: Solaris cc can't deal with empty initializers

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-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/65c05357309c6e366d1731ced27c347f29b3f281">65c05357</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-08T07:51:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Enhance xids2sids debugging

Print what was requested and returned

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-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/c516394ed90a52bc8712de845a16c7293ef7fbda">c516394e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-08T07:51:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Avoid sending S-1-22- to winbind

Sending S-1-22-x to a typeless sids2xids call will make winbind prime
the reverse xids2sids cache, which is very likely the wrong mapping. Add
a check that avoids bothering the winbind pipe when it's clear this
can't work anyway.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-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/076f30b060738cb938c22c965b7ffd4b4089835d">076f30b0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-08T12:30:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: Enhance xids2sids debugging

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Feb  8 13:30:32 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8294e68a4175e6116b38869866c42a1b7ba55b6a">8294e68a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-08T12:31:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py_tevent: add_timer takes float argument

We were already using it that way.

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/96cdacae1475847fa5005370a4fcb5fcacfb4dbc">96cdacae</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-08T12:31:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libsmb/py: match input argument types with C types

If PyArg_ParseTupleAndKeywords() is given, say, an "H" format (meaning
unsigned short int) but the referenced variable is a plain unsigned
int, the top 16 bits of the variable will be left undefined. In that
case we should use an "I" format (and/or initialize the variable).

In many cases the change is fairly innocuous, such as when "i" and "I"
are mixed (for signed and unsigned ints respectively), but the
resulting write is the same size and probably gives the same result in
practice.

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/1e8d0d80d95ff3f9f5f05153d14b24b7122e0d43">1e8d0d80</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-08T12:31:39Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/librpc/py_misc: ParseTuple format should match actual 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/7b9d4580e9cfdd30d4348d6dd6e7333e9b62553f">7b9d4580</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-08T12:31:39Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/messaging/py: use better format strings for variable 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/8a8286842d8770df322c4493632496341d707f0c">8a828684</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-08T16:09:51Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/registry/py: use unsigned ParseTuple format for unsigned value

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 Feb  8 17:09:51 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3204dc66f6801a7c8c87c48f601e0ebdee9e3d40">3204dc66</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-02-08T18:54:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: vfs_fruit. Fix the NetAtalk deny mode compatibility code.

This exhibited itself as a problem with OFD locks reported
as:

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

However, due to underlying bugs in the vfs_fruit
code the file locks were not being properly applied.

There are two problems in fruit_check_access().

Problem #1:

Inside fruit_check_access() we have:

flags = fcntl(fsp->fh->fd, F_GETFL);
..
if (flags & (O_RDONLY|O_RDWR)) {

We shouldn't be calling fcntl(fsp->fh->fd, ..) directly.
fsp->fh->fd may be a made up number from an underlying
VFS module that has no meaning to a system call.

Secondly, in all POSIX systems - O_RDONLY is defined as
*zero*. O_RDWR = 2.

Which means flags & (O_RDONLY|O_RDWR) becomes (flags & 2),
not what we actually thought.

Problem #2:

deny_mode is *not* a bitmask, it's a set of discrete values.

Inside fruit_check_access() we have:

if (deny_mode & DENY_READ) and also (deny_mode & DENY_WRITE)

However, deny modes are defined as:

/* deny modes */
define DENY_DOS 0
define DENY_ALL 1
define DENY_WRITE 2
define DENY_READ 3
define DENY_NONE 4
define DENY_FCB 7

so if deny_mode = DENY_WRITE, or if deny_mode = DENY_READ
then it's going to trigger both the if (deny_mode & DENY_READ)
*and* the (deny_mode & DENY_WRITE) conditions.

These problems allowed the original test test_netatalk_lock code to
pass (which was added for BUG: https://bugzilla.samba.org/show_bug.cgi?id=13584
to demonstrate the lock order violation).

This patch refactors the fruit_check_access()
code to be much simpler (IMHO) to understand.

Firstly, pass in the SMB1/2 share mode, not old
DOS deny modes.

Secondly, read all the possible NetAtalk locks
into local variables:

netatalk_already_open_for_reading
netatalk_already_open_with_deny_read
netatalk_already_open_for_writing
netatalk_already_open_with_deny_write

Then do the share mode/access mode checks
with the requested values against any stored
netatalk modes/access modes.

Finally add in NetATalk compatible locks
that represent our share modes/access modes
into the file, with an early return if we don't
have FILE_READ_DATA (in which case we can't
write locks anyway).

The patch is easier to understand by looking
at the completed patched fruit_check_access()
function, rather than trying to look at the
diff.

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/28990e4ba23695ecf264117efad90cc4e573302e">28990e4b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-02-08T22:26:46Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: torture: vfs_fruit. Change test_fruit_locking_conflict() to match the vfs_fruit working server code.

Originally added for BUG: https://bugzilla.samba.org/show_bug.cgi?id=13584
to demonstrate a lock order violation, this test
exposed problems in the mapping of SMB1/2 share modes
and open modes to NetATalk modes once we moved to OFD locks.

Change the test slightly (and add comments)
so it demonstrates working NetATalk share modes
on an open file.

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

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 Feb  8 23:26:46 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2ff2594b2bd878928cec30bc72a95a6d38bee154">2ff2594b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-08T22:32:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:vfs: Initialize pid to 0 in test_netatalk_lock()

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/7ff94b18e2e39567ef7a208084cc5c914c39d3bd">7ff94b18</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-09T02:43:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:vfs: Correctly check if OFD locks should be enabled or not

Also the smb.conf options should only be checked once and a reload of
the config should not switch to a different locking mode.

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 Feb  9 03:43:50 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/67825c96473ff8731af415683b4a74caca7a6809">67825c96</a></strong>
<div>
<span>by Aurelien Aptel</span>
<i>at 2019-02-09T17:30:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: add getters for smb2 {signing,encryption,decryption} keys

Adds:
- smb2cli_session_signing_key()
- smb2cli_session_encryption_key()
- smb2cli_session_decryption_key()

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Noel Power <npower@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0732499f23cebe6c5e24f596ff4fe41f8ab1d156">0732499f</a></strong>
<div>
<span>by Aurelien Aptel</span>
<i>at 2019-02-09T17:30:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: add "debug encryption" global parm

Add debug option to dump in the log the session id & keys in smbd and
libsmb-based code for offline decryption.

Wireshark can make use of this to decrypt encrypted traffic.

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Noel Power <npower@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/584dfc15fd33f665a0bd2287a6a981568032ec74">584dfc15</a></strong>
<div>
<span>by Aurelien Aptel</span>
<i>at 2019-02-09T20:43:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb,s3/smbd: dump SMB3+ session keys if debug parm is set

Use of previously added smb.conf global param.

Sample usage:

$ smbclient //localhost/scratch --option='debugencryption=yes' \
                                 -e -mSMB3 -U aaptel%aaptel -c quit
debug encryption: dumping generated session keys
Session Id    [0000] 26 48 BF FD 00 00 00 00                             &H......
Session Key   [0000] 63 D6 CA BC 08 C8 4A D2   45 F6 AE 35 AB 4A B3 3B   c.....J. E..5.J.;
Signing Key   [0000] 4E FE 35 92 AC 13 14 FC   C9 17 62 B1 82 20 A4 12   N.5..... ..b.. ..
App Key       [0000] A5 0F F4 8B 2F FB 0D FF   F2 BF EE 39 E6 6D F5 0A   ..../... ...9.m..
ServerIn Key  [0000] 2A 02 7E E1 D3 58 D8 12   4C 63 76 AE 59 17 5A E4   *.~..X.. Lcv.Y.Z.
ServerOut Key [0000] 59 F2 5B 7F 66 8F 31 A0   A5 E4 A8 D8 2F BA 00 38   Y.[.f.1. ..../..8

We can now simply pass -ouat:smb2_seskey_list:<sesid>,<seskey> to
wireshark or tshark:

$ tshark -ouat:smb2_seskey_list:2648BFFD00000000,63D6CABC08C84AD245F6AE35AB4AB33B \
          -Y smb2 -r capture.pcap -Tfields -e _ws.col.Info
Negotiate Protocol Response
Negotiate Protocol Request
Negotiate Protocol Response
Session Setup Request, NTLMSSP_NEGOTIATE
Session Setup Response, Error: STATUS_MORE_PROCESSING_REQUIRED, NTLMSSP_CHALLENGE
Session Setup Request, NTLMSSP_AUTH, User: WORKGROUP\aaptel
Session Setup Response
Tree Connect Request Tree: \\localhost\IPC$
Tree Connect Response
Decrypted SMB3;Ioctl Request FSCTL_DFS_GET_REFERRALS, File: \localhost\scratch
Decrypted SMB3;Ioctl Response, Error: STATUS_NOT_FOUND
Decrypted SMB3;Tree Disconnect Request
Decrypted SMB3;Tree Disconnect Response
Decrypted SMB3;Tree Connect Request Tree: \\localhost\scratch
Decrypted SMB3;Tree Connect Response
Decrypted SMB3;Tree Disconnect Request
Decrypted SMB3;Tree Disconnect Response

For more info on Wireshark decryption support see
https://wiki.samba.org/index.php/Wireshark_Decryption

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Noel Power <npower@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Sat Feb  9 21:43:25 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/244e2a02796b2ee85b9db01cbea7043a7448a110">244e2a02</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-02-11T06:43:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">buildtools/wafsamba: Avoid decode when using python2

To avoid problematic type checking for 'str' types which fail
when result from str.decode is used.

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/835e1564943b3a8a0c8cbdc55db5f0d070ba8f17">835e1564</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-02-11T06:43:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dnsserver: Return access denied to the caller if the user was not a DNS admin

This is not a proper fix to match Windows, but at the very least, it
should be more obvious to users (using samba-tool for instance), that
the user needs to be given more access or that they should use the
administrator.

Windows seems to deny access altogether by returning a fault after they
have bound to the pipe and actually sent an operation.

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

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b50f8390eba23b2ec310c495cf67a96b47ba9966">b50f8390</a></strong>
<div>
<span>by Aliaksei Karaliou</span>
<i>at 2019-02-11T06:43:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Fixed usage of non-default path to WAFLOCK

If WAFLOCK environment variable is set, use it to override path
to WAF lock file in Samba build scripts.

Signed-off-by: Aliaksei Karaliou <akaraliou@panasas.com>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/724c07fe131d4c0d1a2c11e5a93e8f12b8dc3bd8">724c07fe</a></strong>
<div>
<span>by Aliaksei Karaliou</span>
<i>at 2019-02-11T06:43:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Don't generate kerberos_implementation.py if building without python

It is unnecessary to generate kerberos_implementation.py when python is
disabled.

Signed-off-by: Aliaksei Karaliou <akaraliou@panasas.com>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/65ea3f2a461c0eeca7d14c4258eea52e19f0ed06">65ea3f2a</a></strong>
<div>
<span>by Aliaksei Karaliou</span>
<i>at 2019-02-11T06:43:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:util: Move popen wrappers to lib/util

When linked into Samba3 libraries, sys_popen()/sys_pclose()
cannot be used in lower level libraries because of circular
dependencies.

This patch moves them into common samba-util library.

Signed-off-by: Aliaksei Karaliou <akaraliou@panasas.com>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d21fc7d8b86b0cddc619ffe528d9cd93eeedbb0b">d21fc7d8</a></strong>
<div>
<span>by Aliaksei Karaliou</span>
<i>at 2019-02-11T06:43:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:util: Move static file_pload() function to lib/util

file_pload() is static private function in Samba3 library, however it
does not have any special dependencies and might be widely used as
common function, so moving it into common samba-util library.

Signed-off-by: Aliaksei Karaliou <akaraliou@panasas.com>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/193bb824e2c4d40a88ce226814162357765c0c52">193bb824</a></strong>
<div>
<span>by Aliaksei Karaliou</span>
<i>at 2019-02-11T06:43:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules: Fix compilation of nfs41acl_xdr.c when building outside src

If the Samba build directory is outside its source directory, generation
of nfs41acl_xdr.c by rpcgen leads to improper include paths to nfs41acl.h.

This happens because rpcgen is designed to produce its generated file in the
same directory as the input template. If the build directory is not located
under the source directory, this relative path will be invalid and the header
will not be found.

Example:
 src dir is ~/samba-src
 bld dir is ~/samba-bld

rpcgen will use path ../../samba-src/source3/modules/nfs41acl.x
running from ~/samba-bld/default and nfs41acl_xdr.c will contain:
 #include "../../samba-src/source3/modules/nfs41acl.h"

This behaviour is fixed through an intermediate copy of the input file to
the build directory so that rpcgen receives the path as if located in src.

Also now we avoid generation of nfs41acl_xdr.c when HAVE_RPC_XDR_H is
not defined because it will not be used as part of the vfs_nfs4acl_xattr
module.

Signed-off-by: Aliaksei Karaliou <akaraliou@panasas.com>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/39c1aa2857ae5dd4395ddbcf6a0aeff17f8e3250">39c1aa28</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-11T06:43:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: make check password script more portable

We should not rely on Linux specific sed options.

grep -q also works on FreeBSD (tested on FreeBSD 12).

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/77bddbb761fd792b51b16e06bad06293f780c383">77bddbb7</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-11T06:43:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/user_check_password_script: add a test do disallow the username as password

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/9f6ade21f56765d162695646dfd9792d0b0843d4">9f6ade21</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-11T06:43:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb:util: export SAMBA_CPS_{ACCOUNT,USER_PRINCIPAL,FULL}_NAME for check password script

This allows the check password script to reject the username and other
things.

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/c4131b610cd1fe2767e0d34c078d62f2d481f2e8">c4131b61</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-11T06:43:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: require SAMBA_CPS_ACCOUNT_NAME in checkpassword_arg1.sh

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/cef1d2ab8c46dda741ca901f71eccb8a8abeba1d">cef1d2ab</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-11T06:43:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:srv_samr_chgpasswd: export SAMBA_CPS_{ACCOUNT,USER_PRINCIPAL,FULL}_NAME for check password script

This is keep compatibility with the AD DC usage.

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/2e8daeb2bb30f57284f80cac51eb005f775e155f">2e8daeb2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-11T10:03:58Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml/smbdotconf: document export of SAMBA_CPS_{ACCOUNT,USER_PRINCIPAL,FULL}_NAME for check password script

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 Feb 11 11:03:58 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/55cce815876a235f9a5e6015a96d1984bcf3a4ed">55cce815</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-11T10:41:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Make dns_hub socket timeout match DNS_REQUEST_TIMEOUT

I was hitting the recv_packet = s.recv(2048, 0) exception because
the socket timeout was reached. We've seen it before, but it seemed more
common after changing the default process-model to prefork. This patch
makes the socket timeout used by the python code consistent with the C
code.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/80d293ca0c40b63251e0dd1f059129a24b5c241f">80d293ca</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-11T10:41:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: improve debugging in dns_hub.py

We only print debug messages when the response is delayed by more than 2
seconds.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/162219de1df60573d0e42b73162fd5d086a812ad">162219de</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-11T10:41:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">blackbox/dbcheck.sh: fix dbcheck_fix_one_way_links cleanup

Commit 35bfc62a31c9ad73449594ddd48f76f50e0abade changed
dbcheck to not regard old one-way-links as errors.

At that time the relavant trigger changed from
fix_all_string_dn_component_mismatch to
fix_all_old_dn_string_component_mismatch.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/09c4e78fefd55d33f9fc2d3c3e1ba092a8cc490a">09c4e78f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-11T10:41:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/tests/vlv: use only one toplevel dn that is correctly cleaned up

Before "OU=vlvtestou2,%s" % (self.base_dn) was left behind after the
test.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b1740f3bafc2d460c137ac9f03514d57138d2f7a">b1740f3b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-02-11T13:10:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CI: split out "samba-ad-dc-ntvfs[-py2]" test targets

Many AD tests currently use the "samba" target. Split out a new target
"samba-ad-dc-ntvfs" and have all tests that use the "ad_dc_ntvfs" env
use the new target. This should greatly speed up the runtime for the "samba"
target and avoid swapping.

This reduces the total CI time by ~ 55%, I got an autobuild and a gitlab
pipeline finished in just ~ 100 mins!

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>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Feb 11 14:10:12 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/77dbe6b9efd2b8051c4c1a7ad1233bee3ca61573">77dbe6b9</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-12T22:02:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:locking: Add missing NULL check

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/f8a85ed5693d31b517fd8d3b15c7a4300cdb81c9">f8a85ed5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-12T23:52:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Add missing NULL check in rpc_fetch_domain_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): Wed Feb 13 00:52:25 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d0e26ea67fbad4b4e142881c8ae3fca7dd7547a3">d0e26ea6</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-13T03:15:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">spelling of associated

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/5b0a9818ffd88d495ffbd7387d51d30d5594133d">5b0a9818</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-13T03:15:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: make get_parsed_dns_trusted() a common helper function

We are already using it in two places, and are about to add a third.

The version in repl_meta_data.c did more work in the case that the
parsed_dns can't really be trusted to conform to the expected format;
this is now a wrapper called get_parsed_dns_trusted_fallback().

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/a086a6457b421c36562275a425ce2bbd32336f8f">a086a645</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-13T03:15:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: linked attrs: check a talloc_new()

Also we can defer it past a thing that doesn't need or check for 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/c874b62556b711082b62451f937f6102abdc3761">c874b625</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-13T03:15:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: check NULL guid strings in la_fix_links

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/cb502997b377f3aea05635c4c658754f70b34fd6">cb502997</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-13T03:15:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">replmd: move a if (ret) closer to ret source

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/d4ebe006885e100da6797e210f9331fabffec8d4">d4ebe006</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-13T03:15:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_dn: remove unreachable code in dn_explode

Every time I look at this file, I spend a few minutes wondering how
these bits of code are ever run. Never again.

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/d21801b88877629dfe04bf552d5dbffb2143400a">d21801b8</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-02-13T03:15:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_dn: don't free a known NULL pointer

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/85a7b4bf7040b0c95edc2f5a13252830c8c0d378">85a7b4bf</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-13T03:15:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Use default 'prefork children' smb.conf setting

The default setting should be 4, so there should be no need to specify
this in the testenv smb.conf.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/22c016b12142e675c5b8ef0ea1f450385f555268">22c016b1</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-13T03:15:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Change backup/restore testenvs to use 1 prefork child

Recently the gitlab CI jobs were hitting memory resource limits and
using swap, which then caused test failures. The process model used in
the testenvs seemed to be contributing to this problem.

We can reduce the memory overhead of the restore/backup testenvs by
using 1 prefork child process instead of the default of 4 (kudos to
Garming for the idea). The tests run against these testenvs are basic
sanity-checks, rather than heavy-duty stress tests, so the number of
prefork workers shouldn't matter.

This is a bit of a tradeoff between testing the defaults that will
actually be used in production vs using limited resources efficiently on
shared CI runner machines.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c9fa0a05d90f8c1d84c41efe32a6938c026dc328">c9fa0a05</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-02-13T03:15:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba/samba_utils.py: override symlink to allow force link

if bin is not empty and I have been sharing the samba tree into
a Vagrant environment and we run make, we get annoying linking error like this:

     File "~/samba/lib/tevent/wscript", line 130, in build
        installdir='python')
      File "./buildtools/wafsamba/wafsamba.py", line 745, in SAMBA_SCRIPT
        os.symlink(link_src, link_dst)
    FileExistsError: [Errno 17] File exists: '~/samba/lib/tevent/tevent.py' -> '~/samba/bin/default/../python/tevent.py'
    Makefile:7: recipe for target 'all' failed

Override the symlink method to allow force linking.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-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/30d505e91bbf8e08d6f80314798e4e1a48ae43f9">30d505e9</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-02-13T04:49:43Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Only set clockskew to 5 seconds for MIT Kerberos

This was added in ac5427c6eba09134411f76a5e6f7e2643fa74eed as part of the MIT KDC
effort, but makes some tests much less reliable under high load.

As the Heimdal build does not need this, only specify for the MIT build.

Tested with an MIT AD DC build with:
 make test TESTS="samba3.raw.session samba3.smb2.session"

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): Wed Feb 13 05:49:43 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5dad03b83cd014277e2712ab04ad8a714d78a24c">5dad03b8</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-02-13T10:42:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix mem leak with PyBytes_FromStringAndSize
Reviewed-by: Andrew Bartlett abartlet@samba.org
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8d3f736bba3367ed615f97d292f86c447a25b8d5">8d3f736b</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-02-13T10:42:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix instances of PyDict_SetItem to decref the value

Although it would be better to use the BuildValue approach to
create the dictionares here, unfortunately the dictionaries created
here have key/values that are created dynamically (based on input params).

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett abartlet@samba.org
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0c15c4b1db9ef12cc02683bbf24e0a2d10d1b991">0c15c4b1</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-02-13T13:51:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Make sure results from GetAttrString are decref'ed where needed

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett abartlet@samba.org

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Wed Feb 13 14:51:12 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3a793497796395ffa3efda5807bdb1ca8e09e35b">3a793497</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-02-13T16:58:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: Check for libnscd

The check was in the old autoconf, but not in waf. As the code is still
in source3/lib/util_nscd.c, add the check for libnscd to allow building
and using the code.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Feb 13 17:58:33 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c27afc098398274abaed6dc9bef2019091c1b635">c27afc09</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-14T01:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">messages_dgm: Use saved errno value

In this case this is just a cleanup, the value has just been set by
messaging_dgm_sendmsg. But as that already saves errno into a local
variable, use that.

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

Signed-off-by: Volker Lendecke <vl@samba.org>
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/8d8f62c4b9dea381ce9f5833bc794553ae358173">8d8f62c4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-14T01:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture3: Extend read3 for the "messaging target re-inits" failure

Do ping_pong a hundred times, re-initializing the msg_ctx every time.

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

Signed-off-by: Volker Lendecke <vl@samba.org>
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/2543bba0364d8054e9ad316f5611621841bc061d">2543bba0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-14T01:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">messages_dgm: Properly handle receiver re-initialization

This only properly covers the small-message nonblocking case. Covering
the large-message and the blocking case is a much larger effort assuming
we want to re-send the failed message if parts of the message has gone
through properly. Don't do that for now.

This was found by sanba_dnsupdate constantly recreating its irpc handle to
winbindd in the RODC case.

The messaging_dgm code cached connected datagram sockets based on the
destination pid for 1 second. Which means the IRPC responses from
winbindd are never delivered to samba_dnsupdate,
which will then hit a timeout.

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

Signed-off-by: Volker Lendecke <vl@samba.org>
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/dd3a536b81a8c393e058a2690589cedfffe6e491">dd3a536b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-14T01:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:setup: register ${NTDSGUID}._msdcs.${DNSFOREST} first in dns_update_list

After the A and AAAA records for the ${HOSTNAME} this is the most
important name.

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/2f2da0966ba4cf8b2c81dbbfcd09c821b5b953f5">2f2da096</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-14T01:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd_irpc: remove unused winbind_DsrUpdateReadOnlyServerDnsRecords from wb_irpc_forward_state

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/767e60d97390f90e1b0579d4108ede51a9116952">767e60d9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-14T01:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba_dnsupdate: make it clear that opts.use_file is active and we're not using nsupdate

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/19f34b2161dee26ebaee2774b4bee0dc3ce9e340">19f34b21</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-14T01:18:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba_dnsupdate: make rodc_dns_update() more robust against timing problems

Without this we had an interesting race!

The messaging_dgm code caches connected datagram sockets based on the
destination pid for 1 second.

The fact that samba_dnsupdate constantly recreates its messaging
context (and the underlying datagram socket) means that we the winbindd
messaging context may get a stale connection. As a result sending any
message from winbindd back to samba_dnsupdate will result in
ECONNREFUSED.

That means the IRPC response from winbindd never reaches
samba_dnsupdate, which will then hit a timeout.

In turn samba_dnsupdate on the RODC times out.

This was a workaround for the problem, by having just one global
IRPC handle and thus just one messaging_dgm context.
The actual problem is solved a few commits before
("messages_dgm: Properly handle receiver re-initialization").
But we keep this as an performance optimization, which hopefully
means that the overall samba_dnsupdate is less likely to
timeout after the hardcoded 20 seconds.

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/b988695ed7a229f7fe5472bd3ebf257f05524270">b988695e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-14T01:18:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest:Samba4: report when samba is started and ready

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/8c0853b80c4dc0370a8e91796388e4818123f5a6">8c0853b8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-14T01:18:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest:Samba4: wait for DNS names being registered

We can't reliable start tests without registered dns names.

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/35d66610ca92ddfcff1a4acbc0046459fa246085">35d66610</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-14T01:18:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: add 'lsb_release -a' and 'mount' to system-info.txt

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/670413f0f1675b6b6dfbfdcd1c6780824376c8a1">670413f0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-14T01:18:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: print out more information in the before_script section

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/305db94c581ebc59a8080d0569d14b5cbf123499">305db94c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-14T01:18:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci*.yml: remove build_ prefixes

It's useless to see 'builf_samba_ad...' 7 times in the gitlab pipeline summary.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a61e121e1717697210d0f8b62506948c3b86965c">a61e121e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-14T01:18:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci*.yml: use 'extends: ' instead of YAML Anchors

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7dcf51282a53dbdc550e619da7f92f49746217b6">7dcf5128</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-14T01:18:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: add retries on runner_system_failure/stuck_or_timeout_failure

This hopefully avoids pipeline failures due too docker/runner
errors.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/da56644792379b1ead8221233f1b43f55e942202">da566447</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-02-14T01:18:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: Fix the registry as "registry.gitlab.com"

This is important as our team docker images are only in this registry, but
the .gitlab-ci.yml file is also run on other private GitLab hosts.

This partially undoes 8989916b5af6fed9c4c63035d4488583396b8c5a

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/20017b57061e1dad6c483eed24d9e996da559f1b">20017b57</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-02-14T01:18:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: Use .extends to avoid duplication of autobuild command

This should make our .gitlab-ci.yml file much less overwealming.

The downside is that $CI_JOB_NAME is printed rather than the job name
in the log, but the upside is that the names must now strictly match.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2381febcfafae30f3e65d7b11e823b92e3cd5ee3">2381febc</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-02-14T01:18:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: Re-indent comments on test times

(some of these need to be updated, but for now improve the formatting)

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7c1ae35b7fb519107bdea0ae85a211325747af95">7c1ae35b</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-14T01:18:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: Include the actual command used by gitlab

Someone who finds gitlab mysterious will have no idea what $CI_JOB_NAME
should be, if they wanted to reproduce the autobuild job manually. It
should be trivial to include the actual command being run in the logs.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2346cef9fe83bca1e432ee78de94b956bc712a0b">2346cef9</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-14T02:51:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: Make docker image name more explicit

The 'image' YAML tag implies a docker image, but for people who find
gitlab mysterious, let's make it blatantly obvious what we're doing
here.

+ added a comment
+ added 'DOCKER' to the variable names
+ removed 'BUILD', as we've now dropped this from all the job-names
+ tried to make the variable names consistent, both within the file and
WRT docker terminology

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Feb 14 03:51:21 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f3fd2d9457920b3da3e0ce6c1c6ee77be6849c65">f3fd2d94</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-14T04:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s2 decrpc samr: Add tests for QueryDomainInfo

Add tests for the number of domain users, groups and aliases returned by
QueryDomainInfo.

These tests revealed that the existing code was not checking the
returned elements to ensure they were part of the domain.

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/12fcab1181efbda3e8b2ac8e471388e9a8d5c009">12fcab11</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-14T04:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 dsdb util: add dsdb_domain_count

This counts the number of objects that are in the domain,
provided a domain SID was supplied (otherwise it just
counts all the objects).

This routine avoids allocating memory for the full
result set by using a callback.

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/7fc379ce867ed18e1d4ac508bea4a6b90c59300f">7fc379ce</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-14T04:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 rpc_server_samr: DomGeneralInformation use dsdb_domain_count

Use dsdb_domain_count instead of samdb_search_count to determine the
number of users, groups and aliases.  This gives a performance gain of
around 10%, reduces the total memory allocated and fixes the incorrect
count returned for aliases.

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/2546f2609189ae6075f626de7eb9f63a083d3386">2546f260</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-14T04:03:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 dsdb util: samdb_client_site_name use dsdb_domain_count

Replace the call to samdb_search_count with dsdb_domain_count. As this
is the only remaining caller of samdb_search_count, replacing it will
allow the removal of samdb_search_count.

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/f0e96d21b55c03f4610f4a2013cf7fdf2a50e29b">f0e96d21</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-14T04:03:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 dsdb util: remove samdb_search_count

All the uses have been replaced with calls to dsdb_domain_count, so it
is no longer needed.

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/ea2de21dd8a2f8dffbb09c635fb34f22d9e344f9">ea2de21d</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-14T05:53:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 dsdb util: samdb_client_site_name clean up

* Initialise pointers to NULL
* replace talloc_free with TALLOC_FREE
* add goto exit to ensure memory deallocated correctly

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 Feb 14 06:53:14 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4985d73c256d763909618a3d5ca4e66ab8f19337">4985d73c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-14T14:59:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Add missing "replace.h" header in tftw

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-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/eeabe171152fdb09fe2f51a0a41b1c5e4df25efd">eeabe171</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-14T14:59:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Add GPL header to tftw.c

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-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/2a7086f1ac4ad91fb7cd958e9386abb996794ed1">2a7086f1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-14T14:59:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc:ndr: Implement ndr_zero_memory()

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

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/666802a3db3115ca09f3ffed58c8e4a8cabd65de">666802a3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-14T14:59:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc:ndr: Add NDR_ZERO_STRUCT(P) macros

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

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/532ce0d20a8016c1270ea689de627da8aa4abfdd">532ce0d2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-14T14:59:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl: Use NDR_ZERO_STRUCT(P) macros

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

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/96df6878ed521b7e744d703abb32a585500d3b94">96df6878</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-14T14:59:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Move discard_const(_p) to own header for libndr.h

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-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/6d232f3f7c64f9b01439326e0e9b6d9df9a0bcbb">6d232f3f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-14T14:59:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: Do not install internal header

We should not install header files without an public API:

- memory.h
- safe_strings.h
- talloc_stack.h

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

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/08b91f5e0373e3b76a8d3968013b9fc13c9fc82e">08b91f5e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-14T16:32:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Rename DOCKER to CONTAINER

This is just a runc container, not tied to docker. See podman.io

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Björn Jacke <bj@sernet.de>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Feb 14 17:32:38 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5f3beb6e4109ce0d1a648e80dbf3024040d3c54e">5f3beb6e</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-15T03:35:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Drop py2 autobuild jobs

Samba v4.11 will no longer support python2, so let's drop the autobuild
jobs. This will save some gitlab/sn-devel time and money, as it's less
work for CI to do.

Note that this highlights some previous inconsistencies:
- samba-none-env-py2 was being built for gitlab but not sn-devel.
- samba-nt4-py2 was being built for sn-devel but not gitlab

I've left samba-buildpy2-only for now, which will be addressed in a
subsequent patch.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6ba99c367275764f336dc3201c38ba907818d838">6ba99c36</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-15T03:35:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Update variable name to make more sense

When we switched from python2 being the default to python3, we didn't
update this variable name. It's now handling the python2 case, but it's
a boolean flag named 'py3', which is rather confusing.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8c5a5a58c4e9904310c89ca9cd9a0cafb040f848">8c5a5a58</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-15T03:35:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Remove the PY3_ONLY variable

This variable is no longer needed as all the tests run using python3
now.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9124e44d71009861875bd94ead53c8e680757882">9124e44d</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-15T03:35:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Tidy up unnecessary line-breaks in 'TESTS='

Now that we've dropped the {PY3_ONLY} variable, there's no need for
line-breaks in some of the 'TESTS=' values. We can tidy this up a bit.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e11969def18cb0ea803bc4a0ea2eb0fdfed8edee">e11969de</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-15T03:35:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Remove ${EXTRA_PYTHON} variable

We no longer build the python2 bindings, only python3. So we can get rid
of this variable now.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/689a1ee747b3ae1e03bcdae2706ccbb552005a85">689a1ee7</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-15T03:35:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Replace samba-buildpy2-only with samba-nopython-py2

For Samba 4.11, the minimum python2 functionality we will support (for
now, at least - we may change our minds) is for the --disable-python
target, i.e. if you're excluding all the python functionality from
samba, then WAF should still support being built with python2.

The use case here is old unix platforms that want to use smbd, but don't
have python3 support.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/63ea86804fa119f2bad6f376f249aefc1791d120">63ea8680</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-15T03:35:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Drop 'py2' flag

This isn't used any more. It was only being set, never referenced.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8eac5a6bd5f945f74a29da3904003980dc9532fa">8eac5a6b</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-02-15T05:07:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitignore: add ignore rules for a few dev tools

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): Fri Feb 15 06:07:07 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cd1ac3668cd164bd5f7cadf7b59df9541aaef83e">cd1ac366</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sambaundoguididx: use the right escaped oder unescaped sam ldb files

the correct filename is taken from the partition database before, we should not
unescape that because this can result in a new unescaped ldb file being created
and the script not to work at all.

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2888bee43cb387f8d1037d017582e84160c3fd08">2888bee4</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">replace: remove needless vxfs header file check

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bc2cc68713bcf4d8752cd33776f0bf9e36a4e8e3">bc2cc687</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ntquotas: do not set inode limits when setting space quota

we are supposed to set a space quota limit, we should not calculate an
additional artifical inode limit out of that.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/99742c86a1b0aae983165f6010c4db3647a32d36">99742c86</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sysquotas_linux: fix inode limit setting, which is not depeding on blocksize

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/28da07231936dc8565a2ce2040ebad7b5e8da2e7">28da0723</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sysquotas_xfs: fix inode limit setting, which is not depeding on blocksize

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e4abe87082450dc3392365dd5e02cc2ff42545cd">e4abe870</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sysquotas_nfs: also honor reported inode/file limits

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/56c198c0056d57e767ab67bc4bbcab11afbc8f05">56c198c0</a></strong>
<div>
<span>by Bjoern Jacke</span>
<i>at 2019-02-17T12:33:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/quota: tidy up includes of sysquotas 4B

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2eca1a6676401bdb33c53e3d435cc4f88e1eae26">2eca1a66</a></strong>
<div>
<span>by Bjoern Jacke</span>
<i>at 2019-02-17T12:33:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sysquotas.h: collect more platform quotablock sizes

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/21e930adecf9307666c088e8e9a46e3a56eb6cdd">21e930ad</a></strong>
<div>
<span>by Bjoern Jacke</span>
<i>at 2019-02-17T12:33:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: check for jfs/quota.h

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0d815dbb10188ec7b9bd505668fe75b274b43fec">0d815dbb</a></strong>
<div>
<span>by Bjoern Jacke</span>
<i>at 2019-02-17T12:33:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sysquotas_4B: make quota block calculation adopt to platform quota block size

the correct QUOTABLOCK_SIZE for platform is taken from sysquotas.h

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c143de9af7f31b2ab9c85dee7c06b6b9cb2659d0">c143de9a</a></strong>
<div>
<span>by Bjoern Jacke</span>
<i>at 2019-02-17T12:33:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sysquotas_4B: enable for jfs/quota.h on AIX

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/204a03e0bba636d22b352d159815d2ed0be07354">204a03e0</a></strong>
<div>
<span>by Bjoern Jacke</span>
<i>at 2019-02-17T12:33:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">add sysquotas_jfs2.c

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0c9c51fa7a69e1807c773a04247828046e98c7fc">0c9c51fa</a></strong>
<div>
<span>by Bjoern Jacke</span>
<i>at 2019-02-17T12:33:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/sysquotas.c: include jfs/quota.h for 4B test on AIX

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7859ebc55a4a61747902921c7616f77a0c73934e">7859ebc5</a></strong>
<div>
<span>by Bjoern Jacke</span>
<i>at 2019-02-17T12:33:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">quotas: remove legacy AIX quota code that is covered by sysquotas now

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e2cc29daf7390b037014ebca67fa4480a1648787">e2cc29da</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf/quotas: fail configure when quotas were requested but not found

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e8d1e04bb64ea5e6cc17bf4a996fdee770a81967">e8d1e04b</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sysquotas_4B: raise log level of a sometimes too noisy message

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6e72fe8450d86fd6649dad7fbbc12655c36b0738">6e72fe84</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: fix some missing newline compiler warnings

without a trailing newline the studio compiler issues:

warning: newline not last character in file

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/decba07b092791d0f17b44b9c2a595545a34d93b">decba07b</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: fix WERROR_CFLAGS check

if we found the right WERROR flags of the compiler then the compiler is right
to fail because we explicitly give it an empty file to compile. We
should not do that because that makes the almost successful test fail.
This fixed the studio compiler test.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2ba972e90f244089a1bc21f940c4edb75ae4e089">2ba972e9</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: fix compiler warnings in configure checks

the studio compiler issued here:

warning: statement not reached

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c1715406f5b66b73395c9155f782b5aaa9ea51e6">c1715406</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: remove duplicate WERROR cflags

WERROR flags are already added by the strict=True switch.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/99dd2ae81079dd210612d97242ffc1835a23fdf0">99dd2ae8</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: remove redundant WERROR flag

CHECK_CFLAGS always uses WERROR flags

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/918bf89dc760e007a36c90be34b4627eb2141157">918bf89d</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: use the correct WERROR_CFLAGS in CHECK_CODE

all the non gcc version were incorrectly set here till now

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7058a88cbe3c1a2ad272b6debc1c9d09a259d116">7058a88c</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: print the library name in which we search for a function

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f2c3d2b262d435e75debb00a43ed8d038f203abe">f2c3d2b2</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: we should also remove stale symlinks here

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c9bcde012e18446e3081e190c0a0858b37fda14c">c9bcde01</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: fix setting of RPATH_ST variable

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/44ccba4088ff1b653dd4735ca8bf13181a31dbfe">44ccba40</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party/nss_wrapper/wscript: fix check for gethostbyname

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b8bf7ef87e29daa18b079d221ffa3252d1719f2a">b8bf7ef8</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T12:33:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: add library dependency for sendfile on Solaris

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a87660b3c47e5bb362a89ad83f7deb2c8306aa24">a87660b3</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-02-17T14:05:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party/nss_wrapper/wscript: check for libnsl and libsocket

this is needed as there are HAVE_LIBNSL and HAVE_LIBSOCKET in the code and
Samba fails to build in a terrible obscure way on Solaris if this is not
working inside nss_wrapper here.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Sun Feb 17 15:05:20 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8f9bb790bc3b2f587267b9ec01be603b4082e39e">8f9bb790</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-18T04:42:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add common function to return cmd environment variables

We prefix samba-tool commands with a bunch of WRAPPER/CONF environment
variables, in order for the command to work properly. These variables
are duplicated all over the place in the selftest code. This patch adds
a helper function to return the variables, so we can reduce the required
code down to a single line in a lot of places.

A couple of exceptions I've left alone:
- drs replicate, which omits the RESOLV_WRAPPER_CONF/_HOSTS variables
  (I'm not sure whether that's deliberate or not).
- create_backup(), which uses the backupfromdc's krb5.conf rather than
  the new testenv.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/aeadf75c24a4af4143e389e2b27d3a90899fb638">aeadf75c</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-18T04:42:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Export DC conf path for special cases

In a few rare cases, a test needs to assert aspects both client-side and
server-side aspects. A typical example would be the audit logging, which
is exercising client-side behaviour, but also asserting the server-side
logging.

Usually this has involved a kludge in tests.py to either use
socket-wrapper explicitly, or hardcode in the server smb.conf path.

This patch exposes the existing SERVERCONFFILE env variable to the
tests. DC_SERVERCONFFILE has been added for 2 DC testenvs, where we need
the PDC's smb.conf.

The benefit of doing this way is the filepath/testenv-dependency logic
is all self-contained with the Perl code, and it doesn't bleed out into
tests.py as well.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ab37446230c50a71dac7e7e00baf6cbfe937f60a">ab374462</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-18T04:42:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Tweak DRS tests to avoid unnecessary env variables

Each DC used in a DRS test has its own '<testenv>_SERVER' environment
variable, e.g. VAMPIRE_DC_SERVER. These variables are only used by
test.py for DRS, but they're not actually needed.

The $SERVER environment variable holds the same information, so we can
just use this in test.py instead.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b348045955b728e88d3d261dff9996f07f01f2bb">b3480459</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-18T04:42:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove unused environment variables

We only really want generic environment variables. For 2+ DC
environments, we have the $SERVER and $DC_SERVER (aka PDC) variables.
However, lots of testenvs also export really specific environment
variables, e.g. VAMPIRE_2000_DC_SERVER_IP (despite that testenv being
only used for a single test case).

Previously the <testenv>_SERVER variable was used for DRS tests, but we
can avoid the need to do this now. The other variables are not used at
all.

The RODC and TRUST environment variables are still used by a few tests.
SUBDOM_DC_SERVER is only used within Samba4.pm and not exported.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bc4c04380f1446c3732644cd656ff387b1d40188">bc4c0438</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-18T04:42:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove need for $RODC_DC_SERVER env variable

Same deal as earlier patch - we can use the $SERVER env variable instead
and avoid the need for this extra variable.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/31c5d4c969c584c54ec20b0f9ae4d0a18d517b4c">31c5d4c9</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-18T04:42:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add helper function to avoid repeated {DC_SERVER}=x

For every 2-DC testenv we setup, we copy the $DC_SERVER value of the
dependent testenv (i.e. the PDC) into the env variables for the new
testenv. This means DC_SERVER always points to the PDC (or first DC).

This adds a helper function to avoid repeating this code for every 2-DC
environment we setup.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8fc04d2ce314bd246eeac1b8aad2fa1c98049c37">8fc04d2c</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-18T06:24:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Initialize DC_SERVER/etc variables in one place

It's simpler to do setup DC_SERVER/etc in the same place we set
SERVER/etc. (Rather than initializing them for every single testenv,
like we were doing).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Feb 18 07:24:05 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4843a27bbc2f2017314ad9508d61ac4c44330e77">4843a27b</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-02-18T08:25:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba/symbols: always split Popen output by bytes

In py3, `wafsamba.duplicate_symbols` test may fail:

    ...
    elfpipe = subprocess.Popen(['readelf', '--dynamic', binname], stdout=subprocess.PIPE).stdout
    ...

    File "./buildtools/wafsamba/symbols.py", line 153, in get_libs
        rpath.extend(m.group(1).split(":"))
    TypeError: a bytes-like object is required, not 'str'

Because Popen will always return bytestr even in py3, and ":" is a
unicode str in py3.  Change ":" to b":" to fix.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9fa698b02358807c20444a6bc5a9ab8f311c4922">9fa698b0</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-02-18T08:25:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba/symbols: change regex to match both rpath and runpath for different readelf output

In `wafsamba.dumplicate_symbols` test, it will use Popen to call:

    readelf --dynamic bin/default/source3/lib/netapi/examples/netlogon/netlogon_control2

then try to find rpath lib lines from output with regex:

    re_rpath     = re.compile(b'Library rpath: \[(.*)\]')

In ubuntu 14.04 docker image, which current CI is using, the actual output
from `readelf` is `runpath` instead of 'rpath':

    ...
    Library runpath: [/home/gitlab-runner/samba/bin/shared:/home/gitlab-runner/samba/bin/shared/private]\n'
    ...

So the regex never matched, and hide a bug.

In Ubuntu 1604 docker image, the output changes to `rpath` and matched the
regex, which expose the error in previous commit.

Improve the regex to match both `rpath` and `runpath`.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6b4ae52f224ea6700527cd034353fe561cda0485">6b4ae52f</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-02-18T09:54:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: merge .gitlab-ci-private.yml

`.gitlab-ci.yml` support conditional jobs with `only` and `except`.
And variables can be read from repo CI/CD settings as condition:

    build_samba:
      script: ...
      only:
        variables:
          - $SUPPORT_PRIVATE_TEST == 'yes'

Instead of having 2 copies of yml file, we can use this feature to
trigger private jobs only when a var like `SUPPORT_PRIVATE_TEST` is defined.

I've already added above var to our repos.
Once merged, we can remove custom CI config file in
gitlab repo settings, and remove .gitlab-ci-private.yml file from code.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Feb 18 10:54:19 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/03357bc825605ba88ef5a39b1fa318c834cbbb1b">03357bc8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-18T12:01:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nssswitch: Log user access to kerberos

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Feb 18 13:01:12 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ec51bfca4e77e57d81c0a7ed8e1fecb83d8aecfc">ec51bfca</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-19T23:37:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:tests: Set/return $failed in test_smbclient_auth.sh

Update the test so the shell script returns pass/fail as the exit code.

Note that subunit is just looking for 'failure:' in the test output for
whether the test passed or failed, so setting $failed isn't strictly
required.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bcd007532820a077320fe21f246c5ba0195e87d5">bcd00753</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-19T23:37:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Abort if we fail to startup testenv with '--one' option

The --one selftest.pl option means abort when the first test fails.
However, when 'make test' fails to startup a testenv, it'll try to
continue and run other tests by default. When '--one' is used,
selftest.pl can just die() at that point.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/96472306bf13bd2a4d39d5fdd63a73f6140f8b44">96472306</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-02-20T01:10:00Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add basic sanity-check tests for nopython target

Previously we were only checking samba compiled OK with
--disable-python, not that it actually ran.

The main problem is all the make test framework is based around
subunit/smbtorture, neither of which we seem to build with
disable-python. However, for just a simple sanity-check, we can just
bypass all the subunit-filter work and just call the Perl code directly.
This works OK as long as it's just simple shell script tests that we're
running, as we can check the script's exit code directly.

The main thing that we really want to test is that we can start up the
smbd testenv and connect to it (i.e. a simple smbclient test).

This patch adds a new 'make test-nopython' target. This disables the
subunit filtering, and runs a small test-list that was generated manually.

Note that currently this has the limitation that it doesn't support known
failures or flapping tests. However, just checking that smd starts up OK
is probably OK for now.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Feb 20 02:10:00 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/853ad870255483c4caea1bebc5e11f1059422172">853ad870</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-20T05:03:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth_log tests: Allow the remote address to be None

Allow self.remoteAddress to be None, remote address filtering is not
required for the winbind auth logging 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/e3693bc2ff79b0411dba159a1e8ca626ca57732f">e3693bc2</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-20T05:03:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wbinfo: fix --ntlmv1 option

Currently using the --ntlmv1 option fails with an unknown option error.
This patch ensures that the option is correctly supported.

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/47cebbe215298ea4f9fb2e6337930e4a19c859a9">47cebbe2</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-20T05:03:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3 winbind auth_log: Tests for logon id logging.

Tests to validate that winbind generates a random logon_id and passes it
in the netlogon call.

This will allow the linking of the windbind authentication requests and
the SamLogon request on the DC.

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/826d930aa4de588c84b7c7f993b148c3e7cc757f">826d930a</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-20T05:03:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3 auth: Create messaging and lp contexts.

If 'auth event notifications' are enabled create an imessaging_context
and a loadparm_context that can be passed to log_authentication_event.

This will allow the generated authentication messages to be tested.

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/87e63a8665ffb5547140b4bbc25529e20e345a6c">87e63a86</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-20T05:03:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib util: Add function to generate random uint64_t

Generate a random uint64_t , which will be used for the netlogon
logon_id.

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/96e6adedcd9dfb7556f503a9d7602ac04fe870c1">96e6aded</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-20T05:03:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc idl: netlogon netr_identity_info logon_id to 64 bit

Fold the two 32 bit values logon_id_high and logon_id_low into a single
64 bit logon_id in netr_identity_info.  This will be used to tie
together winbind and SamLogon requests in audit logging.

Summary of the of the Query and Response from Microsoft on it's usage.

[REG:119013019612095] [MS-NRPC]: NETLOGON_LOGON_IDENTITY_INFO: Does
the Reserved field have LogonId meaning?

Questions:
  In NetrLogonSamLogonEx does the Reserved field
  (of NETLOGON_LOGON_IDENTITY_INFO) have LogonId meaning?

  What is a valid LogonID, and does have any audit usage?

  Samba is sending a constant "deadbeef" in hex and would like to
  understand any usage of this field.

Response:
  The NRPC spec is accurate in defining the field as Reserved, and without
  protocol significance. In the header file in our source code, it is
  defined as LogonId and commented as such, but it’s effectively not used.
  This is probably why the API structure has that field name. It may have
  been intended as such but it’s not used.

Samba will send a random value in this field.

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/d486a199598b75014c5e897543aff51b5af8d0a1">d486a199</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-20T05:03:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth log: Log the netlogon logon id.

Add code to log the logonId in the JSON Authentication messages.

The version number for Authentication messages changes from 1.1 to 1.2
to reflect this.

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/62e4f8f3b2ad570f584a2b666cb6a53d53f9d5de">62e4f8f3</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-20T05:03:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 rpc netlogon: Pass logon_id to auth logging

Pass the logon_id passed in the netlogon identity information to
auth_logging.

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/e8e4f35bb1d7328ef7871c02d7fbb78d970fa71d">e8e4f35b</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-20T05:03:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdc hdb: Generate and pass logon ID

Generate and pass the logon_id in SamLogon calls

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/0e2acf6cfb3dc6e0be9130e20890551ee88fcf60">0e2acf6c</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-20T05:03:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Generate and pass logon ID

Generate a random logon_id and pass it in the SamLogon calls.

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/c8b7b7918b49f3598706190975a82be258aa9c44">c8b7b791</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-20T05:03:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Log PAM and NTLM authentications.

Generate JSON authentication messages for winbind PAM_AUTH and
PAM_AUTH_CRAP requests.  The logon_id in these messages can be used to
link them to the SamLogon messages.

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/d4baed454fb45466f29a19518991be5200a08bde">d4baed45</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-20T06:43:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: winbind authentication logging

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): Wed Feb 20 07:43:10 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9c2d15c254b6b3f7c46d72c7fe22a402ef110a64">9c2d15c2</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-02-20T11:11:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_glusterfs: check for VFS_ADD_FSP_EXTENSION() failure

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8c92702d152e16277b658be81496a60841a03e85">8c92702d</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-02-20T12:56:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_ceph: refactor if-error-return-else logic

vfs_ceph has quite a few occurrences of:
        if (result < 0) {
                WRAP_RETURN(result);    /* calls return */
        } else {
                ...
        }

This change drops the superfluous else {} encapsulation and also removes
duplication of ceph statx debug messages.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Feb 20 13:56:09 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5f9a5ef262b4700b47bfb931b6b096f56aa56b15">5f9a5ef2</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-02-21T03:09:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/param: Fix provision_get_schema leaking python object

provision_get_schema returns a ldb_context object which is stored
in a python object. As a result the parent python object is never
decrefed and probably not released ever.

Signed-off-by: Noel Power <noel.power@suse.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/fa8a8483651b4c5a4c337d23714f16d47e7d6ad0">fa8a8483</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-02-21T03:09:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: skip reverse member link checks when cli option specified

currently dbcheck cmd tooks about 1 day to finish on a 100k user database.
We can skip member reverse link checks to speed it up dramatically.
A new cli option is added to enable the skipping.

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>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e051d787f4d69536581e1e2ad9f6c54ab882537a">e051d787</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-02-21T03:09:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/tests: add helper method to simplify plantestsuite

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>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8216a619b480dbc18f72ea2215624fe7d4781a75">8216a619</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-02-21T03:09:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/tests: add smoketests for dbcheck --quick-membership-checks

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>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3803f87f4776b3729d8033cf6ae09120fa4f3c54">3803f87f</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-02-21T03:09:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: define package lists and templates

Define default pkg list, and allow to override for each dist.
Also define bootstrap/Dockerfile/Vagrantfile templates.

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>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3737518afeaf26bbb0afa534a453d19e92d923cd">3737518a</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-02-21T03:09:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/template.py: add cli to render templates

- bootstrap for each dist
- Dockerfile for each dist
- Vagrantfile all in one

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>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/26d2f74cc915d4499a6abfedc9034e60f33a3138">26d2f74c</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-02-21T03:09:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/docker.py: add cli to build/tag/push docker images

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>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/50a1109c8e42c9a6ca64e46b093183bff3abc0d1">50a1109c</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-02-21T03:09:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/dists: add rendered files for dists

Add these into repo, then we can link it to samba wiki,
for people to get a latest and precise pkg list

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>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d6f6eb4f25aca1a55709feb1f87afc01cb851d8b">d6f6eb4f</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-02-21T03:09:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/README.md: add README.md

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>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cf8ff6b821bce02def8e3846bfbae96e3ebe0778">cf8ff6b8</a></strong>
<div>
<span>by Martin Krämer</span>
<i>at 2019-02-21T03:09:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Update dsacl.py - add_ace to handle/verify sddl parameter correct

Test for samba-tool dsacl set --sddl parmeter

Update tests.py - add dsacl (dsacl.py / samba-tool dsacl set) test

Signed-off-by: <Martin Krämer mk.maddin@gmail.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/fb7a80648305077a2891f43dd740c5b831cbbc4a">fb7a8064</a></strong>
<div>
<span>by Martin Krämer</span>
<i>at 2019-02-21T03:09:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add command "samba-tool dsacl get" This code is very equal to "samba-tool dsacl set", except it only prints out the current sddl of an object.

Signed-off-by: Martin Krämer <mk.maddin@gmail.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/8431cd40c23c079f92083985fda784cd38159df3">8431cd40</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-02-21T03:09:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool dsacl: Mark old and new descriptor output correctly

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/8e2015293e4798c8c1832633e07eec95a38de624">8e201529</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-02-21T03:09:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add test for samba-tool dsacl get, cross-checked with samba-tool dsacl set

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/cbf23f2b0fbc7705f6050ddc8b0b925132c4a290">cbf23f2b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-02-21T04:37:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Confirm new and old SDDL strings differ after a samba-tool dsacl set

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 Feb 21 05:37:31 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fa8e69ac9538980c441b7fbefe0979027ecc8eac">fa8e69ac</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-02-22T01:08:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: buffer write beyond limits

In order to calculate the number of bytes correctly which
are to be read into the buffer, the buffer.offset must be taken
into account.

This patch fixes a regression introduced by 382705f495dd.

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

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/92a90524373a0348c1912d5019254dd18c07e207">92a90524</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-02-22T02:51:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Add test for ctdb_io.c

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Feb 22 03:51:37 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b33fad772682e87ecc2b46b1b54625caeccc9eb2">b33fad77</a></strong>
<div>
<span>by Jiří Šašek</span>
<i>at 2019-02-22T11:30:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">notifyd: Fix SIGBUS on sparc

Problem is the structure "struct notify_instance" can lay in message buffer on
address not dividable by 8 but this structure begins by uint_64 (secs in
time-stamp). Structure should be re-packed to standalone buffer before the use.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13704
Signed-off-by: jiri.sasek@oracle.com
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Fri Feb 22 12:30:11 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/02c9bee85a9098dec6926b054e6f11b9c79a513f">02c9bee8</a></strong>
<div>
<span>by Mark Niggemann</span>
<i>at 2019-02-22T14:04:54Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">set caller allocation units in statvfs f_bavail

Signed-off-by: Mark Niggemann <mark.niggemann@ge.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>

Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Fri Feb 22 15:04:55 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/64176f00bfe78fb443216fadfece5d236dbe1f6c">64176f00</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-22T20:48:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Convert cli_posix_open to normal tevent_req pattern

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/529c61d0c9db5cf1ce852b06e14b7f1b2e72150e">529c61d0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-22T20:48:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Pull up wire_flags calculation from open_internal

This avoids passing down a boolean

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5dd67797ca8025c13f55775c4a5892ecf1b53e3e">5dd67797</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-22T20:48:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Fix a resource leak in cli_posix_mkdir

smbd does posix_mkdir if the wire flags are exactly

        if (wire_open_mode == (SMB_O_CREAT|SMB_O_DIRECTORY))

open_flags_to_wire however adds a SMB_O_RDONLY, so that we enter the
normal open routine which happens to create a directory as well. The
main difference is that posix_mkdir does *NOT* return an open
handle. As we did not enter this code path due to the SMB_O_RDONLY we
leak a SMB1 fd per cli_posix_mkdir call.

Pretty hard to test automatically, this would be an interaction with
smbstatus.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/121af4c3fc8a8f71dd364d02509aa45545257721">121af4c3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-22T20:48:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dns_crypto: Remove unused include of hmac_md5.h

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/3d95c1f6b110cd097268da31d53ac6523621f733">3d95c1f6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-22T20:48:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:auth: Remove unused arcfour.h header from server_info.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/6b4bb2327c0e38418e615dc6f82f0b5a3d56507a">6b4bb232</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-22T20:48:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:auth: Remove unused arcfour.h from auth_util.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/e50315379c89284557e43d96acde5ed7594d9460">e5031537</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-22T20:48:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server: Remove unused arcfour.h from netlogon

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/0a1d1a57092828e61ecc07433d73db95ddbfa189">0a1d1a57</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-22T22:16:40Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Remove unused arcfour.h from PAM handling

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 Feb 22 23:16:40 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f5a8bc2f945be45cdade5f70d4f975bae8337f67">f5a8bc2f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-02-23T06:54:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: make a copy of xid's in wb_xids2sids_send()

This is in preparation of setting the result of the mapping in the top-
level callback wb_xids2sids_done(), not in the per-idmap-domain callback
wb_xids2sids_dom_done().

When caching the mapping we need the id-type from the backend, so we
need a way to pass up that information from wb_xids2sids_dom_done() up
to wb_xids2sids_done()

The xids array copy gets passed from wb_xids2sids_send() to
wb_xids2sids_dom_send(), so wb_xids2sids_dom_done() can then directly
update the top-level copy.

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

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/5d277ea7ea258676b9ea5081a451a5874af115f6">5d277ea7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-02-23T06:54:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: make xids a const argument to wb_xids2sids_send()

The previous commit made an internal copy of xids, this commit makes it
more obvious that we must not mess with the xids argument but treat it as
an in-parameter and don't write to it.

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

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/f8bf4fc608639695651f75c52b31f95e796a5a26">f8bf4fc6</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-02-23T06:54:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: convert id to a pointer in wb_xids2sids_dom_done()

No change in behaviour.

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

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/7f23ef7b2cf7bd6e8dc087aa15137292b421a689">7f23ef7b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-02-23T06:54:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: update xid in wb_xids2sids_state->xids with what we got

In preparation of priming the idmap cache in the top-level
wb_xids2sids_done(), not in the per-idmap-domain callback
wb_xids2sids_dom_done().

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

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/8e9c2a1f6ceb06d695a6572701b96a3e3821ac42">8e9c2a1f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-02-23T06:54:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: switch send-next/done order

In preparation of adding more logic to the done step. No change in
behaviour.

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

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/62f54229fced20102e11ad1da02faef45c2a7c2e">62f54229</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-02-23T06:54:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: track whether a result from xid2sid was coming from the cache

This is needed in preparation of moving the step to update the idmap
cache from the per-idmap-domain callback wb_xids2sids_dom_done() to the
top-level callback wb_xids2sids_done().

Currently the sequence of action is:

* check cache, if not found:
  * ask backends
  * cache result from backend
* return results

Iow, if we got something from the cache, we don't write the cache.

The next commit defers updating the cache to the top-level callback, so
the sequence becomes

* check cache, if not found:
  * ask backends
* cache results
* return results

This has two problems:

* it needlessly writes to the cache what we just got from it

* it possibly overwrites the ID_TYPE_BOTH for a SID-to-xid mapping in
  the following case:

  - existing ID_TYPE_BOTH mapping in the cache, eg:

    IDMAP/SID2XID/S-1-5-21-2180672342-2513613279-2566592647-512 -> Value: 3000000:B

  - someone calls wb_xids2sids_send() with xid.id=3000000,xid.type=ID_TYPE_GID

  - cache lookup with idmap_cache_find_gid2sid() succeeds

  - when caching results we'd call idmap_cache_set_sid2unixid() with the
    callers xid.type=ID_TYPE_GID, so idmap_cache_set_sid2unixid() will
    overwrite the SID-to-xid mapping with ID_TYPE_GID

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

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/9b9565c3e69b92c298c7168e516387bb249c9e36">9b9565c3</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-02-23T08:23:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: set idmap cache entries as the last step in async wb_xids2sids

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

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): Sat Feb 23 09:23:22 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f0decb31fff24ceb57d23bebbfb87aa0e5103947">f0decb31</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-02-24T11:21:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbtorture3: Add POSIX-MKDIR test for posix_mkdir case sensitive bug.

Test does:

mkdir POSIX_foo
mkdir POSIX_Foo
mkdir POSIX_foo/Foo
mkdir POSIX_foo/foo
mkdir POSIX_Foo/Foo
mkdir POSIX_Foo/foo

Which should pass a SMB1 POSIX extensions server
as posix mkdir should always be case sensitive
no matter what the share is set to.

Mark as knownfail for now.

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

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/980db8debde68f9edce13fc01bc45a904379cffd">980db8de</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-02-24T11:21:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: SMB1-POSIX: Add missing info-level SMB_POSIX_PATH_OPEN for UCF_UNIX_NAME_LOOKUP flag.

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

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/12da33e2bbce657f25abe9bc4cb936ca4615b30f">12da33e2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-02-24T13:04:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: unix_convert: Ensure we don't call get_real_filename on POSIX paths.

For posix_pathnames don't blunder into the name_has_wildcard OR
get_real_filename() codepaths as they may be doing case insensitive lookups.
So when creating a new POSIX directory 'Foo' they might
match on name 'foo'.

Remove POSIX-MKDIR from knownfail.

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

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): Sun Feb 24 14:04:14 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/82e7f38214896c2c200132bc6dde3348cfac16cc">82e7f382</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-02-25T01:12:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-config: Change example recovery lock setting to one that fails

ctdbd will start without a recovery lock configured.  It will log a
message saying that this is not optimal.  However, a careless user may
overlook both this message and the importance of setting a recovery
lock.  If the existing example configuration is uncommented then the
directory containing it will be created (by 01.reclock.script) and the
failure (i.e. multiple nodes able to take the lock) will be confusing.

Instead, change the example setting to one that will result in banned
nodes, encouraging users to consciously configure (or deconfigure) the
recovery lock.  Tweak the corresponding comment.

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

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/621658cbed5d91d7096fc208bac2ff93a1880e7d">621658cb</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-02-25T01:12:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Free cluster mutex handler on failure to take lock

If nested events occur while the file descriptor handler is still
active then chaos can ensue.  For example, if a node is banned and the
lock is explicitly cancelled (e.g. due to election loss) then
double-talloc-free()s abound.

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

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/7e4aae6943291c3144c8a3ff97537e8d4c7dc7c9">7e4aae69</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-02-25T01:12:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Clean up logging on failure to take recovery lock

Add an explicit case for a timeout and clean up the other messages.

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

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/c0fb62ed3954fc6e8667480aba92003fc270f257">c0fb62ed</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-02-25T01:12:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Make recoverd context available in recovery lock handle

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

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/45a77d65b2e39b4af94da4ab99575f4ee08a7ebd">45a77d65</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-02-25T01:12:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Ban node on unknown error when taking recovery lock

We really shouldn't see unknown errors.  They probably represent a
misconfigured recovery lock or similar.

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

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/13a1a4808935290dceb219daccd7aac3fda4e184">13a1a480</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-02-25T01:12:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Time out attempt to take recovery lock after 120s

Currently this will wait forever.  It really needs a timeout in case
the cluster filesystem (or other lock mechanism) is completely wedged.

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

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/ce09d9c3e4c72ebec7a21686ae913398a5c9020f">ce09d9c3</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-02-25T01:12:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Force test failure if local daemon setup fails

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

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/e74f5243fcb7594939769c16f3c79ab167dd1227">e74f5243</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-02-25T01:12:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Add -R option for local daemons to use recovery lock command

Under the covers, a command is always used.  However, there is no way
of testing of the code path where a command is explicitly configured.

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

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/ebc082122fb34ffb8cbcafde9ad39bcc241d33ed">ebc08212</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-02-25T01:12:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Add a test for configuring the recovery lock as a command

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

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/c93430fe8fe530a55b9a04cf6cc660c3d420e333">c93430fe</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-02-25T02:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-cluster-mutex: Separate out command and file handling

This code is difficult to read and there really is no common code
between the 2 cases.  For example, there is no need to split a
filename into words.  Separating each of the 2 cases into its own
function makes the logic much easier to understand.

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

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 25 03:40:16 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/632d0db8c42d50f5eecd002d9573f739cd945960">632d0db8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-02-25T07:05:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Add additional POSIX mkdir tests.

Ensure that if POSIX_foo exists as a file
we return the correct error code NT_STATUS_OBJECT_PATH_NOT_FOUND
if we try and traverse it as a directory.

Also ensure creation/deletion of POSIX_foo/foo fails
for directories and files with NT_STATUS_OBJECT_PATH_NOT_FOUND
if the directory POSIX_foo/ doesn't exist.

knownfail is back :-).

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

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/3f1a13a94a753c5cb3b9f2cf795df5adb0f74205">3f1a13a9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-02-25T08:33:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: filenames - ensure we replace the missing '/' if we error in an intermediate POSIX path.

Previous regression test ensures we still return the correct
error code for POSIX pathname operations.

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

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 Feb 25 09:33:27 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d9f9a73dc5e727db292bab3dde5fb6701292bac3">d9f9a73d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-25T18:36:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Use GUID_zero()

10 lines less...

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/2bd6f57c659de324dd43deeb18315c1618dc2659">2bd6f57c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-25T18:36:19Z</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: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/26f18b9bd71bce7f862cda615c2ef432da5c2aa9">26f18b9b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-25T18:36:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Resolve special _recv handling in cli_ntcreate

cli_smb2_create_fnum_recv will gain output create blobs soon and thus
differ from the NT1 function.

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/e8e9677154c4ab67e4e9a9dca499121ae63a03bd">e8e96771</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-25T20:07:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Pass buf/len to smb2_negotiate_context_add

Every caller did a data_blob_const() right before calling
smb2_negotiate_context_add(). Avoid that.

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): Mon Feb 25 21:07:22 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3674b0891afb016c83763520b87e9f190dcfe884">3674b089</a></strong>
<div>
<span>by Lukas Slebodnik</span>
<i>at 2019-02-25T20:26:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-3824 ldb: Out of bound read in ldb_wildcard_compare

There is valgrind error in few tests tests/test-generic.sh
 91 echo "Test wildcard match"
 92 $VALGRIND ldbadd $LDBDIR/tests/test-wildcard.ldif  || exit 1
 93 $VALGRIND ldbsearch '(cn=test*multi)'  || exit 1
 95 $VALGRIND ldbsearch '(cn=*test_multi)'  || exit 1
 97 $VALGRIND ldbsearch '(cn=test*multi*test*multi)'  || exit 1

e.g.
  ==3098== Memcheck, a memory error detector
  ==3098== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
  ==3098== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
  ==3098== Command: ./bin/ldbsearch (cn=test*multi)
  ==3098==
  ==3098== Invalid read of size 1
  ==3098==    at 0x483CEE7: memchr (vg_replace_strmem.c:890)
  ==3098==    by 0x49A9073: memmem (in /usr/lib64/libc-2.28.9000.so)
  ==3098==    by 0x485DFE9: ldb_wildcard_compare (ldb_match.c:313)
  ==3098==    by 0x485DFE9: ldb_match_substring (ldb_match.c:360)
  ==3098==    by 0x485DFE9: ldb_match_message (ldb_match.c:572)
  ==3098==    by 0x558F8FA: search_func (ldb_kv_search.c:549)
  ==3098==    by 0x48C78CA: ??? (in /usr/lib64/libtdb.so.1.3.17)
  ==3098==    by 0x48C7A60: tdb_traverse_read (in /usr/lib64/libtdb.so.1.3.17)
  ==3098==    by 0x557B7C4: ltdb_traverse_fn (ldb_tdb.c:274)
  ==3098==    by 0x558FBFA: ldb_kv_search_full (ldb_kv_search.c:594)
  ==3098==    by 0x558FBFA: ldb_kv_search (ldb_kv_search.c:854)
  ==3098==    by 0x558E497: ldb_kv_callback (ldb_kv.c:1713)
  ==3098==    by 0x48FCD58: tevent_common_invoke_timer_handler (in /usr/lib64/libtevent.so.0.9.38)
  ==3098==    by 0x48FCEFD: tevent_common_loop_timer_delay (in /usr/lib64/libtevent.so.0.9.38)
  ==3098==    by 0x48FE14A: ??? (in /usr/lib64/libtevent.so.0.9.38)
  ==3098==  Address 0x4b4ab81 is 0 bytes after a block of size 129 alloc'd
  ==3098==    at 0x483880B: malloc (vg_replace_malloc.c:309)
  ==3098==    by 0x491048B: talloc_strndup (in /usr/lib64/libtalloc.so.2.1.15)
  ==3098==    by 0x48593CA: ldb_casefold_default (ldb_utf8.c:59)
  ==3098==    by 0x485F68D: ldb_handler_fold (attrib_handlers.c:64)
  ==3098==    by 0x485DB88: ldb_wildcard_compare (ldb_match.c:257)
  ==3098==    by 0x485DB88: ldb_match_substring (ldb_match.c:360)
  ==3098==    by 0x485DB88: ldb_match_message (ldb_match.c:572)
  ==3098==    by 0x558F8FA: search_func (ldb_kv_search.c:549)
  ==3098==    by 0x48C78CA: ??? (in /usr/lib64/libtdb.so.1.3.17)
  ==3098==    by 0x48C7A60: tdb_traverse_read (in /usr/lib64/libtdb.so.1.3.17)
  ==3098==    by 0x557B7C4: ltdb_traverse_fn (ldb_tdb.c:274)
  ==3098==    by 0x558FBFA: ldb_kv_search_full (ldb_kv_search.c:594)
  ==3098==    by 0x558FBFA: ldb_kv_search (ldb_kv_search.c:854)
  ==3098==    by 0x558E497: ldb_kv_callback (ldb_kv.c:1713)
  ==3098==    by 0x48FCD58: tevent_common_invoke_timer_handler (in /usr/lib64/libtevent.so.0.9.38)
  ==3098==
  # record 1
  dn: cn=test_multi_test_multi_test_multi,o=University of Michigan,c=TEST
  cn: test_multi_test_multi_test_multi
  description: test multi wildcards matching
  objectclass: person
  sn: multi_test
  name: test_multi_test_multi_test_multi
  distinguishedName: cn=test_multi_test_multi_test_multi,o=University of Michiga
   n,c=TEST

  # returned 1 records
  # 1 entries
  # 0 referrals

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

Signed-off-by: Lukas Slebodnik <lslebodn@fedoraproject.org>
Reviewed-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/745b99fc6b75db33cdb0a58df1a3f2a5063bc76e">745b99fc</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-02-25T20:26:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-3824 ldb: Extra comments to clarify no pointer wrap in wildcard processing

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

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/9427806f7298d71bd7edfbdda7506ec63f15dda1">9427806f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-02-25T20:26:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-3824 ldb: Improve code style and layout in wildcard processing

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

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/8d34d172092f71baad0d777567e49aebfa07313d">8d34d172</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-25T20:26:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-3824 ldb: ldb_parse_tree use talloc_zero

Initialise the created ldb_parse_tree with talloc_zero, this ensures
that it is correctly initialised if inadvertently passed to a function
expecting a different operation type.

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

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/34383981a0c40860f71a4451ff8fd752e1b67666">34383981</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-25T20:26:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-3824 ldb: wildcard_match check tree operation

Check the operation type of the passed parse tree, and return
LDB_INAPPROPRIATE_MATCH if the operation is not LDB_OP_SUBSTRING.

A query of "attribute=*" gets parsed as LDB_OP_PRESENT, checking the
operation and failing ldb_wildcard_match should help prevent confusion
writing tests.

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

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/42f0f57eb819ce6b68a8c5b3b53123b83ec917e3">42f0f57e</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-25T20:26:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-3824 ldb: wildcard_match end of data check

ldb_handler_copy and ldb_val_dup over allocate by one and add a trailing '\0'
to the data, to make them safe to use the C string functions on.

However testing for the trailing '\0' is not the correct way to test for
the end of a value, the length should be checked instead.

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

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/45b75db50f5c1a7c8c38af59a62fccee5401c845">45b75db5</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-25T20:26:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-3824 ldb: Add tests for ldb_wildcard_match

Add cmocka tests for ldb_wildcard_match.

Running test_wildcard_match under valgrind reproduces
 CVE-2019-3824 out of bounds read in wildcard compare (bug 13773)

 valgrind --suppressions=lib/ldb/tests/ldb_match_test.valgrind\
          bin/ldb_match_test

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

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/de3bb5cd5236565f2b79644d99e55d03b254b65e">de3bb5cd</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-02-25T21:54:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-3824 ldb: Release ldb 1.6.1

* CVE-2019-3824 out of bounds read in wildcard compare (bug 13773)

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

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 Feb 25 22:54:13 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5ed5c337644c641aba0d07f3668d478050e5f69e">5ed5c337</a></strong>
<div>
<span>by David Mulder</span>
<i>at 2019-02-26T09:39:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Search for location of waf script

When calling make from the ldb, talloc, tdb, and
tevent bundles, we need to first find the
location of the waf script. Currently the build
fails since it can't find waf.

Fixes regression caused by a660b7f.

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/f0d26dd1816f35a00abf52b640f42547ffdfa01b">f0d26dd1</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-26T09:39:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: version 1.3.18

* Fix build problems with older python versions.
* C99 build fixes.
* Fix standalone build of tdb.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3fe1551b5347934a20b9161a23e6a16220c3aeb6">3fe1551b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-26T09:39:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">talloc: version 2.1.16

* Fix standalone build of talloc.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/db58a50296041ca57675daee15caea8850f1d3f8">db58a502</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-26T09:39:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tevent: version 0.9.39

* py_tevent: add_timer takes float argument
* C99 build fixes.
* Fix standalone build of tevent.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/09d281d69b668a71e4457889bb5e949414a664fb">09d281d6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-26T11:10:40Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: version 1.6.2

* Fix standalone build of ldb.

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

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Feb 26 12:10:40 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e3902283f226002add45bc3ad7033ccb46ee75ce">e3902283</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-27T00:35:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">addns: Remove some unused defines

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8284ed9cc843ad07c9db5d113fef40919ed57ddc">8284ed9c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-27T00:35:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pdbtest: Use dom_sid_str_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/258d7d1ca97ffa1780400f463b0d93cb5ecb0f15">258d7d1c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-27T00:35:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libads: Use dom_sid_str_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/f5cd535bf22ebff94eb19d903fef78d13d61486a">f5cd535b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-27T00:35:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libads: 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/d83741091fad3cf343106900d328c09b12e18346">d8374109</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-27T00:35:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: 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/d48aa9a56b39f598a30ea29ef4b090cd48503cb8">d48aa9a5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-27T00:35:18Z</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/e8efe16b3cb1bb6a5bae3b684deea63c8b4e8102">e8efe16b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-27T00:35:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: 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/7d9b760418057c372f8e17739613a30e6b756823">7d9b7604</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-27T00:35:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Avoid a "==False"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/071af60d745b64dec880e094aa6c4d2654526fc3">071af60d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-27T00:35:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">audit_log: Use dom_sid_str_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/54d2e88fc7d3a5a06954d5f95a2b6347fd973b56">54d2e88f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-27T00:35:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: 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/908ef16567c603be6e16b385c7ab0ba07d9e9eaa">908ef165</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-27T00:35:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libnet: Use dom_sid_str_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/a89b0f3f4c7b4049893588d0e8d29e3854836619">a89b0f3f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-27T00:35:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Use dom_sid_str_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/e9ee003b9e157270a8499c88721943d49a505d7f">e9ee003b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-27T00:35:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Zero sensitive memory after use

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/b451168d72ec0026dd4ce36a3f2913a5842ba84d">b451168d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-27T00:35:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Make sure we zero the checksum after use

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/0045a919b46f55e631040833220f357079857b34">0045a919</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-27T02:22:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Avoid explicit ZERO_STRUCT

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 Feb 27 03:22:50 CET 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0ee398e8b2071f2373f216b3ca79131a4b7ebed4">0ee398e8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-27T07:59:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:crypto: Include only the required header files

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/b09f646832e13ee00e907f64f5d2c9f55d3886e4">b09f6468</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-27T07:59:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">krb5_wrap: Only use the required md4 header

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/75a5db9c949aac026485733029f5217e312cde45">75a5db9c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-27T07:59:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Only use the required md4 header

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/a1a005cb52e6890d35f9bdb856d47bf01c8b752f">a1a005cb</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-27T07:59:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Only use the required md4 header

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/195322b83e00685502e09989d17bc5e6cbcd7801">195322b8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-27T07:59:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb: Only use the required md4 header file

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/5890eb779202600ea69941d3e701440cf1e00be2">5890eb77</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-27T07:59:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb: Only use the required md4 and md5 header files

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/79207884a33e341de50f426af63f0ee4cba4b2c5">79207884</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-27T07:59:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:samsync: Remove unused header file

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/5854fcdbe9dc2877e289e9819451232be58be0e3">5854fcdb</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-27T07:59:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb: Remove unused header file

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/53fbd4b9a4407297c69b34c828429b6524a2e1a2">53fbd4b9</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-27T07:59:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Remove unused header file

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/eb13f70e3740a8e978fe4b90761438392b261485">eb13f70e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-02-27T10:00:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Remove unused header file

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 Feb 27 10:00:32 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ec115b9012c388ec1f4e9d04b8a47be8dacf13cd">ec115b90</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:selftest: move very slow tests on ad_dc_ntvfs into one location in tests.py

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/62eeab8f6cb6d9c85353738a2da073e0a16bd418">62eeab8f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest:Samba4: add fl2008dc as alias to ad_dc_ntvfs

Using aliases it will be possible to split the large amount
of tests which use ad_dc_ntvfs into multiple autobuild/ci
tasks/jobs 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/07b662e287b94f0eb91361c84df1856b473c6a5b">07b662e2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:selftest: use the fl2008dc alias when looping over all functional levels

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/c82b60c82725ec3c915335886facbcf7e23f9b11">c82b60c8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest:Samba4: add ad_dc_slowtests alias to ad_dc_ntvfs

This will allow us to run really slow tests in an isolated
autobuild/ci task 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/3385b33cec1595374b2866ba5553acc6ed144ff4">3385b33c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:selftest: make use of ad_dc_slowtests

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/c217a15a2c3c6b6c171d28a57f9b0248dacaec53">c217a15a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest:Samba4: add ad_dc_default alias to ad_dc_ntvfs

This will allow us to run really most tests in an isolated
autobuild/ci task later.

This will apply to tests, which may not rely on the ntvfs backend, so
the ad_dc_default alias can point to another environment 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/780cceaed9aa130ca9cba199a4b98fa1c8bbc77a">780cceae</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:selftest: make use of ad_dc_default

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/13fe139fb2661abf36701e35f2aca3a9a5df17ef">13fe139f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest:Samba4: add ad_dc_backup alias to ad_dc

This will allow us to run really most tests in an isolated
autobuild/ci task 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/cd42d70d491586b83f97100c10e1039c542d3b29">cd42d70d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:selftest: make use of ad_dc_backup

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/3cf317c9b866dd9820039669769af26a1195db7a">3cf317c9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: move nt4_dc_schannel out of 'samba'

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/1bc2456b87c4ddc603170d30e25cd615349a48e3">1bc2456b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: move maptoguest and simpleserver to 'samba-fileserver'

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/2d576c3afce92021501da9e56ca5504d3fd00310">2d576c3a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: run ad_dc_backup tests in samba-ad-dc-backup

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/54278049e203a489c69fde0795c4551bcd46365d">54278049</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: add samba-ad-member task

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/e0bd12e0543c5a39bf1cf015659ed32c116ab8cb">e0bd12e0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: spread ad-dc tests over 6 autobuild/ci separate tasks/jobs

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/253acdafd2bf655cb8115aaf1e3a3522e96dde1c">253acdaf</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: use .shared_template for samba

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/be6cf83c01db24b341125d4938f79304f875411a">be6cf83c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T10:16:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: try to distribute the tasks a bit more

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/4f307f2302b0fe8fd0fc6379eb8e6491faf8520c">4f307f23</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-02-27T11:24:59Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: force running with TZ=UTC

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 27 11:24:59 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5a7e7280813559fb70a9fc8e4238cb6015ee3b53">5a7e7280</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-02-27T14:53:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_ceph: add missing fallocate hook

SMB_VFS_FALLOCATE() calls atop a vfs_ceph share currently fall through
to vfs_default, which results in a local filesystem I/O attempt using a
libcephfs file-descriptor. Add the missing fallocate hook to vfs_ceph.

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

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/70329c36ed91dd0e50ff66f9b0a85c62ac8a621e">70329c36</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-02-27T14:53:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_ceph: fix strict_allocate_ftruncate()

The vfs_ceph "strict allocate = yes" ftruncate wrapper may attempt
*local* filesystem ftruncate(). Fix this.

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

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/155f1289ba7a4802fbb99fbc9ea90d8bc6cff0c9">155f1289</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-02-27T14:53:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_ceph: remove ceph_fallocate/ceph_ftruncate fallback

Both libcephfs functions are supported and capable of extending files,
so fallback can be dropped.

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

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f43cc62fb25d607a489cafd96b21cf0788773bbf">f43cc62f</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-02-27T14:53:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_ceph: drop ifdef HAVE_FCHOWN/_FCHMOD

The cephwrap_fchown() and cephwrap_fchmod() wrappers call the
corresponding libcephfs functions. It doesn't make sense to make this
logic dependent on regular fchown()/fchmod() function presence, so remove
the ifdefs.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/eb62dc39eb48b4e2207c80c232664ca37af9c2e6">eb62dc39</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-02-27T16:22:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: fix minor typo in smb.conf "log level" section

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Wed Feb 27 16:22:27 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d8a7caa5b03428dd9b0808135b34c21e217dbe2e">d8a7caa5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-28T12:57:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libwbclient: Protect wbcCtxUnixIdsToSids against integer-wrap

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d9303e8eb90d48f09f2e2e8bdf01f4a7c3c21d11">d9303e8e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-28T12:57:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Make idmap_cache return negative mappings

Without this we'd query non-existent mappings over and over
again.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4faf3e9f6da7515fc263d79f77226d105c2f8524">4faf3e9f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-28T12:57:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idmap_cache: Only touch "sid" on success in find_xid_to_sid

Why? This makes the negative mapping condition (is_null_sid) more
explicit in the code.

The callers in lookup_sid initialized "psid" anyway before, and the ones
in wb_xids2sids now do as well. This is more in line with other APIs we
have: Only touch output parameters if you have something to say.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8c28c12702c0935a852c7fed6565987623f09fee">8c28c127</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-28T12:57:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Initialize "expired" parameter to idmap_cache_xid2sid

The code in idmap_cache only touches its output parameters upon success

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/95d33ca79cc315f1a2e41cd60859ef01d6548c77">95d33ca7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-28T12:57:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Now we explicitly track if we got ids from cache

This now properly makes us use negative cache entries

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bb8122dd8c53bb307819a79b7888cc0940a7c13b">bb8122dd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-28T12:57:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idmap_cache: Introduce idmap_cache_find_xid2sid

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e5a903bab6eda8f7ff2a7c8149d51022d9d8aede">e5a903ba</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-28T12:57:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Add tests for idmap cache

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bc9824bd42d9370279819ea0d927e236f6041324">bc9824bd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-28T12:57:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Use idmap_cache_find_xid2sid

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ef706a3e63b3e25edd27e0f99c3e2d8ff7209cb6">ef706a3e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-28T12:57:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Introduce winbind_xid_to_sid

This does not merge a winbind communication error into
"global_sid_NULL" (S-1-0-0), which by the way non-intuitively does not
go along with is_null_sid(). Instead, this just touches the output sid
when winbind returned success. This success might well be a negative
mapping indicated by S-0-0, which *is* is_null_sid()...

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/92f27ebb14c0c18b1d0fd49544ad851aeb14781c">92f27ebb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-28T12:57:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">passdb: Introduce xid_to_sid

This explicitly avoids the legacy_[ug]id_to_sid calls, which create
long-term cache entries to S-1-22-x-y if anthing fails. We can't do
this, because this will turn temporary winbind communication failures
into long-term problems: A short hickup in winbind_uid_to_sid will
create a mapping to S-1-22-1-uid for a week. It should be up to the
lower layers to do the caching.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/40de67f1fcc46b7a64a7364c91dcedb474826d51">40de67f1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-28T12:57:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">passdb: Make [ug]id_to_sid use xid_to_sid

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c906153cc7af21abe508ddd30c447642327d6a5d">c906153c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-02-28T13:53:40Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove some unused code

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

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Feb 28 13:53:41 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9f4ee05295827c9a607e1f63694a17906f777176">9f4ee052</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-02-28T18:21:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli: remember return code from maximum access

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3ca38d2cd1189a5040e13ddab016063280be2b4d">3ca38d2c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-02-28T18:21:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: add a Maximum Access check with an Owner Rights ACE

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5cf0764bc4b65dbc59d8626760dbe946a2234833">5cf0764b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-02-28T19:18:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/security: add "Owner Rights" calculation to access_check_max_allowed()

This was missing in 44590c1b70c0a24f853c02d5fcdb3c609401e2ca.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Thu Feb 28 19:18:16 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cef18c2dfd60be372eee10cbcefd5849ae979d31">cef18c2d</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util: Add two wrapper for string to int conversion

Adding wrapper strtoull_err and strtoul_err to handle
error conditions of the conversion process.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c9f4b92a6131dedcaa38d6fe907d17a30a595f06">c9f4b92a</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fef2a7ca0a87dc3de25480b8070f8090d5f1cb09">fef2a7ca</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">groupdb: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e82228f2e09d66807d0bce150bb1db9731bbd4d4">e82228f2</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c957f6cc069aef32d88bd6a46584a262c65579db">c957f6cc</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">passdb: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fdd529792639a60683df927a8e02d47d2749fd10">fdd52979</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c067429c32b7e8853274f8711bb5c5bd33b5e628">c067429c</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">modules: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/414bc3748b6fbd54cbd50a0ff1f20cbe31b06ccc">414bc374</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpcclient: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e96bccc879a675856b3a875db2d718445410caea">e96bccc8</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/55acae774a9994715043dfe6e7668c19f514c545">55acae77</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-server: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/81cc7a35189fffc0538997e739f4556142ae5458">81cc7a35</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ea7231dcc0b50c535f913f0542d600d0b2119a21">ea7231dc</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libwbclient: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ebeae5dcbad898e8ee0d64c4ed44751b753f27de">ebeae5dc</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wbinfo: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e7b7c634e8bb5e9df5c523377458d880a6368ddc">e7b7c634</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">common-lib: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/58e2c1534429c05adb0cf5957d281dca0286fc13">58e2c153</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2b2ff12e706d999ff2d84affa79c64b33cc289a7">2b2ff12e</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">source4: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fa2c919e1d05a2033ce1cb41a86f8bdd789d68b8">fa2c919e</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-utils: Use wrapper for string to integer conversion

In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f3392f0fa321d88ac71d9dc0410167523d9696a5">f3392f0f</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-03-01T00:32:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: modify string conversion wrapper to handle signed input

The standard string conversion routines convert a "signed string"
into the positive representation of the resulting value.
This is not wanted and therefore now detected and flag'ed as an error.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a787c319f1eab417233b65c68cbc31d7ccce6378">a787c319</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-01T00:32:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Reformat the cli_smb2_create_fnum_send args

We'll add parameters in the next commit, make that commit a bit more obvious

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/56e08d399651b1f7d79f60c0b162d4d19d47ae7a">56e08d39</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-01T00:32:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Avoid a separate "cblobs" var sending smb2 create

Less lines of code, and we will add custom cblobs soon. This change
makes that logic 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/02f4080284610bdfd9771964099af18e7f9a67b8">02f40802</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-01T00:32:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: add in/out cblobs to cli_smb2_create_fnum

This is driven by the imminent smb2 unix extensions, we'll want to make use of
it from source3/libsmb.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/99ef0ba048ce3b1a1052418708f98ddd47e76162">99ef0ba0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-01T01:30:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make cli_smb2_rmdir asynchronous

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 Mar  1 01:30:35 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/42e96696a097c3c73230c7be8d107e444de1c8c7">42e96696</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-03-01T17:05:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafbuild: create missing private library symlinks on platforms without soname support for shared libs

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

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Fri Mar  1 17:05:19 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/278eb236ae9f8640c3281a836869c9eacbc2b1b3">278eb236</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2019-03-01T17:21:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Fix maybe-uninitialized error with picky developer

263/386] Compiling ctdb/server/ctdb_recovery_helper.c
In file included from ../../server/ctdb_recovery_helper.c:24:0:
../../server/ctdb_recovery_helper.c: In function ‘main’:
../../../lib/talloc/talloc.h:911:34: error: ‘mem_ctx’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
 #define TALLOC_FREE(ctx) do { if (ctx != NULL) { talloc_free(ctx); ctx=NULL; } } while(0)

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e7351603890c62829f3e33a9dd471ea373a6c470">e7351603</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-03-01T18:34:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb_mutex_ceph_rados_helper: revert strtoull_err() usage

Compilation currently fails, as ctdb_mutex_ceph_rados_helper doesn't
include or link against the samba-util library. Revert back to the
previous strtoull() behaviour, which works fine.

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 Mar  1 18:34:18 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/743b922ad9626b49b2bd2a314c9ecbe56b82cf3b">743b922a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-01T23:58:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use tevent_req_simple_finish_ntstatus()

Less lines... Just rediscovered 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/65c269d53821bbb2e050ee5f557d6b8806f8ac76">65c269d5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-01T23:58:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: 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/d1c2fe89073bf463a5791d433f60bc9381bdad62">d1c2fe89</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-02T00:55:56Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make cli_posix_unlink/rmdir proper tevent_req/subreq pairs

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 Mar  2 00:55:56 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7798bc14fbdae3461eb30421923d53978b3f781d">7798bc14</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-04T13:59:42Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CI: don't use swap

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): Mon Mar  4 13:59:42 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9fc1a09baee4e1339c0fe20e47e24b6ea6c293ae">9fc1a09b</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-03-04T18:11:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: drop lseek stat-open checks

b9e91d2a8e41a43d7ebb7d7eed807a7d8de9b329 added fd==-1 checks to the
lseek() path to handle "stat opens". Current reply.c and
smb2_ioctl_filesys.c callers do not invoke SMB_VFS_LSEEK() with
stat-open fsp structs, so the fd==-1 checks can be removed from the
VFS.

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/2e181e34c48c879235c5dc64bd7ab2b59781810c">2e181e34</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-03-04T18:11:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Fix the test_owner_rights() test to show permissions are additive.

Tested against Windows.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fadc4c1bc5fcc3b2d9daea44ef8daf8a8ae0fbe2">fadc4c1b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-03-04T18:11:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Add test_owner_rights_deny().

Shows that owner and SID_OWNER_RIGHTS ACE
entries interact in max permissions requests.

Tested against Windows.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9722f75757c0e38c7f42c7cc310d56aa6eaf6392">9722f757</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-04T18:11:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/security: correct access check and maximum access calculation for Owner Rights ACEs

We basically must process the Owner Rights ACEs as any other ACE wrt to the
order of adding granted permissions and checking denied permissions. According
to MS-DTYP 2.5.3.2 Owner Rights ACEs must be evaluated in the main loop over
the ACEs in an ACL and the corresponding access_mask must be directly applied
to bits_remaining. We currently defer this to after the loop over the ACEs in
ACL, this is wrong.

We just have to do some initial magic to determine if an ACL contains and
Owner Rights ACEs, and in case it doesn't we grant SEC_STD_WRITE_DAC |
SEC_STD_READ_CONTROL at the *beginning*. MS-DTYP:

-- the owner of an object is always granted READ_CONTROL and WRITE_DAC.
CALL SidInToken(Token, SecurityDescriptor.Owner, PrincipalSelfSubst)
IF SidInToken returns True THEN
   IF DACL does not contain ACEs from object owner THEN
       Remove READ_CONTROL and WRITE_DAC from RemainingAccess
       Set GrantedAccess to GrantedAccess or READ_CONTROL or WRITE_OWNER
   END IF
END IF

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0ebd8c99aed28a0ba43a22c429837f66f7e94409">0ebd8c99</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-03-04T18:11:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Add test_owner_rights_deny1().

Creates a 3-element ALLOW + ALLOW + DENY ACE showing that when
calculating maximum access already seen allow bits are not removed.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b205d695d769e910a91bec87451dec189ec33740">b205d695</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-04T18:11:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Add test_deny1().

Creates a 2-element ALLOW + DENY ACE showing that when calculating
effective permissions and maximum access already seen allow bits are not
removed.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8d355dd9769e8990ce998b4c9f28977669b43616">8d355dd9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-04T18:11:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/security: fix handling of deny type ACEs in access_check_max_allowed()

Deny ACEs must always be evaluated against explicitly granted rights
from previous ACEs.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/128e195e039e381d8f691103324033ef916e35cb">128e195e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-04T18:11:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: add a test with additional bits in SEC_FLAG_MAXIMUM_ALLOWED

When access_mask contains SEC_FLAG_MAXIMUM_ALLOWED, the server must still
proces other bits from access_mask. Eg if access_mask contains a right that
the requester doesn't have, the function must validate that against the
effective permissions.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c8c6da2c2986096feef37d125eb05ccdb00bffd3">c8c6da2c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-04T18:11:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: add cli_smb2_query_mxac()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/52e1171e21b56880f75b3e8f0be9c8fdf1503934">52e1171e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-04T18:11:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: add cli_query_mxac()

Works only for SMB2.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ec8984f8dd1f8c00a489a5aaf5e51a85f0bfd3ad">ec8984f8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-04T18:11:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbcacls: add -x argument, prints maximum access

Signed-off-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4a9f7d2456952ef79584f5a01f09462f2ffeb990">4a9f7d24</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-04T19:11:06Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: add a simple test for smbcacls -x

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 Mar  4 19:11:06 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3ce28f918cedaf37b4ebc7b80d243030b41c20bb">3ce28f91</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-04T21:41:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Remove redundant credentials from auth_log tests

The LDB connection in these tests is to the direct sam.ldb file on disk,
so the credentials are not actually needed (and in fact, weren't event
initialized correctly). These tests always need to run on the DC itself
(i.e. :local testenv) because they use ncalrpc connections.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/25544e101b0282d0f932f9e7c7eda66a270751fd">25544e10</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-04T21:41:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:tests: Avoid passing unnecessary env variables to auth_log tests

These tests all use the ncalrpc connection, so they're always testing a
connection that's local to the server-side. Therefore passing in the
CLIENT_IP and SOCKET_WRAPPER_DEFAULT_IFACE variables (in order to try to
simulate a client connecting) is unnecessary.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/15dda1a82cd993345d5f287f5fc2c0f7a3c12eeb">15dda1a8</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-04T21:41:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:tests: Move duplicated test cases into loop

This is more consistent with how we run tests elsewhere.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3dab656394447d10d90acb1a19326bf29eec55a3">3dab6563</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-04T21:41:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:tests: Remove unused DC_ENV variable

I believe this was a leftover remnant from an earlier patch revision -
it's now been replaced by the DC_SERVERCONFFILE variable.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4f21f1ca8d566624a11ab14cdc7698f0ddb45985">4f21f1ca</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-04T21:41:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Remove explicit SOCKET_WRAPPER usage from auth_log tests

The auth-logging tests are an odd combination of server and client
behaviour. On the one hand we want a IRPC connection to see the auth
events being logged on the server. On the other hand, we want the auth
events to appear to be happening on a client. Currently we hardcode in
the use of a SOCKET_WRAPPER interface to make this happen.

We can avoid this explicit socket wrapper usage by using the server
smb.conf instead in the one place we actually want to act like the
server (creating the IRPC connection). Then we can switch from using
the 'ad_dc*:local' testenvs to use 'ad_dc*', in order to act like a
client by default. The SERVERCONFFILE environment variable has already
been added for the few cases where a test needs explicit access to the
server's smb.conf.

However, for samba.tests.auth_log, the samlogon test cases are still
reliant on being run on the :local testenv, and so we can't switch them
over just yet. This is because the samlogon is using the DC's machine
creds underneath, which will fail on the non-local testenv. We could
create separate machine creds for the client and use those, but this is
a non-trivial rework of the test code.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c185bf1dcf84b2f86af2b79190a479dbc61b3cd3">c185bf1d</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-04T21:41:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Work audit_log CLIENT_IP out from config instead of env var

Instead of passing the CLIENT_IP to the audit_log tests, we can just
work out the source-IP that the client will use from its smb.conf file.
Because the audit_log tests are all run on the non-local testenv,
they'll already use the client.conf and the 127.0.0.11 address.

The main advantage of this change is it avoids having hardcoded IP
addresses in the selftest framework.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a7d09580ae0e03568b6708cf91d4609a881b0a14">a7d09580</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-04T21:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Work auth_log CLIENT_IP out from config instead of env var

Instead of passing the CLIENT_IP to the auth_log tests, we can just
work out the source-IP that the client will use from its smb.conf file.

This only works for auth_log_pass_change, but not auth_log.py - the
latter still needs to be run on the :local testenv for other reasons, so
it doesn't use the client.conf. However, we can still update the base
code to use the client.conf IP, as auth_log.py overrides
self.remoteAddress anyway.

The main advantage of this change is it avoids having hardcoded IP
addresses in the selftest framework.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c1b6fe62a4b5bfe4c534cf4eaad24b8ed57d3520">c1b6fe62</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-04T21:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Make sure we do not create a shadow 'struct params'

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/4d8aa4a160c272171a5b488d74b29474f3c26d58">4d8aa4a1</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-04T21:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/auth/krb: fix spelling of entries

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/4ddfe8fc750fbc80b49e51cf9e0f2109cb59d710">4ddfe8fc</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-04T21:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns_hub: use python 3 shebang

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/edfd33ab3e970099a680f0e1f28d135741cf8cc0">edfd33ab</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-04T21:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/rodc_rwdc: p.communicate() gives bytes, not str

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/16f4c694b558f64250fab3e568594733708aa3fd">16f4c694</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-04T21:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb:util_links: count el->values with unsigned int

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/1f9732206313ff53a410ab20f6dc188af9d2a6f0">1f973220</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-04T21:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/group_audit: use common get_parsed_dns_trusted()

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/0673ad09ae989296c69a4282711897740f4c115a">0673ad09</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-04T21:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">replmd/la: disambiguate error messages a bit

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/7d8cfe02bb4ef30795ccbaee7233e73c29fa9e8c">7d8cfe02</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-04T21:41:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/pytests: sanity checks for links under subtree renames

These tests will ensure that linked attributes continue to be handled
correctly under forthcoming changes. The la_move_ou_tree_big() test
will show that the changes make this much faster, after which it can
perhaps be removed.

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/bf50324fefdde7120838f17e6aee32ffc1345f22">bf50324f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-04T21:41:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb:replmd: add compatible feature helper function

repl_meta_data.c uses the compatible features attribute of the
"@SAMBA_DSDB" special object to record that linked attributes are
being stored in the database in a sorted order. Soon the
linked_attributes module is going to want to know the same thing, and
in time other modules will want to know about other compatible
features, so we introduce a helper function.

Error checking is slightly improved.

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/518320ae33ae6d77d67ec216cd4cd68d69036be1">518320ae</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-04T21:41:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: linked_attributes module knows about sorted links

Until now the linked attrbutes module has allocated its private data
on a per transaction basis, but we prefer to check the sorted links
feature less often than that. So the private data struct is given
module life time and a transaction member to carry out the old role.

In coming patches, the sorted links flag will be used.

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/8765ed2f1dd5b291f449a46a9e99b6ae810d3947">8765ed2f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-04T21:41:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb linked attributes: fix forward links faster

Rename operations can be very slow in large database with many group
memberships, because the linked attributes need to be found and
rewritten for each moved object and the way we did that was naive.

For a while now Samba has kept forward links in sorted order, so
finding group memberships can be an O(log n) rather than O(n)
operation. This patch makes use of that.

The backlinks are not sorted, nor are forward links in old databases,
so we have to use a linear search in those cases.

There is a little bit of extra work to handle the few kinds of forward
links (e.g. msDS-RevealedUsers) that have DN+Binary values.

Tim and Garming came up with the basic idea and a prototype.

Pair-programmed-with: Tim Beale <timbeale@catalyst.net.nz>
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
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/6d01cb51147f1a1708ac746c05ebe387312df8be">6d01cb51</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-04T21:41:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/linked_attributes: initialise more pointers to NULL

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/4f812c1f3217048737512a366d6bfa525f4b8a21">4f812c1f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-04T21:41:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/linked_attributes: improve formatting in some 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/e4ac7fb9dce9761c3bf5db6089f95d23cb8ecf39">e4ac7fb9</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-04T21:41:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/linked_attributes: shortcut exit for backlink fix

In most cases there can only be one link for each GUID. If we assume
that is true, we can skip half the search, on average.

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/c942614eaed392736f4037cb3663ea9e38c7d36c">c942614e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-04T21:41:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb pytsts: reduce scale of subtree rename speed test

The speed test, when it was introduced a few patches ago, was
deliberately slow so that we could see how much better the changes
were. It used 500 users, 50 groups, and 27 computers.

Before the changes, it took this long:

rename ou took 64.373s
rename group took 0.160s
rename user took 0.004s
rename computer took 0.123s

After using the sorted links, it took this long:

rename ou took 12.984s
rename group took 0.161s
rename user took 0.004s
rename computer took 0.122s

And with the final patch to stop the linear search early on success:

rename ou took 11.680s
rename group took 0.089s
rename user took 0.004s
rename computer took 0.128s

"rename ou" is the one we were aiming at. Now that we have done that,
we reduce the size of the test so as not to slow down everyone's
autobuilds.

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/f0ecfd384c279c94b2c341b638426cf1cbd797ce">f0ecfd38</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-04T22:41:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl/Python: initialise a datablob

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 Mar  4 22:41:01 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6a7dd7ab510a85d4c5f6d7e740b6bbd58b714085">6a7dd7ab</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-03-05T13:10:43Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Reduce likelihood of auth_log test locking up during CI

We would sometimes see the auth_log test hang during a CI run. The CI
job would eventually fail after consuming a costly 10 hours of CI
runtime.

We believe the problem is around the test creating multiple instances of
the Messaging() context. This is a similar race condition to what was
seen in 19f34b2161dee26.

Currently a new Messaging() context is created for every test case. By
using classmethods instead, the Messaging context is only created once
per python test file execution (i.e. creation of the python class,
rather than initialization of the python object, which happens for every
test-case).

This means the test will only create one Messaging() context, which
should avoid any race conditions.

Changes:
+ removed msg_ctxs - this wasn't actually used for anything.
+ use classmethods to setup and tear-down the Messaging() context (and
tweak lp initialization accordingly).
+ fix discardMessages() - the loop wasn't actually discarding any
messages previously (this may also have been the cause of the test
hanging).

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Tue Mar  5 13:10:43 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5e09d392115f2c1655cc0902a940723d9d5b9065">5e09d392</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-05T23:27:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add helper functions to get IP addresses

Let's centralize these assumptions in one place.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/572f83d62a5853634dfa79669393a70d9ce20731">572f83d6</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-05T23:27:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: dns_hub doesn't need to store $swiface

dns_hub doesn't need to store $ctx->{swiface}. Other testenvs store this
and export it as SOCKET_WRAPPER_DEFAULT_IFACE (i.e. for the tests to
use), but dns_hub doesn't need to do this.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2b60936d91268688db8344dfee68766b6494c604">2b60936d</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-05T23:27:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Avoid hard-coding client IP address

We implicitly assume the client IP used by selftest is always
127.0.0.11. Add an iface entry for the client to make this a little more
explicit.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d1e145d644ca15beb4e59213d570922b1dc8881e">d1e145d6</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-05T23:27:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Cleanup Samba.pm iface mapping

It looks a bit cleaner if we declare the hash-map in one go, rather than
adding each entry one at a time. Also added a comment explaining what
the hash-map is for, and fixed up tab vs spaces inconsistencies.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/90ea8c2a99c1feb1c6f789d53f2f97eb0f8175e2">90ea8c2a</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-05T23:27:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Try to tie dns_hub IP mapping to Samba.pm better

dns_hub.py maps the testenv realm to an IP and Samba.pm maps the testenv
NetBIOS name to an IP. We need to keep the two places consistent, as we
add or remove testenvs.

This patch changes dns_hub.py so that it uses a similar hashmap to
Samba.pm. We now have a hashmap with the same name in 2 different
places, so hopefully that's easier to tie them together and keep them in
sync.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d6d8ecb59606eaee6b25de8639269e0c08e746c6">d6d8ecb5</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-05T23:27:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Split out dns_hub's testenv realm-to-IP logic

Add a separate helper function, as the realm-to-IPv4-addr logic is
fairly self-contained.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cbcd4f8f007878ac795046a6f576bba0d009d59f">cbcd4f8f</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-05T23:27:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Pass realm-to-IP mapping to dns_hub as an argument

Instead of storing hashmaps in 2 different files, we can just convert a
perl hashmap into a string, pass it to dns_hub, and convert it back into
a python dictionary.

The main reason for doing this is the IP-to-testenv mapping now all
lives in a single file (Samba.pm). All this logic is right next to each
other rather than being split across multiple files. Hopefully this will
make it easier to keep it up to date as we add new testenvs.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/327ed9758abe29b3f01371bbcb9fb424737835b7">327ed975</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-05T23:27:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Map realm to IP address (instead of iface)

The code is more readable if the hashmap translates between realm and
DC-name, rather than realm-to-iface. We already have a function to map
between DC-name and iface (and since we're doing this, we might as well
map straight to IP address).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2cd65a7a4e7a767ebb9c1b68ba8b3d88797a2165">2cd65a7a</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-05T23:27:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns_hub: Minor variable rename

We've dropped the iface logic now - this dictionary maps from
realm-to-IP.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1d5583c913175ab6a8c44c0f564232195c2c307f">1d5583c9</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-06T00:48:43Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns_hub: Add some debug as to what DNS proxying is happening

This should make it clear at run-time how dns_hub is actually proxying
DNS requests, which will hopefully aid in debugging problems (i.e.
forgetting to add a mapping when adding a new DNS realm).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Mar  6 00:48:43 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4b1e4c22128bdefe549a58b181e9b755854f4c3e">4b1e4c22</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-03-06T00:50:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/winbind_util: Move include out of ifdef

This fixes compile errors about missing prototypes with
--picky-developer and --without-winbind

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/73bac6f9af66f3914f049621ce3caae528e2730f">73bac6f9</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-03-06T00:50:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/winbind_util: Remove winbind_[gu]id_to_sid

Commit c906153cc7 removed these functions, now also remove them for the
--without-winbind case.

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/4125ff89e44a3e98882cfc38c06e559a6e1e56a5">4125ff89</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-03-06T01:53:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/winbind_util: Add winbind_xid_to_sid for --without-winbind

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

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 Mar  6 01:53:16 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c059b8cb82c7c2443e74aa780646607606f41e4b">c059b8cb</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2019-03-06T03:16:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Enable make test even without lmdb

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

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6da3664f8a11397fd3fb38e89c2432b8bf321e59">6da3664f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-06T03:16:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ndr_spoolss_buf: fix out of scope use of stack variable in NDR_SPOOLSS_PUSH_ENUM_OUT()

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ce83b21be8aaa537ce3cb8e2ed0bc86f33024159">ce83b21b</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2019-03-06T03:16:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sam.c: fix incorrect check of talloc_new() allocation

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d94c8992f9a2941868aa3438a3fd7096c65c411d">d94c8992</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2019-03-06T04:30:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sam.c: allocate account_sid on tmp_ctx

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Mar  6 04:30:22 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/72c79e30f07bcc98610cca878f5de50e7db239a0">72c79e30</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-03-07T00:33:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">web_server: Remove the unused Python WSGI web server

SWAT was removed in Samba 4.1 and there isn't any reason to keep a web
server in our codebase. The web server was not turned on by default.

The web server plainly does not hold up to modern web server standards
and allows for resource exhaustion (and probably generally has bugs).
Credit goes to Michael Hanselmann for prompting us to remove this
service entirely.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4d2260d86d48f4569b29d3b6e1917ba33c019377">4d2260d8</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-03-07T00:33:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">web_server: Remove the web port smb.conf parameter

With the removal of the web server, there are not any users of this
parameter and so should just be removed.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ccb645321460034d4f33674854877620810b83e0">ccb64532</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-03-07T01:30:49Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">passdb: Increase ABI version to 0.28.0

The change from c906153cc lib: Remove some unused code
removed functions, but only updated the minor version
of the ABI. Update the passdb version to 0.28.0
to reflect this change.
file.

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): Thu Mar  7 01:30:49 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4a9a77f454c87efe01e399f5c798f44b7c9c89f8">4a9a77f4</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-03-07T02:14:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">paged_results: Remove C++ commment and unneeded TODO

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ff58f45807d0238d4cdbb3a39e5311c13d67dd42">ff58f458</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-03-07T03:17:52Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add the removal of the web server

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Garming Sam <garming@samba.org>
Autobuild-Date(master): Thu Mar  7 03:17:52 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0c52a6bee781d7b9ff6cfa6ee3d3c5531f91c156">0c52a6be</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-07T03:50:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Unify samdb_{get,set}_ntds_{objectGUID,invocation_id}

The new unified versions have better debugging and ensure
that both functions continue to have the same control flow.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/30f93bc7ac783efa205652ff83c7c1ab663ca73a">30f93bc7</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-07T03:50:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kcc: Give a better error message when samdb_ntds_objectGUID fails

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6f2558cab8113fd22800e41d46ede1465884f80b">6f2558ca</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-07T03:50:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Provide better error strings in rootdse GUID attribute handling

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8b18da27cf261b0283fe66d2b827cab542488ac7">8b18da27</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-07T04:58:42Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-server: Open and close a transaction on sam.ldb at startup

This fixes upgrading from 4.7 and earlier releases, and makes the DB
reindexing more transparent. It should also make it easier to handle
future normalisation rule changes, e.g. if we change the pack-format
of integer indexes in a future release.

Without this change, the  should have still handled reindexing the
database. We don't know why exactly this wasn't happening correctly,
but opening a transaction early in the samba process startup should
now guarantee that the DB is correctly reindexed by the time the main
samba code runs.

An alternative fix would have been to open a transaction in the the
DSDB module stack every time we connect to the database. However, this
would add an extra write lock every time we open the DB, whereas
starting samba happens much more infrequently.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Mar  7 04:58:42 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/02c7b8c03d4970421a5170e44c57cbc3cda82827">02c7b8c0</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-03-07T12:01:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">subunit/run.py: make iso8601 UTC usage python 2/3 compatible

In `iso8601/iso8601.py`:

    if sys.version_info >= (3, 2, 0):
        UTC = datetime.timezone.utc
        ...
    else:
        class Utc(datetime.tzinfo):
            ...

        UTC = Utc()

The class `Utc` is only available for python < 3.2.0.
Use `UTC` instance instead, which is python 2/3 compatible.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/10109f62ceb0cb435be3c521bd281eae48077535">10109f62</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-03-07T12:01:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/auto_log_pass_change.py: only care about the last expected message other than exact messages count

The messages count could be different because of racing condition.
And we should only care about the last expected one.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett abartlet@samba.org
Reviewed-by: Noel Power npower@samba.org
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/80cf852dbe4a8091e81e1515351aff393fc12af5">80cf852d</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-03-07T13:03:56Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">subunit/run.py: change shebang to python3

always use explicit python version at current stage.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Thu Mar  7 13:03:56 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/36adf08fabb4977e534eff30bccff30ce427787d">36adf08f</a></strong>
<div>
<span>by Kristján Valur</span>
<i>at 2019-03-07T14:08:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pygpo: Replace the use of SystemError with RuntimeError.

SystemError is reserved for internal errors in the interpreter.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13822
Signed-off-by: Kristján Valur Jónsson <kristjan@rvx.is>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/08b5b11b96c5325d314a0ec8dc9291542e255f6f">08b5b11b</a></strong>
<div>
<span>by Kristján Valur</span>
<i>at 2019-03-07T14:08:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pygpo: Proper exception exit in py_ads_connect().

connect() now succeeds or raises an exception.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13822
Signed-off-by: Kristján Valur Jónsson <kristjan@rvx.is>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a8b316d102e0e864dde4ab39cc20b98f32216ff4">a8b316d1</a></strong>
<div>
<span>by Kristján Valur</span>
<i>at 2019-03-07T14:08:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pygpo: Fix error handing when getting gpo unix path.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13822
Signed-off-by: Kristján Valur Jónsson <kristjan@rvx.is>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1ff252e398c6dc140570821394a7cda262af6dd9">1ff252e3</a></strong>
<div>
<span>by Kristján Valur</span>
<i>at 2019-03-07T14:08:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pygpo: More python exception cleanup.

* Don't override existing exceptions.

* Careful with talloc contexts.

* Return NULL on error.

* Add more information to exception messages from internal functions.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13822
Signed-off-by: Kristján Valur Jónsson <kristjan@rvx.is>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d2a75489477a6628662e7bb5dd94b3e769e8c3b1">d2a75489</a></strong>
<div>
<span>by Kristján Valur</span>
<i>at 2019-03-07T14:08:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pygpo: keep a reference to python credentials in the ADS struct to keep the internal pointer valid.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13822
Signed-off-by: Kristján Valur Jónsson <kristjan@rvx.is>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/18638535044e7ce8589c0288c43de90bf1853d5f">18638535</a></strong>
<div>
<span>by Kristján Valur</span>
<i>at 2019-03-07T14:08:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pygpo: Fix module initialization.

* Add reference count to type.

* Add error checking.

* Remove unnecessary tp_new method.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13822
Signed-off-by: Kristján Valur Jónsson <kristjan@rvx.is>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5b4618ca7ac04667b9f5c3b8b11b4f66cb7cac71">5b4618ca</a></strong>
<div>
<span>by Kristján Valur</span>
<i>at 2019-03-07T14:08:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pygpo: Safer handling of memory for ads_ptr.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13822
Signed-off-by: Kristján Valur Jónsson <kristjan@rvx.is>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c25e7953c6a4b26965bfbba40c793d13690ba68c">c25e7953</a></strong>
<div>
<span>by Kristján Valur</span>
<i>at 2019-03-07T15:08:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pygpo: take ownership of password pointer

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13822
Signed-off-by: Kristján Valur Jónsson <kristjan@rvx.is>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Thu Mar  7 15:08:19 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3ddb5429a0b67f4867ef2730d0817d432486b15c">3ddb5429</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-03-08T00:42:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-o3: fix -Werror=strict-overflow error in lib/ldb-samba/ldb_ildap module

samba-o3 test failed in ubuntu:16.04 docker container:

    ==> /home/samba/samba/samba-o3.stderr <==
    ../../lib/ldb-samba/ldb_ildap.c: In function ‘ildb_handle_request’:
    ../../lib/ldb-samba/ldb_ildap.c:535:2: error: assuming signed overflow does not occur when simplifying conditional to constant [-Werror=strict-overflow]
      for (i = 0; i < n; i++) {
      ^
    ../../lib/ldb-samba/ldb_ildap.c:579:2: error: assuming signed overflow does not occur when simplifying conditional to constant [-Werror=strict-overflow]
      for (i = 0; i < n; i++) {
      ^
    cc1: all warnings being treated as errors

Change type to mute errors.

Signed-off-by: Joe Guo <joeg@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/16d40ffcf04a0c3c7dd8699cf7980ed1fb32612a">16d40ffc</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-03-08T00:42:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-o3: fix -Werror=strict-overflow error in s4/torture/raw/eas module

samba-o3 test failed in ubuntu:16.04 docker container:

    ==> /home/samba/samba/samba-o3.stderr <==
    ../../source4/torture/raw/eas.c: In function ‘test_max_eas’:
    ../../source4/torture/raw/eas.c:286:12: error: assuming signed overflow does not occur when simplifying conditional to constant [-Werror=strict-overflow]
     static bool test_max_eas(struct smbcli_state *cli, struct torture_context *tctx)
                ^
    cc1: all warnings being treated as errors

`total += j` may overflow. Change total type to `size_t` to mute error.

Signed-off-by: Joe Guo <joeg@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/5bc215f70af6fbf97baac1cdac9201701d8edf70">5bc215f7</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-03-08T00:42:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-o3: fix -Werror=maybe-uninitialized in lib/mscat/mscat_pks7.c

samba-o3 test failed in ubuntu:1804 image with:

    ../../lib/mscat/mscat_pkcs7.c: In function ‘mscat_pkcs7_import_catfile’:
    ../../lib/mscat/mscat_pkcs7.c:143:18: error: ‘blob.length’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
      mscat_data.size = blob.length;
      ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
    ../../lib/mscat/mscat_pkcs7.c:142:18: error: ‘blob.data’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
      mscat_data.data = blob.data;
      ~~~~~~~~~~~~~~~~^~~~~~~~~~~
    ../../lib/mscat/mscat_pkcs7.c: In function ‘mscat_pkcs7_verify’:
    ../../lib/mscat/mscat_pkcs7.c:225:16: error: ‘blob.length’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
       ca_data.size = blob.length;
       ~~~~~~~~~~~~~^~~~~~~~~~~~~
    ../../lib/mscat/mscat_pkcs7.c:224:16: error: ‘blob.data’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
       ca_data.data = blob.data;
       ~~~~~~~~~~~~~^~~~~~~~~~~
    cc1: all warnings being treated as errors

Since in `mscat_read_file`, it may still return rc = 0 while goto error,
ends up with blob uninitialized.

Signed-off-by: Joe Guo <joeg@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/c71334ec0c92e791022a9b7c900aa0dd649226c2">c71334ec</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-08T01:41:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Move debug message for mkdir failing to log level 1

If you connnect to a host with smbclient this gets always printed.

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

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 Mar  8 01:41:27 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3873437ee0648e140cb0122c3122dc3839986105">3873437e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-08T18:20:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Simplify cli_smb2_mxac

smb2_create_blob_find() can search for a create blob 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/20ebd1768594fec757f4b0a5b56730c3f00226c0">20ebd176</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-08T18:20:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make cli_smb2_unlink 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/7fc3b2b2642425cf9f55b4409cfb108a5a87e69e">7fc3b2b2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-08T18:20:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Add "in_cblobs" to cli_smb2_rmdir

This reveals the fact that rmdir is an open/close in smb2 through the
API. This is not nice, but it's an internal API with currently only
one user. And it enables posix semantics for the open easily.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9a38dc0c1f776ef21599f212dd5659676bf9c9fc">9a38dc0c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-08T18:20:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Add "in_cblobs" to cli_smb2_unlink

This reveals the fact that unlink is an open/close in smb2 through the
API. This is not nice, but it's an internal API with currently only
one user. And it enables posix semantics for the open easily.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7caf2cbdf11029c7ed9d78338c797fb8c4fa46b3">7caf2cbd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-08T19:16:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use tevent_req_simple_finish_ntstatus

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 Mar  8 19:16:18 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/abf2e7c4a5d7b107d842e11c821dbdebf5df27bb">abf2e7c4</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-12T00:42:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl/s4/python: call export "export" in py exceptions

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/ed562c048022416a89aa55be3d8203db5a32b340">ed562c04</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-12T00:42:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/format-subunit-json: remove useless py2 print

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/4a231855dd4df8c428bb8e63fd2be2bf1a4c8000">4a231855</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-12T00:42:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/filter-subunit: use py3 print

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/561b654bc5bc2f5e614c5c2ab378193ca94d481a">561b654b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-12T00:42:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/scripting: MORE py3 compatible print functions

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/287abca7c83eadb1592a4b1721bb2d55c46a2930">287abca7</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-12T00:42:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test/blackbox: py3 compatible print in documentation.

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/0a804d38c4a7fed7aef6c357091ec5790bec7873">0a804d38</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-12T00:42:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/scripting/autoidl: p3 exception syntax

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/a27c39c2c9fd3161f5bf3ae5dba687c8d49519ef">a27c39c2</a></strong>
<div>
<span>by Michael Hanselmann</span>
<i>at 2019-03-12T00:42:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Avoid NULL pointer dereference in SMBsendend handler

The "reply_sendend" function wouldn't check whether the connection had
any pending message state. A client sending an out-of-order SMBsendend
message would trigger a NULL pointer dereference.

Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e18610a197aab80a32cae8c1e09b96496679bbad">e18610a1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-12T00:42:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Make sid_parse return the parsed length

Use a temporary struct as a return value to make the compiler catch all
callers. If we just changed bool->ssize_t, this would just generate a
warning. struct sid_parse_ret will go away in the next commit

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/d7de2f77485bf623f8ca0edc5c0fb823ed9bc1e2">d7de2f77</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-12T00:42:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove "struct sid_parse_ret" again

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/afd5d34f5e1d13ba88448b3b94d353aa8361d1a9">afd5d34f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-12T00:42:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use sid_parse()

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/d959bea2a8f2c6ec773c9bbf09037aa7bf85d494">d959bea2</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-12T00:42:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">modules: Add dependency on tirpc to vfs_nfs4acl_xattr

This is done as a new subsystem (either filled or empty) rather than via string
manipulation.

This will fix compile error on fedora.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5514b98f1d6611b99923ad98e8d55985c6620b70">5514b98f</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-03-12T00:42:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Ensure that gplink works when empty

It appears that RSAT can leave a space in the gPLink field, which we need to handle.

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

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bcb0270c6bcd6c9268c4807030d9c5945624540e">bcb0270c</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-03-12T00:42:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Add tests to make sure that an empty gplink works

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

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2e231541b48fc97ca013079585ef556efda6cb95">2e231541</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-03-12T00:42:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: io.open takes a numeric buffering argument at index 2

It's unsure why this doesn't fail generically, but it fails on my machine sometimes...

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f301b20e3752e9316561bb5761962639fda2bf60">f301b20e</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-03-12T00:42:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Restore gPCMachineExtensionNames and gPCUserExtensionNames

After creating a backup and calling 'gpo restore', this makes it so that
restoring a GPO will instantly enable it for use.

There might be some cases where we might not want to do this, but for now just do it.

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

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/70681d41ac2fb6d401157952077aaa8b8f800a2e">70681d41</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-03-12T00:42:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Add test for saving gPCXXXExtensionNames in backup

The test only checks that the LDAP values are equal before and after.
The format and specifics should be up to the implementation -- and be
amenable to changes later. As long as the extension doesn't match
.SAMBABACKUP or .xml, it won't be detected by the tools.

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

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/75cf728398421435186559306b0962c70f333c6e">75cf7283</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-03-12T00:42:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Parse GPT.INI with Latin-1

For some reason the French version of RSAT turns accents into ISO-8859-1.

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

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/52e0160116c39ac0b4759851bcbacd561bd26c0b">52e01601</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-03-12T00:42:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: During restore clobber GPT.INI with a blank version

Generally speaking, there is not much value to keeping this file. The
display name does not ever seem to be used and the version only applies
to the original domain or DC it was on. The command line option to
revert this behaviour is mostly for the tests or for having a straight
1:1 backup-restore for pure restoration.

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

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1364ae3aeb9cf49c5516497f0b02f0ed4c5c147f">1364ae3a</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-03-12T01:41:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpo: Backup a policy folder containing GPE.INI

The GPE.INI file does not appear to be documented anywhere in the
protocol specifications and seems to be due to legacy code. It appears
that it used to be how the gPCUserExtensionNames and
gPCMachineExtensionNames were maintained without the requirement for
LDAP.

All we do is ignore the parsing of this file and copy it over as binary.

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

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Mar 12 01:41:32 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/31aecee1446c5006771aaa535ae85810bbfb5db0">31aecee1</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-12T01:53:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool domain provision: Fix --interactive module in python3

The prompts were not being printed to the screen because the stream
was not being flushed.

As reported on the samba mailing list by Adam Xu:
https://lists.samba.org/archive/samba/2019-March/221753.html

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3bee2443946cf777dd337c20263f499626a0a889">3bee2443</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-12T01:53:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove unused SELFTEST_INTERFACES

This doesn't appear to be used anywhere and dates back to 2008.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0dbb923881a66b1e6b499b5b59103aea58ae0be6">0dbb9238</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-12T01:53:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Move @exported_envvars into Samba.pm

This brings it closer to the code that actually sets these variables
(i.e. Samba3/4.pm).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d192ba4e0bd82020ca0f34c620a64e616378524c">d192ba4e</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-12T01:53:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add helper function to create exports file for a testenv

This writes out the environment variables that are normally setup in the
testenv xterm to a file. This allows them to be sourced later.

This function is currently unused. However, it provides an alternative
replacement for the selftest-vars.sh script (which is really out of
date). I do plan to make use of this function in a subsequent patch-set.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a64c2e3bde7cd0ca62390de191983e520f8ee7da">a64c2e3b</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-12T01:53:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/scripting: Remove legacy selftest-vars.sh script

This script was added in 2010 and has only been sporadically kept
up-to-date since. It doesn't appear to work (I think that selftest
and the testenvs have perhaps grown in complexity since 2010 and it's no
longer possible to try to access a testenv from a different
process-space, due to how we use the cwrap libraries).

There's now an alternative (export_envvars_to_file()) in the selftest
code to regenerate a similar file, if anyone actually needs it.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/345c33d1d0b7a33109ab2cf82774be21ffce7857">345c33d1</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-12T01:53:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove RUN_FROM_BUILD_FARM env variable

The build farm is no longer used, so we can remove checks for this
environment variable in the selftest code.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a68e8af2d1b92ba9a94fc7cc1eb98cdca687d5fd">a68e8af2</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-12T02:56:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">testsuite: Remove build_farm testsuites

This test code is not run (and has not been run for about a decade).
Let's remove it - it's there in the git history if we ever want to try
to repurpose it again.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Mar 12 02:56:05 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c69092e9bad79252000ea76d119b17dca552d8c8">c69092e9</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-14T02:12:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/scripting: remove obsolete w32err_code.py

This has been replaced by gen_werror.py which shares common code with other scripts
(e.g. gen_ntstatus) and is more likely to work with conteporary microsoft HTML.

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/a3da2f63be4bff6ca77b7e1e4d45f42dcf177eef">a3da2f63</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-14T02:12:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove secondary client interfaces

I can't see anything in the tests that ever tries to use these other IP
addresses. While it makes sense that we might want the tests to simulate
multiple different clients (with different IPs), we don't appear to do
this currently.

Removing the spare client addresses minimizes the number of hard-coded
IP addresses in selftest.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e9c01fdbb8eb1a185f4c45a5928e9d13d46e3aed">e9c01fdb</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-14T02:12:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add helper function to get interfaces config

Add a helper function to return the IPv4/IPv6 addresses for the
smb.conf. This keeps the netmask assumptions in the same places as
the IP subnet assumptions.

This refactor means we no longer need to store $ctx->{interfaces}, as it
was only used in one place.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1fb01c5b11fe4acfe1178f42cccb24136ae938e5">1fb01c5b</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-14T02:12:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Make IPv4 assumption explicit

This test is asserting the expected number of *IPv4* addresses, not any
interface address (including IPv6). It works currently because the
selftest client doesn't have an IPv6 address in its smb.conf.

This patch makes the IPv4 assumption explicit by importing
interface_ips_v4() from the provision code. We need to tweak this to
pass through an 'all_interfaces' flag, otherwise it filters out the
loopback IP addresses that the testenv is using.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/18ebdc31a5f396d4bc399539037daa8e713fe726">18ebdc31</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-14T02:12:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Use new helper function for client's smb.conf IP

This has the side-effect of giving the client an IPv6 address, which it
hasn't had up until now. But it at least makes the client and server
interfaces settings consistent, and gets rid of a hard-coded IP address.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/50abab31f8ba37780c3e111819842ce42f4029c7">50abab31</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-14T02:12:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Use consistent env variables for dns_hub

Setting up a testenv involves populating 2 different hashmaps - an
intermediary one (usually called 'ctx') and one that is used to populate
the testenv environment variables (usually called 'env_vars' or
'dcvars').
Because the dns_hub setup is very simple, it doesn't need two different
hashmaps. However, the variable names are still a mix of the two
hashmaps.

This patch updates dns_hub to use the second, more finalized hashmap
variable-names.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3075b85c1abf63d49613f6dc82b0cc54146628ba">3075b85c</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-14T02:12:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove unnecessary dns_hub hashmap entries

These are only used within the function, and there's already a local
variable that stores the same info.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8ba6f1c895ee9b6b592578f21e7f79ed36236bef">8ba6f1c8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-14T02:12:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">blackbox/*.sh: pass -u to 'diff'

This is what we work with every day...

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

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/5357f591accffbf8c62335c308b985811b66f0b5">5357f591</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-14T02:12:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">blackbox/dbcheck-links.sh: reproduce lost deleted object problem

When a parent object is removed during the tombstone garbage collection
before a child object and samba-tool dbcheck runs at the same time, the
following can happen:

- If the object child had DISALLOW_MOVE_ON_DELETE in systemFlags,
  samba-tool dbcheck moves the object under the LostAndFound[Config]
  object (as an originating update!)
- The lastKnownParent attribute is removed (as an originating update!)

These originating updates cause the object to have an extended time
as tombstone. And these changes are replicated to other DCs,
which very likely already removed the object completely!

This means the destination DC of replication has no chance to handle
the object it gets from the source DC with just 2 attributes (name, lastKnownParent).

The destination logs something like:

  No objectClass found in replPropertyMetaData

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

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/3e8a435d27da899d0e3dab7cbc0a1c738067eba3">3e8a435d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-14T02:12:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb:repl_meta_data: allow CONTROL_DBCHECK_FIX_LINK_DN_NAME to by pass rename

We need a way to rename an object without updating the replication meta
data.

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

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/07a8326746f0c444eedf3860b178fc29d84e8d16">07a83267</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-14T02:12:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: use DSDB_CONTROL_DBCHECK_FIX_LINK_DN_NAME when renaming deleted objects

We should never do originating updates on deleted objects.

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

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/9afcd5331ce567bd80d35175f8e4e21c506e9347">9afcd533</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-14T02:12:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: do isDeleted, systemFlags and replPropertyMetaData detection first

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

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/6d50ee74920c39cdb18b427bfaaf200775bf2d73">6d50ee74</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-14T02:12:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: don't move already deleted objects to LostAndFound

This would typically happen when the garbage collection
removed a parent object before a child object (both with
the DISALLOW_MOVE_ON_DELETE bit set in systemFlags),
while dbcheck is running at the same time as the garbage collection.

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

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/e388e599495b6d7c38b8b6966332e27f8b958783">e388e599</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-14T02:12:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: don't remove dangling one-way links on already deleted objects

This would typically happen when the garbage collection
removed a parent object before a child object (both with
the DISALLOW_MOVE_ON_DELETE bit set in systemFlags),
while dbcheck is running at the same time as the garbage collection.
In this case the lastKnownParent attributes points a non existing
object.

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

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/598e38d2a5e0832429ba65b4e55bf7127618f894">598e38d2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-14T02:12:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: add find_repl_attid() helper function

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

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/1ccc21a34d295be3bb2ab481a5918003eae88bf4">1ccc21a3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-14T02:12:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">blackbox/dbcheck-links.sh: add regression test for lost deleted object repair

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

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/a1658b306d85452407388b91a745078c9c1f7dc7">a1658b30</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-14T02:12:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: detect the change after deletion bug

Old versions of 'samba-tool dbcheck' could reanimate
deleted objects, when running at the same time as the
tombstone garbage collection.

When the (deleted) parent of a deleted object
(with the DISALLOW_MOVE_ON_DELETE bit in systemFlags),
is removed before the object itself, dbcheck moved
it in the LostAndFound[Config] subtree of the partition
as an originating change. That means that the object
will be in tombstone state again for 180 days on the local
DC. And other DCs fail to replicate the object as
it's already removed completely there and the replication
only gives the name and lastKnownParent attributes, because
all other attributes should already be known to the other DC.

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

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/b61d580fb7dba8ff94e9e98c958e324865cd2f1d">b61d580f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-14T02:12:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/samba/netcmd: provide SUPPRESS_HELP via Option class

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

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/6f9c5ed8de47bb98e21e8064d8e90f963f2f71ca">6f9c5ed8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-14T02:12:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: add --selftest-check-expired-tombstones cmdline option

This will be used by dbcheck tests which operate on static/old provision
dumps in the following commits.

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/5fccc4e9044d2e57be33471f5e6b9be7cc37ac3a">5fccc4e9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-14T02:12:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">blackbox/dbcheck*.sh: pass --selftest-check-expired-tombstones to dbcheck

These tests operate on provision dumps created long ago, they still
want to run tests on deleted objects, when the next commits remove
processing expired tombstone objects in dbcheck.

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

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/b096a3117ed9249fd6f65f3221a26c88efbba3b8">b096a311</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-14T02:12:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">blackbox/dbcheck-links.sh: prepare regression test for skipping expired tombstones

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

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/a2c5f8cf41c2dfdc4f122e8427d1dfeabb6ba311">a2c5f8cf</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-14T03:12:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: don't check expired tombstone objects by default anymore

These will be removed anyway and any change on them risks to
be an originating update that causes replication problems.

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

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 14 03:12:27 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a215d2017f95974913a7e97c25e5fc613bb79c26">a215d201</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-15T05:17:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Build cluster mutex path manually

CTDB_CLUSTER_MUTEX_HELPER can't be depended on because it is only set
when the tests are not installed and setting it unconditionally for
this particular use would be wrong.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/539b5ff32b32b7c75dfaaa119e41f5af6ff1e6fc">539b5ff3</a></strong>
<div>
<span>by Zhu Shangzhong</span>
<i>at 2019-03-15T05:17:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Initialize addr struct to zero before reparsing as IPV4

Failed to kill the tcp connection that using IPv4-mapped IPv6 address
(e.g. ctdb_killtcp eth0 ::ffff:192.168.200.44:2049
::ffff:192.168.200.45:863).

When the ctdb_killtcp is used to kill the tcp connection, the IPs and
ports in the connection will be parsed to conn.client and conn.server
(call stack: main->ctdb_sock_addr_from_string->ip_from_string). In
the ip_from_string, as we are using IPv4-mapped IPv6 addresses, the
ipv6_from_string will be used to parse ip to addr.ip6 first. The next
step the ipv4_from_string will be used to reparse ip to addr.ip.

As a result, the data that dump from conn.server is "2 0 8 1 192 168
200 44 0 0 0 0 0 0 0 0 0 0 255 255 192 168 200 44 0 0 0 0", the data
from conn.client is "2 0 3 95 192 168 200 45 0 0 0 0 0 0 0 0 0 0 255 255
192 168 200 45 0 0 0 0". The connection will be add to conn_list by
ctdb_connection_list_add. Then the reset_connections_send uses conn_list
as parameter to start to reset connections in the conn_list.

In the reset_connections_send, the database "connections" will be
created. The connections from conn_list will be written to the
database(call db_hash_add), and use the data that dump from conn_client
and conn_server as key.

In the reset_connections_capture_tcp_handler, the
ctdb_sys_read_tcp_packet will receive data on the raw socket. And
extract the IPs and ports from the tcp packet. when extracting IP and
port, the tcp4_extract OR tcp6_extract will be used. Then we got the
new conn.client and conn.server. the data that dump from the
conn.server is "2 0 8 1 192 168 200 44 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0", the data from conn.client is "2 0 3 95 192 168 200 45 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0". Finally, we use the data as key to check
if this connection is one being reset(call db_hash_delete). The
db_hash_delete will return ENOENT. Because the two key that being used
by db_hash_delete and db_hash_add are different.

So, the TCP RST will be NOT sent for the connection forever. We should
initialize addr struct to zero before reparsing as IPV4 in the
ip_from_string.

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

Signed-off-by: Zhu Shangzhong <zhu.shangzhong@zte.com.cn>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d9286701cd9253bf3b42cac3d850ae8c23743e6d">d9286701</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-15T05:17:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Add some testing for IPv4-mapped IPv6 address parsing

ctdb_sock_addr values are hashed in some contexts.  This means that
all of the memory used for the ctdb_sock_addr should be consistent
regardless of how parsing is done.  The first 2 cases are just sanity
checks but the 3rd case involving an IPv4-mapped IPv6 address is the
real target of this test addition.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b2b8dce4fc56c27ef0131104b316346565369dd7">b2b8dce4</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-15T05:17:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-packaging: ctdb package should not own system library directory

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/957c38b65ca060eabe1e676f8dfb54839d706155">957c38b6</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-15T05:17:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-packaging: Test package requires tcpdump

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2fce893b2c8f63c72c5e0fb177ca61c93317b751">2fce893b</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-15T05:17:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: export CTDB_SCRIPTS_TOOLS_BIN_DIR

This isn't used anywhere that requires it to be exported, but the lack
of consistency will cause problems and confusion at some later stage.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6555fbce995d3d3a7b162ea49a4a9844e234fed8">6555fbce</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-15T05:17:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Shell cleanups in wait_until() function

This file is included by local_daemons.sh, which is not a bash script
and wait_until() uses the "local" keyword.  Prefixing variable names
with '_' to indicate that they are local changes a lot of lines in
this function.  So, fix indentation, potential quoting problems and
other ShellCheck hits while touching this function.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/627a5cf1e717aab65b99eaba4e2efe78307adbf2">627a5cf1</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-15T05:17:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Fix remaining common.sh ShellCheck hits

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8c2ff3f2b52e679a8e14cf97b5dddd1927a20bd1">8c2ff3f2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-15T05:17:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Add an environment variable to set version

This can be used to test the version checking logic.  Cache the
version to avoid re-checking the environment variable each time.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2c3df58132939bbb17a448ef12d5f376244b7545">2c3df581</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-15T05:17:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Add a test for version consistency checking

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/05c28fee21c0cc986cb8301f4199595cdb13faee">05c28fee</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-15T05:17:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-build: use a fixed ctdb_version.h using SAMBA_VERSION_STRING

This way we don't get constant rebuild as SAMBA_VERSION_STRING
is "4.7.0pre1.DEVELOPERBUILD" for the binaries under bin/
instead of "4.7.0pre1.GIT.59e51f6".

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/148306674d0e4706adca3e5dcbb779c51a2c03da">14830667</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-15T05:17:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-build: Drop creation of .distversion in tarball

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

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/edd4a23d7632af51f4d7b4287917b7fa0dced963">edd4a23d</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2019-03-15T06:31:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-version: Simplify version string usage

There is no need to write SAMBA_VERSION_STRING as CTDB_VERSION_STRING.
Wherever required use SAMBA_VERSION_STRING directly.

Avoids the confusion with two version.h files.

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

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

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Mar 15 06:31:50 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1375e08580d642c069170e3e3bddc690bf3c5e89">1375e085</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-03-15T11:32:04Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: fix check_parent_access() talloc stackframe leaks

check_parent_access() currently leaks a number of allocations onto the
talloc_tos() context in both success and error paths.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Fri Mar 15 11:32:04 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fad5e4eaeb9202c1b63c42ea09254c17c473e33a">fad5e4ea</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-18T15:30:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:script: Fix jobid check in test_smbspool.sh

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bryan Mason <bmason@redhat.com>
Signed-off-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/43160184d254a57f87bb2adeba47f48d8539533a">43160184</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-18T15:30:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:client: Pass DEVICE_URI and AUTH_INFO_REQUIRED env to smbspool

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bryan Mason <bmason@redhat.com>
Signed-off-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5274b09fbaa5e45cc58f3301818d4e9f6a402845">5274b09f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-18T15:30:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:client: Evaluate the AUTH_INFO_REQUIRED variable set by cups

This should not switch to username,password if cups has been configured
to use negotiate (Kerberos authentication).

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bryan Mason <bmason@redhat.com>
Signed-off-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/129ae27946318a075e99c9e6d1bacf8963f72282">129ae279</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-18T15:30:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:client: Make sure we work on a copy of the title

We can't be sure we can write to the input buffer.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bryan Mason <bmason@redhat.com>
Signed-off-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/69d7a496d3bf52eaa10e81132bb61430863fdd8a">69d7a496</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-18T16:47:55Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:client: Fix smbspool device uri handling

If we are executed as a CUPS backend, argv[0] is set to the device uri.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bryan Mason <bmason@redhat.com>
Signed-off-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Mar 18 16:47:55 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/38f780aedfc3942c8f8356878a20f7c68d9182ef">38f780ae</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Give epmd its 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/2f47163a0e57276a638ab204400be0fd70089297">2f47163a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Give lsasd its 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/311d86818cefbc7897eb4188d42c7400983cdf25">311d8681</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Give fssd its 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/10c70e2311d60353592f7dc1733fd3b1dc11cef6">10c70e23</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Give mdssd its 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/6625d35643be100d07b9cd9e379951fd6d4a1f95">6625d356</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idl: 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/636c09c8132dd48ece6c40d86f3c93e73d8cfc1d">636c09c8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Add a comment explaining lack of overflow checks

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d5877ec49e17bcc7012deeb0176837f7fc0d6c0f">d5877ec4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idl: Remove a trailing empty 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/2f3e251dccbd2c7a79789b9a48c12c360a17fc91">2f3e251d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:23Z</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/068f42bed782f3489086909b202be942d1160845">068f42be</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use a direct struct initializer

There's a few ways to initialize a DATA_BLOB to NULL. There's the
variable data_blob_null, there's ZERO_STRUCTP, and the explicit
initializer. And there's the data_blob() macro which calls into
data_blob_talloc_named. You have to look at that routine to see that
this is nothing more than a ZERO_STRUCT() and not calling into
talloc. Choose the more direct 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/769b51dae8ab4533741ac83ef7c365ae17bf9478">769b51da</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture3: Fix an error message

We tried to open "dname", not "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/855b785a7acd1cc89b95ed0c306ef6f205066c05">855b785a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove two unnecessary return; statements

return; is unnecessary at the end of a void 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/2040196e10cbcd5746e280ecbc0298b55805ad4c">2040196e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use tevent_req_simple_finish_ntstatus

Less lines of 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/cfc3f32038e9373eeab0a26d2d7b6f4eca2fecc0">cfc3f320</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make cli_posix_[sym|hard]link proper tevent_req functions

Simplify adding SMB2 to those 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/7e6991565ee335cc300cb330874b44155f950bcc">7e699156</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Change cli_posix_stat_send to take a pointer to sbuf

This moves the parsing work from the _recv function into the _done
function. This makes writing the SMB2 call easier later on: We can
have a smb2-specific done function doing the smb2-specific work and we
don't have to fork on protocol in the _recv 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/5909709e3b23a36dab0c294071bcbc50c0b195da">5909709e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Add cli_smb2_query_info_fnum

This wraps getting the file handle from the fnum

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4e6f32ad7de13c2659cfa1dde4aad0980052ad10">4e6f32ad</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use cli_smb2_query_info_fnum

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d0dc4033cc0b636914611883caaaf6cddf527223">d0dc4033</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">heimdal: Fix "assuming signed overflow doesnt occur" error

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/7da54f6fd3e7493e0a37cfffc78cec2d5c4a4366">7da54f6f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:24Z</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: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e872227bfbf63742b549a32eb98487bf61403532">e872227b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-18T19:21:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Fix a "assuming signed overflow does not occur" error

Eventually we need to convert internal_resolve_name to "size_t" for
"return_count". But that's a patch for another day :-)

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/6fa6ab1c73a057e561bc1a7db4895ba716f7861f">6fa6ab1c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-18T19:21:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4acl_xattr: identifiers are XDR encoded as integers

The structs nfsacl41 and nfsace4 are not RFC 3530 compliant, let's
rename them adding a trailing "i" that indicates that the structs store
identifiers as integers.

  struct nfsace4  -> struct nfsace4i
  struct nfsacl41 -> struct nfsacl41i

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/10a230b98faef634cee2343b5620ae5abdb6586b">10a230b9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-18T19:21:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4acl_xattr: append 'i' to nfs4acl functions

This reflects the new struct names the functions use.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3490a6e27ae0ca5ebe33092aa08d6271e8ffd420">3490a6e2</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-18T19:21:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4acl_xattr: move some functions to a seperate file

These functions will be called from another translation unit in a
subsequent 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/ba1fe6d11a0e3d5651150ddfb80f8fab7f5f7318">ba1fe6d1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-18T19:21:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4acl_xattr: move a define to a common header file

In preperation of a adding real NFS backend.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/068721f4779eacfa6db870077713dc6037c1bcb5">068721f4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-18T19:21:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4acl_xattr: add RFC compliant NFS 4.0 and 4.1 ACL defintions

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ebf9826158c2109a6d5702ad26aa41afdf982386">ebf98261</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-18T19:21:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4acl_xattr: reformat enum nfs4acl_encoding to one per line

In preperation of adding another enum value.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c6ab2e6b735901c8aca33928b4b17f3c784aede0">c6ab2e6b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-18T19:21:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_nfs4acl_xattr: support for NFS 4.0 and 4.1 ACLs from NFS4 mount

This adds a new main switch "nfs" to "nfs4acl_xattr:encoding" which
enables to use NFS4 ACLs from an NFS4 mount on a Linux box. Tested with
a FreeBSD NFS4 server.

Supports both NFS 4.0 and 4.1 ACLs.

By default NFS4 servers send user and group identifiers in ACLs as
strings in the format "[USER|GROUP]@DNSDOMAIN". Some NFS4 servers
support sending identifiers as numeric strings. This module does support
this as well, the config knob "nfs4acl_xattr:nfs4_id_numeric = yes|no"
controls behaviour.

When "nfs4acl_xattr:encoding" is set to "nfs", the new option
"nfs4acl_xattr:validate_mode", which defauts to "yes" is set to "no" to
avoid checking and munging the mode on files.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6a1e5fbfcd33e849e7360c4c0eb7abf21ddb0eb8">6a1e5fbf</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-18T19:21:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: test vfs_nfs4acl_xattr in nfs mode

The same tests as for the other modes xdr and ndr are marked as
knownfail.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7d4865610f9542555c212540c35d98536c1f37e7">7d486561</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-03-18T20:19:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_nfs4acl_xattr: check status for NT_STATUS_ACCESS_DENIED in take ownership override

This was missing in commit 8b1b1cd8cc561378058b915e03996ff567355d81.

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 Mar 18 20:19:30 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b2c2c4c3e6c4538c62cbcf03923bd7536292f7e9">b2c2c4c3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-19T12:38:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">talloc: Fix alignment issues for casting pointers

warning: cast from 'char *' to 'struct talloc_chunk *' increases required
alignment from 1 to 8

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): Tue Mar 19 12:38:50 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/74ca95f804a1dd385d33deaf07d47659aaa049f5">74ca95f8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-19T17:48:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Enhance debugging for setting hard links

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7e77f1fea6c922b76a6961e477a4d72815f08886">7e77f1fe</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-19T18:46:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Focus smb_file_link_information on correct posix'ness

In the SMB1 unix extensions, posix'ness is a property of the SMB
request, because it's tied to the connection. In the upcoming SMB3
extensions, this will become a property of the file name, it's being
set at SMB2_CREATE time. To correctly transfer posix'ness of the
filename to the destination name, we can't look at the
req->posix_pathnames here, the SMB2_SETINFO call has not set
that. This is still correct for SMB1, as the per-connection posix'ness
has spilled into the filename there too.

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 19 18:46:28 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/944c577a96fd58634f21bda75deb52a4fb9a6d8e">944c577a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-03-19T22:55:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Clarify POSIX name handling in SMB2 get/setinfo calls.

We should never be looking at the info level here, the create
call will have set the correct POSIX flag on the smb_filename
struct.

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Mar 19 22:55:11 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a40b0f452af5f393aa33c9d52673994effd0e31f">a40b0f45</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-20T05:25:48Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Allow build when --disable-gnutls is set

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

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 Mar 20 05:25:48 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/305346d360d3c13fd315c1af27b037f46fd10650">305346d3</a></strong>
<div>
<span>by Michael Hanselmann</span>
<i>at 2019-03-20T05:26:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix typos in "valid"

s/vald/valid/

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
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/aa6b355858a0d8b77bf49384e5329642add1a5ff">aa6b3558</a></strong>
<div>
<span>by Michael Hanselmann</span>
<i>at 2019-03-20T05:26:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">regfio: Use correct function names in debug information

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
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/9b2cb845b23cd1c91ab3b5ea8ad791b18b3ab733">9b2cb845</a></strong>
<div>
<span>by Michael Hanselmann</span>
<i>at 2019-03-20T05:26:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">regfio: Add trivial unit test

An upcoming commit will resolve two cases of insufficient handling of
mangled registry hive files and will include unit tests.

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

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
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/601afd690346087fbd53819dba9b1afa81560064">601afd69</a></strong>
<div>
<span>by Michael Hanselmann</span>
<i>at 2019-03-20T05:26:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">regfio: Improve handling of malformed registry hive files

* next_record: A malformed file can lead to an endless loop.
* regfio_rootkey: Supplying a malformed registry hive file to the
  registry hive I/O code can lead to out-of-bounds reads.

Test cases are included. Both issues resolved have been identified using
AddressSanitizer.

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

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
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/acbf103fcaa4150a57bfbab2450e36b5b39e399b">acbf103f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-20T05:26:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">regfio: Update code near recent changes to match README.Coding

This file long predates our current code conventions.

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

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/68c0fc4335d0c3c526a38481538a33290be6d58a">68c0fc43</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-20T05:26:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">regfio tests: Update comment style to match README.Coding

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

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/c0aca17a4c9ec06f0127d5c972f3fa979a87a77f">c0aca17a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-20T06:36:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py/graph: use 2.6 compatible check for set membership

It is better this way anyway.

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 Mar 20 06:36:05 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bf469343f577e2d78df0e38d80e7976b351eaf0d">bf469343</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-20T13:11:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:librpc: Fix installation of Samba

This breaks installation of Samba 4.10 on Fedora.

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

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 Mar 20 13:11:28 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4f5b9e509f4217dea8842c4c8ae428728efa33da">4f5b9e50</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-20T22:07:45Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Add cli_smb2_set_info_fnum

This wraps getting the file handle from the fnum

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/32c5b6c1c216f264f4d8560b2b53e19dbf66e447">32c5b6c1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-20T22:07:45Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Simplify cli_smb2_delete_on_close

Use cli_smb2_set_info_fnum, remove "state" 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/c013aad7b737bf95dd381b3bfa16b70e36884459">c013aad7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-20T22:07:45Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Simplify cli_smb2_ftruncate

We don't need to talloc 8 bytes, they can live on the stack. When we
go async, this can go into the state 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/b4c87b09b6630e29f8f0a7e4533acee63839d899">b4c87b09</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-20T22:07:45Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use cli_smb2_set_info_fnum()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b5af004b23541550f46ef9b8fcaf5cb045f9da25">b5af004b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-20T22:07:45Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Introduce protocol-agnostic cli_hardlink

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8c12a705e6f16bfe0260c82fcbd62043a4a6ee37">8c12a705</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-20T22:07:46Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils: Use cli_hardlink instead of cli_nt_hardlink

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2a430625e77ecf81552f06b98b7bf91f5112a7df">2a430625</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-20T23:32:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make SMB1-only cli_nt_hardlink calls static

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 20 23:32:31 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fa980eb654a28a652cec64b2374858645e1bf533">fa980eb6</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T04:06:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytalloc: Remove deprecated pytalloc_CObject_FromTallocPtr()

This function makes it harder to remove the --extra-python handlers and is only
provided for Python 2.x, support for which Samba is removing.

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/270d04e4ea0e3a7f4443557f5ff65e6f9e426295">270d04e4</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T04:06:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Remove --extra-python

This option is quite invasive in waf and was mainly for the python3 transition.

Testing with multiple python versions can be done by testing a full compile against
multiple versions, likewise multiple different binding versions can be created
the same way.

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/fdb6305c861a088f797d29889c51c0553cc048be">fdb6305c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T04:06:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Remove bld.gen_python_environments()

This was part of --extra-python support.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/beda359bdd01fb944783a2cdffbdfc459c9f096b">beda359b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T04:06:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove support for running multiple tests against python versions in a single run

The extra_python support was added to aid the python3 transition

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/6a6a178b3c1b6c62165db21c44c2061db7927bac">6a6a178b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T04:06:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove obsolete py3_compatible=True markers

All our tests now run in python3.

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/709ac663ab686a3b0abec335f7486e7e4c8e7141">709ac663</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T04:06:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove mention of --extra-python from comment

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/ad3ba5998eec5cf29fcd33f5f902f8cf524aa6de">ad3ba599</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T04:06:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Remove distinct .py3 ABI files

The only difference between the two built libraries is pytalloc_CObject_FromTallocPtr()
which is deprecated.

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/24127acae0f05f0011c4008e75f1a1de31584199">24127aca</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T04:06:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ABI: Remove unused .py3*.sigs files

These are no longer used by the build system so avoid
confusion by removing them from the tree.

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/760b176d86a51048b01f72a5e29718c5c9c558ff">760b176d</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T04:06:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Do not make python mandatory to build

Clearly we have python or else we would not be running, so this is about if
we have a new enough version.

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/63d20d7822ead1626f7cb41fdbae6c9300893314">63d20d78</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T04:06:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Set default minimum python version to 3.4.0

This is the current minimum, but this may change before the 4.11 release.

Python 2.x support is no longer available except to build using --disable-python.

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/a459650054b5500026b6387fb0eb2ef29ced9b5f">a4596500</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T04:06:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Remove manual specification of minimum python version

We now used the default of 3.4 from conf.SAMBA_CHECK_PYTHON()

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/a574e8f51706809fff4b77ff098b28ba1a7d4103">a574e8f5</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T04:06:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Standardise on calling conf.SAMBA_CHECK_PYTHON() in libraries

We do this by removing the confusing mandatory option to
conf.SAMBA_CHECK_PYTHON{,_HEADERS}(), instead just use the value of
--disable-python internally

This follows the default minimum of Python 3.4 and keeps things consistent
with the main Samba build where --disable-python is required to skip building
python bindings.

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/b80140ba00282ce67f7d394bbf684e726df1126e">b80140ba</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T04:06:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">talloc: Release talloc 2.2.0

 * Remove pytalloc_CObject_FromTallocPtr()
 * Remove --extra-python (a build time mode to produce Python2 and Python3
   bindings at the same time)
 * New minor version to allow Samba 4.10 to release a talloc if
   required from that branch

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/fe69d807eae06cb041f25c2dfe351d4e25d541cd">fe69d807</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T04:06:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Release tdb 1.4.0

 * Remove Python 2.x support except to build just the bare C library
 * Remove --extra-python (a build time mode to produce Python2 and Python3
   bindings at the same time)
 * New minor version to allow Samba 4.10 to release a tdb if
   required from that branch

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/6f2278018436184785e19f69efc60ec408b14aa7">6f227801</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T04:06:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tevent: Release tevent 0.10.0

* Remove Python 2.x support except to build just the bare C library
* Remove --extra-python (a build time mode to produce Python2 and Python3
  bindings at the same time)
* New minor version to allow Samba 4.10 to release a tevent if
  required from that branch

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/81648d576d56e924945b2214ac12ca6a40679db8">81648d57</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-03-21T05:08:49Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Release ldb 1.6.3

* Remove Python 2.x support except to build just the bare C library
* Remove --extra-python (a build time mode to produce Python2 and Python3
  bindings at the same time)

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 Mar 21 05:08:49 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/312e408cfde01ae8f5aab4c269becb119385f1bf">312e408c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-21T15:10:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Increase debug level for messaging_send_buf message

This is spamming the console when running 'make test' and we set the log
level to 1 by default in selftest.

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/883436839aeb97b68ca18ae211199faa4448b5a0">88343683</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-21T15:10:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:script: Fix running rsync in fake_snap.pl

We need to unset BASH_ENV or we get:
    Insecure $ENV{BASH_ENV} while running setgid

This probably only happens on recent perl versions.

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/52bf5c25261e343d3c1d4ea1a414ab74cf75d76c">52bf5c25</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-21T16:41:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:script: Fix running cp in modprinter.pl

We need to unset BASH_ENV or we get:
    Insecure $ENV{BASH_ENV} while running setgid

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Mar 21 16:41:33 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/dd6f0dad218ec1d5aa38ea8aa6848ec81035cb3f">dd6f0dad</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-21T16:42:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: use the str() value of the "name" attribute

We do the same with the rdn attribute value
and we need the same logic on both in order to
check they are the same.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/261ef9d5b62f0d49f858717e6d8b4b41f008efb5">261ef9d5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-21T18:15:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: fix the err_empty_attribute() check

ldb.bytes('') == '' is never True in python3,
we nee ldb.bytes('') == b'' in order to
check that on attribute has an empty value,
that seems to work for python2 and python3.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Mar 21 18:15:20 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3eee4394cb6392f779db3ba9df3a1ab28562a7f3">3eee4394</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-21T20:38:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Use a define for the SMB_SUICIDE_PACKET

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/16331870eed8281cb85d9ea09858f14ae2b29329">16331870</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-21T20:38:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Make clear that we got a suicide packet

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/9b1d79a5dd5e7caf967cf49936d2eb52175e85cf">9b1d79a5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-21T20:38:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:torture: Move the init of the locking out of the loop

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/e1ba84a5f2217a0391d1ca0678e4b36c3e17b9f3">e1ba84a5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-21T20:38:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:torture: Improve the debug message output

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/eace58b539a382c61edd7c2be6fdfab31114719f">eace58b5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-21T21:40:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:waf: Fix the detection of makdev() macro on Linux

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

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 Mar 21 21:40:20 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/55b217288b9763fe6a23ce519d4a106cc7dcf662">55b21728</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-22T14:03:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party: Update socket_wrapper to version 1.2.3

* Added environment variable to disable deep binding
* Fixed installation of socket_wrapper
* Fixed several small bugs
* Fixed missing NULL check for socket_wrapper_dir()
* Fixes building in Samba source tree

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/4a526ec470df4b983745939fe86927a9ea66778c">4a526ec4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-22T14:03:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Increase nss_wrapper max host entries handling

The logs are spammed with:
nwrap_ed_inventarize_add_new: Hash table is full (Cannot allocate memory)!

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/88804bc24c58d7da866c582ce639aa77af766b5a">88804bc2</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-03-22T14:03:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Initialize tm struct

The samba3.blackbox.shadow_copy_torture tests call to strptime passing
an uninitalized tm structure as an argument, but the strptime function
does not write the tm.tm_isdst field.

These tm structures are passed later as the mktime argument, which
produces different values depending on whether the arbitrary value
of the tm.tm_isdst field is lower or equal to zero or greather than
zero.

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-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/fc25fe80b4edbca8bc985b6d94fc4ae6563a0cff">fc25fe80</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-03-22T14:03:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Woraround uid wrapper issues when using bash shell

UID_WRAPPER_ROOT=1 is not working properly when tests run in bash shell
instead of dash. After some debugging the reason may be dash spawns a
subshell to run commands, but bash calls execve instead. Traces attached
as reference:

/bin/sh -> dash:

[2(2)/2 at 17s, 1 errors] samba.blackbox.pdbtest(nt4_dc)(nt4_dc:local)
UWRAP_DEBUG(3145) - uwrap_init: Initialize uid_wrapper
UWRAP_DEBUG(3145) - uwrap_init_env: uwrap_init_env
UWRAP_DEBUG(3145) - uwrap_init: Enabled uid_wrapper as root (real uid=1000)
UWRAP_DEBUG(3145) - uwrap_init: Successfully initialized uid_wrapper
UWRAP_DEBUG(3144) - uwrap_init: Initialize uid_wrapper
UWRAP_DEBUG(3144) - uwrap_init_env: uwrap_init_env
UWRAP_DEBUG(3144) - uwrap_init: Enabled uid_wrapper as root (real uid=1000)
UWRAP_DEBUG(3144) - uwrap_init: Successfully initialized uid_wrapper

/bin/sh -> bash:

[2(2)/2 at 17s, 1 errors] samba.blackbox.pdbtest(nt4_dc)(nt4_dc:local)
UWRAP_DEBUG(3352) - uwrap_export_ids: uwrap_export_ids
UWRAP_DEBUG(3354) - uwrap_export_ids: uwrap_export_ids
UWRAP_DEBUG(3354) - uwrap_init: Initialize uid_wrapper
UWRAP_DEBUG(3354) - uwrap_init_env: uwrap_init_env
UWRAP_DEBUG(3354) - uwrap_init_env: Initialize ruid with 1000
UWRAP_DEBUG(3354) - uwrap_init_env: Initalize euid with 1000
UWRAP_DEBUG(3354) - uwrap_init_env: Initalize suid with 1000
UWRAP_DEBUG(3354) - uwrap_init_env: Initialize ruid with 1000
UWRAP_DEBUG(3354) - uwrap_init_env: Initalize egid with 1000
UWRAP_DEBUG(3354) - uwrap_init_env: Initalize sgid with 1000
UWRAP_DEBUG(3354) - uwrap_init_env: Initalize groups with 4,24,27,30,46,108,1000
UWRAP_DEBUG(3354) - uwrap_init: Enabled uid_wrapper as user (real uid=1000)
UWRAP_DEBUG(3354) - uwrap_init: Successfully initialized uid_wrapper
UWRAP_DEBUG(3353) - uwrap_export_ids: uwrap_export_ids
UWRAP_DEBUG(3353) - uwrap_init: Initialize uid_wrapper
UWRAP_DEBUG(3353) - uwrap_init_env: uwrap_init_env
UWRAP_DEBUG(3353) - uwrap_init_env: Initialize ruid with 1000
UWRAP_DEBUG(3353) - uwrap_init_env: Initalize euid with 1000
UWRAP_DEBUG(3353) - uwrap_init_env: Initalize suid with 1000
UWRAP_DEBUG(3353) - uwrap_init_env: Initialize ruid with 1000
UWRAP_DEBUG(3353) - uwrap_init_env: Initalize egid with 1000
UWRAP_DEBUG(3353) - uwrap_init_env: Initalize sgid with 1000
UWRAP_DEBUG(3353) - uwrap_init_env: Initalize groups with 4,24,27,30,46,108,1000
UWRAP_DEBUG(3353) - uwrap_init: Enabled uid_wrapper as user (real uid=1000)
UWRAP_DEBUG(3353) - uwrap_init: Successfully initialized uid_wrapper

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-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/e23425a03c802070c84c23cc544aab0e623487de">e23425a0</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-03-22T14:03:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb: Check errno to determine if crypt or crypt_r succeeded

The behavior of these functions upon errors depends on the implementation.
The GNU libc implementation seems to return a null hash, but others like
libxcrypt returns a invalid hash string '*0'.

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-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/0063aacbb0241ea287d9fa03a0e41236fbdcbeef">0063aacb</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-03-22T14:03:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftests:password_hash: Raise SHA256 rounds to 5000

Some crypt_r implementations like libxcrypt require a higher value.

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-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/5826b31f410d314eb00909183ea2d2fd8a744bbc">5826b31f</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-03-22T14:03:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Do not include system krb5.conf in s4 test environments

If built with system MIT krb5 and dns_lookup_kdc is set to false in
system krb5.conf tests fail because KDC is not found.

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Signed-off-by: Samuel Cabrero <scabrero@suse.de>
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/63084375e3c536f22f65e7b7796d114fa8c804c9">63084375</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-22T15:03:43Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Update smbclient manpage for --max-protocol

We default to SMB3 now.

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

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): Fri Mar 22 15:03:43 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1220f69caba5d5aa4ded0cd09d8a1af4fd13bfa7">1220f69c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-22T18:02:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Simplify make_server_pipes_struct

Do an early return on 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/a6c653a978b3a14833beb3deedcf0634b8ce63fa">a6c653a9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-22T18:02:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Fix an error path memleak in make_server_pipes_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/9bebe5c7db2e3452eb8f72dcc9f6270c1823963f">9bebe5c7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-22T18:02:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Make make_server_pipes_struct API safer

Make it clear that we talloc_steal by NULLing out the caller's
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/46a3436734cf84ecb8048f69026a419132696b6d">46a34367</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-22T18:02:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Favor talloc_move over talloc_steal

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/02d884ed8a336f656482222f518e80a6c27773c3">02d884ed</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-22T18:02:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Simplify named_pipe_accept_function

Make use of named_pipe_client_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/bd51c7d3ef9d03977d672fff0b2923fb9863addf">bd51c7d3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-22T18:02:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server: Avoid casts in 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/7bea3541256a68dc4ead92780a3c2654dfc7fbee">7bea3541</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-22T18:02:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tstream_npa: Avoid an unnecessary ZERO_STRUCTP

tevent_req_create already zeros out "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/9d4bf6bb9dddfc9114eb295516f4bb4fc42edc15">9d4bf6bb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-22T18:02:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tsocket: Simplify tsocket.h

tevent.h already includes talloc.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/13b66508a0ce61cdf4c9532e263f837952480468">13b66508</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-22T18:02:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Add a required #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/7841c62ae4caeaa7bc13e7c6b8b930da7c22c97f">7841c62a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-22T19:02:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc_server3: Add a \n to a DEBUG message

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 Mar 22 19:02:32 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6c62e05466917d9454d67eb2dd77e303e612c8a9">6c62e054</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-03-26T03:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dlz: Add test to ensure there are writable zones

This is currently broken since 28e2a518ff32

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

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/526c6d0be53d97beb38f82a3619d8710fefb4091">526c6d0b</a></strong>
<div>
<span>by Michael Saxl</span>
<i>at 2019-03-26T03:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dlz make b9_has_soa check dc=@ node

the zone node does not hold the dnsRecord values, so for the zone level
the node dc=@,dc=zonename has to be queried

regression introduced with 28e2a518ff32, BUG: https://bugzilla.samba.org/show_bug.cgi?id=13466

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

Signed-off-by: Michael Saxl <mike@mwsys.mine.bz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/af3253013a5633b6cbd247d6feda0b3f5bc50b74">af325301</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2019-03-26T03:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix tests whithout lmdb

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

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0c7c44a284a26790081c000f5b8f4ed32f9f21d7">0c7c44a2</a></strong>
<div>
<span>by Michael Hanselmann</span>
<i>at 2019-03-26T03:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Split oLschema2ldif into library and binary

The oLschema2ldif program was contained in a single file, making reuse
of its parsing logic elsewhere impossible. With this change the majority
of the code is moved to a new file, "lib.c", while the CLI interface is
now in a "main.c" file.

End-of-line whitespace is also removed.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1e9b74e8e7ab8a0ffc395e183e77c6235ae8e71d">1e9b74e8</a></strong>
<div>
<span>by Michael Hanselmann</span>
<i>at 2019-03-26T03:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Remove ad2oLschema man page

ad2oLschema itself was removed in commit 17aac8cad2b in March 2009. Also
remove the last reference to the program.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9ac45960fead8723740adad4fab676b56cf95cc8">9ac45960</a></strong>
<div>
<span>by Kristján Valur</span>
<i>at 2019-03-26T03:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytalloc: Refactor the pytalloc_reference and pytalloc_steal to use a common method.

Signed-off-by: Kristján Valur <kristjan@rvx.is>
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/417a359b33a21d74cb3f45dd1958e39794a65b85">417a359b</a></strong>
<div>
<span>by Kristján Valur</span>
<i>at 2019-03-26T03:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytalloc: Further refactoring to eliminate duplicate code.

Signed-off-by: Kristján Valur <kristjan@rvx.is>
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/b272d161cb35b8860d3e013ec71081a58d2fcd0c">b272d161</a></strong>
<div>
<span>by Kristján Valur</span>
<i>at 2019-03-26T03:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytalloc: Handle memory errors when creating pytalloc objects.

Don't create superfluous exceptions.

Signed-off-by: Kristján Valur <kristjan@rvx.is>
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/0fa5a77f46fb8a5ce06b93c0064e3ae4ea64084d">0fa5a77f</a></strong>
<div>
<span>by Kristján Valur</span>
<i>at 2019-03-26T03:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytalloc: Check for errors during module initialization.

Signed-off-by: Kristján Valur <kristjan@rvx.is>
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/5c6fdb5dc741702b626099e53b5d4a01e673241e">5c6fdb5d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-26T03:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Fix cli_smb2_get_reparse_point_fnum_send

Use the correct state variable type

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/ac487bf4d04c9771ada1ca7eeb9dac4e5fe34185">ac487bf4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-26T04:43:40Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Make fd_load work for non-regular files

Follow-up to

https://lists.samba.org/archive/samba/2018-September/217992.html

and following. This also fixes a small and very theoretical race: Between the
fstat and the read call the file size might change. This would make us fail on
potentially legitimate files.

This is more complex and probably slower, but looking at the use cases I don't
think the speed matters.

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

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Mar 26 04:43:40 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f9a6992e8027c119e7cf0426b46adb301083a7a5">f9a6992e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-27T11:20:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Fix valgrind errors in cli_smb2_get_reparse_point

Both tevent_req_nterror and tevent_req_is_nterror invalidate
"state". Pull the variables out of "state" before calling those two
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/c7fae52ff09fca90e14231523fd3ec8ea6bdec55">c7fae52f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-27T11:20:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Rename "readlink_state" to "cli_posix_readlink_state"

This is more in line with most other users of tevent_req: The state is
called fully after the routines it acts as a state repository for.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3478e9d124f95344d67f1794e92658fa253b48fd">3478e9d1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-27T11:20:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Don't pass "cli" to cli_posix_readlink_recv

>From my point of view the option to change "cli" between
cli_posix_readlink_send and _recv is not 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/3e1d8ab1255f1797a1803494b6333dc7990e0795">3e1d8ab1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-03-27T12:31:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Change cli_posix_readlink to return talloc'ed target

This is a deviation from the Posix readlink function that from my
point of view makes this function easier to use. In Posix, probably
the assumption is that readlink is cheap, so someone under memory
constraints could just start with a small buffer and incrementally
increase the buffer size. For us, it's a network round-trip, and we
have the luxury of [mt]alloc, which the syscall kernel interface does
not have.

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 27 12:31:37 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a4d433aede8e08c1fec91ddb9ee7754275a13437">a4d433ae</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-27T13:31:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Restore IPs 12-16 for selftest client

The assumption that tests only used the .11 IP was wrong. The
winsreplication test tries to use multiple different IPs - CI doesn't
fail when we remove the additional IPs, but it starts to skip test
cases.

+ Update get_interfaces_config() and get_ipv4_addr() so we can add
multiple different IPs for the same host.
+ Update selftest.pl so the client gets 6 IP addresses.
+ Update comments to better reflect this dependency.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/991d32a1756e92db728abf17e12457fc9ac8c9b1">991d32a1</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-03-27T13:31:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture: Update winsreplication to only use IPv4 addresses

This test was failing now that the client had an IPv6 address, however,
the test was marked as flapping so this failure wasn't obvious.

Use iface_list_n_is_v4() to filter out only the IPv4 addresses, as
that's all the test cares about.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ffad76ae260ac33926db87c61aede5b66d9b09e6">ffad76ae</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-27T13:31:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Add 'smbstatus -L --resolve-uids' to show usernames

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

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/6106b8a053e06699c332fd1a6d7636f550422cc7">6106b8a0</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-27T13:31:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add smbstatus to testhelper

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

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/2e7f4b1d3701b9da32e03dcee1095711945f22b8">2e7f4b1d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-03-27T14:33:35Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:tests: Add test for smbstatus and smbstatus --resolve_uids

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

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 27 14:33:35 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c68d9c9ef367c1e85619ac2d027a0a425164ca8a">c68d9c9e</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-03-27T18:21:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_snapper: drop unneeded fstat handler

fstat is handle based, and unlike vfs_shadow_copy2, we don't need to
make any changes to the returned sbuf, so remove the existing handler
which does nothing.

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

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): Wed Mar 27 18:21:38 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c2761b00570b0b1753dd226859a8534db1221c7c">c2761b00</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli/raw: don't schedule idle handlers on a dead connection

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/8dea0718f20f41031bc09851f07b09dcacf437c3">8dea0718</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli/smb2: don't schedule idle handlers on a dead connection

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/7a091aa982a662f804dc41fccbeda501f370347a">7a091aa9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/raw: test_notify_tcp_dis trigger idle event every 0.25s

This is 1000 times longer than before and is less likely to
change the timing behavior when running under valgrind.

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/6171a7fffd3268990c28d61cd48f2aacef428573">6171a7ff</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: test_notify_tcp_dis trigger idle event every 0.25s

This is 1000 times longer than before and is less likely to
change the timing behavior when running under valgrind.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
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/7dbd8e441f74e839cfbf32ed3ac61958195761d3">7dbd8e44</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smb2_write: add missing initialization of state->in_offset

This is just used in DEBUG messages, but still confusing.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
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/4c6156eddd1ce38ef7c23b0eab300da9badf3f4e">4c6156ed</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: fix SAFE_FREE() vs. TALLOC_FREE() in list_sessions()

It's very unlikely that sessionid_traverse_read() fails,
but we should not segfault.

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/1d9348575914891dbb5638bc9b8d51eda98fe554">1d934857</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: handle IO_REPARSE_TAG_DFS in SMB_FIND_FILE_FULL_DIRECTORY_INFO

This completes commit 74829fecd7a4e806ee441cd75141bede2eefef1a,
which missed SMB_FIND_FILE_FULL_DIRECTORY_INFO

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

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/827dd0145b78dcd01189f0608938b6a5d6f6fe12">827dd014</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_ioctl_network_fs: remove unused fsctl_srv_copychunk_state->aapl_copyfile

This is not used since commit 74e018f476608429caa1c3594102485ccc17afce.

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/4760b85243f335bb2094fc779802ce4b52db0ccb">4760b852</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_server: allow smbd_smb2_request_pending_queue(0) to avoid STATUS_PENDING

This has the same meaning as smb2_request_set_async_internal(),
but this will simplifies callers.

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

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/23792449694b5221f6ea422166c96fac494e3e2c">23792449</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_sesssetup: avoid STATUS_PENDING responses for session setup

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12845
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13698
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13796

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/8a11da429bd3c89766f43c2bff681837a769987c">8a11da42</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:35Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_tcon: avoid STATUS_PENDING responses for tree connect

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

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/d64038425f250e253dce707d69899c7a5d8cb32e">d6403842</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:35Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_sesssetup: avoid STATUS_PENDING completely on session logoff

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

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/1dc002548336b969979c3bf85b531c059d87f015">1dc00254</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:35Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_tcon: avoid STATUS_PENDING completely on tdis

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

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/2abf9e9a95cbdf76109b3501dee3e0c34ad09194">2abf9e9a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:35Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: fix DEBUG messages in vfswrap_offload_write_*_done()

SMB_VFS_{PREAD,PWRITE}_RECV() don't set errno, so we need to
use strerror(aio_state.error) in the debug messages.

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

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/4d6cd932a955a99ca33cc4aedd7f612e56e0b1de">4d6cd932</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:35Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: fix vfswrap_offload_write_send() NT_STATUS_INVALID_VIEW_SIZE check

This fixes a regression introduced in commit
60e45a2d25401eaf9a15a86d19114670ccfde259, where the 'num' variable
was renamed to 'to_copy', but a new 'num' variable was introduced.

Note that off_t is signed!
In future we need to watch out for filesystems supporting
FMODE_UNSIGNED_OFFSET on Linux. Which means they use it unsigned.

This is more or less a theoretical problem, The
NT_STATUS_INVALID_PARAMETER cases are catched before by
SMB_VFS_PREAD_SEND/RECV.

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

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/829f692fb1552e56c6a9726036a995b4328731dd">829f692f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smb2_server: grant all 8192 credits to clients

This seems to match Windows Server 2016.

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

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/ee2574ae5675ef0ea9b14c13677acf6c003497e0">ee2574ae</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli/smb2: fix smb2_getinfo_send() marshalling

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

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/c88c2bf3b54a0faf8a77daf9b8827c101db9be95">c88c2bf3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli/smb2: calculate the correct credit charge in smb2_getinfo_send()

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

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/97b4e6e220dc3f0b9d7c3f50ef3b867ff2f0b755">97b4e6e2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli/smb2: align struct smb_ioctl.smb2 to [MS-SMB2] names

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

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/5a07c2948146c23d6a907fcd6ce63f67f36a5ded">5a07c294</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli/smb2: calculate the correct credit charge in smb2_ioctl_send()

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

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/e6fa76b651de6a3046ca9c44926343a5225772d6">e6fa76b6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli/smb2: calculate the correct credit charge in smb2_notify_send()

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

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/4ffb517ffd9cee0ad433e3f58f659f8445fa2166">4ffb517f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add smb2_create_simple_file() and torture_setup_simple_file()

Instead of the *_complex_file() versions these don't use EA's nor
complex timestamps.

A lot of tests currently using *_complex_file() only fail because
smbd doesn't implement the correct 'change_time' update behavior.
That should not be the reason why all smb2 related tests fail.

Timestamps should be tested in dedicated tests.

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

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/d6fce7c0cb126e4ac79bceda77a50c4d65c093fd">d6fce7c0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2/notify: make use of torture_setup_simple_file() in test_valid_request()

There's no reason to use torture_setup_complex_file(), when we want to
test notify code. The test pass fine against Samba this way and don't
fail because of unrelated timestamp behavior.

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

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/12fb3ec1dd886c15977ae9eb0b2b25f2017db10d">12fb3ec1</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-28T23:09:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: replace torture:cn_max_buffer_size option with the negotiated max trans size

Both:

 smbtorture //w2012r2-188/torture -Ua%b smb2.notify.valid-req --smb-ports=139

and:

 smbtorture //w2012r2-188/torture -Ua%b smb2.notify.valid-req --smb-ports=445

work against Windows 2008R2, 2012R2 and 2016 now and it reflects what
we have implemented in Samba.

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

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/11f2583420310e0278188935f31be3131eb85fd4">11f25834</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-03-29T00:35:39Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: fix max_buffer handling of initial notify requests

The max_buffer value is only evaluated on the first notify
request on a directory handle.

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

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): Fri Mar 29 00:35:39 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7f1b6455fdc1d7767bdfd3dc81851abb682cc087">7f1b6455</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-03-29T17:29:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">paged_search: perf testing paged search

Adding medley performance run with paged search module.

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

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/24efa3ca5399d5cf538c3be504014a954685f1ed">24efa3ca</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-03-29T17:29:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: cmocka test for empty attributes bug

Cmocka test exposing LDB bug where a request with an empty attributes
list returns a response containing all attributes.  The bug is in the
ACL module and will be fixed in the next commit.

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

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a2b1970a37836e46d6c9eb6bda9bd20185de96ce">a2b1970a</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-03-29T18:37:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">acl_read: Fix regression caused by db15fcfa899e1fe4d6994f68ceb299921b8aa6f1 for empty lists

The original code never dereferenced attrs and only added "*" if attrs
was NULL (not if attrs[0] was NULL).

This causes significant performance issues with the new paged_results
module introduced for 4.10 as the initial GUID search requests no
attributes. This GUID search turns into a search for "*" and ends up
allocating memory for the entire database.

This never appears to cause changes in the final result set, only
intermediate processing.

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

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Mar 29 18:37:29 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ed0060d3f2f86837efd5afee6e0b68884765c3c3">ed0060d3</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-03-30T22:21:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: use test smb.conf in provision

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/53afa138bbef7a4a2eb9e2b6d183aadde94c132b">53afa138</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-03-30T22:21:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: fix some typos

All command descriptions have a dot '.' at the end.
The ou and visualize command need this too.

  ...
  group       - Group management.
  ldapcmp     - Compare two ldap databases.
  ntacl       - NT ACLs manipulation.
  ou          - Organizational Units (OU) management
  ...
  user        - User management.
  visualize   - Produces graphical representations of Samba network state

Signed-off-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/5131fc5cb95ccf39433e51fc8acca92f82a2aad7">5131fc5c</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-03-30T22:21:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: add missing samba-tool user edit documentation

Signed-off-by: Björn Baumbach <bbaumbach@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/f8d3180d8e297577806b51c41e17fff41a8e30a9">f8d3180d</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-03-30T22:21:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: fix typos in samba-tool documentation

Signed-off-by: Björn Baumbach <bbaumbach@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/14070f8d8f3f82dfa259cd7c2f84e867f78bf665">14070f8d</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-03-30T22:21:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: add missing "samba-tool computer" entry

Signed-off-by: Björn Baumbach <bbaumbach@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/f9ee6b67e0c1007cb831720f09915babdb4adbf2">f9ee6b67</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-03-30T23:33:39Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: add missing "samba-tool ou" entry

Signed-off-by: Björn Baumbach <bbaumbach@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Sat Mar 30 23:33:39 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/865b7b0c7d2ba7fa0a045586d1e83a72028a0864">865b7b0c</a></strong>
<div>
<span>by Philipp Gesang</span>
<i>at 2019-03-31T01:11:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: permit larger values of DataLength in SMB2_ENCRYPTION_CAPABILITIES of negotiate response

Certain Netapp versions are sending SMB2_ENCRYPTION_CAPABILITIES
structures containing DataLength field that includes the padding
[0]. Microsoft has since clarified that only values smaller than
the size are considered invalid [1].

While parsing the NegotiateContext it is ensured that DataLength
does not exceed the message bounds. Also, the value is not
actually used anywhere outside the validation. Thus values
greater than the actual data size are safe to use. This patch
makes Samba fail only on values that are too small for the (fixed
size) payload.

[0] https://lists.samba.org/archive/samba/2019-February/221139.html
[1] https://lists.samba.org/archive/cifs-protocol/2019-March/003210.html

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

Signed-off-by: Philipp Gesang <philipp.gesang@intra2net.com>
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): Sun Mar 31 01:11:09 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d7e187c1a7046196ec96637bdc14cc6b042eafcc">d7e187c1</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-31T10:45:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Reindent some functions prior to making changes

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9981353ab79dce81b698c535977be4a681119d1e">9981353a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-31T10:45:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Rename variable nfslock_service to nfs_lock_service

There will be more of these variable for other services so, for
readability, it makes sense for them to start with "nfs_".

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e72c3c800a50fe746164e319e21180c44d041619">e72c3c80</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-31T10:45:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Add test variable CTDB_NFS_DISTRO_STYLE

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8de0a339b550e7363d265af04ad69f2179af75c6">8de0a339</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-31T10:45:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Factor out nfs_load_config()

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/42103b568698d8087d27f0848b402ccb7cfac86b">42103b56</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-31T10:45:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Stop/start mount/rquotad/status via NFS call-out

When an NFS check restarts a failed service by hand then systemd will
be unable to stop or start this service again because (at least) the
PID file will be wrong.  Do this via the NFS Linux kernel call-out
instead.  Allow the call-out to use the services instead of doing
manual restarts.  Add variables for mount, status and rquotad services
to support this.

Adding systemd NFS services to the call-out will follow.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/708c04071af8d6ddc3bf2bddbde4d5847f440c0e">708c0407</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-31T10:45:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Start NFS quota service if defined

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a8fafd377ff0cb07ab161e437c5fe024704345eb">a8fafd37</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-31T10:45:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Add systemd services to NFS call-out

At least Red Hat and Debian appear to use (a variant of?) the upstream
systemd units for NFS, so adding support for these services is
relatively easy.  Distributions using Sys-V init can patch the
call-out to use the relevant Sys-V init services.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2833ddcfcb780497264e0f412a9ad6e26a9bc657">2833ddcf</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-31T10:45:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Update NFS test infrastructure to support systemd services

The tests are written around the default of sysvinit-redhat.  Add
support for systemd-redhat.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/95283bdf2e9ceff2e35af494c79345cfe25c2cf8">95283bdf</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-31T10:45:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Default to using systemd services in NFS call-out

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0d67ea5fcca766734ecc73ad6b0139f7c13a15c5">0d67ea5f</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-31T10:45:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Allow load_system_config() to take multiple alternatives

The situation for NFS config has got more complicated and is probably
broken in statd-callout on Debian-like systems at the moment.  Allow
several alternative configuration names to be tried.  Stop after the
first that is found and loaded.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a2bd4085896804ee2da811e17f18c78a5bf4e658">a2bd4085</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-31T10:45:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Update statd-callout to try several configuration files

The alternative seems to be to try something via CTDB_NFS_CALLOUT.
That would be complicated and seems like overkill for something this
simple.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f1a1c300e192d43f5c9faf9450ffbf16341a2661">f1a1c300</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-03-31T11:47:44Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Do not "correct" number of nfsd threads when it is 0

While 0 may indicate that all threads have exited after being stuck,
it may also indicate that nfsd should not be running due to being shut
down.

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

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

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Sun Mar 31 11:47:44 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/aac203907f1be6e58c1ff2dc7c55f602e755ddd3">aac20390</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-01T17:58:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Rename InfoType from [MS-SMB2] according to the spec

This makes it easier to find this via internet search

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c05ff617ccb38ef07d31a5840d93c804faf4faa9">c05ff617</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-01T17:58:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make "struct smb2_lock_element" generally usable

This struct will be of interest when we add locking capabilities to
libcli/smb/smb2cli*

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0876712ce8f40735a45c4bea7653d7b5beb2ddda">0876712c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-01T19:00:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make cli_posix_chown/chmod proper tevent_req functions

This prepares for making them smb2-aware

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  1 19:00:11 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/40669e3739eb5cde135c371e2c8134d3f11a16a5">40669e37</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-02T01:12:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Print more information when LDAP fails

Currently we just get an error but don't know what exactly we tried to
do in 'net ads join -d10'.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/011a47f04dabe22095a30d284662d8ca50463ee8">011a47f0</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-02T01:12:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Add some useful debug output to cliconnect

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3a33c360071bb7cada58f1f71ccd8949fda70662">3a33c360</a></strong>
<div>
<span>by Guenther Deschner</span>
<i>at 2019-04-02T01:12:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libnet: Fix debug message in libnet_DomainJoin()

A newline is missing but also use DBG_INFO macro and cleanup spelling.

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9e92654899db3c951bee0203415a15737402e7b7">9e926548</a></strong>
<div>
<span>by Guenther Deschner</span>
<i>at 2019-04-02T01:12:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:ntlmssp: Add back CRAP ndr debug output

This got lost somehow during refactoring. This is still viable
information when trying to figure out what is going wrong when
authenticating a user over NTLMSSP.

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

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5c7f0a6902cfdd698e5f4159d37537bb4c9c1cc3">5c7f0a69</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-02T01:12:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Prefer the principal over DOMAIN/username when using NTLM

If we want to authenticate using -Wadmin@otherdomain the DC should do
take care of the authentication with the right DC for us.

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

Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b7f0c64514a28cfb5d2cdee683c18943b97ea753">b7f0c645</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-02T01:12:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libnet: Use more secure name for the JOIN krb5.conf

Currently we create krb5.conf..JOIN, use krb5.conf._JOIN_ instead.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c016afc832543514ebf7ecda1fbe6b272ea533d6">c016afc8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-02T01:12:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libads: Make sure we can lookup KDCs which are not configured

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

Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2044ca0e20bd3180720a82506b3af041d14b5c68">2044ca0e</a></strong>
<div>
<span>by Guenther Deschner</span>
<i>at 2019-04-02T01:12:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:ldap: Leave add machine code early for pre-existing accounts

This avoids numerous LDAP constraint violation errors when we try to
re-precreate an already existing machine account.

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

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: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/720396f0fb499d587062d7b2ce7c3a62ee3b6dd3">720396f0</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2019-04-02T01:12:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Spelling fix s/informations/information/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6064543d64e1694f44d583a69a6ee105a3c1c922">6064543d</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2019-04-02T01:12:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Spelling fixes s/overrided/overridden/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/882d8a5bf416b6574daa8dafa145740fa6b10d6d">882d8a5b</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2019-04-02T01:12:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Spelling fixes s/conficts/conflicts/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/959a4837b54a4c504930fecaa0648ae4e586577b">959a4837</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2019-04-02T01:12:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Spelling fixes s/verson/version/

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/92c726dc7a83834ee0e49d83e676b02f7687f5cd">92c726dc</a></strong>
<div>
<span>by Kristján Valur</span>
<i>at 2019-04-02T02:12:48Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">make some auth functions return an NTSTATUS like other similar functions for better diagnostics.

Signed-off-by: Kristján Valur <kristjan@rvx.is>
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): Tue Apr  2 02:12:48 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9314bd0b25c397deec6e431c7f64be9e5c00d02b">9314bd0b</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-04-02T16:09:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba_dnsupdate: small tweaks to make code more pythonic

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/47278bfaa6dec543be49c0d66a2418928356a4a3">47278bfa</a></strong>
<div>
<span>by Michael Hanselmann</span>
<i>at 2019-04-02T17:28:40Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: Simplify condition for undefined symbol detection

There's no need to check for OpenBSD twice.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Tue Apr  2 17:28:40 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3378a561efcf2b60843dd71dd4ddba9470611553">3378a561</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-04-03T00:13:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server: add missing newline to error debug message

Signed-off-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): Wed Apr  3 00:13:10 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ea3b4d6abc60863bff14fe676611569e1f6f8baa">ea3b4d6a</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-04-03T01:40:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">prefork tests: disable restart tests MIT

The prefork restart tests use the kdc to test restart back off.  These
tests need to use a process that has not been restarted to ensure that
the process restart counters are sitting at 0 when the tests start.

As MIT kerberos is experimental the heimdal builds will still ensure
that this functionality is tested.

At some stage the echo server should be converted to run in pre-fork and
this process can then be used to test the restart backoff.

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>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4ae2fb2e7403191296f7c74f3098fbe121f0796a">4ae2fb2e</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2019-04-03T01:40:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Relax GPGME version check

The current method require at least the same version as during the build. This is not needed.

Used symbols indicate the minimum is 1.2.0

Bug-Debian: http://bugs.debian.org/886333

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

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>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/29d7c80ee4d78e1dbdd506770a9cb7b34afa0ed0">29d7c80e</a></strong>
<div>
<span>by Michael Hanselmann</span>
<i>at 2019-04-03T02:43:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">oLschema2ldif: Resolve multiple parsing bugs

The "oLschema2ldif" program contained multiple bugs triggered by
malformed inputs:

* Iteration beyond list of recognized dsdb syntax OIDs when value wasn't
  found (bug 9567)
* NULL pointer dereference when input didn't define a name
* Heap buffer overflows for unterminated token values

Tests are added to reproduce all identified bugs.

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

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

Then adapted to use ARRAY_SIZE() consistently as suggested by
metze.

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Apr  3 02:43:07 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b7f7e5a37b0b0196e07a2829486f56ce32acdeff">b7f7e5a3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-03T06:48:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Add support to keep talloc chunks secret

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c4baf2f6857718ea0d94b4134e8c12f0737a9e23">c4baf2f6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-03T06:48:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Add test for talloc_keep_secret()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c7f403d373016374fc96b7fa113f4723a41788a0">c7f403d3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-03T07:50:03Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Include talloc_keep_secret.h in samba_util.h

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Apr  3 07:50:03 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d01c5bc9fbe316d2358ead6382f4e7e3bf5fc000">d01c5bc9</a></strong>
<div>
<span>by Philipp Gesang</span>
<i>at 2019-04-03T10:11:49Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision: use ASCII quotes

Remove some Unicode quotes that cause problems under the C
locale.

Signed-off-by: Philipp Gesang <philipp.gesang@intra2net.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7a413a6dab3b0ffe4ea210adfd79d93d1b62215c">7a413a6d</a></strong>
<div>
<span>by Philipp Gesang</span>
<i>at 2019-04-03T11:33:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/samba: ignore encoding errors while reading files

Provisioning fails on C locale due to the Unicode quotes in ldif
data. Patch read_and_sub_file() to read the files as UTF-8.

Signed-off-by: Philipp Gesang <philipp.gesang@intra2net.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Wed Apr  3 11:33:38 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2a926231ab9582a4e0cc778032f2c8575f754a9e">2a926231</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-03T16:55:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc: Don't crash if npa_accept fails

We can only rely on session_info_transport to be filled correctly upon
success of the accept_existing_recv 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/a0f03be77fc9086f33c5605cd3ea23a064988d45">a0f03be7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-03T16:55:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth: Add necessary decoration to auth/auth_util.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/a80ea6bf4fede6de044f15c608ebb3852defff01">a80ea6bf</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-03T17:53:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc: 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 Apr  3 17:53:30 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ea29aa27cbac4253ee1701fed99a3e0811f7475d">ea29aa27</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-04-03T17:54:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: always pass down admin domain to ads layer

Otherwise we could loose the information that a non-default domain name
has been used for admin creds.

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

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/68121f46c74df9cef7a377040d01ba75cdcf5a26">68121f46</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-04-03T17:54:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: setup libnet join error string when AD connect fails

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

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/377d27359ccdb8f2680fda36ca388f44456590e5">377d2735</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-04-03T18:57:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-libnet_join: allow fallback to NTLMSSP auth in libnet_join

When a non-DNS and non-default admin domain is provided during the join
sometimes we might not be able to kinit with 'user@SHORTDOMAINNAME'
(e.g. when the winbind krb5 locator is not installed). In that case lets
fallback to NTLMSSP, like we do in winbind.

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

Guenther

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

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Apr  3 18:57:31 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5ba049b599b5be2de1eabe548f1b770a5e89acdd">5ba049b5</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-04-04T06:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">flapping tests: Add samba3.smb2.notify

Add samba3.smb2.notify until Metze gets time to follow it up.

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/267cc71f5d55f0c45cde8e60ac1529f6a39d776f">267cc71f</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-04-04T06:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb key_value: Remove index cache lazy initialisation

Remove the lazy initialisation of the index cache. This make setting
the size of the cache for re-indexing easier, which will be done in
later commits.

Performance testing shows that the removal of lazy initialisation makes
no appreciable difference to performance.

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/8f7bf13b96841b38cdc60765a5465be940e1477b">8f7bf13b</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-04-04T06:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb key_value: Pass index cache size

Pass the index cache size to ldb_kv_index_transaction_start.  This will
allow it to be set for reindex and join operations, where the current
defaults result in a significant performance penalty on large databases.

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/6129a05ca0cc39a8043d58f793c4ec92e4c40182">6129a05c</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-04-04T06:40:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb key_value: Add get_size method

Add the get_size method to the ldb_key_value layer, this will allow the
reindexing code to get an estimate of the number of records in the
database.

The lmdb backend returns an accurate count of the number of records in
the database withe the mdb_env_stat call.

The tdb backend does not provide a low cost method to determine the
number of records on the database.  It does provide a tdb_summary call
however this this walks the entire database.

So for tdb we use the map size divided by 500, this over estimates the counts
for small domains, but the extra memory allocated for the cache should
not be significant.

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/0952f98e41558acdd2b9732a28f9469b2be4c757">0952f98e</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-04-04T06:40:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb key_value: set the cache size for re-indexing

Set the index cache size to the number of records in the databse when
reindexing.

This significantly improves reindex performance.  For a domain with
100,000 users the reindex times are reduced from 17 minutes to 45
seconds.

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/69408654b7656189de0c37b0994c668a14e518a3">69408654</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-04-04T06:40:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb key_value: Set index cache size on open

Set the default index cache from the passed option
"transaction_index_cache_size" on open.  This allows the default cache
size to be overridden when processing large transactions i.e. joining a
large domain.

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/00874b614449b094300a4e249ead22618031b1d8">00874b61</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-04-04T07:45:03Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python join: Set index transaction cache size.

The default value is too small for joining a large domain.  So we specify a
size of 200,000 which is suitable for domains with up to 100,000 users.

At a later date this could be added as a parameter to the join, but
200,000 should be suitable for now.

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 Apr  4 07:45:03 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b4d4778dd2c5831204fb484a6c6872ab3cbebf01">b4d4778d</a></strong>
<div>
<span>by Ralph Wuerthner</span>
<i>at 2019-04-04T22:39:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-messages: modify msg_pool_usage() to allow enhanced memory reports

Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Reviewed-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/15afc4fb18f937bf4f7008b161a29256cd8660ea">15afc4fb</a></strong>
<div>
<span>by Ralph Wuerthner</span>
<i>at 2019-04-04T23:39:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-messages: add mallinfo() information to pool-usage report

Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>

Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Thu Apr  4 23:39:25 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/05c358759ca86a585c98edec4b80ee6589525a28">05c35875</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-05T00:00:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc: Add tstream_u32_read

In npa_tstream.c we have two next_vector functions reading a big
endian uin32_t length and then the blob described by the length. This
factors that next_vector out into a central routine.

Why? I'll add another NPA protocol in the future, and this would add
yet another two copies of that next_vector 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/60e31c5556d6c409ff31a68444bebfb77f4a1869">60e31c55</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-05T01:00:48Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc: Convert npa_tstream.c to use tstream_u32_read_send

This avoids a bit of code duplication. Overall the last two commits
add a few lines, but that also contains the header file and another GPL
header for tstream_u32_read.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): Fri Apr  5 01:00:48 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7545eff148befb753cf55530a03945b27dbf8727">7545eff1</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-04-05T04:41:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">perf-tests: rename paged search test for regex disambiguation

We like to use "TESTS=medley" for the old ad_dc_medley.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c078ea782873970e2d355ef055c0678d5a54873a">c078ea78</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-04-05T04:41:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">spell "recursive"

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/927a5e3c9db28258433da29d4d5c6f17c3e19448">927a5e3c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-04-05T04:41:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb mods/extended_dn_store: used the ldb we already have

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/c5f7b07ad28e18f48badf22df55f0411ebc86ddc">c5f7b07a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-04-05T04:41:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/modules: minor comment typos in samba_dsdb

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/dad98d0334d9363c0f4ef5804a0f82eb7f5400ef">dad98d03</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-04-05T04:41:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: attempt authenticated email if environment suggests 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/2da9d7d130cce12f3da9df60d250345ba2eaa455">2da9d7d1</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-04-05T05:46:55Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_kv_search: avoid handling uninitialised dn

If ldb_kv_filter_attrs() fails, we don't know that the dn of filtered_msg
is OK.

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 Apr  5 05:46:55 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d247a600845fdc6bf232496e8db56cd1d95a3022">d247a600</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-04-05T07:01:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Add test for setting min/maxPwdAge

Currently setting maxPwdAge doesn't work at all.

While we're adding a test, we might as well assert that minPwdAge
can't be greater than maxPwdAge as well.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b43f997f2397771b159c49526a36bd2b3467b0ef">b43f997f</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-04-05T07:01:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Use python constant for -0x8000000000000000

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/940306a24a8d14fbb8c76c5a60b3d5f2773873a0">940306a2</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-04-05T07:01:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Add some timestamp conversion helper functions

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7a410ccb5f6f2958d56fa6f16d8780c69a3830dd">7a410ccb</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-04-05T08:03:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Fix passwordsettings --max-pwd-age command

The min_pwd_age and max_pwd_age parameters are both optional and default
to None. However, if we just set the max-pwd-age, then the check
'min_pwd_age >= max_pwd_age' will throw a Python exception because it's
trying to compare an int to NoneType (min_pwd_age). This works on Python 2
but is a problem on Python 3.

We could just add a check that min_pwd_age is not None, but that defeats
the point of having the check if you're only setting either the min or
max age indepedently.

This patch gets the current min/max password age from the DB (in ticks).
If either setting is changed, the ticks will be updated. Then at the end
we check the min is still less than the max (to do this, we convert the
ticks back to days in the interests of readability).

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Apr  5 08:03:08 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7c44f2f76eefb9156cb1d170c92b4ff07dd6a3d5">7c44f2f7</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-06T05:12:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">memcache: Introduce struct for storing talloc pointer

This allows extending the additional data stored for talloced objects
later.

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

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/a04ca6f3438595ba7e1a110877f53d1cac0f0402">a04ca6f3</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-06T05:12:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">memcache: Properly track the size of talloc objects

With memcache_add_talloc, the talloc object becomes part of the pool and
the memcache_element stores a pointer to the talloc object. The
size of the the talloc object was not used when tracking the used space,
allowing the cache to grow larger than defined in the memcache_init
call.

Fix this by adding the size of the talloc object to the used space.

Also record the initial size of the talloc object for proper adjustment
of the used space in the cache later. This is in case the size of the
talloc object is modified while being owned by the cache (e.g.
allocating talloc child objects). This should never happen, but better
be safe than ending up with a broken cache usage counter.

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

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/9ff5c0bab76c5d3d7bea1fcb79861d0c9a3b9839">9ff5c0ba</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-06T05:12:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">memcache: Increase size of default memcache to 512k

With the fixed accounting of talloc objects, the default cache size
needs to increase. The exact increase required depends on the workloads,
going form 256k to 512k seems like a reasonable guess.

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

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/b7028c42462c34cf86cb949bfdb16ebc7ed0a6c6">b7028c42</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-06T06:08:42Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Add test for talloc size accounting in memcache

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

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): Sat Apr  6 06:08:42 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bb1e32297efb8a24cfce945c2e474fb16e1bbea7">bb1e3229</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-06T10:47:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Slightly simplify ctdb_ltdb_lock_fetch_requeue

Reduce indentation with an early return

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/43cacaad5715d481327064b0602c93f93954561d">43cacaad</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-06T11:51:55Z</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: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Sat Apr  6 11:51:55 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fc2e521a5e34988547de27a024a180b83d6504ee">fc2e521a</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-04-08T02:07:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libnet vampire: NULL access bug fix

NULL pointer access bug fix

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e4ea408f52eeb958f646dfa4ef304357a080bdd1">e4ea408f</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-04-08T02:07:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lmdb: iterate_range implementation

Adding iterate_range to LDB API and implementing in LMDB.  This
operation takes a start_key and end_key and returns all records between
the two, inclusive of both.  This will be used to implementing indexing
for <= and >= expressions.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1b5df44331434256228070df35217c837a8cd838">1b5df443</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-04-08T02:07:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lmdb: iterate_range cmocka testing

Cmocka testing for LMDB iterate_range operation added in previous commit.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9b3021b8d6b963c5023cc16b9f764707fdbcafbc">9b3021b8</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-04-08T02:07:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: <= and >= indexed searching

Full implementation of <= and >= indexed searching using iterate_range
backend operation.  Adds index_format_fn to ldb_schema_syntax so
requires an ABI version bump.  The function must be provided for any
type for which <= and >= indexing is required, and must return a
lexicographically ordered canonicalization of a value.  This causes
index entries to be written in correct order to the database, so
iterate_range on the index DNs can be used.

ldb_kv_index_key is modified to return an index DN with attribute name
but without value if an empty value is provided.  This is needed for
constructing keys that match the beginning or end of an index DN range.

Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a894515229f1edc3f07ea08faafdbfba16cf32ff">a8945152</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-04-08T02:07:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_kv_index: Make the edge keys slightly cleaner and generic

It makes no difference in our standard case because \0 will always go
before any value for our index_format_fn, but this is better for
correctness (in case we do mess up our NUL terminations elsewhere).

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f775606516015715379dd76fa545da7c02c65e45">f7756065</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-04-08T02:07:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_kv_index: Add a giant comment in regards to index_format_fn

The reason we needed it in the first place was that the original
canonicalize is being used for non-index functions and it never produced
the right order originally (at least for integers).

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c9b2a37268e793f2d8a8e3a6a340d2bc869f3f0e">c9b2a372</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-04-08T02:07:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: activating <= and >= indexing for integers

Activating <= and >= mdb indexing in samba for int32 and int64 attributes by:
1. Adding index_format_fn to LDB_SYNTAX_SAMBA_INT32 in ldb_samba
2. Cloning the 64bit LDB_SYNTAX_INTEGER type as LDB_SYNTAX_ORDERED_INTEGER
3. Adding index_format_fn to the new type
4. Modifying LargeInteger use the new type in samba schema
5. Bumping the index version to trigger reindexing

Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/db584d50817b6d0dc186c0b00de47e4c2b6681cf">db584d50</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-04-08T02:07:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">schema_syntax: Add comments for our index format functions

We had to devise our own scheme for writing integers in a human readable
format which also sorted correctly numerically. This might look a bit
confusing to outsiders, so here's a large comment as a peace offering.

Pair-programmed-with: Tim Beale <timbeale@catalyst.net.nz>

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6062d7241deb931c35700dd0449ac7e34e1d5b2a">6062d724</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-04-08T02:07:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Add ORDERED_INTEGER to the proto-schema handling

Adding ordered integer proto schema handling in kv index cache.  This
allows ordered 64 bit integers to be used in cached fields like
@ATTRIBUTES

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/18438c8af2fb64ea3580cee92b4744a759a0ded8">18438c8a</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-04-08T02:07:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: tests for <= and >= integer indexing

Testing max, min and negative values for indexed 32 and 64 bit types.
This has to be done in two different files because the 64 bit type is
LDB_SYNTAX_INTEGER which is implemented at the ldb level, while the 32
bit is added in the ldb-samba module.  Schema syntax binding added for
ldb-samba.

We also need to make sure that full scans are not invoked for LMDB.

Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2e05fd785a3b7355abb6fea3003f244a0a958581">2e05fd78</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-04-08T02:07:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: tests for <= and >= integer indexing with duplicates

We need to make sure that duplicates are correctly returned (uSNChanged
for instance is UNIQUE but, we should be able to index on attributes
which are not unique).

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9d0b00362398f5a14e735dc79a002c344b47fe8c">9d0b0036</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-04-08T02:07:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_mdb: Add some warnings about poorly constructed callbacks

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/15d1ecdca6a4fbceddefd7ef4b8a9b912c067207">15d1ecdc</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-04-08T02:07:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: version 2.0.0

* Version bump for adding index_format_fn to the schema syntax structure.
* Range index support added, allowing <= and >= operations to be indexed
* Improved reindex performance by setting the in-memory TDB hash size correctly

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/21d501bfa8f66d98d2b5dfd3ffa2a9dd07af5dbd">21d501bf</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-04-08T03:09:42Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Correct name of flapping smb2.notify test

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Apr  8 03:09:42 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6048103751afa33f1951539ce36224a03b276604">60481037</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-04-08T10:27:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-3870 tests: Extend smbd tests to check for umask being overwritten

The smbd changes the umask - if the code fails to restore the umask to
what it was, then this is very bad. Add an extra check to every
smbd-related test that the umask at the end of the test is the same as
what it was at the beginning (i.e. if the smbd code changed the umask
then it correctly restored the value afterwards).

As the selftest sets the umask for all tests to zero, it makes it hard
to detect this problem, so the test setUp() needs to set it to something
else first.

This extra checking is added to the setUp()/tearDown() so that it
applies to all test-cases. However, any failure that occur with this
approach will not be able to be known-failed.

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

Signed-off-by: Tim Beale <timbeale@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/0c8ad9c9dbeac1ad0ca3553a19d7bbf652bb650d">0c8ad9c9</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-04-08T10:27:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-3870 tests: Add test to check file-permissions are correct after provision

This provisions a new DC and checks there are no world-writable
files in the new DC's private directory.

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

Signed-off-by: Tim Beale <timbeale@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/d7580706e9ac75187ba5d926fd0e37a468a6da86">d7580706</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-04-08T10:27:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-3870 pysmbd: Include tests to show the outside umask has no impact

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

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/1899e16e6f552d0ab504d19f74aa5c42ab84504a">1899e16e</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-04-08T10:27:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-3870 pysmbd: Move umask manipuations as close as possible to users

Umask manipulation was added to pysmbd with e146fe5ef96c1522175a8e81db15d1e8879e5652 in 2012
and init_files_struct was split out in 747c3f1fb379bb68cc7479501b85741493c05812 in 2018 for
Samba 4.9. (It was added to assist the smbd.create_file() routine used in the backup and
restore tools, which needed to write files with full metadata).

This in turn avoids leaving init_files_struct() without resetting the umask to
the original, saved, value.

Per umask(2) this is required before open() and mkdir() system calls (along
side other file-like things such as those for Unix domain socks and FIFOs etc).

Therefore for safety and clarify the additional 'belt and braces' umask
manipuations elsewhere are removed.

mkdir() will be protected by a umask() bracket, for correctness, in the next patch.

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

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/17b3d2ebffd2775a3f7f5cdbe4330855f2e1b356">17b3d2eb</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-04-08T10:27:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-3870 pysmbd: Ensure a zero umask is set for smbd.mkdir()

mkdir() is the other call that requires a umask of 0 in Samba.

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

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/c79f719a840dfa5e9682462ea58c8f48ca0012e5">c79f719a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-04-08T10:27:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-3880 s3: rpc: winreg: Remove implementations of SaveKey/RestoreKey.

The were not using VFS backend calls and could only work
locally, and were unsafe against symlink races and other
security issues.

If the incoming handle is valid, return WERR_BAD_PATHNAME.

[MS-RRP] states "The format of the file name is implementation-specific"
so ensure we don't allow this.

As reported by Michael Hanselmann.

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

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/b1582a4d09f4f6537f9067b4ff1d991acb624930">b1582a4d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-04-08T11:43:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-3880 s3: rpc: winreg: Remove implementations of SaveKey/RestoreKey.

Remove the now unused code implementations of
registry file io.

As reported by Michael Hanselmann.

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

Signed-off-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Mon Apr  8 11:43:31 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c0b2272a7d15d266ce64c86cf6a313b5b0fb67fd">c0b2272a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-09T18:29:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Initialize getline() arguments

Keep "len" valid across the loop iterations for getline to consume

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

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/bcb2752125986cbbf33a9388bd6420bb2af48ef6">bcb27521</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-09T18:29:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Initialize variables in parse_resolvconf_fp

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/cc4513dd4d35f2d9ff4649f595bd85b0bb3a2fa3">cc4513dd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-09T18:29:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Factor out map_lease_type_to_oplock

grant_fsp_oplock_type has enough complex logic, make this a bit shorter

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ee53763a3e7ce13f534dd4071a0ce60a29671e67">ee53763a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-09T18:29:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">leases_db: Make leases_db_rename atomic

Do the rename under one lock to protect against potential races while
we don't hold it.

Factor out the NDR marshalling into leases_db_do_locked(), leaving the
rename function pretty simple.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/885d433b468216a86b2963c6b4af896b254caa65">885d433b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-09T18:29:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">leases_db: Make leases_db_add use leases_db_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/bfbe24d827425683c094a479e0f0158c5580bda7">bfbe24d8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-09T19:31:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">leases_db: Make leases_db_del use leases_db_do_locked

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  9 19:31:09 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5c1009b3191cb9ecfd879d824e7ffee4283d9105">5c1009b3</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-04-09T23:14:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-test: Modify ctdb_io_test test_setup to provide queue reference

Some test scenarios require access to the created queue.
Prepare the test_setup function to provide it as additional parameter.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1f193174f21860b586eae1485e6d378441608e8d">1f193174</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-04-09T23:14:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-test: Adding test case verifying data in buffer move

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9ee32f3a9654452e855bfa99801d977fa7168dec">9ee32f3a</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-04-10T00:17:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-test: Adding test case to verify queue resizeing

If a data packet arrives which exceeds the queue's current buffer size,
the buffer needs to be increased to hold the full packet. Once the packet
is processed the buffer size should be decreased to its standard size again.
This test case verifies this process.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Christof Schmitt <cs@samba.org>

Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Wed Apr 10 00:17:37 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/56f933fa344e1ed4cbaa15b43cc219591e2eca8a">56f933fa</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-10T01:17:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_full_audit: Fix logging of get_real_filename output

result == 0 indicated success. In that case log the available
found_name.

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 Apr 10 01:17:28 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/49b77d8df2d7113ac7ddb75e78de6628933ff852">49b77d8d</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-04-10T06:23:39Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_kv: Skip @ records early in a search full scan

@ records like @IDXLIST are only available via a base search on the specific name
but the method by which they were excluded was expensive, after the unpack the
DN is exploded and ldb_match_msg_error() would reject it for failing to match the
scope.

This uses the fact that @ records have the DN=@ prefix on their TDB/LMDB key
to quickly exclude them from consideration.

Based on analysis by Garming Sam.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Apr 10 06:23:39 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/140a6733a458d0afa20237a09ef4ee2546a83a8f">140a6733</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-11T04:17:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">drsuapi.idl: add DRSUAPI_ATTID_schemaInfo

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e34abefb77729330cd48bc039c82b03fe545f8a9">e34abefb</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-04-11T04:17:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samdb: test for schemainfo update with relax control

Currently schema info's revision field isn't incremented if relax
control is present.  This is so that no increment is done during
provision, but we need the relax control in other situations where the
increment is desired.  This patch adds a failing test to expose the
problem.

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

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b5b572d5f71e2b9783ddb25c21ac32904fbfd661">b5b572d5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-11T04:17:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldapcmp: ignore 'schemaInfo' if two domains are compared

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5ea84af2d69e0b3a2a801ea0cc3f4ffc66bf1764">5ea84af2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-11T04:17:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:provision: split out provision_self_join_modify_schema.ldif

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7652439fa1aab92945f5540a43fc49568d446917">7652439f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-11T04:17:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/provision: use provision and relax controls for schema provision

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b7c1752754da1e8a83a53670cf4a410ec6e9d7b7">b7c17527</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-04-11T04:17:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb:samdb: schemainfo update with relax control

Currently schema info's revision field isn't incremented if relax
control is present.  This is so that no increment is done during
provision, but we need the relax control in other situations where
the increment is desired, so we should use the provision control instead
to disable schema info update.

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

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/661dc4574110b0f13c127c8aa6ed0c385292b77c">661dc457</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-11T04:17:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/repl: we need to replicate the whole schema before we can apply it

Otherwise we may not be able to construct a working schema that's
required to apply the changes.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4336c058cabd0a11f48ae76dff4e15e85013e783">4336c058</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-04-11T04:17:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add new 2-DC testenv for live schema upgrade

This adds a new 2-DC testenv that:
1. Provisions an AD DC with 2008R2 schema
2. Joins another AD DC with 2008R2 schema
3. Starts Samba
4. Performs a live schema upgrade on the PDC
Testenv targetting in tests.py files for this testenv required that we
extend the environment dependencies system to include optional post-startup
dependencies specified in ENV_DEPS_POST maps.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/350fc49e94525232c3556a3ace108f6e1447a490">350fc49e</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-04-11T04:17:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: tagging tests for new schemaupgrade_dc target

Tagging schema tests against schemaupgrade_dc test target and fixing
some DN assertions to be more generic.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5d8895f347ca0005240ec166fec4eb875f9cd356">5d8895f3</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-04-11T04:17:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">repl: test for schema object and LA repl across chunks

During replication, transmission of objects and linked attributes are
split into chunks.  These two tests check behavioural consistency across
chunks for regular schema objects and linked attributes.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/59ee3c864ca360d49196ae4064fe19db01fe6396">59ee3c86</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-04-11T04:17:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: split schemaupgrade testenv out

Schemaupgrade tests are particularly resource intensive and are causing
runners to hit their memory and CPU limits, so we need to split them
out.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/65303bf55dc40fb034b7fca80846b4f21c1149fd">65303bf5</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-04-11T04:17:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_kv: Remove unnecessary space

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d6b1d55659348e0347da702794de92b6f789b5cc">d6b1d556</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-04-11T04:17:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_mdb: Change function declaration as per README.coding

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a76d2865372988c29baef42ecc4257e861692e7b">a76d2865</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-04-11T04:17:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_kv: Avoid memdup of database records in the case of base searches

This makes LDAP bind significantly faster in the case of having many
members, due to large size of these records (with tens of thousands of
member links). During the nested group calculation, you are only
interested in memberOf not the member links.

(We add a bit-field to determine whether or not the backend actually
supports pointing into database memory. For some reason TDB pointers
aren't stable, so for now we set this option just on LMDB backends.)

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/74091115f7564976c8fc7530fc2cb76c6bac9ce1">74091115</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-04-11T05:25:02Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/ldb_kv: Add another case for completeness

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Apr 11 05:25:02 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/da80b6d2a14c58a7fc618bcb7750bbc4ea8cb95a">da80b6d2</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-04-11T22:29:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: modify string conversion wrapper to handle invalid strings

The standard string conversion routines convert a "non-number string"
to zero and do not flag an error.
This is changed now by returning EINVAL if no conversion occured.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/7adaebe567ba969ffc5a5d57d896099a18cd1b80">7adaebe5</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-04-11T22:29:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Update error check for new string conversion wrapper

The new string conversion wrappers detect and flag errors
which occured during the string to integer conversion.
Those modifications required an update of the callees
error checks.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/8ca4b1f6d9bbd60b0e0d074221373aff27b0bdc2">8ca4b1f6</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-04-11T22:29:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils: Update error check for new string conversion wrapper

The new string conversion wrappers detect and flag errors
which occured during the string to integer conversion.
Those modifications required an update of the callees
error checks.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/1bdec2ce8c51edc5e23b87f43af14be443b61a84">1bdec2ce</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-04-11T22:29:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">modules: Update error check for new string conversion wrapper

The new string conversion wrappers detect and flag errors
which occured during the string to integer conversion.
Those modifications required an update of the callees
error checks.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/c0c1004cd0946b9ead9b2441794dc9268af60fd8">c0c1004c</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-04-11T22:29:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Update error check for new string conversion wrapper

The new string conversion wrappers detect and flag errors
which occured during the string to integer conversion.
Those modifications required an update of the callees
error checks.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/6c1068ac00aca2c914e69dbd81532223180a5615">6c1068ac</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-04-11T22:29:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Update error check for new string conversion wrapper

The new string conversion wrappers detect and flag errors
which occured during the string to integer conversion.
Those modifications required an update of the callees
error checks.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/6461a9920393b6e56f807b68d738089adbd55cd5">6461a992</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-04-11T22:29:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">common-lib: Update error check for new string conversion wrapper

The new string conversion wrappers detect and flag errors
which occured during the string to integer conversion.
Those modifications required an update of the callees
error checks.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/beb3012e3f9ebf5dceb1cc1db4f9f34e22bc8286">beb3012e</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-04-11T22:29:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Update error check for new string conversion wrapper

The new string conversion wrappers detect and flag errors
which occured during the string to integer conversion.
Those modifications required an update of the callees
error checks.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/5ff48f64cd541ba021a116f50944341befd97e22">5ff48f64</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-04-11T22:29:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">source4: Update error check for new string conversion wrapper

The new string conversion wrappers detect and flag errors
which occured during the string to integer conversion.
Those modifications required an update of the callees
error checks.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/2029fe72b23c1b62282c31c4cd29d47c686eef49">2029fe72</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-04-11T23:34:51Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: remove duplicate check

This check was supposed to be removed by c9f4b92a613.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>

Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Thu Apr 11 23:34:51 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d970e84348460c0345a43d736fece36851255ef2">d970e843</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-11T23:35:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Move smbstatus definition to source3/utils/wscript_build

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e8ce1c6483a2ebe59feaf7cc339df0be9a87bbec">e8ce1c64</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-11T23:35:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove some unused includes

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fccd9c8c94e43f0aa77b9553981b6f96b5edfb07">fccd9c8c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-12T00:37:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils: Move conn_tdb.c to utils/

That's a wrapper that only smbstatus and net status use by 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): Fri Apr 12 00:37:05 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/075a078d3655e4101021f47842b56d2dc755d092">075a078d</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-04-12T04:38:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Avoid calling talloc_get_type() in ldb_kv_parse_data_unpack()

We have the ldb_kv in the caller, just fill it into the context and
so avoid the cost of the talloc_get_type().

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/10dd15010bddb929128b3585f1280ae1eb7b6b99">10dd1501</a></strong>
<div>
<span>by Michael Hanselmann</span>
<i>at 2019-04-12T04:38:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ndrdump: Remove local variables for pipes

There's no need for the local variables as the NDR call structure
pointer is kept around anyway.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c9e6331afc1ee0e85a9582c6682ff95885135792">c9e6331a</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-04-12T04:38:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ndrdump: change behaviour of flags to operate as flags

These are called flags because that is what they become to the ndr_pull function,
but to avoid total confusion treat them as flags generally even if the values are
always exclusive (at the moment).

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/bfd762b53ab681909a8a0b413cce4243271db749">bfd762b5</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-04-12T05:41:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: rename schemaupgrade_dc (+pair) to schema_dc

This is needed because the name of the autobuild job and
the name of the selftest env end up in the socket path
for ncalrpc sockets.

The challenge is that (for example)
/memdisk/autobuild/fl/b2424063/samba-schemaupgrade/bin/ab/schemaupgrade_pair_dc/ncalrpc/np/protected_storage
does not fit in a struct sockaddr_un.

Signed-off-by: Garming Sam <garming@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Apr 12 05:41:36 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/10291d91f2a087ff959676f2e2a04b41ae5afd68">10291d91</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-04-12T07:11:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-scripts: Do not "correct" number of nfsd threads when it is 0"

I thought this was being triggered during automated testing.
However, it appears that a poor choice of fixed ports for NFS RPC
services was the real problem.  Revert, since the original behaviour
may be useful.

This reverts commit f1a1c300e192d43f5c9faf9450ffbf16341a2661.

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/38dc6d11a26c2e9a2cae7927321f2216ceb1c5ec">38dc6d11</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-04-12T07:11:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Revert "We can not assume that just because we could complete a TCP handshake"

We also can not assume that nodes can be marked as connected via only
the keepalive mechanism.  Keepalives are not sent to disconnected
nodes so, in the absence of other packets (e.g. broadcasts), 2 nodes
may never become marked as connected to each other.

Revert to marking nodes as connected in the TCP transport code.  If a
connection is to a non(-operational) ctdbd then it will revert to
disconnected after a short while and may actually flap.  This should
be rare.

This reverts commit 66919db3d7ab1e091223faf515b183af8bfddc83.

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

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/289201277cd983b27cdfd5376c607eab112b4082">28920127</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2019-04-12T08:19:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Avoid race between fd and signal events

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

In run_proc, there was an implicit assumption that when a process exits,
fd event (pipe between parent and child) would be processed first and
signal event (SIGCHLD for the child) would be processed later.

However, that is not the case.  SIGCHLD can be received asynchronously
any time even when the pipe data has not fully been read.  This causes
run_proc to miss some of the output from child process in tests.

When SIGCHLD is being processed, if the pipe between parent and child is
still open, then do an explict read from the pipe to ensure we read any
data still in the pipe before closing the pipe.

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

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Apr 12 08:19:29 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2b5dbb352553699afce62dca4964eb0bd64477f8">2b5dbb35</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-04-12T18:38:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: add explicit cephfs include path for vfs_ceph builds

Needed if building with a custom --with-libcephfs path.

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/4982e282f2f2246952854ccc10d4787ac6653a7f">4982e282</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-04-12T18:38:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_ceph: explicitly enable libcephfs POSIX ACL support

libcephfs disables ACL support by default and returns -EOPNOTSUPP in the
POSIX ACL get/setxattr paths as a result. Enable support by setting the
following Ceph config parameters during mount:
        client acl type = posix_acl
        fuse default permissions = false

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

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/58314d71ea63e36d5f1bbd2c3e190b1edffee726">58314d71</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-04-12T19:40:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs/vfs_ceph: describe new ACL behaviour

vfs_ceph now explicitly enables libcephfs POSIX ACL support.

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

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 Apr 12 19:40:25 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/24bc99e69984f7d926413f11ed5021422383c49e">24bc99e6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-12T19:41:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: remove before_script section of .private_template

It's already inherited from .shared_template.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-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/a6428d5f45f4c77a8b3154ccccc117a9d67a7c79">a6428d5f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-12T19:41:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: print out /etc/os-release

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-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/664cd722966e949b02b3e0181a6e69743c5d546f">664cd722</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-12T19:41:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: print out /proc/swaps

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-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/98521ce51c64045ca651ed72440a3224648ce00e">98521ce5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-12T20:42:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: show the system state also as after_script

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

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Apr 12 20:42:27 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b3d0c7e32c9b56dad9003f6bbb067da4aa0a6753">b3d0c7e3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Small optimization for break_to_none

We don't need to memzero the struct when we can struct-initialize it a
bit later, implicitly initializing the rest to zero.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6e485441a60f75e8500541ba9790e55f5a86041f">6e485441</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Introduce a helper variable in delay_for_oplock()

Why? I am preparing a patchset that will remove
"share_mode_lease". This patch is a micro-step towards that, removing
a set of references to this struct.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3eed19de04887bec8a01af55eb33acc89ef80b7c">3eed19de</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Introduce a helper variable in delay_for_oplock()

This removes a few explicit share_mode_lease dereferences

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a69db298d440f38fdc2e222d01ecf8d52e0dcc0a">a69db298</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Pass lease parameters explicitly to find_fsp_lease

This avoids a use of "struct share_mode_lease"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f46023ed7021880612150d762540fda656c89b74">f46023ed</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">leases_db: Add share_mode_lease info to leases.tdb

This is the data stored in share_mode_lease inside the leases[] array in
locking.tdb. This and all the following patches move all leases array to
looking at the leases.tdb.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5f850a80d2d83838fd713a6b19e716ec47b86bbf">5f850a80</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">leases_db: Add getter/setter for share_mode_lease metadata

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6cd59da1719e3f4830a7cea5db4347bf9e319b92">6cd59da1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use leases_db_set()

Whenever we update the share_mode_lease struct, also update the leases.tdb
entry.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/10a60df1ccc5e5992c63802861589fb81372f64e">10a60df1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Add lease key to share_mode_entry

Instead of indexing into the leases[] array, put the lease_db reference into
the share_mode_entry. For simplicity, put in the client guid as well. We
*might* be able to retrieve that from somewhere else, but as other smbd
processes have to look at the lease values, put in the full leases_db index
data.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/70fd809db6b3d67077e42338e1b68310754278e2">70fd809d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use share_mode_entry's lease data in delay_for_oplock()

This was the last "share_mode_lease" reference in this function, remove
variable "l".

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f33cb162788397863e03e8288f34aa32c345cee5">f33cb162</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use share_mode_entry's lease data in delay_rename_for_lease_break()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/909147e8c16731b786a1d6eae549d53737c2369e">909147e8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use share_mode_entry's lease data in is_same_lease()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1ae773614830e9142cc1a0bb8dfc94b3f7d21ad7">1ae77361</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use share_mode_entry's lease data in remove_share_mode_lease()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9ca5b611575e01467fe1651d06b843a7be50ae5b">9ca5b611</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use share_mode_entry's lease data in remove_share_mode_lease()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b9b35947c75d7aafb303535de37854d90f4f8b76">b9b35947</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use share_mode_entry's lease data in vfs_default_durable_reconnect()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c2ca82172457bd369715398aa7fda2af4e23f61f">c2ca8217</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use share_mode_entry's lease data in lease_match()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b221487371cd1e953b2919be67a190626ba28399">b2214873</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use leases_db in delay_for_oplock()

Remove a reference to share_mode_data->leases[]

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b4b941f2af601482725ae826b77b863200fee604">b4b941f2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use leases_db in get_lease_type()

Remove a reference to share_mode_data->leases[]

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1269bfe47bb0f5a19e8e54f01de375cc0a43191e">1269bfe4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use leases_db in fsp_lease_update()

Remove a reference to "struct share_mode_lease"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c54d27b12c7a978671fcea752da552d84a7e3668">c54d27b1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">utils: Use leases_db in smbstatus

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/552faa910fdcfb95602440096ec3fac9e6015177">552faa91</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Don't pass lease_idx down to set_share_mode()

Temporary patch to keep the code running. The new code in set_share_mode() will
leave again once the patchset to remove share_mode_lease and thus the lease_idx
in share_mode_entry goes away.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2ea2605e7002508aa952899fb8f81e4e62684767">2ea2605e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Don't pass up lease_idx from grant_fsp_lease

The only reason for grant_fsp_lease to return the lease_idx was to pass it down
to set_share_mode. That does not need it anymore.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fa2cea30917667e1f8f084c33cbbbd564f02e452">fa2cea30</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Add update_share_mode_lease_from_db()

This is an interim function supposed to be around for just a few patches as
long as we have both the leases.tdb entries and the leases[] in
share_mode_entries around. It makes it easier to transition to just use
leases.tdb while keeping the code running.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7cc9b426a44b1e12c6261836d0a86eabb7c92c34">7cc9b426</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Split up grant_fsp_lease()

Simple refactoring into simpler routines. View best with "git show -b"

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7fc76c47867460a29ef82b65052a47b13c530a17">7fc76c47</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use leases_db in try_lease_upgrade()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/274f5d9541de7c61f52d42789c701c212b9caa6b">274f5d95</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use leases_db in downgrade_lease()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8ff60fcc0618c3501478831d771e54e9665303ef">8ff60fcc</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use leases_db in vfs_default_durable_reconnect()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/29ce005f12809f6af5ff2ab5b33af26b25c7063a">29ce005f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use leases_db in process_oplock_break_message()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b656ebf54afcd322cc7dcaa1a913a557027840fd">b656ebf5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Make find_share_mode_lease() static

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fbe6b3e900e5b1f270e33b4c63fd651dfbfd53b8">fbe6b3e9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use leases_db in lease_match()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/302bdd7f9132b64daf65ceddc1658c3f91d7f0c1">302bdd7f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Add share_mode_forall_leases()

Function to walk all leases for a file exactly once. This used to be simpler
with the leases[] array, thus this function that encapsulates the complexity.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c12641e80dd7b1587cb7961a6f21df679668fba3">c12641e8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use share_mode_forall_leases in rename_share_filename()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/310c85e78fc0833373db0c1ccec04f172c8abff6">310c85e7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use share_mode_forall_leases in do_break_to_none()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ad413ce91b31697f60c31394004272bcd6418596">ad413ce9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T04:01:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use share_mode_forall_leases in share_mode_cleanup_disconnected()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a187b7ef8fe91d227aeda5a2d9d4400d43c9d4ef">a187b7ef</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-14T05:18:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove share_mode_lease and the leases array from share_mode_entry

This also removes the temporary functions introduced during the patchset.

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

Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Sun Apr 14 05:18:14 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e3c894fb6b87df8aa56e29ef3b16ae1ef456a875">e3c894fb</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-04-16T15:14:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/replace: define NAME_MAX for platforms that don't have it

This allows the vfs_glusterfs_fuse build to complete on AIX.

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

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): Tue Apr 16 15:14:50 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/67b16058208c8ba06a8467e2bbd53a307e36de43">67b16058</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-16T16:15:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: run samba-schemaupgrade on the private runner

The related jobs often fail with timeouts
because the shared runners (4GB RAM + 2GB SWAP)
will use ~450MB of the swapfile.

The private runners use 8GB RAM without any swap.

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/b369fabaa6f0593fb2c440a363af92d43be8c0b8">b369faba</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-16T16:15:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: remove outdated comments

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/45fee29d1ed8e4baa3e1c4af9e54c1b9cb34f639">45fee29d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-16T17:45:35Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: require samba-ci-private tag for our private runners

This makes it more clear that we need our own private runners.

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): Tue Apr 16 17:45:35 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9c33b193ff11009e0998f2cb0eecd315e6133280">9c33b193</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-04-18T12:09:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: mv locale setup from bootstrap.sh

In future, samba developers could run `bootstrap.sh` to update
dependencies on their workstation, this is very useful when new people
get on board or new dependencies introduced.

But currenly it will override locale, which is not expected for this case.

Remove locale setup cmds from bootstrap.sh, add a separate script for this.

Although this script is written in a generic way and has no variable so far,
still follow the same routine as `bootstrap.sh` to keep consistent.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
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/50fde627811317aaea5d2c1525149c7fbdc8053c">50fde627</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-04-18T12:09:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: change UTF-8 to utf8 for locale name in Dockerfile ENV

While generating locales, glibc/localedef/locale-gen will normalize
`UTF-8` to `utf8`, use same name style to avoid string mismatch issues.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
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/3e9af703eb044ec0b00fd672a6975032c924af0d">3e9af703</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-04-18T12:09:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: adjust package list to align current ci image

Adjust packages to make `dpkg -l` output align current ci image.
The ones not required are ignored, add a few missing python3 ones.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
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/dd1d04e8289697f7600562c7c94a78253a201ec2">dd1d04e8</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-04-18T12:09:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: add missing dev packages

Add a few extra dev packages missing in current ci image but should be included.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
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/932756e2a3adb88ba8216aa926289b287d3a3059">932756e2</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-04-18T12:09:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: rm ENV for ccache since we didn't use it any more

When ccache is not installed, this will cause failure.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
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/077f8eaf40fd7917ebc90b8577c2766c0000abe6">077f8eaf</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-04-18T12:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: add ARG in Dockerfile to allow add sha1sum into docker image

Add ARG SHA1SUM, then we can pass it to docker build with --build-arg

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
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/47c826ed41193ad5d013e97bd6e396cad597cb3c">47c826ed</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-04-18T12:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: link ld to ld.gold when available

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
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/154a7b7d41193e27826f9883f704796b7deed6dc">154a7b7d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-18T12:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: add patch, rsync and tar

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/1ca1cc2b5c9fd908f1da1925a47107bfd66ebcc6">1ca1cc2b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-18T12:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: add glib2-dev

Signed-off-by: Ralph Boehme <slow@samba.org>
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/6009e47d8e2a86927ee2d09e7361606955223ff4">6009e47d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-18T12:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: add libicu-dev/libicu-devel

Signed-off-by: Ralph Boehme <slow@samba.org>
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/f749f17f22e7a0b7fd9f2087313de537ebc06537">f749f17f</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-04-18T12:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: Add gzip, which and hostname to base packages

The openSUSE Leap 15.0 container does not include gzip and which

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
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/aa29211be7fa4ddd6393db8c087b37ab322fc682">aa29211b</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-04-18T12:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: Use generic lsb-release package name

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
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/3b431486c4784f2f37f9292255fd2e965af253f0">3b431486</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-04-18T12:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: Fix lmdb-utils package name for RPM family

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
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/27b61082aa1363c8a5f9f11ad9bb117cd7a20de7">27b61082</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-04-18T12:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: Create the 'samba' group in containers

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
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/31f5b75120b4d543195ce704970d8e4dcd58addb">31f5b751</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-04-18T12:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: Add openSUSE Leap 15.0

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
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/0b2bbeb5dd91d1c9f1da32a893a194a84e9e5b83">0b2bbeb5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-18T12:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: add a hind how to rebuild generated files

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/033eca2df381574bcd99c255cc47300568d5b194">033eca2d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-18T12:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/config.py: generate rendered files into bootstrap/generated-dists/

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/c15bbb0e78da1393c5e168d0aafa2fc984ef07c4">c15bbb0e</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-04-18T12:09:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/template.py: render locale.sh for each dist and make shell scripts executable

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
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/da0567e00b113baccad7f41f9dab5dc82cc7f996">da0567e0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-18T12:09:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/template.py: generate Vagrantfile just once

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/37676409926a89bd83dd3b916144dd9aaae151f3">37676409</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-04-18T12:09:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/template.py: add sha1sum support

1. calc sha1sum for files under bootstrap/ (except README.md
   and *.pyc files) after render and write to bootstrap/sha1sum.txt file.
2. add a new option to print sha1sum, so we can use it to compare in ci

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

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
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/f1b1bba5c32f8066845c900536e0f812882cddb1">f1b1bba5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-18T12:09:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: remove unused docker.py

We'll generate docker images during a gitlab-ci run.

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/2300a38de36bab9980dc0ea1d8e55997946a0d19">2300a38d</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-04-18T12:09:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/.gitlab-ci.yml: add ci file to trigger image auto build

Depending on 'SAMBA_CI_REBUILD_IMAGES=yes' (and
'SAMBA_CI_REBUILD_BROKEN_IMAGES=yes') as environment
variables on a custom gitlab ci pipeline we'll generate und upload
container images.

bootstrap/README.md will get more details in the next commits.

Please note ci in this file did NOT add the `latest` tag,
since we want main ci to always use a fixed image based on the sha1sum of
everything under bootstrap/ from now on.
This also implies the new built image will not replace/break anything.

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

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
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/c36c1022f0c9073fb5511938b8d01401ed5bdfeb">c36c1022</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-18T12:09:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: add the result of bootstrap/template.py --render

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/09cd51780ffc65f105978441cc2377f0ad209d40">09cd5178</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-18T12:09:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap/READMD.md: update the instructions to reflect the current code

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/82e0986bf0d4f9b78be2782ecbfc4e84c7036745">82e0986b</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-04-18T12:09:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: make use of bootstrap/.gitlab-ci.yml and use the new defined image

See bootstrap/README.md for the instructions to create and upload the
images via a custom gitlab ci pipeline.

The key is that it's always possible to regenerate the image if
it's not present in the container registry, where we are free to
delete old images. But it should be possible to rebuild images
if someone has the need to run a pipeline based on an old
branch.

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

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
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/ad2c23eeb38603631d1d9789d1a53a93e7caec03">ad2c23ee</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-18T12:09:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: split AUTOBUILD_JOB_NAME from CI_JOB_NAME

This will make it easier extend the templates 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/84f6fdcef3b11ab4a4087c52f2f4c5a749a43b92">84f6fdce</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-18T13:10:49Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: run the samba-o3 job on each working container image

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 Apr 18 13:10:49 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d006c769a9cad275339b18b08e13d48acb29d7fc">d006c769</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-18T17:21:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: Add testcase for checking output of wbinfo --sid-to-name

The username should always be returned in the DOMAISHORTNAME/USERNAME
format.

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

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/60b0e91237179b8782c4bd83b9579f51d5af2928">60b0e912</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-18T17:21:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Query domain from msrpc name_to_sid

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

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/562551c0886bdef1f97059e16d375c2e97452b45">562551c0</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-18T17:21:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Query domain from winbind rpc name_to_sid

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

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/32e3f0663be39cf4a81639c818fc88e959791673">32e3f066</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-18T17:21:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Query domain from winbind sam_name_to_sid

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

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/640e0ef4fd338ddf03b813a8d45cce67c7ec7a01">640e0ef4</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-18T17:21:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Return queried domain name from name_to_sid

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

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/aec9bda25f10ca2710d91fb680cca7904e92f9de">aec9bda2</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-18T17:21:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Use domain name from lsa query for sid_to_name cache entry

When winbindd is asked to map a name like realm.com\name to a SID ,that
is sucessfully resolved through the lsa lookup name call. The same call
also returns the short domain name (netbios name of the domain). Use
that short domain name for the sid_to_name cache entry, so that
subsequent sid_to_name queries return the expected netbiosname\name
result and not realm.com\name.

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

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/f708272350321a7c307f3ad86946de606c0b1377">f7082723</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-18T18:20:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: Fix usage information of test_wbinfo_name_lookup.sh

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): Thu Apr 18 18:20:26 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b9e1b4ad0033c211710da285c30d603ccb8b8d40">b9e1b4ad</a></strong>
<div>
<span>by Ralph Wuerthner</span>
<i>at 2019-04-18T20:38:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:debug: use struct initializer

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

Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a45675879ddcb43ab274d28496eedd6833466ae4">a4567587</a></strong>
<div>
<span>by Ralph Wuerthner</span>
<i>at 2019-04-18T20:38:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:debug: adjust indention

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

Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9b30fcda64080592d20de64b384fd6d3d0775cbf">9b30fcda</a></strong>
<div>
<span>by Ralph Wuerthner</span>
<i>at 2019-04-18T22:21:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:debug: enable logging for early startup failures

Commit c89a33a07a 'debug: Use backends instead of explicitly logging to
syslog or file' introduced a regression where early startup failures (e.g.
unable to connect to CTDB) are no longer logged because the debug subsystem
is not yet fully initialized. Enable logging again with reasonable defaults
when reopen_logs() is called and the parameter file is not yet parsed.

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

Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>

Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Thu Apr 18 22:21:15 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1492243897242a1b167ee6b0da00a39a39c2db93">14922438</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-04-19T17:27:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: include torture/util.h in lease break handler

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8274303f3023af1f80e353af552646b2158c4df9">8274303f</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-04-19T17:27:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: add new smb2 multichannel suite skeleton.

Also Skip MC tests for s4 ntvfs fileserver, it's not supported at all.
Use knownfail for s3 fileserver for the time being (until socketwrapper
supports fd-passing).

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7a73c56907f5f56d989a37703865c15422cce233">7a73c569</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-04-19T17:27:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: move oplock break handler out of the replay testsuite.

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/aa28477bbec4dd29826b33fce35429724d48acd3">aa28477b</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2019-04-19T17:27:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: move torture_wait_for_oplock_break() to central oplock handler.

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e1a96b1a5cf4e793cf321b3c777deb4e3e821f99">e1a96b1a</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2019-04-19T17:27:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: Add function declarations to lease_break_handler.h

Do not completely depend on proto.h.

Also move torture_reset_break_info() to lease_break_handler.h so that
the layout is similar to that of oplock_break_handler.*

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4e685895ea1395c53c1ef68259760a1aaf2a7fc1">4e685895</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2019-04-19T17:27:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: Add handlers to ignore incoming oplock/lease break requests

For use in multichannel oplock break tests. These handers ignore
incoming oplock and lease break requests so that we can test the
oplock/lease break retries on the server.

This is meant for use with samba servers which rely on receiving a reply
from the client before timeout.
Windows servers rely on underlying tcp commands to decide if the oplock
break command was delivered successfully to the client and therefore
cannot be tested with this method.

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f115b53c7266a780ab492df483ebfa4704e3e003">f115b53c</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2019-04-19T17:27:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: Increase timeout for lease/oplock break handlers

0.1 seconds is not enough when running tests against a server over the
network and are causing timing related bugs. We increase this to 1
second.

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1739468cd92ac1c20fba5886857feb275cb52772">1739468c</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-04-19T17:27:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: add test for interface information retrieval for multichannel.

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0d7d6070351f79301f17f3c5edd649aee3bbe770">0d7d6070</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-04-19T17:27:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: add torture_block/torture_unblock smb2 transport functions

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2a5b0d5bb9bc354cede9657378a2af4c79614772">2a5b0d5b</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2019-04-19T17:27:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: Add #defines required by the new tests

New macros used by our tests.

Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/018845d49cd29c392127f84364698ea1722dba8b">018845d4</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2019-04-19T17:27:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: Add helper functions to create channels.

Helper functions used by both oplock and lease break tests.

Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3dc532cbe0fd2b3314b832f5d73d09a86e241fe7">3dc532cb</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2019-04-19T17:27:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: Add handlers to block channels for testing

We use two methods to block channels

1) Simply ignore incoming oplock break requests and do not respond to
them.
This method doesn't work against Microsoft Windows based servers which
rely on the tcp stack for confirmation that the oplock break command was
sent to the client machine. This is meant to be used with samba servers
and is the default method.

2) Use iptables to block the channel.
The method requires the use of a privileged account and can only be used
on Linux systems with iptables installed. To use this blocking method,
pass the option
--option=torture:use_iptables=true

Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/31c9b74d7add68dfc8dc1cb7e4234169f7d0b652">31c9b74d</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2019-04-19T17:27:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: Add oplock break retry tests - test1

Test to confirm that server sends oplock breaks as expected.

Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ee0a247a9b769d5e5d012b30501002b9c56ccf32">ee0a247a</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2019-04-19T17:27:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: Add oplock break retry tests - test2

Test to see if oplock break retries are sent by the server.
Also checks to see if new channels can be created and used
after an oplock break retry.

The test by default blocks channels by ignoring incoming lease break
requests on that channel. This does not work when testing against a
windows server.
Use --option=torture:use_iptables=true to use iptables to block ports
instead when testing against windows servers.

Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/311c024b4cc8507515db82f9e12ea638759657ae">311c024b</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2019-04-19T17:27:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: Add lease break retry tests - test1

Test to check if lease breaks are sent by the server as expected.

Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/63b4b4ce12b4d72f0dc01d28e5cc66d979fd13d6">63b4b4ce</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2019-04-19T17:27:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: Add lease break retry tests - test2

Test to check if lease breaks are sent by the server as expected.

The test by default blocks channels by ignoring incoming lease break
requests on that channel. This does not work when testing against a
windows server.
Use --option=torture:use_iptables=true to use iptables to block ports
instead when testing against windows servers.

Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/befac485a59ce75d52514bfeaa47c85668dfbeca">befac485</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2019-04-19T17:27:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: Add lease break retry tests - test3

Check to see how the server behaves if lease break response is sent
over a different channel to one over which the break is received.

The test by default blocks channels by ignoring incoming lease break
requests on that channel. This does not work when testing against a
windows server.
Use --option=torture:use_iptables=true to use iptables to block ports
instead when testing against windows servers.

Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7a4dad60abeb785ccdf9c433103c4d36425cddfa">7a4dad60</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2019-04-19T17:27:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: Add lease break retry tests - test4

Test to see how the server behaves when the client flushes data back to
the server but doesn't send the lease break response over the channel.
Does it then retry the lease break?

This test is specifically expected to run against Samba and will not
work against a MS Windows servers because it uses the ignore method to
ignore oplock breaks sent by the server.

Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ef35d4d8cd4e1e8d1ad1d7ae60f1bc199f12085d">ef35d4d8</a></strong>
<div>
<span>by Sachin Prabhu</span>
<i>at 2019-04-19T18:26:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: add test to check for max. number of channels per session.

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Apr 19 18:26:18 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0b203d94471002d67d23333ecef72f7c6788464b">0b203d94</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-22T23:00:41Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: Remove usage of gpfs_prealloc

All supported versions of GPFS now support fallocate. Use the default
codepath instead of the API call. Keep the function stub as it will
be used for a check later.

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/066ec8d6c75b172ba08d2d64938b2e2d50f66c84">066ec8d6</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-22T23:00:41Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: Remove gpfs:prealloc from manpage

The option is no longer in the code, remove it from the manpage as well.

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/a0bc1f9d430aec7a5c3974f51689248390b2e469">a0bc1f9d</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-22T23:00:42Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gpfswrap: Remove unused gpfs_prealloc wrapper

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/1c3731ccefb198adc9fb00b8bd61150c3ce23d14">1c3731cc</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-23T00:33:03Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: Block punchhole calls for non-sparse files

The core smbd code implements ZERO_DATA for non-sparse files by punching
a hole and filling it again with a fallocate(FL_KEEP_SIZE) call. As GPFS
does not provide the fallocate(FL_KEEP_SIZE) call and non-sparse files
should not contain holes, block the punchhole; effectively only allowing
ZERO_DATA/punchhole calls for sparse files.

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): Tue Apr 23 00:33:03 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c36d743fe31361e17d73d01c1fbccf7d559c65c5">c36d743f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-04-23T01:06:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Move simple-dc-steps.sh to correct folder

This script helps re-create the environment for the dbcheck-oldrelease.sh links test.

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/e24e344d0da58013fd5fa404529fe1d25ef403bf">e24e344d</a></strong>
<div>
<span>by Lutz Justen</span>
<i>at 2019-04-23T02:08:56Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: install: Remove installation of PIDL and manpages.

It's not used outside of Samba other than wireshark
who have their own vendor fork.

Signed-off-by: Lutz Justen <ljusten@google.com>
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 Apr 23 02:08:56 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1d7dee5815d1eaf43f841231767e19d110551aa3">1d7dee58</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-04-23T18:00:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytest/segfault: segfault with nameless element

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/76967b33ebb93a7ef5daa94b123ef9bfdce59ece">76967b33</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-04-23T19:03:35Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyldb: avoid segfault when adding an element with no name

We don't want to see this:

python3 -c "import sys
sys.path.insert(0, 'bin/python')
import ldb
m = ldb.Message()
e = ldb.MessageElement('q')
try:
    m.add(e)
except ldb.LdbError:
    pass
print(m)
"
Segmentation fault (core dumped)

instead we want this:

Traceback (most recent call last):
File "<string>", line 7, in <module>
ValueError: The element has no name

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): Tue Apr 23 19:03:35 UTC 2019 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1646baa34783b483e88a50babd100939f92e140c">1646baa3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-04-24T01:01:57Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: use the ubuntu1804 image as default

This matches our move from sn-devel-144 to sn-devel-184
for the final autobuild.

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 Apr 24 01:01:58 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d7b5ad5e6159c224f70bea782bbdc46059e67978">d7b5ad5e</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-24T01:02:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add gid-to-sid lookup to idmap_ad test

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

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/8266bd1f45d1b5b2a61d84006ab8e8e1ed0e52a9">8266bd1f</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-24T01:02:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Use fl2008r2dc for ad_member_idmap_ad

fl2008r2dc already has a trusted domain. That will be used to use
idmap_ad for querying idmap attributes from the trusted domain.

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

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/281fb81ab1c72831c752be44fd1bfdcfd10bd798">281fb81a</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-24T01:02:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Make trusted domain information available for idmap_ad environment

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

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/65e1d783cb17904cd117d896569e7cbe79a3131b">65e1d783</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-24T01:02:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add idmap configuration for trusted domain for idmap_ad

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

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/ac0f8656eed39a4527a5336cf93aa1508666f79b">ac0f8656</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-24T01:02:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Pass trusted domain information to idmap_ad test

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

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/2577f43a133f8b8eb997b9529a38e21c77b5da22">2577f43a</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-24T01:02:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add trusted domain tests for idmap_ad

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

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/3020050bdf9df077ec9a0e962a689557187174ac">3020050b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-04-24T02:25:56Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: Fix overlapping id ranges

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-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 Apr 24 02:25:56 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/92f30f91e44dba7e85d56279bbbe3662d0b5faeb">92f30f91</a></strong>
<div>
<span>by Lutz Justen</span>
<i>at 2019-04-24T07:32:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: build: Respect --disable-python for third_party modules

Skips installation of samba/third_party stuff into the python directory if
--disable-python is set.

Added test after install that confirms no python modules installed.

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

Signed-off-by: Lutz Justen <ljusten@google.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Apr 24 07:32:31 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d5166089d6960379872d864e74eb4e1cf177cdd1">d5166089</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-24T18:32:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: move flex to common packages

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/adbb6e91adfaa03c5519f3c7eeaa29fdde991efb">adbb6e91</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-24T18:32:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: fix array access out of bounds exception in the check for flex

If flex is not installed the following expection is triggered:

Checking for flex
Checking for program 'flex'                                                       : not found
Traceback (most recent call last):
  File "/home/slow/git/samba/scratch/third_party/waf/waflib/Scripting.py", line 158, in waf_entry_point
    run_commands()
  File "/home/slow/git/samba/scratch/third_party/waf/waflib/Scripting.py", line 251, in run_commands
    ctx = run_command(cmd_name)
  File "/home/slow/git/samba/scratch/third_party/waf/waflib/Scripting.py", line 235, in run_command
    ctx.execute()
  File "/home/slow/git/samba/scratch/third_party/waf/waflib/Configure.py", line 159, in execute
    super(ConfigurationContext, self).execute()
  File "/home/slow/git/samba/scratch/third_party/waf/waflib/Context.py", line 204, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File "/home/slow/git/samba/scratch/third_party/waf/waflib/Context.py", line 286, in recurse
    user_function(self)
  File "/home/slow/git/samba/scratch/wscript", line 307, in configure
    conf.RECURSE('source3')
  File "./buildtools/wafsamba/samba_utils.py", line 66, in fun
    return f(*k, **kw)
  File "./buildtools/wafsamba/samba_utils.py", line 481, in RECURSE
    return ctx.recurse(relpath)
  File "/home/slow/git/samba/scratch/third_party/waf/waflib/Context.py", line 286, in recurse
    user_function(self)
  File "/home/slow/git/samba/scratch/source3/wscript", line 1660, in configure
    flex.configure(conf)
  File "/home/slow/git/samba/scratch/third_party/waf/waflib/Tools/flex.py", line 59, in configure
    if re.search (r"\\msys\\[0-9.]+\\bin\\flex.exe$", conf.env.FLEX[0]):
IndexError: list index out of range

This happens because when the detection of flex fails, an excpetion is
thrown in Configure.py:find_program by calling self.fatal(), but as
Configure.py:find_program() is called from
samba_waf18.py:find_program_samba() which sets the keyword argument
mandatory=False, Configure.py:conf:fun() catches the expection.

As a result in flex.py the call to conf.find_program('flex', var='FLEX')
does not abort and

  if re.search (r"\\msys\\[0-9.]+\\bin\\flex.exe$", conf.env.FLEX[0])

is executed even though conf.env.FLEX is None.

As this is a not a problem of upstream Samba, but triggered by our
samba_waf18.py:find_program_samba(), I don't pursue an upstream
fix. Instead, just use conf.find_program() directly instead of the
wrapper in flex.py.

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/f79acc51a5f45da3936886eaec7b635e70ad4540">f79acc51</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-24T18:32:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: build: seperate out check for Gnome Tracker from Spotlight

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/f52e4020653a3848efef47424e21481ed18d3935">f52e4020</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-24T18:32:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:wscript: fix flex and bison detection message when not installed

If flex or bison are not installed, conf.env['BISON'] and
conf.env['FLEX'] respectively return an empty string, so
conf.CHECK_COMMAND() runs

 $ /bin/sh -c " --version  | head -n1"

and

 $ /bin/sh -c " --version"

which results in the following message

  /bin/sh: []: command not found

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/2f87661c568e33ab4f74e3434ffbb7ec49f03203">2f87661c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-24T18:32:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:wscript: fix flex and bison detection

conf.env['BISON'] and conf.env['FLEX'] return lists.

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/fa39a7b2e6e3fd22d234b2c6c53772b08243db9d">fa39a7b2</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-24T18:32:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib: new tevent_glib_glue subsystem

tevent_glib_glue_create() takes glib GMainContext and adds its event
sources to a tevent context. tevent will poll the sources and run
handlers for pending events as detailed in the glib documentation:

https://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html

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/1f836d4c7fa5376eb4b45116cb59755e1c363b7f">1f836d4c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-24T18:32:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib: add a tevent_glib_glue subsystem test

Tests adapted from glib2 glib/tests/mainloop.c.

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/6592daf56fa1dc6d7e489add54a07d407cbb00c6">6592daf5</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-24T18:32:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib: tevent-glib-glue test utiltity with Tracker

A small utilitly useful for tesing the tevent_glib_glue code. It runs a
tracker-sparql search query against your local tracker store that must
be setup and running.

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/675902f80068c159af51b004ccded7fb777d1c40">675902f8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-24T18:32:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-mdssvc: add tevent context arg to mds_init_ctx

This is needed later when adding tevent_glib_glue support, not used for now.

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/bc053abdd1df343eb4bf0eeff52bebc2dcbd7a30">bc053abd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-24T18:32:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-mdssvc: call [un]become_authenticated_pipe_user()

This ensures we're running as the authenticated user int the tevent
callback which might be running in an arbitrary impersonation context.

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/55b2cca14a115a9c13004ec9f59b6b95a2776e78">55b2cca1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-24T18:32:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-mdssvc: use tevent_glib_glue in mdssvc RPC service

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/984c890cd0561bc016fd327ba7030df4e6b20b45">984c890c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-24T18:32:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-mdssvc: use default g_main context

Way back when the module was developed it seemed to be necessary the use
a private context with push/pop as thread default. Maybe there was a bug
in libtracker-sparql dispatching callback in the wrong (global)
context. It's not necessary anymore with a recent libtracker-sparql
version.

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/91c9c03435e6d0d42d7be69c1effac2a36f296ec">91c9c034</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-24T18:32:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-mdssvc: add missing call to g_cancellable_new()

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/003b5d3ee4c8a44ad9062fbee4cec45738b5a9bd">003b5d3e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-24T18:32:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-mdssvc: make mds_ctx_destructor_cb static

This is only used in this compilation unit.

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/613acd3ddd789290f4a018f6920fc51ed9bac6b2">613acd3d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-24T19:32:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-mdssvc: add a comment to mds_init()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Apr 24 19:32:12 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/94f2ed3eb35b94d5152578dbb6d5ee8f2fa2da69">94f2ed3e</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-25T00:54:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wscript: Remove checks for shm_open and shmget

Commit 74a16a1094278 "s3:smbprofile: Replace sysv shmem with tdb"
removed the usage of the shared memory segment for profiling data. As
there are no other users of shared memory segments, remove the configure
check for these functions.

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): Thu Apr 25 00:54:16 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f1bf02c78aaef71cf55be055f46a626c06bdb495">f1bf02c7</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-25T10:47:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Build also Samba AD with MIT Kerberos

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/bd5b4a16c7e45b4deafb9071d915b90740d45543">bd5b4a16</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-25T10:47:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules: Fix size types

error: assuming signed overflow does not occur when simplifying
conditional to constant [-Werror=strict-overflow]

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/fefb84b5b137e20d1cfb5436702ef6a8aa8ac79b">fefb84b5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-25T10:47:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:heimdal: Disable format truncation warnings

We build that code and do not treat warnings as errors anyway,
so just disable format truncation.

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/a6aff7333b95cc450918c69a2a563d473acf043c">a6aff733</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-25T10:47:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Fix dnf commands

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/8b2fbd7983e4c7c8cb946851231eab641fedd463">8b2fbd79</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-25T10:47:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Add missing packages on RPM distributions

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/ae21dc7163c00929ffd3292e390f1badcd86a2dd">ae21dc71</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-25T10:47:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Add missing packages for XFS quota support

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/dfa4d3cdf7dc541969e7452a6a325dece73bc5a7">dfa4d3cd</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-25T10:47:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Add glusterfs and cephfs packages

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/b1426d0657c1c550d368fb35406e57f7bc58995d">b1426d06</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-25T11:46:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Enable fedora29 and update generated dists

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 Apr 25 11:46:23 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b50ca162733b097cd16d346525dde2e1fef2d656">b50ca162</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-25T16:52:57Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Remove Ubuntu 14.04

Ubuntu 14.04 a compiler which complains about valid C99 code and also it
doesn't offer GnuTLS >= 3.2 which we require to move to GnuTLS.

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 Apr 25 16:52:57 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8e3a042eb9e502821b147f1bbb2d98d59f17a095">8e3a042e</a></strong>
<div>
<span>by Anoop C S</span>
<i>at 2019-04-26T12:04:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/vfs_glusterfs: Dynamically determine NAME_MAX

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

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e28d172b00cadf492c22bd892e2dda3bf2fe2d70">e28d172b</a></strong>
<div>
<span>by Anoop C S</span>
<i>at 2019-04-26T12:04:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/vfs_glusterfs_fuse: Dynamically determine NAME_MAX

This allows the vfs_glusterfs_fuse build to complete on AIX.

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

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/633698c971598090b6883d39d370ba202514ef32">633698c9</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-04-26T13:03:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "lib/replace: define NAME_MAX for platforms that don't have it"

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

This reverts commit e3c894fb6b87df8aa56e29ef3b16ae1ef456a875.

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Fri Apr 26 13:03:05 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d24c9d5fa4bae5882844c6f0d5ab86bca74a4092">d24c9d5f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-29T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: use struct initializer in async-tracker long_options

s3:utils: use struct initializer in async-tracker long_options

The previous initializer list was missing a NULL as last element. Using struct
initializers instead for correct initialisation.

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/e0b9281cd7310581e971ca4fb1dce4bea497b30e">e0b9281c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-29T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:audit_logging: Use C99 initializer for server_id in audit_logging

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/2a1c19b82c34ebde17daee5548a4fdfb87f8104f">2a1c19b8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-29T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Use correct C99 initializer for 'struct flock' in messages_dgm

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/bbef26860dffee1905012c8a31845291c968544c">bbef2686</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-29T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb: Use C99 initializer in dsdb util_trusts

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/99eb720338d9c7988dd6e8ba3db9ce072ba9536e">99eb7203</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-29T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Fix C99 initializer in cli_smb2_fnum.c

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/cf79ee15bd2e669d881f92bfd1a1ab1034615480">cf79ee15</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-29T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: Enable warnings for missing field initializer

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/40f91924d6e5ab6d87a5c65256d2df235429d313">40f91924</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-29T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Install missing krb5-kdc package on Ubuntu/Debian

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/cbee3037a293273191c2c0c12a162589e01c884b">cbee3037</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-04-29T17:07:02Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: only set mandatory to False if not already set by the caller

There are a bunch of callers that call find_program with mandatory=True,
we should not overwrite this when explicity passed, eg:

  ctx.find_program('objcopy', var='OBJCOPY', mandatory=True)

  conf.SAMBA_CHECK_PERL(mandatory=True)
    -> conf.find_program('perl', var='PERL', mandatory=mandatory)

With this patch we only change the default from False to True, but allow
callers to choose specific behaviour.

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): Mon Apr 29 17:07:02 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c12914c6697c70d5c15776537f7f331d306933bb">c12914c6</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-04-29T18:10:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftests: Place credential cache file inside environment directory

Pair-Programmed-With: Andreas Schneider <asn@samba.org>
Signed-off-by: Samuel Cabrero <scabrero@suse.de>
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/937ad9d2a00d1b993d37ff5801fd301eccd87556">937ad9d2</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-04-29T18:10:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">credentials: Initialize krb5 client to retrieve creds from ccache

MIT kerberos require krb5_creds.client to be initialized to match
krb5_creds.server with the cached credentials.

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
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/d88f1c82b2fa682ca3ed0256b4728f7e1b6999fc">d88f1c82</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-04-29T19:15:48Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">credentials: Workaround krb5_cc_remove_cred not implemented in MIT kerberos

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
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 Apr 29 19:15:48 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/09962c1b7e37a9b3c02fa88e1253bee3b206ac19">09962c1b</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-04-30T17:34:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: Add compiler check for missing field initializer check

The commit cf79ee15

    wafsamba: Enable warnings for missing field initializer

enabled a compiler check for warnings about missing initializers for all
developer builds. This fails with older compilers, e.g. gcc on RHEL7.
Add a waf check around adding the compiler option to avoid the failure
with older compilers.

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/9e29ddd4be5a7397a3657ae339d115187544312a">9e29ddd4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T17:34:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Only install required packages on Fedora

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/e48a6c846f40d83187beb8ed5c36bc2f75baaef2">e48a6c84</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T17:34:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Only install required packages on openSUSE

This should reduce the amount of packages installed. And make building
the image much faster!

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/4dd8db321f19c06db3f7e4eec43cc44c1cc68716">4dd8db32</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T18:48:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Update for building new containers

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): Tue Apr 30 18:48:18 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4f2af93a7fc736f2ef3dfe0dbc8bf8c3a2eb4161">4f2af93a</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-04-30T23:18:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: Allow overriding the default image using a variable

This way one can run all tests in a different container without having
to modify the gitlab ci file, just setting the SAMBA_CI_CONTAINER_IMAGE
variable in the gitlab's GUI.

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
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/9d1d44dcb72f24aa078dd050da0c7c1aecd3513e">9d1d44dc</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">replace: Add ZERO_ARRAY_LEN() macro

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/8ad4c1575805cc5d00e6873e55144ee6f8bc4b33">8ad4c157</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Sync memory.h with replace.h

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/382d5908a45f7a4a0bb6df98b3b8fa884ed9729a">382d5908</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: Add mandatory requirement for GnuTLS >= 3.2.0

We plan to move to GnuTLS for crypto in Samba, this is the first step to
make it mandatory and to require a version which is in LTS
distributions.

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/daa128f81b71feed15d3d0b490efa9b531e59670">daa128f8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:tls: Remove #ifdef for GnuTLS

This is a requirement 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/b63bf2956e244c8a1ab38e99beddebbeae44c186">b63bf295</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server: Remove obsolete gcrypt init

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/1fa3c9a3cca704d9b647daa002e896f58f42d6e4">1fa3c9a3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: Remove configure steps from source4/lib/tls

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/324a2eec8675b18c6f0e85a1f7f7dbccb4524189">324a2eec</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: Move gnutls_pkcs7_get_embedded_data_oid to main gnutls 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/e35a8598c6b123cb64bff6946b80acdf48ad2eec">e35a8598</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: Add check for gnutls_x509_crt_set_subject_unique_id()

This is used by the GnuTLS backupkey implementation.

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/155f697e870469958db9c2cb4cd76dab26f99183">155f697e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: Move check for gnutls_aead_cipher_init to main gnutls wscript

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/712e464fb71e90dbee0560a0c15210b1606fcab6">712e464f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: Remove unused GNUTLS defines

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/9bbb9f7bdf05e92498e01fb1ffacc770432d6709">9bbb9f7b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules: Use GnuTLS SHA256 in vfs_acl_common

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/6fb7837385ea8bcf9c96f674ac8f30d7a0ccff98">6fb78373</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:utils: Use gnutls SHA256 in oLschema2ldif

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/75d45f6d2b7aa31b1a9f20f7ac8372544df37637">75d45f6d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli:smb2: Use GnuTLS SHA256 HMAC for signing

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/8bed91c999f86c010a68dc9415d0f0688cff5555">8bed91c9</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Use GnuTLS SHA256 HMAC for 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/5d87610976d53d7e89950c953dc08c08f491a6b0">5d876109</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Add return code for netlogon_creds_init_hmac_sha256()

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/cda938cd9c4293e48967b4d52608f595f4868342">cda938cd</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Use GnuTLS SHA256 HMAC in smb2_key_derivation()

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/eca425ef5b6a05f1facf6fb94b73fa1aea6d7007">eca425ef</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Use GnuTLS SHA256 HMAC in smb2_signing_sign_pdu()

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/604c0b2620a46f39d1d1d5cda2498d82c6bf8621">604c0b26</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Use GnuTLS SHA256 HMAC in smb2_signing_check_pdu()

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/11e3552c9f0ee3c64408c083794c310d3d2c5640">11e3552c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Introduce a structure for the smb2_singing_key

This also adds a new function to validate the structure.

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/17e22e020fcb84fb9ddda350915369dc9ea28ef1">17e22e02</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Use 'struct smb2_signing_key' in smbXcli_base.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/d02f790724109f04b5ecd711e060e0b468d3042f">d02f7907</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:librpc: Rename the data blobs for keys in smbXsrv.idl

The original names will be used with a new structure to cache mac and
cipher handles for gnutls 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/f7929c6630d515a402fff3bc7286526f610b8529">f7929c66</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:librpc: Add smb2_signing_key to smbXsrv.idl

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/9e16adff08c5bd14e5e2e8f528fc44ad22f3cfd2">9e16adff</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Start to use the smb2_signing_key structure

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/3f252816ad80ca356d80dbc90ecfdaa4ed9b5942">3f252816</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Add smb2_signing_key_destructor()

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/dcf37228e1d920f753d4cf72204ce7ca6b1fa6e1">dcf37228</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Use smb2_signing_key for smb2_signing_sign_pdu()

This caches the gnutls hmac handle in the struct so we only allocate it
once.

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/015e4d2dc2776d7d56edd51a1b9cad510f24e537">015e4d2d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Use smb2_signing_key for smb2_signing_check_pdu()

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/c04571d47cc4ab94bba74c397afb05c7b25ba5e5">c04571d4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Use GnuTLS SHA256 HMAC for schannel

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/83d228b66a857afb2f70abf8d3495b2cc75a5783">83d228b6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Add return code for netsec_do_sign()

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/826e37218df691f42c79b4cce693853b5af9ddc9">826e3721</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-04-30T23:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:crypto: Remove unused SHA256 and HMAC SHA256

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/641d74cb267e87a22df8f9a3d285e3ab4343ce50">641d74cb</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-04-30T23:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">traffic_replay: Assign users to groups by default

The traffic_replay script has a myriad of options, but by default when
it creates user accounts it does not assign these users to any groups
(you have to specify extra options to do that). This isn't really a fair
test of samba performance, because it's unlikely that real world setups
will have users that are in no groups (other than the default ones).

This patch changes the default behaviour so that it will assign the new
users to groups automatically, if no other group options were
specified.

Signed-off-by: Tim Beale <timbeale@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/e387cf92884c55b7945fbd7898312896fbf9cfd9">e387cf92</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-04-30T23:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">traffic_replay: Avoid Exception if no packet rate is specified

traffic_replay would throw an exception if you didn't specify some sort
of packet rate. We can avoid this by using --scale-traffic=1.0 as the
default if nothing else was specified.

 script/traffic_replay model.txt $SERVER.$REALM --duration=10
   --fixed-password=blahblah12# -U$USERNAME%$PASSWORD
INFO 2019-04-10 01:03:01,809 pid:47755 script/traffic_replay #280: Using
the specified model file to generate conversations
Traceback (most recent call last):
  File "script/traffic_replay", line 438, in <module>
    main()
  File "script/traffic_replay", line 293, in main
    opts.conversation_persistence)
  File "bin/python/samba/emulate/traffic.py", line 1295, in
generate_conversation_sequences
    target_packets = int(packet_rate * duration)
TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'

Signed-off-by: Tim Beale <timbeale@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/e98340e3e2132c73ed002166e2e01dc761765b25">e98340e3</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-04-30T23:18:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">traffic: make code more pythonic

Signed-off-by: Joe Guo <joeg@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/35e52ebdd6498b2edcf57484a55439cb66319e45">35e52ebd</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-04-30T23:18:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">traffic: define kerberos_state to simplify code

Signed-off-by: Joe Guo <joeg@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/2ee72cc6154370ed78bb1113ee0c9896d106d2f8">2ee72cc6</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-01T01:10:42Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">traffic: load dns query from file and write stats to file

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed May  1 01:10:42 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5ac626e7b0565bf880d1b18a3b414bc67d8606df">5ac626e7</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-05-01T03:12:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Move deadtime default to parameter definition and man page

The code has a default of one week (10080 minutes) if the parameter is
set to 0. Make this the public default of the parameter, instead of
hiding it in the code. This change also has the code match the
documentation that setting this parameter to 0 disables the check.

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/8488651bdd6e36252bd2edde4683fd0c5c998fe2">8488651b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-01T03:12:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/replmd: delete checks flag before laborious search

Most (perhaps all) attributes that are in the "must not remove" list also
have the PRESERVEONDELETE bit set, and checking bits is much cheaper
than a linear search involving strcasecmp. If we check the bit first
we save work.

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/c5e387d22a2117c5819fd94e1a1b077d37739842">c5e387d2</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-01T03:12:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/replmd delete: optimise attribute preservation with binary search

When we get here it is very likely that the attribute will not be
preserved, as the preserved ones should have had the flag set, but we
still end up loking through the whole list to confirm. With a binary
search, we end up looking at ~5 attributes to confirm.

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/62ba14a41b6fb590dce8df5d3d0c9796d4a85393">62ba14a4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-01T03:12:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:torture: Fix size type in torture macro

Found by csbuild.
https://gitlab.com/samba-team/devel/samba/-/jobs/204481431

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/2a5bf72b00b61aa97afe9d1d87b8114177b91fef">2a5bf72b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-01T05:02:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:samdb: Make sure value is initialized with 0

Found by csbuild.

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 May  1 05:02:22 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0a5c5e2f5ef09b8cee55d65242d54febc84f7855">0a5c5e2f</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-01T05:32:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: keep samba-ci-private tag only for private jobs

This will help us give the legacy 'private' tag, used in branches
under maintenance, more resources without those jobs running on the
normal production runners (therefore avoiding the additional cost for
the 90% of builds that are for master).

Signed-off-by: Joe Guo <joeg@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/5a0df7aec6bd37c7f9ce0b0ed5758da7a4977ee2">5a0df7ae</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-01T05:32:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/pytest/ldap: revive commented out test for attr size range

The test was presumably commented out because we fail it, and
known-failing it would have hidden the attr-too-short tests that it
was bundled with. If we disentangle them we can knwn-fail it, which
serves as a TODO list.

(passes against WIN2012R2).

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/fd9859d407f4e38d159081713b5959ba7ba23aed">fd9859d4</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-01T05:32:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/pytest/ldap: use idiomatic 'e' for exceptions

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/865e464d5e5ab7d2aae297cce7a20674162a5e06">865e464d</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-01T05:32:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/tests.py: shorten lines with common path

A small step

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/c73888ff6f22de86f72ff254d332b44848cb9959">c73888ff</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-01T05:32:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb pytests: test the effect of reordering modify requests

Do we interpret these the same way as Windows? In many cases, no.

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/e5a099482d9ad17913065351f8c3d02a2b48c03d">e5a09948</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-01T05:32:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytests: try ldap.modify_order with normal user

We run the tests again, trying to modify as a normal user rather than
Administrator.

It turns out that we do not always return the same error code as
Windows, but in all these tests both Windows and Samba always return
some kind of error (as you might hope).

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/a047e71bc7daea3855fc786c0e1c9d09878bba5f">a047e71b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-01T05:32:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytests: slightly better errors in Testcase.insta_creds()

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/60620273dba1d7f7ff25710c5dd8fd6d32f2d149">60620273</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-01T05:32:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/modules: a module to count attribute searches and results

The dsdb module stack can turn a simple search request into a
complicated tree of sub-queries that include attributes not originally
asked for and excluding those that were. The corresponding replies
might contain unrequested attributes or (for good reasons, according
to some module) hide requested ones. The entire stack is there to
meddle and that is what is does. Except *this* module. It just counts.
To understand dsdb performance it helps to have some idea what
requests and replies are flying too and fro. This module, when
inserted anywhere in the stack, counts the requests and replies
passing through and the attributes they contain. This data is stored
in on-disk tdbs in the private/debug directory.

The module is not loaded by default. To load it you need to patch the
source4/dsdb/samdb/ldb_modules/samba_dsdb.c and put "count_attrs"
somewhere in the module lists in the samba_dsdb_init() function. For
example, to examine the traffic between repl_meta_data and
group_audit_log, you would do something like this around line 316:

          "subtree_delete",
          "repl_meta_data",
  +       "count_attrs",
          "group_audit_log",
          "encrypted_secrets",

and recompile. Samba will then write to a number of tdb files in the
debug directory as requests and replies pass through. A simple script
is included to read these files. Doing this:

./script/attr_count_read st/ad_dc/private/debug/debug/attr_counts_not_found.tdb

will print a table showing how often various attritbutes were
requested but not found (from the point of view of the module).

A more sophisticated version of the script is coming in the next
commit, but this one is included first because in its simplicity it
documents the storage format reasonably well. The tdb keys are
attribute names, and the values are uint32_t in machine native order.

When the module is included in the stack there will be a very small
decrease in performance.

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/bd53819b28bab04408fc7fd7cfecc04a9aff9baf">bd53819b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-01T06:46:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/attr_count_read: load and correlate all data

This changes script/attr_count_read to take the samba private directory
as an argument and load all the databases at once, printing them as
one big table. It isn't extremely clear what it all means, but it
*tries* to tell you.

With --plot, it will attempt to load matplotlib and plot the number of
requested attributes against the number returned, with colour
of each point indicating its relative frequency. It is a scatterplot
that wants to be a heatmap.

With --no-casefold, you can get an extra confusing table where,
for instance, something repeatedly asks for "attributeId" which is not
accounted for, while in a completely different row an unrequested
"attributeID" is found many times over.

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 May  1 06:46:36 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b5c4fdbf99caa3a9e7c6446cfbc4f1b23b84b3c8">b5c4fdbf</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-05-01T17:22:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add smb2.stream.names3 test

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

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/2a69c0915586fb9fb2148239965d06bf9f93c803">2a69c091</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-05-01T17:22:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: allow case insensitive opens of named streams

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

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/0c602319194bda6b2a0efdd7c186078583f79264">0c602319</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-05-01T17:22:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli/raw: add RAW_FILEINFO_NORMALIZED_NAME_INFORMATION support

This is supported over the wire in SMB 3.1.1 on starting with
Windows 10 1803.

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

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/8a5828de2bdd95223e5f30996d0490fef53742dd">8a5828de</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-05-01T17:22:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add smb2.getinfo.normalized test

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

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/b20fd15e04ce9292f90a7f70f4184e43034b4b9d">b20fd15e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-05-01T18:33:00Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: implement SMB_FILE_NORMALIZED_NAME_INFORMATION handling

Windows 10 (1803 and higher) support and use
SMB_FILE_NORMALIZED_NAME_INFORMATION calls over the network. As a
fallback (in case the server don't support it) the client traverses all
path components, which is very expensive.

Implementing SMB_FILE_NORMALIZED_NAME_INFORMATION is very cheap for us
as the open already went through unix_convert() and we have the
information the client is asking for.

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

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 May  1 18:33:00 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/966fc0dc604299a87e40e7170d80911475317db5">966fc0dc</a></strong>
<div>
<span>by Robert Sander</span>
<i>at 2019-05-02T19:34:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: modules: ceph: use current working directory instead of share path

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

Signed-off-by: Robert Sander <r.sander@heinlein-support.de>
Reviewed-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  2 19:34:11 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d397d56717b804959367f04bbda49a5d704aa9da">d397d567</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-03T22:34:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use smbd_check_access_rights in reply_setatr()

That was the only caller of check_access outside of trans2.c, and it
passed an explicit NULL for fsp. Use the lower-level call, so we can
make check_access() static to trans2.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/a34d6a78df0510be444217db565c900eec6bbf51">a34d6a78</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-03T22:34:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Make "check_access()" static to trans2.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/ef289136a22b0184097e2c34d8e38bb8844475c1">ef289136</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-03T22:34:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use a struct initializer

With -O3 this saves 32 bytes of .text

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7738a5380fa7ff2fee49da83044d67e6c0c5c3b5">7738a538</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-03T22:34:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Remove an unnecessary #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/26a0f0aa54ee8521afec696a0b08756ba61c1855">26a0f0aa</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-03T22:34:16Z</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/abf5d7d7e15becfba927f8b85ecd9bc46939d8fb">abf5d7d7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-03T23:45:55Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use "ISDOT" in reply_setatr

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 May  3 23:45:55 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/051af0025cc30e56760e6a1cd2a747c01c7131a2">051af002</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-05T22:07:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: add lcov to generate code coverage report

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>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ee54661df9054295b0f3aa8e49898ead37a2aac4">ee54661d</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-05T22:07:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: rm abs path in artifacts

According to doc: https://docs.gitlab.com/ee/user/project/pipelines/job_artifacts.html#defining-artifacts-in-gitlab-ciyml
all paths in artifacts must be relative to the cloned repo, so this line
actually never worked.

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>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f9800450c36161f5fbe5d75ee4e85c56c4101be9">f9800450</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-05T23:22:54Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: add docker tag back for private jobs

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): Sun May  5 23:22:54 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ad3af7cdffb98b7998857db609548fc96f60c669">ad3af7cd</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-06T01:18:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib util debug: Increase format buffer to 4KiB

Increase the debug line buffer to 4KiB, the existing size of 1KiB is too
small for dsdbChange JSON audit messages.  These messages were then
split across multipe lines causing issues in log ingestion tools
expecting single line messages.

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

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

Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Mon May  6 01:18:22 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/64bccb9bca77b0b7b46f645267f81f879f31e3d1">64bccb9b</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-06T04:23:51Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap: test for empty attributes list

Test for LDAP request with an empty attribute list.  LDB responds with
no attributes, but LDAP responds with all attributes.  Fix is attached
to the bug below but we can't push it upstream until we've found all
instances of incorrect empty attribute list usage in Samba.

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

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bc1583d368902c2e384ed0080c8de003b982a6f7">bc1583d3</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-06T05:45:55Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: correcting empty attribute usage in requests

Many parts of Samba use an empty attribute list in requests expecting
all attributes to be returned in the response, which is incorrect.  This
patch corrects the instances found by current CI tests.  Static analysis
and debugging will need to be done before changing ildap to the correct
semantics.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>

Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Garming Sam <garming@samba.org>
Autobuild-Date(master): Mon May  6 05:45:55 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/169290896684d52b9d63cb17c0b90a3d63dd9b8d">16929089</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T05:46:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Remove build of replacetort

This is built close to the code it tests in lib/replace/wscript_build as
replace_testsuite.

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/6cc68c1ccf7683543e2735844210627d39556e34">6cc68c1c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T05:46:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">replace: Fix "make test" to actually test libreplace

Found by Joe Guo during preperation for automated code coverage output.

In order to allow the Makefile wrapper to work we need to rename the
test directory to tests.

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/305617a14d2a77d34785168ca2c5feb6f862a818">305617a1</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T05:46:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">talloc: Follow pattern of ldb and tdb to ensure "make test" depends on a build

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/e9874a097dd6ce104082a341f0ccdaffbf553bcb">e9874a09</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T05:46:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl: No longer use Python3 compat define: PyInt_FromLong -> PyLong_FromLong

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/26d8d68ca3c659d4957a9bf001e8efa5dc9fefb5">26d8d68c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T05:46:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl: Always call PyLong_FromLongLong() in ndr_PyLong_FromLongLong()

The C type is "long long" so use that always, as the Python type is now always the same.

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/b0714c70ea52e9a3a1f34d1c3c1642820e6acacf">b0714c70</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T05:46:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl: Always call PyLong_FromUnsignedLongLong() in ndr_PyLong_FromUnsignedLongLong()

The C type is "unsigned long long" so use that always, as the Python type is now always the same.

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/819ee849cb198ebdedb6458f2f6dc7e958533337">819ee849</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T05:46:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl: Call PyLong_FromLongLong() directly rather than via inline helper

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/4229c278533ed637f048be876c1ab58b07b2a842">4229c278</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T05:46:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl: Call PyLong_FromUnsignedLongLong directly rather than via inline helper

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/154370a2e6288d9cf15dd36ecf66fcd8335cfb0b">154370a2</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T05:46:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">build: Remove ndr_PyLong_FromUnsignedLongLong wrapper from NT_STATUS and W_ERROR table generator

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/e995c9c16f6a9a1d7d5dab53a75cd1ff3775aeb1">e995c9c1</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T05:46:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-winbindd: Removed unused wb_utils.c

Garming noticed this was untested code in the lcov report, and it turns out to be unused.

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/eb15acdd35600878aba3319e070199200d9a1357">eb15acdd</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T05:46:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/tls: Remove unused source4/lib/tls/tls.c (tls socket wrapper)

The last caller was removed in 72c79e30f07bcc98610cca878f5de50e7db239a0
to remove the web server as all other callers use tls_tstream.

Found by callcatcher.

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/65a24621710a81147e482209cc955ce4641660f4">65a24621</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T05:46:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Remove unused torture_ldap_connection2()

The last caller was removed by 'r7626: a new ldap client library'
in 2005 with bab977dad76e9204278c7afe0bb905cda064f488.

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/7ba65310de239461fef4356941afae0d08d17d5a">7ba65310</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T05:46:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Remove unused torture_join_server_dn_str()

The last caller was removed in 2010 by
s4:torture Rework NET-API-BECOMEDC test to use libnet_vampire callbacks.
in ecf782da87b67b8d977aa1bbfce21f1b6ed8288a

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/e608a84fa4be95435c81291f98ba0825528111d3">e608a84f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T05:46:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Remove unused dsdb_attribute_ldb_to_drsuapi()

The last caller was removed in s4-drs: GetNCChanges() to return correct (in AD-way) ATTIDs
(6a51afcfdbcbce7813fb59c0655e4178268ca70e) by Kamen Mazdrashki in 2010

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/7671eb2ca0156ba8c1eb029932607968736b315b">7671eb2c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T05:46:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libnet: Remove unused source4/libnet/libnet_samsync_ldb.c

The last caller was removed in samba-tool: Remove C version of samba-tool
(e2af38415163f248e3dbd5a2abc156761e74b87c) by Amitay Isaacs in 2011

This was a prototype tool to sync a genine NT4 DC (never Samba) into ldb.

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/71cc89833f2971d91e8eb60b672c6f172ef14f68">71cc8983</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-06T07:11:51Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libnet: Remove unused source4/libnet/libnet_sam{dump,sync}:

The last caller was removed in samba-tool: Remove C version of samba-tool
(e2af38415163f248e3dbd5a2abc156761e74b87c) by Amitay Isaacs in 2011

This was a tool to dump a genine NT4 DC (never Samba) into smbpasswd file.

It did work against Windows AD, but DRS replication is much
more comprehensive.

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 May  6 07:11:51 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3e5a2749db94930d06bf63b62136ecf49ac09e9c">3e5a2749</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-06T07:12:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/scripting/bin Remove unecessary scripts

Apparently we get official schema from MS these days

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/63ae5e5f82bcc8f7f2c345f8b78170c5d2139684">63ae5e5f</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-06T07:12:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 heimdal_build: disable leak checks for asn1 compiler

Disable Address Sanitizer leak checking for the heimdal asn1 compiler, this
allows a samba build with Address Sanitizer enabled.

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/e129d4ea3e0f6455d1eb6d5df7118e31fcb1670e">e129d4ea</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-06T07:12:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Utils.cmd_output returns byte string

Convert the returned byte string into a string.

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/193b44466ba05deba8f2b1fdc16ab55c102e82ad">193b4446</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-06T08:55:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch pam_winbind: Fix Asan use after free

Fix use after free condition detected by Address Sanitizer triggered by
wbcLogonUserInfoDestructor, wbcFreeMemory has code to detect and prevent a
double free.  This patch prevents the Address Sanitizer error, allowing
tests to be run with Address Sanitizer enabled.

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

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 May  6 08:55:22 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1b9cd2acda393577c0e9c2ef908c520b3d7ca6f7">1b9cd2ac</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-07T00:11:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: Also check for gnutls_privkey_export_x509()

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/4607ed73354716367e71f575d18bd8f5ba8e926d">4607ed73</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-07T00:11:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Fix yum commands

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/05791f40a6e78e628ec4ab2fb0e13b2c7fbb1b78">05791f40</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-07T00:11:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Make sure that the python3 interpreter is installed

We need it for waf ;-)

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/3c47066e067dd23e46435e5b3f8c8801a6d81fb7">3c47066e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-07T00:11:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Move to python 3.6 on CentOS

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/86d4836919e29c0bdf927658df641811247534c6">86d48369</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-07T00:11:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Install correct python modules on CentOS7

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/1d8c4c64b123d287c13a8be4101fa5575fd73e85">1d8c4c64</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-07T01:45:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Enable building on CentOS7

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  7 01:45:37 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d2a4088cc3c905027df2d189f790fc82c583c63c">d2a4088c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-07T03:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Use GnuTLS SHA512 in smbXcli_base

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/b99c04fcaf583ca35bb789b980593a4405ee01b7">b99c04fc</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-07T03:04:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Use GnuTLS SHA512 in smb2 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/812f5d60edce7ec8b328c8ada7dbc6db39f6adbd">812f5d60</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-07T03:04:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Use GnuTLS SHA512 in smb2 session setup

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/200995880893b379de2fe2f9269baab6678cd6f6">20099588</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-07T03:04:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:crypto: Remove unused SHA512

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/3d42e257a617e4c20d814e87a6920bfb4bb69134">3d42e257</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-07T05:03:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 dns_server Bind9: Log opertion durations

Add duration debug logging to the samba bind9 dlz driver and the
dnsserver_common routines.  This should aid future diagnosis of
performance issues, and could be used to monitor DNS performance.

The logs are currently Human readable text only, i.e. no JSON formatted
output.

Log lines are of the form:

<function>: DNS timing: result: [<result>] \
duration: (<duration>) zone: [<zone>] name: [<name>] \
data: [<data>]

e.g.

dns_common_wildcard_lookup: DNS timing: result: [WERR_OK] \
duration: (111) zone: [] \
name: [DC=_ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones,\
DC=chgdcpassword.samba.example.com,CN=MicrosoftDNS,DC=DomainDnsZones,\
DC=chgdcpassword,DC=samba,DC=example,DC=com] data: []

Enabled by setting log level to "dns:10"

durations are in microseconds.

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): Tue May  7 05:03:26 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/87032ccebdd13feef13d9da8d8958d928f36b75a">87032cce</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-07T05:45:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-build: Add check for getrusage()

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/95477e69e3e865cb4ee93f947074eef5c873750f">95477e69</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-07T05:45:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Log when ctdbd CPU utilisation exceeds a threshold

This is to help us notice when ctdbd is using the full capacity of a
CPU, so is saturated.

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/f78d9388fb459dc83fafb4da6e683e3137ad40e1">f78d9388</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-07T05:45:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Fix ctdb dumpmemory to avoid printing trailing NUL

Fix ctdb rddumpmemory too.

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

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/8108b3134c017c22d245fc5b2207a88d44ab0dd2">8108b313</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-07T05:45:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Extend test to cover ctdb rddumpmemory

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

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/b80967f5dcc6b58db0c38ec3e5cf0cbe46dbeb4b">b80967f5</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-07T05:45:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Drop script configuration variable CTDB_MONITOR_SWAP_USAGE

CTDB's system memory monitoring in 05.system.script monitors both main
memory and swap.  The swap monitoring was originally based on
the (possibly incorrect, see below) idea that swap space stacks on top
of main memory, so that when a system starts filling swap space then
this is supposed to be a good sign that the system is running out of
memory.  Additionally, performance on a Linux system tends to be
destroyed by the I/O associated with a lot of swapping to spinning
disks.

However, some platforms default to creating only 4GB of swap space
even when there is 128GB of main memory.  With such a small swap to
main memory ratio, memory pressure can force swap to be nearly full
even when a significant amount of main memory is still available and
the system is performing well.  This suggests that checking swap
utilisation might be less than useful in many circumstances.

So, remove the separate swap space checking and change the memory
check to cover the total of main memory and swap space.

Test function set_mem_usage() still takes an argument for each of main
memory and swap space utilisation.  For simplicity, the same number is
now passed twice to make the intended results comprehensible.  This
could be changed later.

A couple of tests are cleaned up to no longer use hard-coded
/proc/meminfo and ps output.

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/7c3819d1ac264acf998f426e0cef7f6211e0ddee">7c3819d1</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-07T05:45:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Change sanity_check_output() to internally use $out

All callers are currently passed $out.  Global variable $out is used
in many other places so use it here to simplify the interface and make
future changes simpler.

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

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/9d02452a24625df5f62fd6d45a16effe2fa45fbe">9d02452a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-07T05:45:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Make try_command_on_node less error-prone

This sometimes fails, apparently due to a cat process in onnode
getting EAGAIN.  The conclusion is that tests that process large
amounts of output should not depend on a sub-shell delivering that
output into a shell variable.

Change try_command_on_node() to leave all of the output in file
$outfile and just put the first 1KB into $out.  $outfile is removed
after each test completes.

Change the implementation of sanity_check_output() to use $outfile
instead of $out.

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

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/066cc5b0c561464ed08890d9aa1a1a55b545e9cc">066cc5b0</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-07T05:45:35Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Avoid bulk output in $out, prefer $outfile

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

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/3cb53a7a05409925024d6a67bcfaeb962d896e0b">3cb53a7a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-07T05:45:35Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Wait to allow database attach/detach to take effect

Sometimes the detach test fails:

  Check detaching single test database detach_test1.tdb
  BAD: database detach_test1.tdb is still attached
  Number of databases:4
  dbid:0x5ae995ee name:detach_test4.tdb path:tests/var/simple/node.0/db/volatile/detach_test4.tdb.0
  dbid:0xd84cc13c name:detach_test3.tdb path:tests/var/simple/node.0/db/volatile/detach_test3.tdb.0
  dbid:0x8e8e8cef name:detach_test2.tdb path:tests/var/simple/node.0/db/volatile/detach_test2.tdb.0
  dbid:0xc62491f4 name:detach_test1.tdb path:tests/var/simple/node.0/db/volatile/detach_test1.tdb.0
  Number of databases:3
  dbid:0x5ae995ee name:detach_test4.tdb path:tests/var/simple/node.1/db/volatile/detach_test4.tdb.1
  dbid:0xd84cc13c name:detach_test3.tdb path:tests/var/simple/node.1/db/volatile/detach_test3.tdb.1
  dbid:0x8e8e8cef name:detach_test2.tdb path:tests/var/simple/node.1/db/volatile/detach_test2.tdb.1
  Number of databases:4
  dbid:0x5ae995ee name:detach_test4.tdb path:tests/var/simple/node.2/db/volatile/detach_test4.tdb.2
  dbid:0xd84cc13c name:detach_test3.tdb path:tests/var/simple/node.2/db/volatile/detach_test3.tdb.2
  dbid:0x8e8e8cef name:detach_test2.tdb path:tests/var/simple/node.2/db/volatile/detach_test2.tdb.2
  dbid:0xc62491f4 name:detach_test1.tdb path:tests/var/simple/node.2/db/volatile/detach_test1.tdb.2
  *** TEST COMPLETED (RC=1) AT 2019-04-27 03:35:40, CLEANING UP...

When issued from a client, the detach control re-broadcasts itself
asynchronously to all nodes and then returns success.  The controls to
some nodes to do the actual detach may still be in flight when success
is returned to the client.  Therefore, the test should wait for a few
seconds to allow the asynchronous controls to complete.

The same is true for the attach control, so workaround the problem in
the attach test too.

An alternative is to make the attach and detach controls synchronous
by avoiding the broadcast and waiting for the results of the
individual controls sent to the nodes.  However, a simple
implementation would involve adding new nested event loops.

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

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/a2ab6485e027ebb13871c7d83b7626ac5c9b98c0">a2ab6485</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-07T05:45:35Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Fix usage message

Since commit 0e9ead8f28fced3ebfa888786a1dc5bb59e734a3 daemons have
been shut down after each test, so this option no longer has anything
to do with killing daemons.

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

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/5a9e338330fe136908a3a17a5df81c054c5cc5b0">5a9e3383</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-07T06:56:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Don't clean up test var directory in autotest target

If the directory is always cleaned up then it is not possible to look
at daemon logs to debug test failures.

This target is only really used by autobuild.py, which (optionally)
cleans up the parent directory anyway.

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

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 May  7 06:56:01 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d16e9dfc81d7d79c8d2bcffc66b6fe008e726974">d16e9dfc</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-07T17:31:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Fix format in db_hash_test

error: ‘%04d’ directive writing between 4 and 11 bytes into a region of
size 5 [-Werror=format-overflow=]
   sprintf(key, "key%04d", i);

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/e6f8404827958705a5d7fc92a43efed365dd0451">e6f84048</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-07T17:31:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: Enable warnings about format overflows

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/bead4fdb88c9684a6c0ed066194cecb5d186026d">bead4fdb</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-07T18:45:04Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: Enable warnings about zero-length formats

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 May  7 18:45:06 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a4973270423203d9881cdbf2d24fadd02c3228c0">a4973270</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-05-07T23:22:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CID 1363287: Resource leak using str_list_append

Signed-off-by: Garming Sam <garming@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/93061fb822d5af5c29f223e9fe1ce91b7264f082">93061fb8</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-05-08T00:36:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CID 1363286: Resource leak by failing to free tmp_ctx

There are a few oddities in this function, including a duplicated NULL
check, a talloc_free of a context which is passed in and a number of
missing frees before a return.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Wed May  8 00:36:14 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bd29f3fcc023d00afde8e9cc2f9db22dcae49877">bd29f3fc</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-08T16:33:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:auth: Fix debug statement in gensec_gssapi

The 'role' is set to null, we should first set it to the correct value
before printing anything.

Found by GCC 9.

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/790d7e34cbe4e190d6acdd24696efe53944cd4a6">790d7e34</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-08T16:33:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server: Do not free the tdbname before we printed it

Found by GCC 9.

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/6da032df5450ef72f8608a19b3b5cc6e9185cd6e">6da032df</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-08T16:33:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:ntvfs: Do not free eadb before we printed an error

Found by GCC 9.

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/be72dfbc8edc53ed191dc01668a53cafb5cd785d">be72dfbc</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-08T16:33:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Do not print NULL strings we just checked before

Found by GCC 9.

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/a8f773e326d6bdfc1c9eb87a74c00108f6620c56">a8f773e3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-08T16:33:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:torture: Fix string comparison macros where we directly pass NULL

See e.g. lib/util/tests/strlist.c +177

Found by GCC 9.

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/46f036d3231bc99cf37c7cabf82757d3c28c5cff">46f036d3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-08T16:33:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Do not free full_name before we printed it

Found by GCC 9.

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/830cb7e67568de5f3ce359cb6af3be8ab545c824">830cb7e6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-08T16:33:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb:common: Do not print NULL if we don't get a sockpath

sock_socket_start_recv() might not fill sockpath if we return early.

Found by GCC 9.

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/e333425e0ff6be5691b74a920610b508e7d26892">e333425e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-08T16:33:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbindd: Do not free db_path in idmap_tdb2 before we printed it

Found by GCC 9.

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/3653dc7013518d90e6deb08a1f21d7472dc86675">3653dc70</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-08T16:33:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: If share is NULL in smbcquotas, don't print it

Found by GCC 9.

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/2b957bde5a2f0f670ee0c8acde6edae1f4aaf253">2b957bde</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-08T16:33:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: If share is NULL in smbcacls, don't print it

Found by GCC 9.

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/30abea8815113045b7ee075352c415fe176a48fe">30abea88</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-08T16:33:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbwrap: Fix tdb_data_buf()

IIRC there are platforms that don't like memcpy() with len=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/08a31c9092b808a49ecdf92e8cc0ae9132ba6645">08a31c90</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-08T16:33:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbwrap: Adapt tdb_data_buf's overflow handling to modern conventions

This is the way we do it right now, avoid confusion why "tmp" might be
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/8992cf4aec4750afa9b6a632d26fabf333801525">8992cf4a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-08T16:33:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">g_lock: Apply some 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/b93ae77a6f44a9eb43aae8ed8abfc4149d7b8fef">b93ae77a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-08T17:47:39Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">g_lock: 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 May  8 17:47:39 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ae9fb93393bcadbc71328335e481e4381ecb65bf">ae9fb933</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-08T20:03:42Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 lib socket: Ensure address string owned by parent struct

The local address string was not owned by it's parent structure, which
caused a use after free error in
continue_ip_open_socket source4/librpc/rpc/dcerpc_sock.c:267

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

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): Wed May  8 20:03:42 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/04c0e5212d53e8018f631927bd7d07edd724b77c">04c0e521</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-05-09T04:24:56Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb/build: fix ctdb_mutex_ceph_rados_helper builds

2b5dbb352553699afce62dca4964eb0bd64477f8 fixed builds with an explicit
--with-libcephfs but broke builds against system Ceph libraries. This
change handles both cases.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>

Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Thu May  9 04:24:56 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fd4b1f4f16aee3e3c9a2cb449655edfed171963a">fd4b1f4f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-09T16:46:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbspool: Fix regression printing with Kerberos credentials

This is a regression which has been introduced with Samba 4.8.

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

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 May  9 16:46:05 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/219bc189472acff24410009ee16a409e0aaf8eef">219bc189</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-09T20:43:53Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: don't use recvfile on streams

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

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): Thu May  9 20:43:53 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ff2b0e242618d048178a00412c48482d728c97bd">ff2b0e24</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">talloc torture: avoid NULL dereference

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/a9e6300a5d49182f3c05fd3f11cf056015854820">a9e6300a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc/dnsdata: do not crash if message attr missing (CID: 1414773)

This should be hard to trigger, but goto fail is always nicer than sig 11.

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/74cd11df838815dbef2a505e58c2cb863a82be97">74cd11df</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc/dnsdata: avoid crash on missing attr (CID: 1414757)

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/5389df9b4df4c7140b8ed712d5b6eba7e899a02f">5389df9b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc/dns: leak less on memory failure (CID 1363191)

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/51e4a1e45407ead0cb7753237670620bee6eee2d">51e4a1e4</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">rpc/dns: reduce the CID count on temporary variables

CID 1363189 and others.

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/01e2bdaf30abac1c715d4d0436549f0bfc1deefb">01e2bdaf</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/rpc/dns: check for IP address errors at startup

The silent failure might leave an indeterminate or zero address.

CID: 1272838

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/95d7e939c58620bb8af9926cf607d06a78ee6d39">95d7e939</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/rpc/drsuapi/writespn: check the actual error code (CID 1034691)

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/353d50a81e6c6eb8885e583653e29fcc3892c317">353d50a8</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/rpc/dcerpc_roh_channel_out: check ndr_init (CID 1273065)

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/b289cc19b5b47993052b3006071338bfbb251048">b289cc19</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/rpc/dcerpc_roh_channel_out: check ndr_init (CID 1273062)

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/9fd3939a718ce051bf006b474bb7cbe1d6f8db3a">9fd3939a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdbtool: avoid theoretical NULL dereference (CID 1361462)

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/6c01ff465bcdf34cbd4a090c810764e5227a2abe">6c01ff46</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/texpect: avoid theoretical NULL dereference (CID 1273099)

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/05863957014139d99eefe170116cfbb8c28a2e0b">05863957</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/auth/sam: silence CID 1435849

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/8ad8f9baf00fd7230ba6a47765a287ad2521d51c">8ad8f9ba</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/modules/acl: avoid deref of missing data (CID 1107200)

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/2852dce541e7d923b1a2807f9ba29b62b043d219">2852dce5</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/modules/dirsync: avoid possible NULL dereference (CID 1034800)

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/9a6c0a66d57c6a6b68ad7c80cc2ccea2e518f3e4">9a6c0a66</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/modules/dirsync: remove useless function call

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/23f72c4d712f8d1fec3d67a66d477709d5b0abe2">23f72c4d</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/modules/dirsync: ensure attrs exist (CID 1107212)

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/b18f0dce38a19e47f86d868bc5f052f72e294792">b18f0dce</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/modules/linked_attrs: remove pointless check (CID 240768)

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/2bd79a0cd026d3fedeb126c023b01f9ee76a81df">2bd79a0c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth/creds/guess: avoid segfault with NULL lp (CID 241187)

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/4954a96e45333147c12466ddcea21aa9c364acb5">4954a96e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth/creds/torture: add a test showing segfault

This file isn't actually run...

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/06068603084562be40f3180561fe7af5700ff4e8">06068603</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyrpc: ndr PY_CHECK_TYPE checks for NULL as well as type

Addresses CID 1361477 and others.

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/eb873af9b5cd39e49efbe8d70b8dc2c72ecaa082">eb873af9</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyrpc: remove crutch for python <= 2.5

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/aa18f62a8a9c0375adb4bf2c1103a510e9fd6310">aa18f62a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: avoid NULL deref in ldb_dn_from_ldb_val (CID 1034730)

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/5dc86038835e607ba132a206b91320f12e7728af">5dc86038</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_ldif: avoid NULL dereference with unexpected arguments (CID 1107195)

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/3de7f430db6237487ac68922c80f6114dcb5434b">3de7f430</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_map: check a return value (CID 241354)

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/bfcfae72a57103d5bfae4b54b7ea10602bab838e">bfcfae72</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_mdb: check fcntl return values (CID 1435851)

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/47f2264c5e40ca283708310b1b28f03fad6a21a7">47f2264c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb modules: paged_search checks control is not NULL (CID 241355)

It is unlikely to be NULL, since we're in the callback.

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/c737b61cb46cace806e634ec3b852546609acd93">c737b61c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc/ndr: make push_charset_to_null UTF-16 safe (CID 1399648)

The length is in test units, not bytes, and includes terminating
nulls. For 16-bit character sets, the terminating null must be two
bytes.

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/e79c839a38caa67aeba1693570e6bf2a0c8c5814">e79c839a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/dnsserver: handle broken zone values in sort (CID 1414763, 1414769)

We sort NULL values to the end of the list. What happens to the after
that is another question.

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/cb9fe0360beee81c47931b2b3acb1836d2542614">cb9fe036</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/dnsserver: delay return when trying to log (CID 1444976)

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/215eef5b6f5949b84b17fb131383b9b97ba94958">215eef5b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T22:39:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/dsdb/util_samr: check some return codes (CID 1444977)

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/79111dd0d061894c767a01fd60a5b5c43d98ab42">79111dd0</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-09T23:54:35Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/mod/count_attrs: set ldb var before using it (CID 1444979)

Signed-off-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 May  9 23:54:35 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/667db8e8c7836c750085729f5062807669cbb204">667db8e8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-10T01:14:02Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: SMB1: Don't allow recvfile on stream fsp's.

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

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 May 10 01:14:02 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2f0c49e654a857cc43ba3b1e4b47a95078e01750">2f0c49e6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-10T01:15:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Install libtasn1-tools on Fedora based distributions

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/858e9eee55882f073532660f1eb533bfa2166c0b">858e9eee</a></strong>
<div>
<span>by Michael Hanselmann</span>
<i>at 2019-05-10T01:15:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">read_smb_length: Use correct function name in debug message

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
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/a82f924179ec39f5a6fcd443ffc2f23736cd3a6a">a82f9241</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/ldap_bind: notice backend init failure

This should silence CID 1418508 and CID 1418512

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/597709aac99d2bccb015806f02049918b1ba79bd">597709aa</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/messaging: do not deref NULL state (CID 1437973)

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/79629b42cde3fd1e932677d6388cff90a2cc3cd2">79629b42</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/policy/gp_filesys: avoid SIZE_MAX smbcli write (CID 1034779)

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/c2e882b25f35c786ceebe069787607b1b141db47">c2e882b2</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb.h: improve comment for LDB_ATTR_FLAG_INDEXED

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/985a4b78710a416bf7a64ac6cec5bd2e97ccc9d2">985a4b78</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb.h: spelling of 'means'

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/49048b245dff59bbf70fc959693772613fec1053">49048b24</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/util: spell "equivalence"!

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/18966b6eeea3a386fc4faaaa3b46bf9e1918f609">18966b6e</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kdb_kv_search: spell 'linearized'

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/8f081b7f78bc2c6e60f869423bae15aa0adfa800">8f081b7f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: use ldb_msg_new(), not talloc/talloc_zero

ldb_msg_new() is currently the same as talloc_zero(), but it might
not always be.

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/4624957d42fdd0cbefd0f1e8298b7a19439fe004">4624957d</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: use ldb_msg_new(), not talloc/talloc_zero

ldb_msg_new() is currently the same as talloc_zero(), but it might
not always be.

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/1e61b17106c10ac9af85cd1de5727d6ed49a7144">1e61b171</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/mod/extended_dn_out: zero whole fake_msg struct

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/14db30724334e090f126ec75718b24af8127ad49">14db3072</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb mods/extended_dn_out: remove element using ldb_msg api

The bare memmove is not strictly safe at the end of the 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/4e47d5dfa258f4de72163c393bb400d7c7207aa7">4e47d5df</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/replmd: use ldb_msg_remove_element()

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/2a144ea70ed218bd649b9c5ec49e04dbad4b9d71">2a144ea7</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_ldap: trust db_msg_new() to return empty 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/ce2bf5c72b6423fff680b3d6a9042103a6cdda55">ce2bf5c7</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_ldap: use ldb_msg API to add elements

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/85b6674aebda32ac6c343c0fe70dde92fd263169">85b6674a</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb/tools/ldbtest: initialise msg object

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/652a4015e6b4c1da27a0529f577ce6b6d6035a1a">652a4015</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_kv: use ldb_msg_remove_element()

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/06a02cb88c88c0ba9af5a2eeba722c0b5878cccd">06a02cb8</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_msg: remove_element() checks element array bounds

Previously we half-heartedly checked one end.

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/9c254572dd42147d1e215ef5144c6c7583b1f835">9c254572</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/mod/extended_dn_out: use faster removal filters

When filtering out multiple elements, we end up memmove()ing the same
elements many times over. It is simpler to not do that by keeping track
of how many elements we are keeping.

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/93d6307185d85535e4902d46a2f7e99e82f782a2">93d63071</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb mod/linked_attributes: fix_link_slow(): clarify a 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/3d0f9491131e03cd33dc8a2161b86ceb22c678ab">3d0f9491</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-10T01:15:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/lib/policy/gp_ldap: use ldb API to find messages

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/658128e2b9acaf859b4533b300c84d28267b1de8">658128e2</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-10T01:15:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/registry: Fix func cast error (diff in params size_t vs uint32)

reg_parse_callback_key_t alread has size_t for number of elemens in key
but
reg_parse_callback_val_t uses uint32_t for length of value data.

Many internal function seem to take size_t as data len (see reg_format_value
etc.) It seems changing the signature of the callback aligns it more closely
with the existing api.

../../source3/registry/reg_format.c:438:10: error: cast between incompatible function types from ‘int (*)(reg_format *, const char *, uint32_t,  const uint8_t *, size_t)’ {aka ‘int (*)(struct reg_format *, const char *, unsigned int,  const unsigned char *, long unsigned int)’} to ‘int (*)(void *, const char *, uint32_t,  const uint8_t *, uint32_t)’ {aka ‘int (*)(void *, const char *, unsigned int,  const unsigned char *, unsigned int)’} [-Werror=cast-function-type]
   .val = (reg_parse_callback_val_t)&reg_format_value,

Signed-off-by: Noel Power <noel.power@suse.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/61dd7d6f06e45a101a304bf4a11aab624e5d744c">61dd7d6f</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-10T01:15:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/registry: Fix incompatible func casts

[3425/3524] Compiling source3/registry/reg_parse.c
../../source3/registry/reg_parse.c: In function ‘reg_parse_new’:
../../source3/registry/reg_parse.c:223:12: error: cast between incompatible function types from ‘int (*)(void *)’ to ‘int (*)(void *, const char **, size_t,  _Bool)’ {aka ‘int (*)(void *, const char **, long unsigned int,  _Bool)’} [-Werror=cast-function-type]
   cb.key = (reg_parse_callback_key_t)&nop;
            ^
../../source3/registry/reg_parse.c:226:12: error: cast between incompatible function types from ‘int (*)(void *)’ to ‘int (*)(void *, const char *, uint32_t,  const uint8_t *, uint32_t)’ {aka ‘int (*)(void *, const char *, unsigned int,  const unsigned char *, unsigned int)’} [-Werror=cast-function-type]
   cb.val = (reg_parse_callback_val_t)&nop;
            ^
../../source3/registry/reg_parse.c:229:16: error: cast between incompatible function types from ‘int (*)(void *)’ to ‘int (*)(void *, const char *)’ [-Werror=cast-function-type]
   cb.val_del = (reg_parse_callback_val_del_t)&nop;
                ^
../../source3/registry/reg_parse.c:232:16: error: cast between incompatible function types from ‘int (*)(void *)’ to ‘int (*)(void *, const char *)’ [-Werror=cast-function-type]
   cb.comment = (reg_parse_callback_comment_t)&nop;

Signed-off-by: Noel Power <noel.power@suse.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/09c4611b01bb7716b81ab8a594f6dcbe66cda1db">09c4611b</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-10T01:15:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/registry: fix various 'cast between incompatible function' warnings

[3395/3524] Compiling source3/registry/reg_import.c
../../source3/registry/reg_import.c: In function ‘reg_import_adapter’:
../../source3/registry/reg_import.c:237:16: error: cast between incompatible function types from ‘int (*)(void *)’ to ‘WERROR (*)(void *, void *, const char *, void **)’ {aka ‘struct <anonymous> (*)(void *, void *, const char *, void **)’} [-Werror=cast-function-type]
   cb.openkey = (reg_import_callback_openkey_t)&nop;
                ^
../../source3/registry/reg_import.c:240:17: error: cast between incompatible function types from ‘int (*)(void *)’ to ‘WERROR (*)(void *, void *)’ {aka ‘struct <anonymous> (*)(void *, void *)’} [-Werror=cast-function-type]
   cb.closekey = (reg_import_callback_closekey_t)&nop;
                 ^
../../source3/registry/reg_import.c:243:18: error: cast between incompatible function types from ‘int (*)(void *)’ to ‘WERROR (*)(void *, void *, const char *, void **, _Bool *)’ {aka ‘struct <anonymous> (*)(void *, void *, const char *, void **, _Bool *)’} [-Werror=cast-function-type]
   cb.createkey = (reg_import_callback_createkey_t)&nop;
                  ^
../../source3/registry/reg_import.c:246:18: error: cast between incompatible function types from ‘int (*)(void *)’ to ‘WERROR (*)(void *, void *, const char *)’ {aka ‘struct <anonymous> (*)(void *, void *, const char *)’} [-Werror=cast-function-type]
   cb.deletekey = (reg_import_callback_deletekey_t)&nop;
                  ^
../../source3/registry/reg_import.c:249:18: error: cast between incompatible function types from ‘int (*)(void *)’ to ‘WERROR (*)(void *, void *, const char *)’ {aka ‘struct <anonymous> (*)(void *, void *, const char *)’} [-Werror=cast-function-type]
   cb.deleteval = (reg_import_callback_deleteval_t)&nop;

Signed-off-by: Noel Power <noel.power@suse.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/5733f678c8ef364f52ca6a144097ae2af275b0ec">5733f678</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-10T02:26:02Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/rpcclient: Fix bad (and illegal) func cast

../../source3/rpcclient/cmd_samr.c: In function ‘cmd_samr_get_usrdom_pwinfo’:
../../librpc/ndr/libndr.h:219:76: error: cast between incompatible function types from ‘void (*)(struct ndr_print *, const char *, uint32_t)’ {aka ‘void (*)(struct ndr_print *, const char *, unsigned int)’} to ‘void (*)(struct ndr_print *, const char *, const void *)’ [-Werror=cast-function-type]
 #define NDR_PRINT_STRUCT_STRING(ctx, type, p) ndr_print_struct_string(ctx, (ndr_print_fn_t)ndr_print_ ##type, #p, p)
                                                                            ^
../../source3/rpcclient/cmd_samr.c:2646:4: note: in expansion of macro ‘NDR_PRINT_STRUCT_STRING’
    NDR_PRINT_STRUCT_STRING(mem_ctx,

Signed-off-by: Noel Power <noel.power@suse.com>
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): Fri May 10 02:26:02 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/165025a56e14eca51f3db366300fe625d1f521b5">165025a5</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-10T08:19:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba_dnsupdate: flush dns update cache file after write

While running samba python tests with `coverage.py`, `make test` failed
to start ad_dc env since dns_update_cache stays empty.
Flush the file after write fix the issue.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
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/d65b7641c84976c543ded8f0de5ab2da3c19b407">d65b7641</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-10T08:19:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 librpc rpc pyrpc: Ensure tevent_context deleted last

Ensure that the tevent_context is deleted after the connection, to
prevent a use after free.

Note: Py_DECREF calls dcerpc_interface_dealloc so the
TALLOC_FREE(ret->mem_ctx) calls in the error paths of
py_dcerpc_interface_init_helper needed removal.

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

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/b78048524da871ea4425e7dc3b9d09e2e1c43c64">b7804852</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-10T08:19:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest/target/Samba4.pm: increase max_wait from 60s to 120s to avoid timeout failure in samba-ad-dc-backup

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/21475e9556e3088a99951abeea07cea500cce105">21475e95</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-10T08:19:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wscript: mv --enable-coverage option to global

We want to enable gcov for all tasks, move it to global wscript.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/af0e0c544b9bf46967a91c1a177bc012a161f483">af0e0c54</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-10T08:19:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: rename sdir to test_source_dir

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9ea81c0e3764cbda449c1d98595981ce32a8558c">9ea81c0e</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-10T08:19:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: mv find_git_root and gitroot to top

so the reset of the code can use gitroot directly.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/332f19c7f2c56e6835420647599884fed5e61d98">332f19c7</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-10T08:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: mv optionparse to top

so the rest of the code can use the option values directly.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/87ea55e43662d95a430856e2584c172c689dcaf5">87ea55e4</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-10T08:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: add --enable-coverage option

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0cdd8bd6e1d531f0ee12f2f8124d7cc61184c633">0cdd8bd6</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-10T08:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: replace more placeholders in cmds for coverage

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c5ae200b564d3eca50255ca9528d86219823777e">c5ae200b</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-10T08:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: add ENABLE_COVERAGE placeholder in configure cmd option

The value will be "--enable-coverage" or "".

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1b48d8a9cea8eee16a621359d360877663614627">1b48d8a9</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-10T08:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: define LCOV_CMD and run it after each make test

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5b2a1a39015b2261d244127e8c604144d49220cf">5b2a1a39</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-10T08:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: add var SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE

keep this var empty by default, since gcov will slow down the build process.
set to `--enable-coverage` to enable coverage on demand.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/be005e53a4b15eb3e6cd3f0f08d3bba5d3925210">be005e53</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-10T08:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: add pages job to generate coverage report and publish to gitlab pages

- add new stage "report"
- add pages job in "report" stage to collect .info files, generate html report and publish to gitlab pages.
- only trigger when SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE == '--enable-coverage'

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/71595201bea9b3fa28357065fa137806f9220f38">71595201</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-10T08:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/.gitlab-ci.yml: do not run o3 jobs if coverage enabled

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a5d1df4a8f9c535ff2f7ef11d7dfea4d79d65e7e">a5d1df4a</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-10T10:02:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3 rpc_client: Fix Asan stack use after scope

Fixes Asan error:

==1924==ERROR: AddressSanitizer: stack-use-after-scope on address
    0x7ffe63f873d0 at pc 0x7fb99dae1733 bp 0x7ffe63f86a00 sp 0x7ffe63f861a8
READ of size 24 at 0x7ffe63f873d0 thread T0
    #0 0x7fb99dae1732  (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x79732)
    #1 0x7fb99cfe5549 in memcpy
        /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34
    #2 0x7fb99cfe5549 in ndr_push_bytes
        ../../librpc/ndr/ndr_basic.c:729
    #3 0x7fb99cfe5646 in ndr_push_array_uint8
        ../../librpc/ndr/ndr_basic.c:754
    #4 0x7fb99a69dd1b in ndr_push_netr_ChallengeResponse
        librpc/gen_ndr/ndr_netlogon.c:462
    #5 0x7fb99a6c5fab in ndr_push_netr_NetworkInfo
        librpc/gen_ndr/ndr_netlogon.c:556
    #6 0x7fb99a6c749d in ndr_push_netr_LogonLevel
         librpc/gen_ndr/ndr_netlogon.c:783
    #7 0x7fb99a7222de in ndr_push_netr_LogonSamLogonEx
         librpc/gen_ndr/ndr_netlogon.c:16547
    #8 0x7fb99c982c97 in dcerpc_binding_handle_call_send
         ../../librpc/rpc/binding_handle.c:416

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

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 May 10 10:02:21 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/21dc6f8e8d82f84e4afda355a48fbbd39c7fe800">21dc6f8e</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-05-10T12:59:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_ceph: fix cephwrap_flistxattr() debug message

The @list buffer may be uninitialised prior to ceph_flistxattr()
invocation, so only log the address.

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

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): Fri May 10 12:59:05 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8663e0a64fbdb9ea16babbfe87d6f5d7a7b72bbd">8663e0a6</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-13T07:27:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Never use 0 as a client ID

ctdb_control_db_attach() and ctdb_control_db_detach() assume that any
control with client ID 0 comes from another daemon and treat it
specially.

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

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/a0a82f1b6a0d7d94b99982579fe13291d1e6a1b0">a0a82f1b</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2019-05-13T07:27:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Add reqid wrapping test

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

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/a60e77157cb6e803ead4e93d1caeba140f955e08">a60e7715</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-13T07:27:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Add dump-logs command for local daemons

Dump a single merged log to stdout.

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/97ad353a67ce0232d7ca5637f1bf8886e2df1aca">97ad353a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-13T07:27:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Actually restart if cluster doesn't become healthy

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

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/c75fbeaa96108cd4dc193ef5f4170977804e5104">c75fbeaa</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-13T08:42:44Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Remove old socket wrapper state directory during setup

Otherwise, when looping tests for a long time, nodes are unable to
connect to each other.

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

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 May 13 08:42:44 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b0cc6d217485c317b2138347216fac5d74684328">b0cc6d21</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-14T06:07:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 dsdb: fix use after free in samldb_rename_search_base_callback

Fix use after free detected by AddressSanitizer

AddressSanitizer: heap-use-after-free on address 0x60f0002b2738
                  at pc 0x7f89b1a213b5 bp 0x7ffce9528810 sp 0x7ffce9528800
                  READ of size 8 at 0x60f0002b2738 thread T0
    #0 0x7f89b1a213b4 in samldb_rename_search_base_callback
        ../../source4/dsdb/samdb/ldb_modules/samldb.c:4203
    #1 0x7f89d3a0db4a in ldb_module_send_entry
        ../../lib/ldb/common/ldb_modules.c:793
    #2 0x7f89b6f27356 in es_callback
        ../../source4/dsdb/samdb/ldb_modules/encrypted_secrets.c:1418

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

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/b1a32dd7f50ed0aee3d0eea5a124cb8ddfa417ad">b1a32dd7</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-14T07:20:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: enable undefined behaviour sanitizer

Add a --undefined-sanitizer option to configure, this causes the tests
to be run with the undefined behaviout sanitizer enabled.

Errors can be suppressed by adding entries to selftest/ubsan.supp

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): Tue May 14 07:20:28 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cf00db40355b49443263187f9d97934f91287e51">cf00db40</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-14T07:25:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Capture output in $out on failure as well

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

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/8be4ee1a28d5c037955832b6f827d40f28f02796">8be4ee1a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-14T07:25:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Make ctdb reloadips tests more reliable

ctdb reloadips will fail if it can't disable takover runs.  The most
likely reason for this is that there is already a takeover run in
progress.  We can't predict when this will happen, so retry if this
occurs.

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

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/dc89db8ca6aadd4a9f7e8a85843c53709d04587c">dc89db8c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-14T07:25:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Fix logic error in simple ctdb reloadips test

There is a chance that restoring IP addresses to the test node will
result in different IP addresses being assigned to that node.
Removing a single IP address may then fail (or be a no-op) if it is
done after the restore.

So, swap the single IP address removal to happen first, then restore,
then remove all IP addresses.

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

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/6a2941e2a9fd6ab2d5b8dbac042b61a7b1b0b914">6a2941e2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-14T07:25:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Fix memory leak

state is always freed before exiting this function, so allocate fde
off it instead of long-lived ctdb context.

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

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/30bc6e2529cdd444d4ec7902844c3a6fb0858090">30bc6e25</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-05-14T07:25:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Fix memory leak

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

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/b1f4c86eea022999d5439e4a6ef3494fe41479b6">b1f4c86e</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2019-05-14T08:59:03Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Fix memory leak in run_proc

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

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

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Tue May 14 08:59:03 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5639e973c1f6f1b28b122741763f1d05b47bc2d8">5639e973</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2019-05-14T10:23:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-16860 selftest: Add test for S4U2Self with unkeyed checksum

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

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/43958af1d50f0185e21e6cd74110c455ee8996af">43958af1</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2019-05-14T11:45:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-16860 Heimdal KDC: Reject PA-S4U2Self with unkeyed checksum

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

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Tue May 14 11:45:13 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/76d7d05b1da6c0703b1c2bade0c4467c7cc1adec">76d7d05b</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-05-14T22:17:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_ceph: drop fdopendir handler

libcephfs doesn't currently offer an fdopendir equivalent, so the
existing implementation peeks at fsp->fsp_name->base_name, which can
break if vfs_ceph is used under a separate path-munging VFS module.

Return ENOSYS instead and rely on existing OpenDir_fsp() fallback.

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/76f3b194c25e8d388cde2da971d116479ac63d9d">76f3b194</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-05-14T22:17:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: add ceph_snapshots module

vfs_ceph_snapshots is a module for accessing CephFS snapshots as
Previous Versions. The module is separate from vfs_ceph, so that it can
also be used atop a CephFS kernel backed share with vfs_default.

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/9345d11c44e55e9ad1eb6b55975d04561f5d2ba3">9345d11c</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-05-14T23:31:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: add vfs_ceph_snapshots manpage

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

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Tue May 14 23:31:27 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/28518c579d485389ed4f2951de5f49f16ee53680">28518c57</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-15T00:45:58Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libsmb: Add missing OOM check in fill_quota_buffer()

Found by covscan (csbuild).

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Noel Power <nopower@suse.com>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed May 15 00:45:58 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/94989e4e99c4403d90936f0d0a9c81050e5512b8">94989e4e</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-15T04:03:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_kv: Remove incorrect reference to LDB_UNPACK_DATA_FLAG_NO_DN

The DN is now exploded so as to improve other aspects of the search handling.

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/73bf2949e85d94103d85e54b7963f79ed4f4a961">73bf2949</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-15T04:03:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_kv: Use ldb_msg_add_steal_value() in msg_add_distinguished_name()

This more modern routine allocates a nice talloc tree.

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/ea7fd52a78d90f54c8b0f2583c72827971ddea6a">ea7fd52a</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-15T04:03:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: removing alloc from unpack_data

Making unpack flag LDB_UNPACK_DATA_FLAG_NO_DATA_ALLOC required
behaviour, since allocating data during unpack is slow and unnecessary
in all current usages. In any future unpack usage, if editing of
returned memory is required, some function that duplicates the message
should be used, such as one of the filter_attrs functions, or msg_copy.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-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/a36e20c40cfcbced07962fcc72b26edd33f2ad3a">a36e20c4</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-15T04:03:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: perf test for pack format

Performance test for pack function and unpack function run with flag
LDB_UNPACK_DATA_FLAG_NO_DATA_ALLOC. Run this test before and after
forthcoming pack format changes to test throughput improvement. On my
machine, the unpack improvement is around 50%.
The test doesn't really belong in LDB torture but it's the only place
where all the required functions are available.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-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/9f9bbb5aac15e8b6f34496e10fac1e94f4736a19">9f9bbb5a</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-15T04:03:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: removing msg and dn copying from filter attrs

Optimising filter_attrs by removing msg and dn allocation/copying. The
caller can construct the msg and possibly steal the dn.
Also giving the function an ldb for future use.

NOTE: Configure with --abi-check-disable to build this commit. This
patch is part of a set of LDB ABI changes, and the version update is
done on the last commit.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-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/9310d9088dc21f76b7e8e5f5378ea6d5262192a0">9310d908</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-15T04:03:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: move ldb_kv's filter into pack code

This patch moves ldb_kv's filter code into the pack code to replace
'only attr list' functionality which will be removed in forthcoming
commit. Unpacking data then filtering the result is not any slower
than the removed 'only attr list' approach.
'only attr list' test repurposed to test unpack -> filter flow.

NOTE: Configure with --abi-check-disable to build this commit. This
patch is part of a set of LDB ABI changes, and the version update is
done on the last commit.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-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/15f0c4969a70414ee138a1a524a60750efe590e5">15f0c496</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-15T04:03:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: remove unpack only attr list functionality

Unpack functions currently take an attribute list to restrict the set of
attributes to be returned in the constructed message. This
functionality is never used and complicates implementation of
forthcoming new pack format. This patch removes that functionality.
Using the unpack function then filtering the result turns
out not to be any slower.

NOTE: Configure with --abi-check-disable to build this commit. This
patch is part of a set of LDB ABI changes, and the version update is
done on the last commit.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-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/85b6f71c65e7bfb167064f574a080bc81f7af16d">85b6f71c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-15T04:03:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Release ldb 2.0.1

* Rework pack routines to remove unused features:
  - ldb_unpack_data_only_attr_list_flags() is removed
  - LDB_UNPACK_DATA_FLAG_NO_DATA_ALLOC is now always implied

  This improves the unpack performace significantly.

* Improve search performance via new internal flag
  LDB_UNPACK_DATA_FLAG_READ_LOCKED which removes a memdup

* Improve search performance during full scan by ignoring
  index records early.

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/d1447aa8b54ceae3875fdc4d03d0be447f8db59a">d1447aa8</a></strong>
<div>
<span>by Fabrice Fontaine</span>
<i>at 2019-05-15T04:03:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_regfio.c: include stdint.h before cmoka.h

This fix the following build failure on mips64el:
/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/stdint.h:122:27: error: conflicting types for 'uintptr_t'
 typedef unsigned long int uintptr_t;
                           ^
In file included from ../source3/registry/tests/test_regfio.c:23:0:
../third_party/cmocka/cmocka.h:126:28: note: previous declaration of 'uintptr_t' was here
       typedef unsigned int uintptr_t;

Fixes:
 - http://autobuild.buildroot.org/results/bae0508e84c905dc23ad7cf1153cd1e9d8e4d734

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-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/09355b7855650cc52781796ad0a5fd28504ea3d0">09355b78</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-15T04:03:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util/charset/convert_string: always set length

In failure cases the destination string pointer is set to NULL, but
the size is not changed. Some callers have not been checking the
return value and passing the destination pointer and uninitialised
length onto other functions. We can curse and blame those callers, but
let's also keep them safe.

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/265b3b0c6cc38fb9644f240ce31edf32d9362b1c">265b3b0c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-15T04:03:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util/charset/convert: do not overflow dest len

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/02507ebf10eb6c038ef2ebc1e1aa6a4bd53eeecd">02507ebf</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-15T04:03:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util/charset/convert: do not overflow dest len in corner case

Now, if destlen were SIZE_MAX - 1, destlen * 2 would wrap to SIZE_MAX - 3,
which makes (destlen * 2 + 2) == SIZE_MAX - 1, the same number again.
So we need the <= comparison in this case.

As things stand, it is not actually possible for destlen to be
SIZE_MAX (because it is always an even number after the first round,
and the first round is constrained to be < SIZE_MAX / 2, but *if*
destlen was SIZE_MAX, destlen * 2 + 2 would be 0, so that case is OK.
Similarly the SIZE_MAX - 2 and smaller cases were covered by the
original formula.

We add the comment for people who are wondering WTF is going on with
all this destlen manipulation.

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/a6f47b4f7581e0a160fc844efc78e213c6546aee">a6f47b4f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-15T04:03:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util/charset/convert: when retrying, retry from the start

iconv() advances the inbuf pointer; if we decide to realloc and re-iconv,
we need to reset inbuf to the source 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/103d248bee8cfea7ba8d19450e4ac2c14fcbee9f">103d248b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-15T04:03:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util/charset/convert: do not pretend to realloc

It seems very likely that our clever attempts to dynamically realloc
the output buffer were never triggered. Two lines of reasoning lead to
this conclusion:

1. We allocate 3 * srclen to start with, but no conversion we use will
   more than that. To be precise, from 8-bit charsets we will only deal
   with codepoints in the Unicode basic multilingual plane (up to 0xFFFF).

   These can all be expressed as 3 or fewer utf-8 bytes. In UTF16 they
   are naturally 2 bytes, while in the DOS codes they are 1 byte.

   We have checked the code tables, and can not find a plausible
   (e.g. not EBCDIC) DOS code page or unix charset that is outside
   this range.  Clients cannot chose the code page, the only code
   pages we will use come from 'unix charset' and 'dos charset'
   smb.conf parameters.

   Therefore the worst that can possibly happen is we expand 1 byte into 3
   (specifically, when converting some e.g. CP850 codepoints to UTF-8).

2. If the reallocation was ever used, the results would have been
   catastrophically wrong, as the input pointer was not reset.

Therefore we skip the complication of the goto loop and let E2BIG be
just another impossible error to report.

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/ac9333cb91dfdd80ba6b218861a5802c559cfec1">ac9333cb</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-15T04:03:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util/charset/torture: ensure each cp850 high bytes is 3 utf8 bytes

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/5841b164b2c57e1389b5486be4ccef8eb47f6892">5841b164</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-05-15T04:03:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap: Add a database open after fork to speed-up prefork binds

Removing this (system) database open from the later auth stack results
in a 15-30% improvement in different types of binds and on different
hardware (presumably better with slower disk speeds).

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4aa9924310287ff3b36618496fa6c707c615ad4c">4aa99243</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-15T04:03:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 dsdb/repl_meta_data: allocate new extended DNs during ADD on a better context

Lower down in this function new_values is assigned over el->values and is
filled in with the values of all the parsed DNs.  Therefore it is the natural
talloc parent.

This will allow el->values to be allocated on tmp_ctx in the next commit for
a working area during the function call.

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/0daa0ff921b270df9b794f02acbaa391c95cd89b">0daa0ff9</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-15T05:35:47Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 dsdb/repl_meta_data: fix use after free in dsdb_audit_add_ldb_value

Fix use after free detected by AddressSanitizer

AddressSanitizer: heap-use-after-free on address 0x61400026a4a0
                  at pc 0x7fd555c52f12 bp 0x7ffed7231180 sp 0x7ffed7231170
                  READ of size 1 at 0x61400026a4a0 thread T0
    #0 0x7fd555c52f11 in ldb_should_b64_encode
       ../../lib/ldb/common/ldb_ldif.c:197
    #1 0x7fd539dc9417 in dsdb_audit_add_ldb_value
       ../../source4/dsdb/samdb/ldb_modules/audit_util.c:491
    #2 0x7fd539dc9417 in dsdb_audit_attributes_json
       ../../source4/dsdb/samdb/ldb_modules/audit_util.c:651
    #3 0x7fd539dc6a7e in operation_json
       ../../source4/dsdb/samdb/ldb_modules/audit_log.c:305

The problem is that at the successful end of these functions
el->values is overwritten with new_values.  However get_parsed_dns()
points p->v at the supplied el and it effectively gets used
as a working area by replmd_build_la_val().  So we must duplicate it
because our caller only called ldb_msg_copy_shallow().

The reason this matters is that the audit_log module is
above repl_meta_data in the stack, and tries to log the
ldb_message it saw after the reply (to include the error code).
If that ldb_message is changed it is not only misleading,
it can point to memory that has since gone away.

In this case the memory for the full extended DN in the
member attribute ended up on 'ac', a context lost by
the time repl_meta_data has finished processing.

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

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
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 May 15 05:35:47 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/226544f6f5699891bbd933361c65750a26cfaccf">226544f6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-15T21:26:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: net: Harden guess_charset() against overflow errors.

Found by Michael Hanselmann using fuzzing tools

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

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/b3bfad39d64eab0e3a9218182b34385c2a397ff5">b3bfad39</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-15T21:26:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: net: Harden act_val_hex() act_val_sz() against errors.

Found by Michael Hanselmann using fuzzing tools

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

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/70025b4a70364a68d08e2880675449e4e4729420">70025b4a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-15T21:26:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: net: Harden srprs_str() against memcmp overread.

Found by Michael Hanselmann using fuzzing tools

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

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/11c35c8f783d359fcc3ff6f22d19aae5836a16d2">11c35c8f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-15T21:26:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: net: Rewrite of reg_parse_fd() to harden against buffer overwrites.

Remove unused handle_iconv_errno(). Fix leaks of iconv handles.

Found by Michael Hanselmann using fuzzing tools

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

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/f0ea08009821805b1abfe2ff3b2a3d5ee96de396">f0ea0800</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-15T23:08:58Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: net: Test of fuzzer problems with net rpc registry import.

Found by Michael Hanselmann using fuzzing tools

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

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): Wed May 15 23:08:58 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/93131652a7af622c1dbae016739024150ac38000">93131652</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-16T06:46:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba_autoconf: fix undefined behaviour sanitizer compile flags

Added the -g option, -fsaniize=null and -fsanitize=alignment, removed
the -fno-omit-frame-pointer option.

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/076402cb598ea14ba9508ba5fbcac928851ba983">076402cb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-16T06:46:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use a direct struct assignment in reply_setatr()

Saves .text bytes with -O3

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/546394a90c6a6872b48e1d3784aa128785d85943">546394a9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-16T06:46:18Z</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: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/82a40271719b5e3b12d13d50312dc793add647b1">82a40271</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-16T07:59:52Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Slightly simplify delay_for_oplock()

We don't have to look at the leases.tdb record if it's our own lease.

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): Thu May 16 07:59:52 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d6b1c33dd6bc15307b0ba5089fc8d99834061004">d6b1c33d</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-16T17:55:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python: Create macro to hide ugly function signature cast

-Wcast-function-type triggers various warnings related to bad api
decisions in python source. To avoid these warnings we hide them
by casting to void first. Macro here is to hide the uglyness and
provide an easy place to either/or
  + fix better in a single place in the future
  + identify the places involved should python api change in a way
    this can be handled better

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3326bba4190a5b7b4aa0393cec84d6e9341fa60f">3326bba4</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-16T17:55:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl: Call PY_DISCARD_FUNC_SIG in generated code to avoid ugly warning

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8c8fe323624946a1fb43e7e569be14c9d6af08c2">8c8fe323</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-16T17:55:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: squash 'cast between incompatible function types' warning

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0830485d1cddd8567e420e80b60edcf80d26ab24">0830485d</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-16T17:55:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/ntvfs: squash 'cast between incompatible function types' warning

Fix various PyCFunction definitions to avoid
'cast between incompatible function types' warnings when compiled
with -Wcast-function-type

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cc60866990212236c4184dc1dc8ce3194a7e1869">cc608669</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-16T17:55:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/librpc: squash 'cast between incompatible function types' warning

Where possible make PyCFunction definition signature match. Sometimes
this is not possible (e.g. when the c-function is associated with a
python method definition with 'METH_VARARGS|METH_KEYWORDS' in this
case we use the PY_DISCARD_FUNC_SIG macro.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cea41645fb463b026bb7161b524ba732ba0d14e3">cea41645</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-16T17:55:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: squash 'cast between incompatible function types' warning

Some functions (e.g. py_smb_savefile) have an extra unecessary
*kwargs param in their signatures, these definitions are
causing 'cast between incompatible function types' warnings when
compiled with -Wcast-function-type. Some other functions have
the *kwargs which causes "cast between incompatible function types'
warnings which need to be squashed with use of the
PY_DISCARD_FUNC_SIG macro.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a7d75a1c57befee4a178b7061ea218e353a72195">a7d75a1c</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-16T17:55:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4: squash 'cast between incompatible function types' warning

To avoid warning above produced by using
 -Wcast-function-type we;

  + ensure PyCFunctions of type METH_NOARGS defined dummy arg
  + ensure PyCFunctions of type METH_KEYWORDS use PY_DISCARD_FUNC_SIG
    macro
  + ensure PyCFunctions of type METH_KEYWORDS really actually use the
    problematic kargs param, if not remove it

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cbdd3d0c26c9cefd968a2adaf9892c5c858bf597">cbdd3d0c</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-16T17:55:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">squash 'cast between incompatible function types' warning

To avoid warning above produced by using
-Wcast-function-type we;

  + ensure PyCFunctions of type METH_NOARGS defined dummy arg
  + ensure PyCFunctions of type METH_KEYWORDS use PY_DISCARD_FUNC_SIG
    macro

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5720f20a195a5c40288d0ea1e2bf7f8373d8ccb3">5720f20a</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-16T17:55:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/tdb: squash 'cast between incompatible function types' warning

squash 'cast between incompatible function types' warning

To avoid warning above produced by using
-Wcast-function-type we;

  + ensure PyCFunctions of type METH_NOARGS defined dummy arg
  + ensure PyCFunctions of type METH_KEYWORDS use PY_DISCARD_FUNC_SIG
    macro

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d93ec5445b58fdc921fe37c722af0966c7efc0de">d93ec544</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-16T17:55:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/tevent: squash 'cast between incompatible function types' warning

squash 'cast between incompatible function types' warning

To avoid warning above produced by using
-Wcast-function-type we;

  + ensure PyCFunctions of type METH_NOARGS defined dummy arg
  + ensure PyCFunctions of type METH_KEYWORDS use PY_DISCARD_FUNC_SIG
    macro

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/995e23f1178d4207b9e13341577f26cd509d0892">995e23f1</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-16T17:55:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/talloc: squash 'cast between incompatible function types' warning

To avoid warning above produced by using
-Wcast-function-type we;

  + ensure PyCFunctions of type METH_NOARGS defined dummy arg

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/51f146de5adbb5a58a528e168e7fe9faa4477880">51f146de</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-16T17:55:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/ldb: squash 'cast between incompatible function types' warning

To avoid warning above produced by using
-Wcast-function-type we;

  + ensure PyCFunctions of type METH_NOARGS defined dummy arg
  + ensure PyCFunctions of type METH_KEYWORDS use PY_DISCARD_FUNC_SIG
    macro

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/27d99eefe7676669343b9040f550480df6554a6e">27d99eef</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-16T17:55:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/ldb: Fix incorrect return type for (setter) func type

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

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/70a140646e8f98662721f9e4466a6642b6180a93">70a14064</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-16T17:55:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/ldb-samba: squash 'cast between incompatible function types' warning

To avoid warning above produced by using
-Wcast-function-type we;

  + ensure PyCFunctions of type METH_NOARGS defined dummy arg

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/16cf1d1a531896c7cd2fb96a72d1e630b13e012f">16cf1d1a</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-16T17:55:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/crypto: squash 'cast between incompatible function types' warning

To avoid warning above produced by using
-Wcast-function-type we;

      + ensure PyCFunctions of type METH_VARARGS do not declare
        unused and problematic kargs param.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0fa490e8476a2a5020ff2c253167b8a9454e8b97">0fa490e8</a></strong>
<div>
<span>by Shyamsunder Rathi</span>
<i>at 2019-05-16T17:55:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:loadparm: Ensure to truncate FS Volume Label at multibyte boundary

For FS_VOLUME_INFO/FS_INFO operation, a maximum of 32 characters are
sent back. However, since Samba chops off any share name with >32
bytes at 32, it is possible that a multi-byte share name can get chopped
off between a full character. This causes the string decoding for unicode
failure which sends back NT_STATUS_ILLEGAL_CHARACTER (EILSEQ) to the client
applications.

On Windows, Notepad doesn't like it, and refuses to open a file in this
case and fails with the following error:

  Invalid character. For multibyte character sets, only the leading byte is
  included without the trailing byte. For Unicode character sets, include
  the characters 0xFFFF and 0xFFFE.

Proposed fix:
- Find the last starting point of a multibyte codepoint if the character
  at 32nd byte is a subsequent byte of a MB codepoint.

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

Signed-off-by: Shyamsunder Rathi <shyam.rathi@nutanix.com>
Reviewed-by: Hemanth Thummala <hemanth.thummala@nutanix.com>
Reviewed-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/749f1290ce654d2d47e84ff455212b008de6b54c">749f1290</a></strong>
<div>
<span>by Rikard Falkeborn</span>
<i>at 2019-05-16T19:08:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Fix tfork return value if sigprocmask fails

Returning a non-zero value from a function with bool as return value is
the same as returning true. Change the return value to false if
sigprocmask or pthread_sigmask fails to indicate failure.

Detected with the help of cppcheck.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Reviewed-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 May 16 19:08:29 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1078b273f84cf216b50ddec18ee6a2b3c8c17bc6">1078b273</a></strong>
<div>
<span>by Richard Sharpe</span>
<i>at 2019-05-16T22:33:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Don't log at WARNING level when exiting the server on error.

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/8c6fd8bb07d6a2f6ded43f584627faa8432eab67">8c6fd8bb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-16T22:33:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove an obsolete comment from share_conflict()

delay_for_batch_oplocks() is no more. Also, open_mode_check (which
calls into this routine) is called before delay_for_oplock.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c67694ee0fff6f444813a9a9f39a156ddff5019e">c67694ee</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-16T22:33:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove a pointless "continue" 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/3d9a720f092b8c45184a0d53540fb490a3fdef9d">3d9a720f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-16T22:33:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use send_break_message() in send_break_to_none()

Centralize the marshalling 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/ab648a4c63524038c9626a77be243c79c51975ac">ab648a4c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-16T23:48:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Do oplock break messages in ndr

The previous scheme was overloaded, a idl definition is easier to
print, and it clarifies what data is actually needed

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 May 16 23:48:18 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/444b594fd12dbf910bea55cdc2055152cfee2449">444b594f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-17T06:48:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Do not return errors from tdb_repack() in the tail of tdb_transaction_commit()

The call to tdb_repack() inside tdb_transaction_commit()
is an optimization, not part of the transaction itself,
so failing due to lock or other errors isn't a fatal error
that should cause the caller to think the transaction was
a failure by returning -1.

The tdb transaction itself has finished and been committed
onto stable storage via fsync and all locks released at the
point tdb_repack() is called.

tdb_repack() is only called here as it's a convenient point
to attempt to reduce tdb fragmentation without having to add
a timer call to repack in all users of tdb.

This causes lock ordering issues in Samba, showing up as:

ldb: ltdb: tdb(../private/sam.ldb.d/DC=SAMBA2008R2,DC=EXAMPLE,DC=COM.ldb): tdb_transaction_prepare_commit: failed to upgrade hash locks: Locking error

This is because Samba has multiple tdb databases open, and the lock order between them
is important.

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

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/eafef2bbfd4be71962520b7bb14726741af66a2c">eafef2bb</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-17T06:48:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Add tests for large LDAP responses

This behaviour is Samba-specific, we have not traditionally cut of responses at 1000
or so as Windows does, and we need to change that behaviour carefully.

This triggers this bug in TDB:
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13952

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/75cad1d79f68a8a81e24c74b42fadaaa13812e7a">75cad1d7</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-17T08:21:52Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Release tdb 1.4.1

* Do not propogate any errors from tdb_repack() to to tdb_transaction_commit()

  The repack may fail due to lock ordering or memory limits, but the original data has
  been written so the call must succeed.  (bug 13952)

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 May 17 08:21:52 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/be589a1fd4d8dfba2d16f8e62bb7e63e114ec16f">be589a1f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-17T19:33:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Remove unused ALIGN marcos from byteorder.h

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/3f16e97fe38df7e46ec16d131da8a45577863bfa">3f16e97f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-17T19:33:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Remove PPC big endian asm optimized code in byteorder.h

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/ad04e5f5f9181516b7aee209237f20b9ca90da97">ad04e5f5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-17T19:33:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Move VWV macro to smb_constants.h

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/0b8b04dbd3f053f11da15a8f28bbd5cbd9f4d48b">0b8b04db</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-17T20:44:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:util: Add a test for byteorder.h

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 17 20:44:36 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f1226bfbe92aed9c96ce142c823986e63d881846">f1226bfb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-18T19:06:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Add file_rename_message in idl

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/07bbcf3aeca8f9d3ff1487a999c7492e0e9b890a">07bbcf3a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-18T20:18:54Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Send "share_file_id" with the rename msg

file_id plus share_file_id remotely specify the fsp. This avoids the
explicit loop in the receiver.

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 May 18 20:18:55 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9a1df272f6c3d8a4bacb52d4252e90706afcd147">9a1df272</a></strong>
<div>
<span>by Juergen Hoetzel</span>
<i>at 2019-05-19T17:34:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Fix typo

Signed-off-by: Juergen Hoetzel <juergen@archlinux.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/519d72c57857bfa51ab84a478be687e5c34f9a2c">519d72c5</a></strong>
<div>
<span>by Fabrice Fontaine</span>
<i>at 2019-05-19T17:34:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix uClibc build on 64bit platforms by including stdint.h

Fixes an error detected by buildroot autobuilders:
http://autobuild.buildroot.net/results/573/573e2268e205e10d1352fa81122d8f225fdb4575/build-end.log

/home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/stdint.h:122:27:
error: conflicting types for 'uintptr_t'
 typedef unsigned long int uintptr_t;
                           ^
In file included from ../lib/ldb/tests/ldb_msg.c:17:0:
../third_party/cmocka/cmocka.h:126:28: note: previous declaration of 'uintptr_t' was here
       typedef unsigned int uintptr_t;

The define __WORDSIZE is missing when cmocka.h decides how to
define uintptr_t, this patch includes stdint.h when needed.

Patch sent upstream:
https://lists.samba.org/archive/samba-technical/2018-January/125306.html

[updated for samba-4.8.4, v2 sent upstream
 https://lists.samba.org/archive/samba-technical/2018-August/129732.html,
 updated for samba-4.9.1]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/samba4/0003-Fix-uClibc-build-on-64bit-platforms-by-including-std.patch]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/18965c0b84847aa0479a2b371339c309ac5d64a2">18965c0b</a></strong>
<div>
<span>by Rikard Falkeborn</span>
<i>at 2019-05-19T17:34:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_catia: Fix return value in lock functions

Returning -1 in a function with bool as return value type is the same
as returning true. Change to false to indicate the error.

Detected by the help of cppcheck.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3a4f23636d60799a3d3b80d395ef7af710195919">3a4f2363</a></strong>
<div>
<span>by Rikard Falkeborn</span>
<i>at 2019-05-19T17:34:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: Fix return value if getting data fails

Returning -1 in a function with bool as return value type is the same
as returning true. Change to false to indicate the error.

Detected by the help of cppcheck.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/730037504d2c29e43a075d22b17f761f1d2e837a">73003750</a></strong>
<div>
<span>by Rikard Falkeborn</span>
<i>at 2019-05-19T17:34:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmbclient: Fix return value if cli_open() fails

Returning -1 in a function with bool as return value type is the same
as returning true. Change to false to indicate the error.

Detected by the help of cppcheck.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/594676c8b8f9138c013871a5da01fca67e1aa282">594676c8</a></strong>
<div>
<span>by Rikard Falkeborn</span>
<i>at 2019-05-19T18:48:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Fix return values

Torture tests should return true on success and false on failure.
Returning -1 is the same as returning true and returning 0 is the same
as returning false. Change the return values to true and false to fix
the return values.

Detected by the help of cppcheck.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
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): Sun May 19 18:48:01 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/46677b8e1effe4a1eab4ac69fb0213bf72c7cf42">46677b8e</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-20T04:01:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Add random values to names in tests for large LDAP responses

This test is run agianst multiple DCs in the same domain, so there can
be a race with replication.  Therefore avoid using the same name twice
by adding a random suffix.

This is an improvement to a demonstrator for this bug in TDB:
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13952

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/7567f29211f7da35a785bd8c8cee999b0b24a078">7567f292</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-20T04:01:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/partition: Ensure metadata.tdb is opened early in partition_reload_if_required()

This allows metadata.tdb to be locked in the correct place in
in the lock order, as partition_reload_if_required() implicitly
calls partition_lock_read().

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/bc663a979837f84fbd6d5f3bed1444d170ce7abb">bc663a97</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-20T04:01:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/partition: Move in_transaction decrement to end of partition_del_trans()

It makes no sense for this to be mid-function.

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/99867565a5070c072abcf7abc69bba9849b4984a">99867565</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-20T04:01:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb/partition: Remove teardown of data->metadata on partition_metadata_set_sequence_number() failure

This changes variables that are not the responsiblity of this function, the unlock
implied by partition_del_trans() needs to be done carefully in the right spot.

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/46185daeb212267ebb0e4abe8bdad8c7cd7bfce2">46185dae</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-20T04:01:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: lock metadata.tdb during lock_read in partitions module

metadata.tdb was being locked during transactions, but not during read, and
we should ensure we take all our locks in order for consistency

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

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/98226287491d04945b36413425cc59b0fbd8355d">98226287</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-20T04:01:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove gensec.FEATURE_SEAL from samba4.ldap.notification

This made it much harder to watch under wireshark and is not required (no password setting).

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/11c20e03d7de7099e6f0b8ad0169a82b0e270c80">11c20e03</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-20T04:01:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap_server: Remove success_limit

This was always set to 0 so was poinless.  Any LDAP scope can return 0 entries,
even a SCOPE_BASE if the filter does not match.

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/fd74b6314444ff8f1da8fcd8d540a2e88b7b872c">fd74b631</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-20T04:01:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap_server: Run the ldap_encode() step in ldapsrv_queue_reply()

This avoids holding the memory for the response twice,
by the time the result is queued it is only ASN.1 encoded.

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/00b9a97706e71e6834781df0a144f23af9526689">00b9a977</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-20T04:01:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap_server: Use an array of struct iovec to avoid data_blob_append()

This avoids a the implicit 256MB limit on LDAP replies (allowing this
to be increased in the future) and means we copy less memory around.

However because we can only have 1024 entries in a struct iovec (on Linux)
we will need to call tstream_writev_queue_send() multiple times.

Calling it in chunks of 1024 seems a reasonable compromise, the
gensec layer will chunk it out smaller if required.

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/e8475f8ec5fc61409a98667b22e20364c0820cd6">e8475f8e</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-20T04:01:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap_server: Add explict repsonse size limit of 256MB

This allows us to replace the implicit limit via data_blob_append()
removed in the previous commit.

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/8dfad9fa2cc5f9ae464a6df44c7ae0448cc4f3ab">8dfad9fa</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-20T04:01:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap_server: chunk the writev() calls at 25MB

This should limit the amount we send to GENSEC at a
time where it may help avoid large realloc or memcpy calls.

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/0559430ab6e5c48d6e853fda0d8b63f2e149015c">0559430a</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-20T04:01:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap_server: Run ldapsrv_queue_reply() in the ldb callback, rather than waiting for the full result

Based on earlier work by Garming Sam.

This allows the server to stop working on a reply that will never
be sent to the client as it is too large.

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/3b509129f5edf47e3753dce3d0375e485eb251ac">3b509129</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-20T05:17:42Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Address flapping samba4.rpc.altercontext test

NT_STATUS_CONNECTION_DISCONNECTED and NT_STATUS_CONNECTION_RESET are
equivilent for the purposes of this test, both come from the server
shutting down the connection, the difference comes from two different
unix error numbers that can come from this.

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 May 20 05:17:42 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/45a4a9078c3c8b967f3c39520cbbfce86ba3848d">45a4a907</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Use GnuTLS MD5 for E_md5hash() in smbcrypt

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/152cd8b42617690d9f589a1736ee15fa59ee8787">152cd8b4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Use GnuTLS MD5 in encode_or_decode_arc4_passwd_buffer()

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/2463d1111f2162d0c411b8c5cf6027f2499d5a48">2463d111</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Use GnuTLS MD5 in encode_wkssvc_join_password_buffer()

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/10a1caa46d01677cc40cd1193866187d4b1acd18">10a1caa4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Use GnuTLS MD5 in encode_or_decode_arc4_passwd_buffer()

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/023e6b4f04cd1395b77ad1d4a88b6cb166633965">023e6b4f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Use GnuTLS MD5 in decode_wkssvc_join_password_buffer()

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/a2f88720d2c9fad4f51a99d2dde6f0373174cbbe">a2f88720</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Use GnuTLS MD5 HMAC in ntv2_owf_gen()

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/e1c04866a89aa550db6aad235da2bdfa7912a06c">e1c04866</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Use GnuTLS MD5 HMAC in SMBOWFencrypt_ntv2()

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/6f4c027094aeb527d9b509549b16e54454d01a8b">6f4c0270</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Use GnuTLS MD5 HMAC in SMBsesskeygen_ntv2()

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/d22aa6fcc23f83e86e134a4af1bb0cbc7fc93bba">d22aa6fc</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Use 'bool ok' in ntv2_owf_gen()

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/1810daaf9cc1230656e9f56e042ba8167f196795">1810daaf</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Use GnuTLS MD5 and HMAC MD5 in netlogon_creds_init_128bit

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/75ee0c83c15e3ebd4c8157331b363d1fe8373930">75ee0c83</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Add return codes for netlogon_creds_init_128bit()

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/54440f1b30a28b699d09876e73051dde28e5c459">54440f1b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:drsuapi: Use GnuTLS MD5 in drsuapi_decrypt_attribute_value()

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/a6eeb49b391b1318a5167ec9e5011654ff377632">a6eeb49b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:drsuapi: Use GnuTLS MD5 in drsuapi_encrypt_attribute_value()

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/f7d952398bdf536362b56548929ee45e4bb759e8">f7d95239</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Use GnuTLS MD5 and HMAC MD5 in smb_signing_md5()

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/940e0c106c4b636db2910f9de6869763bb346ab1">940e0c10</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Use GnuTLS HMAC MD5 in smb_key_derivation()

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/7368a20043af0a51cb95330a57849927cc9e3e5e">7368a200</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Return NTSTATUS for smb_signing_md5()

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/754e15518330038611f38c26ae3ce6e8a97f2006">754e1551</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Return NTSTATUS for smb_signing_sign_pdu()

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/39a665464fe2fafd6b567ffd5b60aea00efd0076">39a66546</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Check return code of smb_signing_md5()

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/5a0516bee9eede1398e03af9ffdd556f4612875d">5a0516be</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Return NTSTATUS for smb_key_derivation()

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/44fcb599087b914cf0d9553a16a7fdb89c6589e1">44fcb599</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:ntlmssp: Use GnuTLS HMAC MD5 in ntlmssp client

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/898fe5a142fd195f5db72c0372ecc452e0f3dc74">898fe5a1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:ntlmssp: Use GnuTLS MD5 and HMAC MD5 in ntlmssp 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/fe2a96954457ce724fbb7ac48f51d80b91aa5be9">fe2a9695</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:ntlmssp: Use GnuTLS MD5 and HMAC MD5 in ntlmssp sign

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/d3ea318ba0e54d8391626e827d7c34c686accdba">d3ea318b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Use GnuTLS MD5 in ntlm 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/6b413dab0b407610c43e6294a0bea66243bd6c78">6b413dab</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Use GnuTLS HMAC MD5 in netsec_do_seq_num()

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/71926c6e4fea2123265e44e29d1e9d446299c80b">71926c6e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Use GnuTLS HMAC MD5 in netsec_do_seal()

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/6aa30669a1825333a4ad985ce331fd9e2b7fe9da">6aa30669</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Use GnuTLS HMAC MD5 and MD5 in netsec_do_sign()

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/631709502390e76efe68b553b1eda5fca39008e2">63170950</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Return NTSTATUS for netsec_do_seq_num()

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/2772c92efa2a7bc906e2fcdc24dfc56dbd81be07">2772c92e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Return NTSTATUS for srv_calculate_sign_mac()

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/bb273a0053870224862559463c5bf8d76d386e84">bb273a00</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:vfs: Use GnuTLS MD5 in vfs_streams_xattr

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/2915125661352b31a4c7b0143d9d93baafa400db">29151256</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:vfs: Use GnuTLS MD5 in vfs_fruit

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/94b2f00039cd1d6411cd209b01d3ee98df72633f">94b2f000</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:profile: Use GnuTLS MD5

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/1834b822168b477c3ed1f828453e7f41a31153ff">1834b822</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_client: Use GnuTLS MD5 for samr

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/e6506ddec44ab0ff098d8274df6cecf50f23a86f">e6506dde</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:dsdb: Use GnuTLS MD5 in password_hash 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/23296ec23f778e93cebb064f443e44b563cc95df">23296ec2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libcli: Use GnuTLS MD5 for smb singing

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/4b7b2ed99c8244c1eab6413797e806a7c19bf91f">4b7b2ed9</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libnet: Use GnuTLS MD5 for samr passwords

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/5e6887932ba6de1711216c93b2de46d3d2200dcd">5e688793</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:ntp_signd: Use GnuTLS MD5 in signd

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/f02713c98b3cee837efbf3dba413a77d27320fc3">f02713c9</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server: Use GnuTLS MD5 for samr password

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/42affa8bd229e37ca0ad3931a110bf41735f4fee">42affa8b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:messaging: Use GnuTLS MD5 in messaging test

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/efa27ec69b73c5a7c5dc83ab98f11d4fe9b0d89d">efa27ec6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:torture: Use GnuTLS MD5

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/e633187e218e745ccf48881300f57a47d0a229fe">e633187e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use GnuTLS MD5 and HMAC MD5 in samlogon test

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/a4abcf3ded1670c05d0310f84989338023512dee">a4abcf3d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use GnuTLS MD5 in ntp_signd test

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/4e6a277242a0acf2936d62f2d7d024d6c5ac08ef">4e6a2772</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use GnuTLS MD5 in samr password 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/eb8be250c7ea7ee39673f558d1d1fa17f0b885e4">eb8be250</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use GnuTLS MD5 for samr password

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/5b73c68cd2b90e244d9ccd449c89ad8be2845ce0">5b73c68c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T00:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use GnuTLS MD5 for samba3rpc

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/03cbef2beff02d54063648725a71be6479886d09">03cbef2b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-21T01:18:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:crypto: Remove obsolete MD5 and HMAC MD5

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 21 01:18:08 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3e6661fd73bb24ef5700a98f676f1df5eeca408b">3e6661fd</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-22T03:03:43Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 librpc rpc pyrpc: Fix flapping dcerpc.bare tests

Commit d65b7641c84976c543ded8f0de5ab2da3c19b407 had the parameters to
talloc_reparent reversed.  This caused the dcerpc.bare tests to flap.

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

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Wed May 22 03:03:43 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/474e55523224430781ed22aa2d0c8a474306e794">474e5552</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-22T04:42:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: baseinfo pack format check on init

We will be adding a new packing format in forthcoming commits and there
may be more versions in the future. We need to make sure the database
contains records in a format we know how to read and write.
Done by fetching the @BASEINFO record and reading the first 4
bytes which contain the packing format version.

NOTE: Configure with --abi-check-disable to build this commit. This
patch is part of a set of LDB ABI changes, and the version update is
done on the last commit.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-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/df1f883204722a947c52497aaa79d75444a24b63">df1f8832</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-22T04:42:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: push and pull macros for pack format

Replacing push and pull functions (which may cause issues with Undefined
Sanitizer) with Andreas Schneider's excellent macros which are a work in
progress and not yet merged into master. Once his work is upstream, I'll
rebase and change this code to import his headers.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-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/5bf6f0ae3271cb1a24416523f1132b09d998adf3">5bf6f0ae</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-22T04:42:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: replacing length increments with constants in pack

Since we're about to introduce a new packing format, it's a good time to
improve our code style and change some magic numbers into explicit
constants.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-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/38feff073120ea87c100c05d8c9c3f6f771e5029">38feff07</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-22T04:42:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: unpack function for new pack format

Unpack function for new pack format with values separated from other
data so that while unpacking, the value section (which is probably large)
doesn't have to be loaded into cache/memory.
Additionally, width of length field can now vary per-element to save space.
The old unpack routine is still present and is called if the old pack
format version number is found.
LDB torture suite is modified to run relevant tests on both old and new
pack format.

NOTE: Configure with --abi-check-disable to build this commit. This
patch is part of a set of LDB ABI changes, and the version update is
done on the last commit.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-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/8c0724fa10bc32980e5378114e0611b049924f74">8c0724fa</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-22T04:42:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: pack function for new pack format

Pack function for new pack format with values separated from other data
so that while unpacking, the value section (which is probably large)
doesn't have to be loaded into cache/memory.
The new format is disabled for now.
Two tests are added that operate on a detailed binary breakdown of the
new format.

NOTE: Configure with --abi-check-disable to build this commit. This
patch is part of a set of LDB ABI changes, and the version update is
done on the last commit.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-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/bea24253f08d6aa6534d7743c7af0a5202446154">bea24253</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-22T04:42:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Release ldb 2.0.2

 * Checking pack format is version 1 and erroring if not (will change soon)
 * Pack format routines for unpack and pack version 2 (but not used)
 * Test fixes for issues caused by upcoming repack functionality for upgrade
 * Making ldbdump print out pack format info and keys so we have low level visibility for testing in python

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-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/64cdd0383f9083d84d38dd19168b013906ca9cf8">64cdd038</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-22T04:42:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: removing unnecessary module pointer

We want to reuse the reindex context struct for repacking, but it has an
unnecessary module pointer on it. Turns out the existing code doesn't
need it either, so this patch deletes the pointer.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-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/365838311b139b8163cc8f41b4cf2058809ae437">36583831</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-22T04:42:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: ldb_key_value_test fix

In future commits we'll be adding more logging to LDB, which breaks the
ldb_key_value_test suite. By removing the debug handler, a bug
involving an expired debug_string variable being written to is avoided.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-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/a666a99e4dc594bc153cd26b24cddd547c1cc750">a666a99e</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-22T05:58:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: ldbdump key and pack format version comments

For testing we need to know the actual KV level key of records and each
record's pack format version. This patch makes ldbdump add comments with
that info. We will parse it out in python tests.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-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): Wed May 22 05:58:17 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/40a9b739c640b4944289ec19d5efaee5b30f995c">40a9b739</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-22T05:59:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Makefile: add lcov command

A helper cmd to generate .info file from .gcno and .gcda file,
and then generate html report from .info file.

Usage:

./configure --enable-coverage
make -j
make test TESTS=mytest
make lcov

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-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/433296c614f9fcab1b6390662a0f915395c9fc82">433296c6</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-22T05:59:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Remove unused auth_get_challenge_not_implemented

This became unused after eba87995145b0e14672c1f6993f7aa3422d62541 in 2012

Found by callcatcher

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/e421c13bbc73e654c4683339f1a14c262e43f7eb">e421c13b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-22T05:59:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Remove unsued dsdb_class_by_cn()

The callers moved to dsdb_class_by_cn_ldb_val() with
43aa546ecc3f05845793b1a7354685d50a77c170 in 2009.

Found by callcatcher

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/abe7b673941d932d65839fb616f95a717c57d445">abe7b673</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-22T05:59:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/auth: Remove des_crypt64() from smbdes

This has been unused since it was introduced by
ad8b47a2ba4e81420bc2272e8438a727cc2223ee in 2006

Found by callcatcher

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/a011e033d5d3af3d63fdfd1def95e22b54a8aa3f">a011e033</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-22T05:59:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-rpc_server: Remove unused dnsserver_find_partition()

This has been unused since it was introduced by
5673e2cec946502da84956f866658718e7632a3e in 2011.

Found by callcatcher

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/93db0aac0d3c4c44bcb5b52618705d63b94534cd">93db0aac</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-22T05:59:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Remove "tdb based replacement for gettext"

This is unused since SWAT was removed in Samba 4.1

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/3e197d4370b03f6a8d711f5b61c6525bd75aa304">3e197d43</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-22T05:59:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/security: Remove unused dup_sec_desc_buf()

This has been unused since before
762e7e1dff89cc14b0130fc9a22038b0845630a2 in 2003.

Found by callcatcher

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/5b957f816c8647c6423926ee47243ff0bb1e09e5">5b957f81</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-22T05:59:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/ldap: Remove unsued ldap_transaction()

This is unsued since a87dea2a0894015cf4a3140995791f5468c40038 in 2007
when we moved to using LDB for LDAP in this area of the code.

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/2017e291a2da3d63741df82b480f32ee57f6a165">2017e291</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-22T05:59:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ntvfs: Remove unused nbench vfs module

A pass-though NTVFS module to write nbench files is a cute idea,
but this is untested and almost certainly unused.

Found by looking at the LCOV results.

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/ee8b48df0f995611e0c8f8d6766e4882c5f4f4cd">ee8b48df</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-22T05:59:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ntvfs: Remove unused and untested SMB1 -> SMB2 proxy module

While this could have been a very interesting idea (particularly
if it allowed our main SMB server to disable SMB1), it has never
been enabled in our testsuite so relying on it would be quite
brave.

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/679227d6063074aabb986d78fab42b856db265e3">679227d6</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-22T05:59:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-ntvfs: Remove untested stub vfs_print backend

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/31de52ed2efe598e7fab72d90a742d4f9e03c97e">31de52ed</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-22T07:15:43Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-ntvfs: Remove untested ntvfs_cifsposix backend

It had a note:

WARNING: All file access is done as user root!!!
         Only use this module for testing, with only test data!!!

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 May 22 07:15:43 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ebf95e62bd03a7344b3a141c3e7102aac721f25a">ebf95e62</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-22T18:54:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Enable "smbd:suicide mode" for smb2

The next commit needs an smbd to just exit and leave data behind in the
locking.tdb file. Don't make it harder to eventually phase out SMB1: Do
the test in SMB2.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13957
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/febb933fc7bcba56af845fde61615a9fcbd67b07">febb933f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-22T18:54:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbtorture: Add a test to make smbd panic

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13957
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/30622ed876cffff305a9b03686edb48de987704f">30622ed8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-22T20:09:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix a panic

Opening a file with a stale (smbd died) LEVEL_II oplock makes

vfs_set_filelen-> ... ->contend_level2_oplocks_begin_default

trigger the immediate leading to do_break_to_none. This goes through
because fsp->oplock_type is not initialized yet, thus 0. Also,
file_has_read_oplocks is still valid, because the smbd that has died
could not clean up the brlock.tdb entry.

Later in the code the exclusive oplock is granted, which is then found
by do_break_to_none, making it panic.

This patch just runs the direct FTRUNCATE instead of vfs_set_filelen.
This means the contend_level2_oplock code is skipped.

The relevant break (LEVEL_II to NONE) is now done in delay_for_oplock()
with the nice effect of removing a comment that was very confusing to
me.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13957
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 May 22 20:09:29 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6086efb6808089c431e7307fa239924bfda1185b">6086efb6</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-23T09:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbspool: Add the 'lp' group to the users groups

This is required to access files in /var/spool/cups which have been
temporarily created in there by CUPS.

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

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/42492d547661cb7a98c237b32d42ee93de35aba5">42492d54</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-23T09:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbspool: Print the principal we use to authenticate with

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

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/3632bfef25e471075886eb7aecddd4cc260db8ba">3632bfef</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-23T09:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbspool: Add debug for finding KRB5CCNAME

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

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/be596ce3d2455bd49a8ebd311d8c764c37852858">be596ce3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-23T09:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbspool: Use %u format specifier to print uid

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

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/6bbdf69e406916107400e2cabdbc831e2a2bbee3">6bbdf69e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-23T09:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbspool: Fallback to default ccache if KRB5CCNAME is not set

This could also support the new KCM credential cache storage.

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

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/281274572bcc3125fe6026a01ef7bf7ef584a0dd">28127457</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-23T09:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbspool: Print the filename we failed to open

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

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/3d719a1f85db8e423dc3a4116a2228961d5ac48d">3d719a1f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-23T09:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbspool: Always try to authenticate using Kerberos

If username and password is given, then fallback to NTLM. However try
kinit first. Also we correctly handle NULL passwords in the meantime and
this makes it easier to deal with issues.

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

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/93acd880801524c5e621df7b5bf5ad650f93cec3">93acd880</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-23T09:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbspool: Add debug messages to kerberos_ccache_is_valid()

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

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/d9af3dc02e98a3eb22441dfbdeddbaca0af078ea">d9af3dc0</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-23T09:41:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbspool: Use NTSTATUS return codes

This allows us to simplify some code and return better errors.

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

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/3b608510e4be190d2aacf69dceefc937a25e10e7">3b608510</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-23T11:10:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party: Update nss_wrapper to version 1.1.6

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu May 23 11:10:28 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1a9da378a1505daff498be6d6355debd73526a1a">1a9da378</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-23T14:25:52Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sambaundoguididx: Add flags=ldb.FLG_DONT_CREATE_DB and port to Python3

In py3 we need to add an extra str() around the returned ldb value to
enable .split() to be used.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed By: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Thu May 23 14:25:52 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/564e0f25664b60f27d57bf1eab05e613db027d71">564e0f25</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-23T16:56:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Merge "print_lock_struct" into one DBG

Also, 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/77e37850fde550abcf1ce7e4eb8341b5022845f8">77e37850</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-23T16:56:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Fix typo in README

README is far from a complete, good and accurate document, but what's
in there should at least not have obvious errors.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1a59b0fa638ce33f7a7fda07f26509a3370b76b4">1a59b0fa</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-23T16:56:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Calculate delay_mask only once in delay_for_oplock

"const" ist just a hint to make sure it's actually not modified inside
the loop

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1f9b8964ca868f70adee0f63e1df67a08d611bf2">1f9b8964</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-23T18:08:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Remove unused ctdb_ltdb_fetch_with_header()

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 May 23 18:08:36 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f58127d0248811c0ce246317af8f9e058a7aafed">f58127d0</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-05-23T23:26:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add test for case-preserving in 'net [rpc] conf showshare'

Add a test to verify that 'net [rpc] conf showshare' returns the correct
upper/lower case.

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/91350d562b670a3789779e906850d76a141fa857">91350d56</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-05-23T23:26:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net: Return share name in correct case from net rpc conf showshare

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/cb6525e868106c0f4c725d73b7268d910b9b4029">cb6525e8</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-05-23T23:26:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmbconf:registry: Return correct case for get_share

get_share (called from 'net conf showshare') does a lookup of the share
name case-insensitively. As the registry stores the share name in the
correct case and 'net conf list' prints the correct case, also lookup
the correct case for get_share.

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/c3d28d49be3c7536d1ccfe8d00553ce72843f369">c3d28d49</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-23T23:26:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/vfs/fruit: ensure test_adouble_conversion() uses a non-emtpy resourcefork

This ensures the resource fork is not deleted as part of the AppleDouble file
conversion for the option fruit:wipe_intentionally_left_blank_rfork=yes.

This is currently not a problem in selftest, as we don't enable the option, but
a subsequent commit will run all vfs.fruit tests against a share with this
option enabled.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bb5a457f2872a383b58d62981dade322fca9b283">bb5a457f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-23T23:26:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/vfs/fruit: ensure test_adouble_conversion_wo_xattr() uses a non-emtpy resourcefork

This ensures the resource fork is not deleted as part of the AppleDouble file
conversion for the option fruit:wipe_intentionally_left_blank_rfork=yes.

This is currently not a problem in selftest, as we don't enable the option, but
a subsequent commit will run all vfs.fruit tests against a share with this
option enabled.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8ed9b6b457923d2353d1d18838f4a278db48c6b9">8ed9b6b4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-23T23:26:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: run vfs.fruit test against a share that deletes empty resource forks

This reveals a bug in the AppleDouble conversion code: the conversion code that
unlinks an empty resource fork AppleDouble sidecar file ("._file") gets
triggered as part of open_file_ntcreate(..., "file:AFP_AfpResource", ...):

after SMB_VFS_OPEN() has been called with O_CREAT, what created the file, we
call SMB_VFS_FSTAT() on the just created filehandle. This ends up in
ad_convert(), finds the resource fork empty and thus deletes the file.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4777d1163a7c18c89ce9be955903427a18134415">4777d116</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-23T23:26:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: add a forward declaration for ad_get()

Will be needed in the next commit.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/78a4639b2d06cc69788861618d2e91945e142d2b">78a4639b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-23T23:26:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: change trigger points of AppleDouble conversion

This moves the trigger points where AppleDouble file conversion is run by
ad_convert() from deep down the callchain in ad_read_rsrc_adouble() to high
level VFS entry points.

Currently ad_convert() will be triggered as part of open_file_ntcreate(...,
"file:AFP_AfpResource", ...): after SMB_VFS_OPEN() has been called with O_CREAT,
what created the file, we call SMB_VFS_FSTAT() on the just created
filehandle. This ends up in ad_convert(), finds the resource fork empty and thus
deletes the file.

This commit moves calling of the conversion funtion to the high level VFS entry
points where the converted metadata is needed:

o for directory enumerations SMB_VFS_READDIR_ATTR() is called to fill in the
  repurposed fields in the directory entry metadata

o obviously for SMB_VFS_CREATE_FILE() on an macOS stream

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e7424897a1272490b78c08f78ce7b260eb014f20">e7424897</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-24T00:42:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Make TDB_SEQNUM work synchronously with ctdb

Old war story completely from memory, I could not find the commit that
introduced TDB_SEQNUM so far...:

Back in the days when ctdb was initially developed, TDB_SEQNUM's only
user was the notify.tdb that held one huge record for all notify
records. With that use case in mind it made perfect sense to keep the
SEQNUM stable locally, sacrificing precision. By now notify.tdb is
long gone, an the only user of TDB_SEQNUM right now is brlock.tdb,
which contains special case code for the imprecise ctdb implementation
of TDB_SEQNUM.

With this commit, that special code can go: The TDB_SEQNUM will also
increment when just the DMASTER header field changes, indicating to
smbd that someone else might have changed the record. This will of
course increase the SEQNUM frequency, but it should not increase the
load on ctdb: If you look at the brlock.c workaround, it just does not
do the caching that is possible with precise TDB_SEQNUMs working.

How did I get here? I want to move brl_num_read_oplocks() from
brlock.tdb into locking.tdb, and for that I need precise TDB_SEQNUMs
for locking.tdb.

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 May 24 00:42:17 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/430968b32dc7d14876b8ed3bbbcfdc4d34a1263b">430968b3</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-24T03:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Run test for initshutdown

The test already existed but was not run.

Found by LCOV

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/8dd0421a4284e23f756dfafa32d2831ceb6d1b88">8dd0421a</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-24T03:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add more testing of wkssvc in source3

The samba3.wkssvc test is not as comprehensive, but rpc.wkssvc needs to run against the
ad_member environment to get past a builtin administrators check.

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/773e476203fcd15a20032d49e3377417ccd237fe">773e4762</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-24T03:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Remove infinite client/server loop in srvsvc_NetNameValidate test

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/d2f54775d3fe5e3ef6d00121ac7ab382dd58ddcd">d2f54775</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-24T03:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Run samba3.srvsvc tests covering more of the srvsvc server

Found by LCOV.

Some of the failures should be fixed by setting "restrict anonymous = 2"
as requested by bug 12775

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/a60e59735c20f8e342fa1b00ae5715f1673f22be">a60e5973</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-24T03:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Refactor duplicated code to set ENV vars

Whenever we started a process, we basically used the same code to setup
the ENV variables.

The s4 ENVNAME may now be slightly different in the child process that
runs samba (i.e. '$testenv.samba'), but that ENV var did not appeared to
be used much.

I'm not sure if the current difference in $skip_resolv_wrapper logic for
nmbd was deliberate or accidental, but I've preserved the logic for now.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0fd3685cfd8f6613517552685f649c649fe4cd08">0fd3685c</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-24T03:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: remove unused variable (@optargs)

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ba9323abde060c832274e84f1e8a6b79fccc5fce">ba9323ab</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-24T03:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Move fork cmd args up a level

This is a fairly simple move of code and is the first step in a larger
refactor.

It doesn't matter if we build up the command args prior to the fork (we
only use them in the forked child). But moving the code means the code
to handle the fork-and-exec becomes common code that is repeated in
several places throughout Samba3.pm and Samba4.pm.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ad30fdc6ba28374b84dbe94af92c5694bff6f86e">ad30fdc6</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-24T03:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add helper function to build up s3 daemon cmd

The s3 daemons all basically use the same command logic, it's just they
use slightly different environment variables.

This adds a common helper function, which we can pass the specific
environment variables into.

(Note the slight parameter difference for winbind with --stdout vs
--log-stdout).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c79f0c197558e86fe4f9e27b0c4682441bb55b0b">c79f0c19</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-24T03:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Store fork-and-exec daemon info in a hashmap

This intermediary refactor adds a hashmap that stores the values needed
to run each samba daemon. This adds a bit more code in the short term,
but it basically means the code in 5 different places now becomes
identical, and we can extract it out to a common function.

The converting FULL_CMD from an array reference back to an array is a
bit ugly, but we can clean this up a bit once the code is all in one
place.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ae3e33d492904ae05d4ff24c3d8f50fecaca2971">ae3e33d4</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-24T03:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Rework setting env variables for nmbd

Instead of having a special $skip_resolv_conf parameter just for nmbd,
use the get_env_for_process() API and customize the hashmap returned.
Pass the customized hashmap in as an optional part of the daemon_ctx.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/746e137777e559afb7851a359d56580c58231ddd">746e1377</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-24T03:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Rework setting env variables for other forked binaries

Final refactor to merge the fork-and-exec code into a common function.

We can now use $daemon_ctx{ENV_VARS} to customize differences between
the forked binaries:
- samba: add in extra env variables on top of the defaults.
- dns_hub: there are no ENV variables we need to export.
- winbindd/smbd: these use the defaults, so they pass through an
undefined $daemon_ctx{ENV_VARS} (purely to make the code common across
all 5 places).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b976502d496cca0e8e04a2e5f2c72383efb296a7">b976502d</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-24T03:19:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add common fork_and_exec() function

Now the code has been refactored, we can move it into a common function.
This reduces code duplication and means we have a common place where we
start samba daemons from.

Note that some daemons behave slightly different, but the $daemon_ctx
allows us to customize their behaviour a bit.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/163897f12538ae12dbc2bd556adcc1abc4f0f438">163897f1</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-24T03:19:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Use scalar variable for new daemon_ctx hashmap

The selftest code typically stores hashmaps as scalar variables (i.e.
it only ever uses references to hashmaps). So much so that using a regular
hashmap (and passing it by reference via \%daemon_ctx) looks out of
place.

Using the hashmap directly made more sense when it was only being used
locally, but now the hashmap is being passed by reference into a function
anyway, so storing it as a scalar doesn't make much difference.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6ccf74cf878c295903673e3a1d1ed924a5e87547">6ccf74cf</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-24T03:19:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap tests: test scheme for referrals

Ensure that the referrals returned in a search request use the same
scheme as the request, i.e. referrals recieved via ldap are prefixed
with "ldap://" and those over ldaps are prefixed with "ldaps://"

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

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/1958cd8a7fb81ec51b81944ecf4dd0fb5c4208fa">1958cd8a</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-24T05:12:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap server: generate correct referral schemes

Ensure that the referrals returned in a search request use the same
scheme as the request, i.e. referrals recieved via ldap are prefixed
with "ldap://" and those over ldaps are prefixed with "ldaps://"

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

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 May 24 05:12:14 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/39c15ab2b7a38eb2871419336b08863fd20d5143">39c15ab2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-24T06:07:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb:tests: Add missing va_end() in ctdb_set_error()

Found by csbuild.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5cce3493fb6696c01ccacf165cfcd45c588fc279">5cce3493</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-24T06:07:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib:mscat: Add missing return check for error in dumpsmcat

Found by csbuild.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/de926429413f2440d185681586427a9e77c81a7f">de926429</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-24T06:07:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Only declare variables if we're gonna use them

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5dfbb0d24dc572e18906cc4acfd95ab43a8567aa">5dfbb0d2</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-05-24T07:23:42Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Move up NULL check

Found by covscan.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Gary Lockyer <gary@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri May 24 07:23:42 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/77117a14b91b3111d0f7892b34d4919987438a41">77117a14</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-05-24T11:02:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Add another dns forwarder in the example.

Clarify how to list several dns forwarders.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
Reviewed-by: Björn Baumbach <bb@samba.org>

Autobuild-User(master): Björn Baumbach <bb@sernet.de>
Autobuild-Date(master): Fri May 24 11:02:18 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f20538de041eed1cadbabe2149b2b7cfcb779cb5">f20538de</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-24T19:00:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: popen: Prepare to remove sys_popen().

Add sys_popenv(char * const argl[]) that uses a NULL
terminated vector array of args. Change sys_popen() to
split up its command string and call sys_popenv().

Once all callers are converted to sys_popenv() we
can remove sys_popen().

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5c34fa0b85e4d9a3c5fd4fa0b39af4772ec023db">5c34fa0b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-24T19:00:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: util: Add file_ploadv().

Not yet used.

Duplicate code to file_pload() except uses vectored
argument list. file_pload() will be removed once all
callers are converted.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3b19412baedfffb7adc2a79471f5b17990259c31">3b19412b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-24T19:00:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: util: Add file_lines_ploadv().

Not yet used.

Duplicate code to file_lines_pload() except uses vectored
argument list. file_lines_pload() will be removed once all
callers are converted.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d6453e1ffd92c7754862389a933a9fd9089ce518">d6453e1f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-24T19:00:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Convert dfree code to use file_lines_ploadv().

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f9ccf1cc3df13138a1a4b645c8190238ce011f04">f9ccf1cc</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-24T19:00:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Convert print_svid code to use file_lines_ploadv().

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4a63e3b9659c8715d436c66dee8bf420e2ea89fb">4a63e3b9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-24T19:00:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Convert sysquotas.c code to use file_lines_ploadv().

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/02bc0ce9d22117b464bae47c5d09c45b4f7c2272">02bc0ce9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-24T19:00:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: Remove file_lines_pload().

No longer used.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c5729ae44219ec81008040d4d50f0f5fdf254201">c5729ae4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-24T19:00:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: util: Remove file_pload()

No longer used.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/61054e53f53e5884902b566b1f9b454a3ff4741f">61054e53</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-24T19:00:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: Add file_ploadv_send().

Not yet used. Preparing to remove file_pload_send()
with this safer alternative.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/449d49946b295f574e1fed83b5a5ffbf1c1b1e30">449d4994</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-24T19:00:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: winbind: Convert idmap to use file_ploadv_send().

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d5c363d65d771c792523f2f3e526c90514212fc2">d5c363d6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-24T19:00:06Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: Remove file_pload_send().

No longer used.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/dbfa3cd186428c02589aa9093e868554b4c695d5">dbfa3cd1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-24T19:00:06Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: lib: Rename all uses of file_pload_XXX -> file_ploadv_XXX.

Keep naming consistent across all usage.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9fa95d5b45369acfdd38923e8618e94e5d04b07e">9fa95d5b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-24T19:00:06Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: util: Finally remove possibilities of using sys_popen() unsafely.

All code now uses sys_popenv() which is much
harder to use incorrectly.

Remove the extract_args() function that was the
cause of possible issues.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/77eabd74e9a28b1e6decf0890a9ef4c83fa002d4">77eabd74</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-24T20:12:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: dfree command. Correct usage of dfree scripts.

Add quotes to the sample scripts to prevent incorrect
parameter usage.

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

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 May 24 20:12:02 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/da87fa998ab71328f30bcdf5b41aee8675aee48a">da87fa99</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-25T00:05:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Only compile resolvconftest if fmemopen exists

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat May 25 00:05:25 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/412afb2aef100e09eb433b8f0cae064fc2a736b7">412afb2a</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-27T01:29:48Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix ubsan null pointer passed as argument 2

Fix ubsan warning null pointer passed as argument 2 when the source
pointer is NULL.  The calls to memcpy are now guarded by an
if (len > 0)

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 May 27 01:29:48 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a1f95ba5db6fc017fad35377fbf76c048f2dd8ab">a1f95ba5</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-05-27T13:16:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: winbind: Fix crash when invoking winbind idmap scripts.

Previously the private context was caching a pointer to
a string returned from lp_XXX(). This string can change
on config file reload. Ensure the string is talloc_strup'ed
onto the owning context instead.

Reported by Heinrich Mislik <Heinrich.Mislik@univie.ac.at>

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e09053faf457f69ad9b5e6a34be43c947503575f">e09053fa</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-27T14:29:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">registry: add a missing include

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

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

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon May 27 14:29:36 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bb0ffbf38cb1955c9e400003add680eabcf706a6">bb0ffbf3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-05-28T07:16:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: fix call to dbghdrclass() for DEBUGC()

dbghdrclass() sets the global 'current_msg_class' and for that
DEBUGC() should pass the given dbgc_class instead of the per file
DBGC_CLASS.

This is important with the new per class logfile with:

 log level = 1 dsdb_audit:10@/var/log/samba/log.dsdb_audit

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

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/d98a971247450d494c581c5454e6c270ad1b6880">d98a9712</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-05-28T07:16:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: remove unused prototypes in debug.h

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

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/0da12ff93d213ac742eeb865bfa5697ca8a2280a">0da12ff9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-05-28T07:16:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: set current_msg_{level,class} also during a DEBUGADD[C]() call

In some situations we use DEBUGADDC() in order to print out content
without a related debug header line.

This is important with the new per class logfile with:

 log level = 1 dsdb_json_audit:10@/var/log/samba/log.dsdb_json_audit

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

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/706aba5bf62e674ae12786f6ab275752b8714464">706aba5b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-05-28T07:16:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb:audit_log: avoid printing "... remote host [Unknown] SID [(NULL SID)] ..."

We better print "... remote host [Unknown] SID [S-1-5-18] ..."
in 'dsdb_audit' message, this matches what we print for
'dsdb_json_audit'.

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

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/15032ec6df1abbb53f1b1d5377aab369f83ae707">15032ec6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-05-28T07:16:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/ntacls: we only need security.SEC_STD_READ_CONTROL in order to get the ACL

We should avoid security.SEC_FLAG_MAXIMUM_ALLOWED otherwise
we may get NT_STATUS_SHARING_VIOLATION when we run
'samba-tool domain backup online' against a Windows DC.
Windows DCs have hidden folders for the NtFrs or Dfsr services,
which are locked by the running service.

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

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/2ef79a4c1d695a3e498b142810a1317d85b9b6da">2ef79a4c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-05-28T08:32:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbcheck: fallback to the default tombstoneLifetime of 180 days

If a domain was provisioned by Windows 2000 this value is missing in the
database.

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

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): Tue May 28 08:32:10 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/37de8208d1c24008c5832b95417a274f86bc2336">37de8208</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-05-28T10:34:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winexe: Use C99 initializer for poptOption in winexe.c

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/fa2a530cadb2540a8fb677c6b35d5f85fc635921">fa2a530c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-05-28T10:34:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: add mingw packages

This makes sure we at least compile the example/winexe code

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/9053391f86a529e0a7dbcd23fa3a555d85c2207c">9053391f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-28T11:49:06Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:mdssvc: fix flex compilation error

[4440/4495] Compiling bin/default/source3/rpc_server/mdssvc/sparql_lexer.lex.c
../../source3/rpc_server/mdssvc/sparql_lexer.l:26: error: "yyalloc" redefined [-Werror]
26 | #define yyalloc SMB_MALLOC

Looks like the dirty redefine trick doesn't work anymore with newer flex
versions. According to the flex manual the right thing to do is to provide own
functions for yyalloc and yyrealloc when passing the options "noyyalloc
noyyrealloc".

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): Tue May 28 11:49:06 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/32999e148727ff3f0371a78dd80b7c3e6b666391">32999e14</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:14Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix CID 1445648 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/ff2ed9070dbaa919425c222989b3fa4b917b59e2">ff2ed907</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:15Z</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/f11c5887f4fb4b766f23c82b84b5aedb79eb3f43">f11c5887</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">brlock: Remove clustering special case

With e7424897a127 we don't need this special case for clustering
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/905698fbe667de856a19eb9ff96f5865a6775e55">905698fb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbwrap: Use sizeof, not an integer 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/4e56d2280ad04ce0b3e54f13ed1ac9f472fd6ad8">4e56d228</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:15Z</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/df3606685b1dfe4fd6ab422b4acd2fbb5aa36076">df360668</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use "fsp->lease" instead of "lease"

See the SMB_ASSERT a few lines above. Why this? It makes the next
commit more obvious.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9891a44fd7fc7f2b3a177d5f220cf21dd48b18b0">9891a44f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Simplify fsp_lease_update()

We don't need a share mode lock from a data dependency point of view
anymore, the leases data moved to leases.tdb. However, from a
coherency point of view it's probably wise to do this under a 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/953f9f7b6d21c4cb2cea6033af240b0bac1cabeb">953f9f7b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Factor out fsps_lease_update()

Less lines of code, less .text bytes with -O3

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f283b7a4ee7c596953121af58cc59e3621b0b654">f283b7a4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:15Z</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/1838a8df596ae2625c83f5001bf7d5c66ed2bbe7">1838a8df</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Avoid casts in smbd_do_locking()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/72ba86dd0c9c95792c5dcb01fcd5b93d9815e336">72ba86dd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use tevent_req_simple_recv_ntstatus() in smbd_smb2_lock_recv()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a2c2235c1f26c43dfb6b7ad965974460901dbb9b">a2c2235c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbtorture: 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/115e9ea3af9eb248f25f2ac6505956226f8dc6cd">115e9ea3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Simplify an if-expression in smbd_do_locking()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2093ebc4abafb0024ab5faeffdadb9a6f88d947d">2093ebc4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Align integer types in smbd_do_unlocking()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/199bb3d72a0b80597265aaddd53adf97d1b34d30">199bb3d7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Avoid casts in smbd_do_unlocking()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8b478aaf2cf88e8102b334eb5dbe1c44f5d30eb6">8b478aaf</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Avoid casts in do_unlock()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4a93fc686fafe4ffbe72271f4093bde6aa607b2a">4a93fc68</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T20:27:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Avoid casts in smbd_smb2_lock_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/73080f255e379ed030005031f560c3ed71919b06">73080f25</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-05-28T22:22:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Adapt brl_pending_overlap to README.Coding

Just reformatting, no behaviour change. This just looked too ugly 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 May 28 22:22:28 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2de0aebed60b8e83508f50e5391ede618ce0e595">2de0aebe</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-29T04:41:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: test for parse errors

Parse errors aren't passed up correctly by the tdb backend. This
patch modifies a test to expose the issue, next patch will fix it.

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

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a3101b9704f554a350493553336cbbbd7d4ae02e">a3101b97</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-29T04:41:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Fix segfault parsing new pack formats

We need to check for the errors given by ldb_unpack() et al by preserving
the error code from kv_ctx->parser() called by tdb_parse_record() in
ltdb_parse_record().

Otherwise we will silently accept corrupt records and segfault later.

Likewise new pack formats will confuse the parser but not be
detected except by the incomplete struct ldb_message.

With this patch, the user will see a message like:

 Invalid data for index  DN=@BASEINFO

 Failed to connect to 'st/ad_dc/private/sam.ldb' with backend 'tdb': Unable to load ltdb cache records for backend 'ldb_tdb backend'
 Failed to connect to st/ad_dc/private/sam.ldb - Unable to load ltdb cache records for backend 'ldb_tdb backend'

This can be refined in the future by a specific check for
pack format versions in a higher caller, but this much is
needed regardless to detect corrupt records.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/40ca8ed5a152ae7c5ec039649c09a037a20a4143">40ca8ed5</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-29T04:41:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sambaundoguididx: fix for -s

Quick fix running this script with -s instead of -H. samdb_url() returns
a url with a protocol prefix, which causes issues further down in the
script.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c0b679f6a3f21e262d03bf38ea63900d30c29bb5">c0b679f6</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-29T04:41:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sambaundoguididx: renamed to downgradedatabase

In forthcoming commits we're going to repurpose this script to do an
entire downgrade of a database, disabling all new database features.
downgradedatabase is a more appropriate name.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/09f2a187b3d8c161e2c11588499b3256a9dbcc95">09f2a187</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-05-29T04:41:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sambadowngradedatabase: Add "or later" to warning about using tools from Samba 4.8

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/74d15c9bf76f0a2fb5fa7b7b1d80971d10c4fe45">74d15c9b</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-29T04:41:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">downgradedatabase: blackbox test

This test confirms that running downgradedatabase causes all GUID keys to be
replaced with DN keys at the KV level

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6005c8cbad77259fa3cb89ab21cb5f26b72413cd">6005c8cb</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-29T04:41:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: only used a->syntax->index_format_fn if GUID indexing is enabled

Only enable ORDERED_INTEGER and index_format_fn functionality if GUID
indexing is enabled.  This is in line with the rest of ldb_kv which binds
the new ORDERED_INTEGER to GUID indexed databases, and allows a practical
way to create the old index format (by disabling the GUID index).

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/08b9d204b6eeda0aedea754f7e4b6f809d358cfe">08b9d204</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-29T04:41:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: binding ordered indexes to GUID indexing

To reduce the number of potential combinations of database features in
ldb, we want to link all new database features since 4.7. GUID indexing,
ordered integers, and pack format changes will all upgrade together.
This patch makes ordered integers only function if GUID indexing is
enabled. If GUID indexing is disabled, ORDERED_INTEGER will not be
written to @ATTRIBUTES and a syntax's index_format_fn will never be
used.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d6ded22cb617aeef75a415208b2ce56867b68047">d6ded22c</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-29T04:41:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">downgradedatabase: blackbox: check ordered integer removed

Test that when we undo GUID indexing on a TDB-backed database with
downgradedatabase, ORDERED_INTEGER is removed from @ATTRIBUTES

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/73763acf49c24727e2deaaa061be8a288ee7b3d5">73763acf</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-29T04:41:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: repack old format database if GUID indexing enabled

VERY IMPORTANT PATCH
Now that we have a new packing format, we need to enable it by repacking
the database. We've decided to link all new database features together,
so once GUID indexing is enabled, the database will be repacked with
version 2 format. Repacking is done following the same iterate pattern as
reindexing.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8db1312b08ebaf8881cf633196f0f40b0badac9a">8db1312b</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-29T04:41:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: python test for repack

Python test to confirm that after enabling or disabling GUID indexing,
the database is repacked on the next transaction with V1 if GUID
indexing was disabled, or V2 if it was enabled.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/68d99187cd5f85baacbf4af262b26ae0b9682db5">68d99187</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-29T04:41:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">downgradedatabase: blackbox: database repacked

Now that the database is repacked when GUID indexing is toggled on TDB,
test that downgradedatabase repacks a TDB-backed database with V2 pack
format database with V1.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6b4abb995215c732ff5c0bfaca2cecb7a374edff">6b4abb99</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-29T04:41:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: pack_format_override option

For TDB databases, toggling GUID indexing mode will also toggle
pack format version 2. This provides a convenient downgrade path for
Samba databases, but the process doesn't work for MDB databases because
GUID indexing cannot be disabled when the MDB backend is used. This patch
addresses that corner case by providing support for a pack_format_override
option which will force the database to use pack format version 2.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4eee09a2c17d1276b1d0be9f26b23743eec485c2">4eee09a2</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-29T04:41:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: disable ORDERED_INTEGER with MDB pack format v1

For TDB databases, the new ORDERED_INTEGER type is disabled along with
repacking at format version 1 if GUID indexing is disabled, so all the new
database features are toggled together. This scheme doesn't work with
MDB because GUID indexing is mandatory when using MDB. However, a
downgrade path is still required so in a previous commit we added
a pack_format_override option which allows a downgrade script to force
the database to use an earlier packing format. But, the new
ORDERED_INTEGER type would still be present in MDB databases so this
patch reads the pack_format_override opaque and converts ORDERED_INTEGER
types in @ATTRIBUTES to INTEGER and doesn't write any indexes of that
type to @INDEXLIST. The @INDEXLIST will be refreshed later, on the first
transaction.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0942a65b63cc99f36d3eba99e9c9551e10c5782e">0942a65b</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-29T04:41:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">downgradedatabase: adding special case for MDB

Though this script was initially written for undoing GUID indexing on
TDB databases, we're repurposing it to do a full downgrade of any
database. MDB databases can't be DN indexed, but they can have pack
format version 2 and ORDERED_INTEGER data types, which must be removed
during a downgrade.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4a95410a1543f854743aac24c6c7dc5ffc423aae">4a95410a</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-29T04:41:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">downgradedatabase: blackbox: MDB backend

When Samba uses TDB as a backend store, all new database features are
toggled on/off when GUID indexing is toggled. But, GUID indexing can't
be disabled on MDB, so the other features are toggled separately.
Consequently, the downgradedatabase script behaves differently depending
on the database backend. This patch adds testing for the MDB behaviour.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8831b06d3d4c1cb5b7732e9863228f8f3aea4e36">8831b06d</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-05-29T05:56:59Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Release ldb 2.0.3

* Default pack format changed to version 2 for GUID Indexed databases
  (essentially Samba's sam.ldb). This means faster unpacking for records
  with lots of attributes.

* Enforce link between all new database features, following toggling of
  GUID indexing. If user toggles GUID indexing on/off, target pack format
  is changed. Likewise the special ORDERED_INTEGER index format is used
  (when GUID indexing on) or behaves like INTEGER (when GUID indexing off).

* Database repacked if packing format not as expected.

* In the case of MDB, since GUID indexing is mandatory, feature toggling
  provided by pack_format_override LDB option.

* Check for errors from ldb_unpack_data() in ldb_tdb

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed May 29 05:56:59 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fd3f37af927cd926431a5dbd8f966d8c8e772dae">fd3f37af</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-29T10:10:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: Fix cppcheck null pointer dereference warning

lib/util/talloc_report.c:58: warning: nullPointer: Possible null pointer dereference: start <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f5af3cb21e2515096d0b21aabda238a1c8f3bab3">f5af3cb2</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-29T10:10:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/libads: cppcheck fix error: shiftTooManyBitsSigned: error

Squash 'Shifting signed 32-bit value by 31 bits is undefined behaviour'
error

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/75afaeb749991925f17517ce50a96178d32d7922">75afaeb7</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-29T10:10:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib/netapi: Fix 'Possible null pointer dereference' warning

source3/lib/netapi/localgroup.c:1103: warning: nullPointer: Possible null pointer dereference: r <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5477b83db28c67743e25a638c93bc4117a8a7ced">5477b83d</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-29T10:10:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib: don't write to buffer (which might be NULL) if bufsize <=0

Some code depends that tdb_pack[va] will return the bytes it would
write to 'buf' if the bufsize passed in is <=0, writing to the
buffer is protected by with lines like
   if (bufsize && bufsize >= len) {
      /* write to 'buf' */
   }

however in these instances the local pointer to the buffer is still
modified
   buf += len;

It's quite probable if bufsize == 0 that buf itself is NULL,
in this case we should protect against performing pointer arithmetic.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/02017d35f43b69b988841b29bd68c5b440edb4e7">02017d35</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-29T10:10:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/printing: cppcheck avoid 'nullPointerArithmetic:' error

source3/printing/notify.c:94: error: nullPointerArithmetic: Pointer addition with NULL pointer. <--[cppcheck]
/home/samba/samba-pidl/source3/printing/notify.c:96: error: nullPointerArithmetic: Pointer addition with NULL pointer. <--[cppcheck]
/home/samba/samba-pidl/source3/printing/notify.c:103: error: nullPointerArithmetic: Pointer addition with NULL pointer. <--[cppcheck]

flatten_message function depends on behaviour of tdb_pack which will
return the bytes that would be written (without actually writing to the
buffer) if the bufsize passed is <=0. What we need to avoid here is the
default modification of buf (when it is initially NULL)

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6555fa9d8fbc7f7be39f5ffc3a31ef14af92779c">6555fa9d</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-05-29T10:10:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: cppcheck: Fix ctunullpointer error

Fixes:

source3/smbd/files.c:783: error: ctunullpointer: Null pointer dereference: buf <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/32b282d55e8888aa7bbe02d95502669f1c714726">32b282d5</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-29T10:10:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/samba-tool: test dns serverinfo/zoneinfo

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/0ae585db26727a944c957cb543bf72175dc55599">0ae585db</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-05-29T11:29:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool dns: use bytes for inet_ntop

>From Python's point of view, array.AddrArray is a list of byte-valued
integers. In Python 3 we can convert directly using the likes of

         bytes(array.AddrArray[i].MaxSa[8:24])

but in 4.10 we need to support both, so we use struct.

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 May 29 11:29:17 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7f48fbcf7bad06a6df7812bb4fd3b0fca8edb4ea">7f48fbcf</a></strong>
<div>
<span>by Michael Hanselmann</span>
<i>at 2019-05-30T07:12:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Avoid read beyond buffer

Calling the "ldb_parse_tree" function with a filter consisting of
exactly a single space (" ") would trigger a read beyond the input
buffer. A unittest is included.

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

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e1a4fb5291662ed07ce18d597816dd8d6c7787a5">e1a4fb52</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-05-30T07:12:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 lib rpc pyrpc: Fix error message

Fix the error message returned when unable to initialise an event context.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
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/5e000a8487d788dd196980b77ec7299c8be74abf">5e000a84</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-05-30T07:12:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture:fsmo.py: test role transfers of dns partitions

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

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

Signed-off-by: Björn Baumbach <bbaumbach@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/4793f8ed584a4e6d8a26b06b691ec636e77d8f2a">4793f8ed</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-05-30T07:12:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: fix replication after dns partition fsmo role transfer

The new role owner need to replicate from the old role owner.

Before we told the old role owner to replicate from itself.

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

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/0fbb013bef886e425602fdbbef14a4029719818f">0fbb013b</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-05-30T07:12:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture:fsmo.py: remove unused 'net_cmd' variable

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

Signed-off-by: Björn Baumbach <bbaumbach@samba.org>
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/6a2e3a15585086bcceb18283216978a2fcb30da3">6a2e3a15</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-05-30T07:12:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: use only one LDAP modify for dns partition fsmo role transfer

We should not risk that we end with no role owner.

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

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/320a5c5425e6ced18b1a9bf19b4f361ee16821ed">320a5c54</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-05-30T08:27:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: add 'import samba.drs_utils' to fsmo.py

On some systems we're seeing this:

 ERROR(<type 'exceptions.AttributeError'>): uncaught exception - 'module' object has no attribute 'drs_utils'
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 185, in _run
     return self.run(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 533, in run
     transfer_dns_role(self.outf, sambaopts, credopts, role, samdb)
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 136, in transfer_dns_role
     except samba.drs_utils.drsException as e:

E.g. it happens on debian stretch (9.9) with python 2.7.13 (on 4.10.4)

While it doesn't happen on ubuntu 18.04 with python 2.7.15rc1 or
with python 3.6.7.

There were also some reports on the mailing lists, see:
https://lists.samba.org/archive/samba-technical/2019-May/133624.html

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

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

Signed-off-by: Björn Baumbach <bbaumbach@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 May 30 08:27:24 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/585d4d49770b4ddc3f7d9dcbb3e322f072767781">585d4d49</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: pass handle to ad_fset()

On the course of removing ad_handle from struct adouble, step 1.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c78ba30ac4534b7037b979ac96b77b834b2eb2fe">c78ba30a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: pass handle to ad_set()

On the course of removing ad_handle from struct adouble, step 2.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d0abf945e683766029d28915541a4baf9f3879ab">d0abf945</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: pass handle to ad_read()

On the course of removing ad_handle from struct adouble, step 3.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f8df09157f31b53dbe73eaf4349fc071bfcc1b90">f8df0915</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: pass handle to ad_read_meta()

On the course of removing ad_handle from struct adouble, step 4.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/47721d8d359ef78b8dd4f77f92c30c2caf2c4a80">47721d8d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: indentation fix

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/30ca328c698c2e035e240359bda7c9dcbeb646df">30ca328c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: use proper VFS function in ad_read_meta()

Continuing to ignore a possible error for now, this is in an error codepath
anyway.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/661dfa4a19673fdb30d5bf36279cdf867454b947">661dfa4a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: pass handle to ad_read_rsrc() and all the way down

On the course of removing ad_handle from struct adouble, step 5.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/400b3c2f8c82b1defe1e321e0cdae486b930344f">400b3c2f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: indentation fix

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fd2f4cf828ee4c31e3b5a27a79d3a0ee12a5877a">fd2f4cf8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: pass handle to ad_convert_xattr()

On the course of removing ad_handle from struct adouble, step 7.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/adc7ac38b849b4dce4a85fd6442c8d4b9da57686">adc7ac38</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: pass handle to ad_convert_blank_rfork()

On the course of removing ad_handle from struct adouble, step 8.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/50874c1548d62ab0ddaaa6dd4124279ee5029fcf">50874c15</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: pass handle to ad_convert_finderinfo()

On the course of removing ad_handle from struct adouble, step 9.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5f4d16b40e07acf8d27fee62f1a56de175663a1d">5f4d16b4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: pass handle to ad_convert_delete_adfile()

On the course of removing ad_handle from struct adouble, step 10.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e266daaed149561b746dbb8d5e9523862f0057b5">e266daae</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: finally, remove ad_handle from struct adouble

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ad70c947c759aa0965ee57f973fb8dc1909e0e39">ad70c947</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: add and use is_adouble_file()

This adds a helper function that checks whether the last component of a path is
an AppleDouble sidecar file with "._" name prefix.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/44d8568001c87d28962dfc4e3fde6d0f7f409997">44d85680</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: add a missing else

Luckily the missing else has the same control flow due to the previous if and
else blocks calling return.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/797dc649456f39add4af8b54b60db0268ad4e90e">797dc649</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: ignore AppleDouble files in fruit_unlink()

Otherwise, if SMB_VFS_UNLINK() is called for an AppleDouble path "._file", we
try to delete "._._file" which doesn't make sense. AppleDouble files don't have
AppleDouble themselves.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/83179a74119de84d20f796c241aae6bccb83a68b">83179a74</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: use correct case FRUIT_RSRC_STREAM in readdir_attr_rfork_size()

This is a genuine bug, but luckily this would only impact configs which nobody
uses:

  fruit:metadata = netatalk
  fruit:resource = stream

With the above configuration the switch in readdir_attr_rfork_size() would hit
the default case and so always report resource forks as 0 bytes in size.

All deployment that I've seen that use fruit:resource=stream also use
fruit:metadata=stream, so the switch takes FRUIT_META_STREAM case which runs the
correct code readdir_attr_rfork_size_stream().

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a23bcc1916a49bf3e0edece190e5434e39862d2c">a23bcc19</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: use stream code for resource fork size calculation in readdir_attr_rfork_size()

This works as well, using an fstat() on the filehandle to get the size. This is
tested by the torture test "vfs.fruit.SMB2/CREATE context AAPL".

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cb9dffa1c66294b6eed85e7576aa99c642d0b541">cb9dffa1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: remove now unused AppleDouble code for resource fork in xattr

This was only needed to get the resourcefork size via the ad_* AppleDouble
function. This is now done with a fstat on the low level xattr fd (remember,
this is Solaris only code...), so we can remove the xattr special casing from
the AppleDouble functions.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e3cb1cb24f2a31d7fd03f3bdf417f4704fb4ac7c">e3cb1cb2</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: remove xattr code from the AppleDouble subsystem

The subsystem consumers have been reworked in the previous commits, so this is
not used anymore. ad_init() doesn't need a handle argument anymore due to this,
remove it as well.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3919ea048fe3b763657e14cdfb5920184a900d27">3919ea04</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: pass VFS handle to ad_convert_move_reso()

Not used for now, that comes next.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/97d485ff2cda85edeba163ea01b6abfa705db20f">97d485ff</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: remove a layer of indirection

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f5f7d1e9bf7e39933ccf7c874e682f9df80a6fec">f5f7d1e9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: only do cross protocol locking on non-internal opens

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/29418c726be74feb1d8c3ac9f7b8c983901a2aab">29418c72</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: convert ad_open_rsrc() to open a proper fsp with SMB_VFS_CREATE_FILE()

A first step in converting all raw syscalls to use proper VFS functions. All
existing users of the raw system filedescriptor continue to use the fd from
fsp->fh for now.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0041855af0b05d6c47558880d6eebd1970179272">0041855a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: remove use of mmap() from ad_convert_move_reso()

We now have an fsp that we can use, so we can get rid of mmap() and
sys_pread()/sys_pwrite().

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4ff7ea0e0312c737aefd350f7b8fbed4c8602325">4ff7ea0e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: use fsp and remove mmap in ad_convert_xattr()

No need to mmap() anyway, the xattr data is already available in ad->ad_data.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4e44b1da9357120f0ad74e24c650bc6386085c47">4e44b1da</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: add VFS handle to ad_convert_truncate()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3739ad90cf2bbaa2094a34197c894363d2e24a5a">3739ad90</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: use VFS function in ad_convert_truncate()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/70c4a8f0ac307009c26e857523192c95b42a92f5">70c4a8f0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: use fsp and remove syscalls from ad_convert_blank_rfork()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9fe84a6345bf5d9fdb1df87a853db3380e6fb0f7">9fe84a63</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T20:19:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: use VFS functions in ad_read_rsrc_adouble()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9a2c9834cb1b77547b8b932c35870301afb9fc25">9a2c9834</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-05-30T22:12:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: remove a now unnecessary include

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

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 30 22:12:50 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8e3bc591733c868320a0f91d3f3e3943bd95b92e">8e3bc591</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-31T05:18:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Allow for wider range of terminals (besides xterm)

Allow developers to override the default @term_args, as well as the
terminal itself.

Currently, due to the nature of the args we pass to xterm (i.e. 'echo -e
"blah.." && bash'), it doesn't make it very flexible for use with other
terminals. By dropping these additional @term_args, it makes it much
easier to slot in an alternative terminal.

For example, these commands now work (more or less).

TERMINAL="terminator" TERMINAL_ARGS="-x bash" \
 SELFTEST_TESTENV=ad_dc make testenv

TERMINAL="bash" TERMINAL_ARGS="" \
 SELFTEST_TESTENV=nt4_dc make testenv

TERMINAL="bash" TERMINAL_ARGS="--norc" \
 SELFTEST_TESTENV=none make testenv

bash is usable, but a little weird because its output is still being
piped. Also bash with ad_dc is a little weird because we're using tee
for the DC's stdout. (I'd also recommend --norc, as it makes it easier
to differentiate between the testenv shell).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5635a7ce2fe348a3ed89ff39a02f9db135424367">5635a7ce</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-31T05:18:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add helper scripts to run selftest in namespaces

This adds the underlying scripts, but they are not actually hooked up to
the selftest code yet, and so are not actually used.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c9e62513822fa5fce9ad29c164273a2db64ff18d">c9e62513</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-31T05:18:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add TESTENV_DIR "env" variable

We store the testenv directory path for the 'ctx' hashmap, but not for
the testenv-vars hashmap (and that can be really annoying sometimes).
Add it into the second hashmap that selftest actually keeps track of.
Currently it's only stored in the hashmap, not actually exported as an
environment variable (but we could easily do that if a test-case need
this info).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/067b4fc03fec20e944eac2645f400471f2bc0b21">067b4fc0</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-31T05:18:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add linux namespace support (USE_NAMESPACES=1)

This hooks up the selftest/ns/* scripts added earlier with the selftest
system, so developers can optionally run a testenv or test using linux
namespaces instead of socket-wrapper.

The idea is this is experimental functionality that we can extend
further in future, in order to make testing Samba more versatile.

+ The top-level WAF script now does an 'unshare' to create a new
top-level 'selftest' namespace in which to create the testenv(s).
+ selftest.pl creates a common 'selftest0' bridge to connect together
the individual DCs.
+ Update Samba.pm so it can use real IPs instead of loopback addresses.
In fork_and_exec(), we add a couple of hooks so that the binary gets
started in a different namespace (using unshare/start_in_ns.sh), and
the parent process connects the new child namespace up to the common
selftest0 bridge (using add_bridge_iface.sh).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c68537d5dd4963a6e149ac4dcb0c89c51cbfae79">c68537d5</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-31T05:18:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add helper scripts for accessing the testenv namespace

This patch adds some helper scripts that make talking to a given
testenv's namespace slightly easier.

One of the really cool things about namespaces is you can run multiple
different programs that can all talk to the testenv DC. However, the
command to do this is a bit unweildly, it's based on PID so it changes
everytime you start up a testenv, and you loose all the environment
variables that selftest normally sets up.

This patch adds a couple of helper scripts:
- nsenter-helper.sh: this takes the variables defined in an exports_file
  and exports them all. It prints some basic help and then starts a new
  shell session (this whole script gets run in the new namespace).
  Essentially this achieves something similar to the legacy
  selftest-vars.sh script (except this one actually works).
- mk_nsenter.sh: this generates a simple wrapper script that'll run
  nsenter and then call nsenter-helper.sh. A separate wrapper script
  gets created for each testenv. E.g. to run it, just go:
    ./st/ad_dc/nsenter.sh

  This is a wrapper for a more complicated command underneath like:
    nsenter -t 437353 --net --user --preserve-credentials \
      /home/timbeale/code/samba/selftest/ns/nsenter-helper.sh \
      /home/timbeale/code/samba/st/ad_dc/exports.sh

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/900af92e8684ba9c13d28f0cbbe8ab599a9b3b44">900af92e</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-31T05:18:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add more notes on using selftest with namespaces

In particular, document how to hook up a testenv to a Windows VM
(ideally there should be a helper script to do this, but in the
meantime some instructions are better than nothing).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f2f0ebb073353196f381fe2e01e4001983710255">f2f0ebb0</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-31T05:18:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision: Fallback to assumption root-UID==zero

Which is not a terrible assumption to make. The super-user on linux will
always have UID of zero, however, the super-user will not necessarily be
called "root".

This makes the provision/join commands work better when run in a
container. (And while deploying Samba in a container is perhaps not the
smartest move, this gives us some versatility when testing Samba).

This is needed to get the provision commands working in the domain_backup
tests when run with USE_NAMESPACES=1.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6defc1f183d6a9f24af1674d1dfee36d9e9bdc76">6defc1f1</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-31T05:18:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Add check customdc has valid realm/domain

If we couldn't determine the realm/domain from the backup file, it's a
lot nicer to fail early with a clear error message (rather than failing
later on with a really obscure message).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b23d005cdc646e02af3c38852f75e4505070768e">b23d005c</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-05-31T06:34:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Don't use global dirs when parsing customdc realm

When creating the customdc, testparm would default to using
/usr/local/samba sub-directories for creating sockets and lock files.
Instead, pass in the tmpdir we just created as an option to the command.

Normally this didn't cause a noticeable problem, however, if we run the
command with UID-wrapper but without socket-wrapper (i.e.
USE_NAMESPACES=1), then it fails completely.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri May 31 06:34:36 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b5bf1b66d55f40862ece83ef013793fb303acca7">b5bf1b66</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-05-31T09:48:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: avoid using != to compare variables to support old versions

`!=` was only introduced after 11.11, according to doc at:

https://docs.gitlab.com/ee/ci/variables/README.html#environment-variables-expressions

For private gitlab instance, the version may not be new enough.
Use `==` to make it backward compatible.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
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): Fri May 31 09:48:37 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/eb2e29c354ceb7ffe3bcc786929006a6cf9b13ea">eb2e29c3</a></strong>
<div>
<span>by Anoop C S</span>
<i>at 2019-05-31T20:38:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3-smbcontrol: Replace && with || to declare variables in do_sleep()

--enable-developer internally use --enable-selftest alongside. But when
configured only with --enable-selftest the following code block becomes
invalid:

 #if defined(DEVELOPER) && defined(ENABLE_SELFTEST)
        unsigned int seconds;
        long input;
        const long MAX_SLEEP = 60 * 60; /* One hour maximum sleep */
 #endif

making those variables undeclared for further use. Therefore replace &&
with || to have those variables declared with --enable-selftest
configure option.

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri May 31 20:38:09 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ead9b93ce5c2c67bbdb778232805d6d9e70112fc">ead9b93c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server:netlogon: don't require NEG_AUTHENTICATED_RPC in netr_ServerAuthenticate*()

The domain join with VMWare Horizon Quickprep seems to use
netr_ServerAuthenticate3() with just the NEG_STRONG_KEYS
(and in addition the NEG_SUPPORTS_AES) just to verify a password.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13464 (maybe)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13949

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/fa5215ce5b93fb032df341e718d7011e619f0916">fa5215ce</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server:netlogon: don't require NEG_AUTHENTICATED_RPC in netr_ServerAuthenticate*()

The domain join with VMWare Horizon Quickprep seems to use
netr_ServerAuthenticate3() with just the NEG_STRONG_KEYS
(and in addition the NEG_SUPPORTS_AES) just to verify a password.

Note: NETLOGON_NEG_SCHANNEL is an alias to NEG_AUTHENTICATED_RPC.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13464 (maybe)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13949

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/0b6e37c9e801435e094194dd60d9213b4868c3de">0b6e37c9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_server:netlogon: simplify AUTH_TYPE_SCHANNEL check in netr_creds_server_step_check()

The gensec schannel module already asserts that at least
AUTH_LEVEL_INTEGRITY is used.

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

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/05d0806e71b6c3c31e4457c239bd2a5886187bf4">05d0806e</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/ntvfs/cifs: cppcheck: squash nullPointer: Possible null pointer dereference

Fix the following cppcheck warnings

/home/samba/samba-pidl/source4/ntvfs/cifs/vfs_cifs.c:604: warning: nullPointer: Possible null pointer dereference: file <--[cppcheck]
/home/samba/samba-pidl/source4/ntvfs/cifs/vfs_cifs.c:605: warning: nullPointer: Possible null pointer dereference: file <--[cppcheck]
/home/samba/samba-pidl/source4/ntvfs/cifs/vfs_cifs.c:648: warning: nullPointer: Possible null pointer dereference: file <--[cppcheck]
/home/samba/samba-pidl/source4/ntvfs/cifs/vfs_cifs.c:649: warning: nullPointer: Possible null pointer dereference: file <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2bed937e7fbb551bebfed3c76d7bf4317f72b425">2bed937e</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/rpc_server/dnsserver: cppcheck: Fix Uninitialized variable error.

source4/rpc_server/dnsserver/dcerpc_dnsserver.c:715: error: uninitvar: Uninitialized variable: answer_integer <--[cppcheck]

This error is benign and somewhat false because the code pointed to does
not run (due to a different check) if answer_integer is not actually
initialsed. It is easy to squash it though by just initialising the var.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bcc6b8c2492b87fb4ac6bdb5075a5831d71bade8">bcc6b8c2</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/rpc_server/dnsserver: clang: fix Value stored to 'status' is never read

Fix the following warnings

source4/rpc_server/dnsserver/dcerpc_dnsserver.c:1021: error: uninitvar: Uninitialized variable: answer_integer <--[cppcheck]
source4/rpc_server/dnsserver/dcerpc_dnsserver.c:1723:4: warning: Value stored to 'status' is never read <--[clang]
                        status = dns_fill_records_array(tmp_ctx, NULL, DNS_TYPE_A,
                        ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source4/rpc_server/dnsserver/dcerpc_dnsserver.c:1881:4: warning: Value stored to 'status' is never read <--[clang]
                        status = dns_fill_records_array(tmp_ctx, NULL, DNS_TYPE_A,

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8c49cf70fc519059b8606bc6432c69b2d5ec06ab">8c49cf70</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/smb_server/smb: cppcheck: Fix uninitvar & uninitStructMember errors

Fixes the following errors (note: existing code is safe the way it is
currently all accesses to the structure are 'after' it is assigned)

source4/smb_server/smb/negprot.c:447: error: uninitvar: Uninitialized variable: blob <--[cppcheck]
source4/smb_server/smb/negprot.c:453: error: uninitStructMember: Uninitialized struct member: blob.data <--[cppcheck]
source4/smb_server/smb/negprot.c:447: error: uninitStructMember: Uninitialized struct member: blob.length <--[cppcheck]
source4/smb_server/smb/negprot.c:453: error: uninitStructMember: Uninitialized struct member: blob.length <--[cppcheck]
source4/smb_server/smb/negprot.c:454: error: uninitStructMember: Uninitialized struct member: blob.length <--[cppcheck]
source4/smb_server/smb/negprot.c:455: error: uninitStructMember: Uninitialized struct member: blob.length <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9c7113a418ce169b486f86238643e2d03112410b">9c7113a4</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/smdb: cppcheck: fix nullPointer: Possible null pointer dereference warning.

Insert unreachable return to satisfy the following warnings

source4/smbd/server.c:692: warning: nullPointer: Possible null pointer dereference: state <--[cppcheck]
source4/smbd/server.c:694: warning: nullPointer: Possible null pointer dereference: state <--[cppcheck]
source4/smbd/server.c:699: warning: nullPointer: Possible null pointer dereference: state <--[cppcheck]
source4/smbd/server.c:758: warning: nullPointer: Possible null pointer dereference: state <--[cppcheck]
source4/smbd/server.c:789: warning: nullPointer: Possible null pointer dereference: state <--[cppcheck]
source4/smbd/server.c:849: warning: nullPointer: Possible null pointer dereference: state <--[cppcheck]
source4/smbd/server.c:866: warning: nullPointer: Possible null pointer dereference: state <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f3f79a267ee656f22df01e8a7bb9d4db64e78781">f3f79a26</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: cppcheck: Fix memleakOnRealloc errors

Fixes the following errors

nsswitch/nsstest.c:192: error: memleakOnRealloc: Common realloc mistake: 'buf' nulled but not freed upon failure <--[cppcheck]
nsswitch/nsstest.c:230: error: memleakOnRealloc: Common realloc mistake: 'buf' nulled but not freed upon failure <--[cppcheck]
nsswitch/nsstest.c:269: error: memleakOnRealloc: Common realloc mistake: 'buf' nulled but not freed upon failure <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bb00a7e018800c6d70d9d0937183961c7af970b9">bb00a7e0</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture/raw: cppcheck: Fix shiftTooManyBitsSigned error

Fix

source4/torture/raw/notify.c:831: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/raw/notify.c:838: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/raw/notify.c:849: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/raw/notify.c:861: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/raw/notify.c:869: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/raw/notify.c:882: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/raw/notify.c:892: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/raw/notify.c:903: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/raw/notify.c:914: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/raw/notify.c:929: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/raw/notify.c:941: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/raw/notify.c:951: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/raw/notify.c:961: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/raw/notify.c:972: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/raw/notify.c:982: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/90a82a41cfd6981397aa5c4e4b462bf14e57cd66">90a82a41</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture/raw: cppcheck: Fix shiftTooManyBitsSigned error

Fix

source4/torture/raw/open.c:1009: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/raw/open.c:1048: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c8cdc016b4c53109454f25ee675d083b556cc134">c8cdc016</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture/smb2: cppcheck: Fix shiftTooManyBitsSigned error

Fixes

source4/torture/smb2/create.c:197: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/smb2/create.c:234: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/smb2/create.c:265: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/43500e4134cfa875d7ba71c2150760c97dded2c8">43500e41</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture/smb2: cppcheck: Fix shiftTooManyBitsSigned error

Fixes

source4/torture/smb2/notify.c:974: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/smb2/notify.c:994: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/smb2/notify.c:1002: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/smb2/notify.c:1011: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/smb2/notify.c:1025: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/smb2/notify.c:1040: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/smb2/notify.c:1048: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/smb2/notify.c:1062: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/smb2/notify.c:1081: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/smb2/notify.c:1096: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/smb2/notify.c:1112: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
source4/torture/smb2/notify.c:1125: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a497fa9bc3fd66230270fa6cfd1c5cfd535451e6">a497fa9b</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture/unix: cppcheck: Fix shiftTooManyBitsSigned error

Fixes

source4/torture/unix/unix_info2.c:300: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e2ee3f8943140df2e52c9778fe43feb544cda977">e2ee3f89</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/rpcclient: cppcheck: Fix shiftTooManyBitsSigned error

Fixes

source3/rpcclient/cmd_srvsvc.c:44: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4d095bd052cbe55c05835275eec8d9f2cee7f02e">4d095bd0</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/pthreadpool: cppcheck: Fix Memory leak

Fixes

lib/pthreadpool/tests.c:63: error: memleak: Memory leak: finished <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/52cf237b1d4a2f1d6f5541f3cdbcced95ff6f5ff">52cf237b</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/modules: cppcheck: Fix ctunullpointer error

Fixes

source3/modules/vfs_syncops.c:117: error: ctunullpointer: Null pointer dereference: smb_fname <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/edbef9e0403482a66243d3aa8752804fa1666e43">edbef9e0</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/winbdind: cppcheck: fix nullPointerArithmetic error

Fixes

source3/winbindd/winbindd_cache.c:4386: error: nullPointerArithmetic: Pointer addition with NULL pointer. <--[cppcheck]
source3/winbindd/winbindd_cache.c:4400: error: nullPointerArithmetic: Pointer addition with NULL pointer. <--[cppcheck]
source3/winbindd/winbindd_cache.c:1569:24: warning: Dereference of null pointer <--[clang]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/71e7b5d14e65ced795a3d1a63891e94e284f2eb6">71e7b5d1</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb/server: cppcheck: fix shiftTooManyBitsSigned error

Fixes

ctdb/server/ipalloc_lcp2.c:61: error: shiftTooManyBitsSigned: Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a0ccec6291a219ded9b1a86ddaa18a61456699da">a0ccec62</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util/tests: clang fix Value stored to 'lines' is never read warning

Fixes

lib/util/tests/file.c:153:2: warning: Value stored to 'lines' is never read <--[clang]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/dc82866dd76c043f73a93cde061af730cc010695">dc82866d</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: cppcheck: Fix ctunullpointer error

Fixes

nsswitch/pam_winbind.c:1379: error: ctunullpointer: Null pointer dereference: info <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/046de055215615697619452f9735cfad01fdbb03">046de055</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules: Put debug msg into the if clause checking the strings exists

error: '%s' directive argument is null [-Werror=format-overflow=]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/dbf3e81f7f0b28c69dca004b32ea3a7344b0cad3">dbf3e81f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Improve documentation of "lanman auth" and "ntlm auth" connection

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

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/3ce9069a65c5e943c6eda38711f527a9a42c7b6b">3ce9069a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb:protocol_util: remove 'const' from allocated strings

The caller should be able to call TALLOC_FREE() on the returned
strings.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b9b3acf23e3306ba5cfd1fd254250eef97793921">b9b3acf2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-04T22:13:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb:takeover: add better debugging when a client connects to a non public address

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/843fbb1207ee7ac84f3282974b66b9290d8da0ac">843fbb12</a></strong>
<div>
<span>by Rafael David Tinoco via samba-technical</span>
<i>at 2019-06-04T23:31:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Fix tcp_tw_recycle existence check

net.ipv4.tcp_tw_recycle has been removed from Linux 4.12 but, still,
makes sense to check its existence. Unfortunately, current check does
not test for the procfs file existence. This commit fixes the issue.

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

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

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Jun  4 23:31:24 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2558f96da1f9be8034f26736c8050bb38a1f82a8">2558f96d</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:49Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Fix signed/unsigned comparisons by declaring as unsigned

These are the simple cases where a variable (usually a loop variable)
needs to be declared as an unsigned type (usually unsigned int or
size_t) instead of an int.

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/865f127e7d29829da6c638ba13a034071ef14a6b">865f127e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:49Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Fix signed/unsigned comparisons by declaring extra variable

This needs an extra variable because variable i has been used in both
signed and unsigned contexts.

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/4a8ca51997f411932fe3eec099cb296f35faff54">4a8ca519</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:49Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Fix signed/unsigned comparisons by casting

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/201066d2e63c38485c3bad8f9f7c1bb53f0b9f65">201066d2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:49Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Fix signed/unsigned comparison by declaring as unsigned

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/282221b0d64314f40b92651ffb41a95e01a1267a">282221b0</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:49Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Fix signed/unsigned comparison by declaring as int

There's no point using unsigned here.  tdb_traverse() returns an int
for the number of records traversed and the number of empty records
can't exceed this value.

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/9869ac1fb7677267426979ab9dadefffe501b84c">9869ac1f</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:49Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Fix signed/unsigned conversion by declaring as size_t

All the top-level callers pass size_t.

Drop the ternary operator.  The value of hsize is always positive
because it is unsigned.

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/938df1dbc81bdba8d919e6a1410376ed836eb663">938df1db</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:49Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Fix potentially uninitialised data

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/5b9456b70b611e5f520bb90b9e807f6ddfb64c98">5b9456b7</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:49Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Fix signed/unsigned comparisons by declaring as unsigned

Simple cases where a variable (usually a loop variable) needs to be
declared as an unsigned type (unsigned int or size_t) instead of an
int.

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/2b3150db944076f7dc4300bb73c766bf4d7517b1">2b3150db</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:49Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Fix signed/unsigned comparisons by casting

In one case, given triviality of change, add missing braces and fix
whitespace.

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/cf9199f425ce7f2412f794ebb89bb28f898571c7">cf9199f4</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Use #ifdef to avoid TEST_RB_TREE not defined

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/94e41a8466f024edb6eb069c0c5f8025599cf116">94e41a84</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Avoid warning for potentially uninitialised pointers

s_list generates a warning, but initialise them both.

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/887dc174f2320de2318d8bd56f1b58c95c10519e">887dc174</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Avoid unused value warning

The incremented value of argc is indeed never used.  Leave it as a
comment to warn anyone cutting and pasting 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/2be15d3c61f643666f9b3a845487125d801c134f">2be15d3c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-client: Fix signed/unsigned comparisons by declaring as unsigned

Simple cases where a variables and function parameters need to be
declared as an unsigned type instead of an int.

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/2c76a957c0e3a01c3571c67970dff29f9c31dfe4">2c76a957</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-client: Fix potentially uninitialised data

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/7fa6c1206a3a5fa6961275743b4a31775c1d9faa">7fa6c120</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Fix signed/unsigned comparison by using constant

Variable reqid is unsigned, so don't compare with -1.

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/fa7bd35b6ada0e33db9c6e883bf1ae92508e8e3b">fa7bd35b</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recovery: Fix signed/unsigned comparisons by declaring as unsigned

Simple cases where variables need to be declared as an unsigned type
instead of an int.

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/978c7dbd55916460b993b26bc0d3457bf063a72f">978c7dbd</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recovery: Fix signed/unsigned comparison by casting

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/35368d871d94a0f7bf74ac227a6f0b62bd6c8f1c">35368d87</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recovery: Avoid -1 as a PNN, use CTDB_UNKNOWN_PNN instead

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/90622ab901a2738c827d79c002123f758fb966b7">90622ab9</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recovery: Fix signed/unsigned comparisons by declaring as unsigned

Simple cases where variables and function parameters need to be
declared as an unsigned type instead of an int.

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/0bd87d75c0db076e17d2d186afbdccb3e769b125">0bd87d75</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-utils: Avoid warning about unused value

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/18b4a3a0d316954d65617ee189dffa9c4269f42e">18b4a3a0</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Avoid potentially uninitialised data

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/86666d6570f5377139a18d3e8875e89565bb8ee0">86666d65</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-ipalloc: Fix signed/unsigned comparisons by declaring as unsigned

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/7df15b246abb9ea2f606f5739a02cfec51f6d9cb">7df15b24</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-ipalloc: Avoid -1 as a PNN, use CTDB_UNKNOWN_PNN instead

This fixes warnings about signed versus unsigned comparisons.

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/2db0e71d3bef334dbb0a73f7118bf92af1cf0890">2db0e71d</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-ipalloc: Fix warning about unused value assigned to srcimbl

To make this much clearer, move the declaration into the scope where
it is 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/aa602a8cc590dd416764d21147545bb411e47e35">aa602a8c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-cluster: CID 1435726: NULL pointer dereference

Also found by csbuild.

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/b1d83fb3e88acfdfe00f06e950185ed03fee624f">b1d83fb3</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T10:25:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Attempt to silence CID 1357985 (Unchecked return value)

Yes, the other callers check the return value of ctdb_lockdb_mark().
However, this is called in a void function and ctdb_lockdb_mark() has
already printed any error message.  All we can do is explicitly ignore
the return value.

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/952437b1bdbe000c217836c4ecd59406e92146d7">952437b1</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-06-05T12:09:56Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-utils: Fix CID 1125558 (Unchecked return value from library)

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): Wed Jun  5 12:09:56 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/aabdcc91513e242c4f191e1bbbb70c890416d213">aabdcc91</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-05T15:40:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">third_party: Update waf to version 2.0.17

This fixes building Samba, libtalloc, libtevent, libtdb and libldb with
Python 3.8.

     wget https://waf.io/waf-2.0.17.tar.bz2
     tar -xf waf-2.0.17.tar.bz2
     git rm third_party/waf/waflib/ -r
     mkdir third_party/waf -p
     rsync -a waf-2.0.17/waflib/ third_party/waf/waflib/
     git add third_party/waf/waflib/

(Then update version number in buildtools/bin/waf and
buildtools/wafsamba/wafsamba.py)

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/968434525480020999a30881ca20b9b13c99ad65">96843452</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-05T15:40:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests auth log winbind: Fix flapping test

Fix flapping auth_log_winbind tests, were seeing failures like

UNEXPECTED(failure):
samba.tests.auth_log_winbind.samba.tests.auth_log_winbind.AuthLogTestsWinbind.
test_wbinfo(ad_member:local)
REASON: Exception: Exception: Traceback (most recent call last):
  File "bin/python/samba/tests/auth_log_winbind.py", line 328, in
  test_wbinfo
      self.assertEquals(logon_id, msg["Authentication"]["logonId"])
      AssertionError: '812b7158bff1660e' != '2cfc1fed76ff8865'
      - 812b7158bff1660e
      + 2cfc1fed76ff8865

Test had a race condition with other SamLogon events on the domain
server. The tests can now handle multiple SamLogon messages and filter
out the SamLogon messages for other logons.

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/8096cc7eb2b36b074ff17a52dc3540be4ecff6bb">8096cc7e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-06-05T15:40:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:auth: add reinit_guest_session_info()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f4e340a48b6f059a1daa66deb9c26da9e8fcd5e7">f4e340a4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-06-05T15:40:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: call reinit_guest_session_info() in the conf updated handler

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ac2167eb2349dc1c453e14a65692f16c8ba6532e">ac2167eb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-06-05T15:40:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: allow guest login in the ad_member_idmap_rid env

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0e88f98855e24cfddb55bef65c5910b8e662c630">0e88f988</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-06-05T15:40:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: add a test for guest authentication

This verifies that smbd always adds BUILTIN\Guests to the guest token which is
required for guest authentication.

Currently the guest token depends on the on-disk configured group mappings. If
there's an existing group mapping for BUILTIN\Guests, but LOCALSAM\Guest is not
a member, the final guest token won't contain BUILTIN\Guests.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a66af4c96accba4ee64eeb1958458b69f3ccec1d">a66af4c9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-06-05T16:55:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:auth: explicitly add BUILTIN\Guests to the guest token

This changes ensures that smbd always adds BUILTIN\Guests to the guest token
which is required for guest authentication.

Currently the guest token depends on the on-disk configured group mappings. If
there's an existing group mapping for BUILTIN\Guests, but LOCALSAM\Guest is not
a member, the final guest token won't contain BUILTIN\Guests.

For SMB2 the flag SMB2_SESSION_FLAG_IS_GUEST will not be set in the final SMB2
SESSION_SETUP response, because smbd sets it based on the token containing the
BUILTIN\Guests SID S-1-5-32-546.

At the same time, the packet is not signed which causes Windows clients and
smbclient to reject the unsigned SMB2 SESSION_SETUP response.

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

Pair-programmed-with: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jun  5 16:55:26 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0e771f0ed6cb900e6eccc3a4205120ae8c0f7ee2">0e771f0e</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests blackbox ndrdump: Add test for struct printing

Add test for the dumping of a public structure with ndrdump.  This
removes the need to define decode_* functions in the idl.

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/5d67e87d1c4504593f5da712f00de85371f8942f">5d67e87d</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl: Allow ndrdump to print public structures

Generate code to allow ndrdump to operate on public structures.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3bf05fbfd7106f46b35ee027f57be4c6af72f22e">3bf05fbf</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ndrdump: print public structures

Add a struct option to ndrdump that will allow it to print public
structures.
  i.e. binn/ndrdump dns dns_name_packet struct data.file

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/41afed1189bc6f645450e474bee26f8f3f199623">41afed11</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">drsblobs.idl: remove decode functions

Remove the decode_* functions as they are no longer needed, and this
will reduce the amount of untested automatically generated code.

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/0195e8d4642006405b21d92e69a1491c68956b03">0195e8d4</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ntlmssp.idl: remove unused decode functions

Remove the decode_* functions as they are no longer needed, and this
will reduce the amount of untested automatically generated code.

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/52cb4f11dd8f0b9fcf194ef099b766628c3dd784">52cb4f11</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dnsp.idl: remove unused decode functions

Remove the decode_* functions as they are no longer needed, and this
will reduce the amount of untested automatically generated code.

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/1d89808dfbbc6ca8f0d6d041f83a0330f7c16014">1d89808d</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">cab.idl: remove unused decode functions

Remove the decode_* functions as they are no longer needed, and this
will reduce the amount of untested automatically generated code.

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/66218cf1fb7d2ea2c69ac4421f16c8c4bd62545d">66218cf1</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">krb5pac.idl: remove unused decode functions

Remove the decode_* functions as they are no longer needed, and this
will reduce the amount of untested automatically generated code.

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/f5cf33fa39d70722c69fd5d38d32f481aedcb645">f5cf33fa</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nbt.idl: remove unused decode functions

Remove the decode_* functions as they are no longer needed, and this
will reduce the amount of untested automatically generated code.

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/939d72df4b5d01cac3e4233e20e4b48c99ecc6b7">939d72df</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">negoex.idl: remove unused decode functions

Remove the decode_* functions as they are no longer needed, and this
will reduce the amount of untested automatically generated code.

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/c89cfbd15d8d7343a157baf2726d69f75dac950c">c89cfbd1</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">preg.idl: remove unused decode functions

Remove the decode_* functions as they are no longer needed, and this
will reduce the amount of untested automatically generated code.

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/dc78689425227e919b76b5f78470614b75764f45">dc786894</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">security.idl: remove unused decode functions

Remove the decode_* functions as they are no longer needed, and this
will reduce the amount of untested automatically generated code.

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/883f2fa3d4d736be704063cd88b0d5b6ce6c76bd">883f2fa3</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ntp_signd.idl: remove unused decode functions

Remove the decode_* functions as they are no longer needed, and this
will reduce the amount of untested automatically generated code.

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/2254d0e4b90ff3ede7a5893a60299b699613e086">2254d0e4</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sasl_helpers.idl: remove unused decode functions

Remove the decode_* functions as they are no longer needed, and this
will reduce the amount of untested automatically generated code.

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/92d37950765a72f8a60b3aec27b73d1e0d6d184c">92d37950</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winsrepl.idl: remove unused decode functions

Remove the decode_* functions as they are no longer needed, and this
will reduce the amount of untested automatically generated code.

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/532ba5a069342c3a4508aac19491b439cae0ce87">532ba5a0</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T03:30:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ntprinting.idl: remove decode functions

Remove the decode_* functions as they are no longer needed, and this
will reduce the amount of untested automatically generated code.

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/7680010e3bc7405e7350d7375cf02d61abd30849">7680010e</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-06T04:58:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests blackbox ndrdump: Clean up pep8 warnings

Clean up the test code and remove the pep8 warnings

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 Jun  6 04:58:18 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0b81dca2572ee98fdb5f61652c3fb1ce30cd0a9b">0b81dca2</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove Python2 side of py3compat.h

This is unused as we do not support building python modules (etc) under py2.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6a8c7adc5a454154904aa3b0fe52aef0b78ab7d6">6a8c7adc</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused IS_PY3 macro from py3compat.h

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cff26b47eeffe1080fff1c794bbe4dcb8e7b6aed">cff26b47</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused PyStr_CheckExact macro from py3compat.h

Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/00718304e9a01b5ee8b0a5cf4e7fa323ca85b032">00718304</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused PyStr_Concat macro from py3compat.h

Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e191788c0654c80d9e9defff080049bfb3115fbf">e191788c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused PyStr_Format macro from py3compat.h

Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e6da3fcfbe9a3d54cf08887e3232a75e76df0f8a">e6da3fcf</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused PyStr_InternInPlace macro from py3compat.h

Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1c92e7bdea0b9d65f05475584e36852db9744599">1c92e7bd</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused PyStr_InternFromString macro from py3compat.h

Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a5b04db676ee73df2f5dd98096ee849c6a0447fa">a5b04db6</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused PyStr_Decode macro from py3compat.h

Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5c15e68bb1e79cd4f3f2590f9cadf00253aa788c">5c15e68b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused PyStr_AsUTF8String macro from py3compat.h

Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2dfcf652acf89ee55464d464bdc49902db52a431">2dfcf652</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused PY_DESC_PY3_STRING macro from py3compat.h

Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/09fecb677530fb9fedbc5c68cffca09270340bf0">09fecb67</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused PyInt_CheckExact macro from py3compat.h

Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7bd3d0f79be8464b63815da8db9c0ec205da5e6e">7bd3d0f7</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused PyInt_FromString macro from py3compat.h

Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f35239915252e1644134bf0eb55e18540a6d20d9">f3523991</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused PyInt_FromSsize_t macro from py3compat.h

Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/03cb50cf58f770c1b09b3ef95b7584821b7ffb72">03cb50cf</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused PyInt_FromSize_t macro from py3compat.h

Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6e2e80a4d2b31055ec91316aed6fdb488b40f697">6e2e80a4</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused PyInt_AS_LONG macro from py3compat.h

Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/88d62288dd4a3c7eb00603c3a9fc5d1c9c73e51f">88d62288</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T12:14:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused PyInt_AsUnsignedLongLongMask macro from py3compat.h

Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0d4738ee3b220476a23b3e30962881dec2cf5f72">0d4738ee</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-06T13:26:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove unused PyInt_AsSsize_t macro from py3compat.h

Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Jun  6 13:26:05 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ab376a97c972d2d5ebfb912ed90664c787860dc8">ab376a97</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-07T19:50:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Specifically remove files generated by provision

This allows the changes in 74d15c9bf76f0a2fb5fa7b7b1d80971d10c4fe45 to
be reverted, and aligns this test with others that use TestCaseInTempDir.

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

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/56400153c8c7052fe319f273c30c6d59556102dc">56400153</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-07T21:08:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert TestCaseInSubDir parts of "downgradedatabase: blackbox test"

This reverts part of commit 74d15c9bf76f0a2fb5fa7b7b1d80971d10c4fe45.

TestCaseInSubDir should not have been modified in this way, instead
the downgradedatabase test should have removed the files it created
specifically (this is part of the test, it shows the right files were
created).

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

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): Fri Jun  7 21:08:12 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ff4a5f643f4e8d38a748573e9492d8c5d571a0ed">ff4a5f64</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-10T06:13:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW.txt: reindex performance, Bind9 logging

Add entries for:
  Reindex performance improvements
  Bind9 logging
  LDAP referrals

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>

Autobuild-User(master): Tim Beale <timbeale@samba.org>
Autobuild-Date(master): Mon Jun 10 06:13:27 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1ea533bd5f7f6febeeb1a4261f2afbb19081e8eb">1ea533bd</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-06-10T23:14:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "s3/vfs_glusterfs: Dynamically determine NAME_MAX"

This reverts commit 8e3a042eb9e502821b147f1bbb2d98d59f17a095.

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/01a569bec073ce45f412884d340ecfc50ce41fbe">01a569be</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-06-10T23:14:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "s3/vfs_glusterfs_fuse: Dynamically determine NAME_MAX"

This reverts commit e28d172b00cadf492c22bd892e2dda3bf2fe2d70.

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e85bb58532fe82daac6e50e88d08bbab66cb1019">e85bb585</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-06-10T23:14:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/vfs_glusterfs: Avoid using NAME_MAX directly

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

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7cc9e3fe24dd476360837c04538345752048e6be">7cc9e3fe</a></strong>
<div>
<span>by Günther Deschner</span>
<i>at 2019-06-11T00:29:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/vfs_glusterfs_fuse: Avoid using NAME_MAX directly

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

Guenther

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

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Tue Jun 11 00:29:19 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1c6db152bf1b0de205017dcfae358ba362545de1">1c6db152</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-11T12:10:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture/rpc: cppcheck: Fix ctunullpointer error

Fixes

source4/torture/rpc/netlogon.c:307: error: ctunullpointer: Null pointer dereference: p <--[cppcheck]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer gary@catalyst.net.nz
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8f422ada8c4d4efc0a9122479b4719c0086281d7">8f422ada</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-11T12:10:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/tevent: clang:

Fixes:

lib/tevent/tevent_wrapper.c:213:6: warning: Access to field 'destroyed' results in a dereference of a null pointer (loaded from variable 'glue') <--[clang]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer gary@catalyst.net.nz
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f7b816e2b7c2e67088e0236b0cebae1d0baa0e21">f7b816e2</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-11T12:10:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">DLIST_REMOVE: clang: Fix dereference of a null pointer warning

Fixes:

lib/tevent/tevent_wrapper.c:295:3: warning: Access to field 'next' results in a dereference of a null pointer (loaded from field 'prev') <--[clang]

Additionally fix similar instance of the same macro

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer gary@catalyst.net.nz
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c8293d8459711e7f67cbd10f508868e463cbccac">c8293d84</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-11T12:10:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: clang: Fix 'Null pointer passed as an argument...' warning

Fixes:

lib/util/debug.c:705:7: warning: Null pointer passed as an argument to a 'nonnull' parameter <--[clang]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer gary@catalyst.net.nz
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/add47e288bc80c1bf45765d1588a9fa5998ea677">add47e28</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-11T12:10:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util/charset: clang: Fix Value stored to 'reason' is never read warning

Fixes:

lib/util/charset/convert_string.c:301:5: warning: Value stored to 'reason' is never read <--[clang]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer gary@catalyst.net.nz
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/acd65542069457cf24dd64d5c6625e88cb7242fb">acd65542</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-11T12:10:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: clang: Fix a dereference of a null pointer warning(s)

Fixes:

lib/util/ms_fnmatch.c:75:8: warning: Access to field 'predot' results in a dereference of a null pointer (loaded from variable 'max_n') <--[clang]
                        if (max_n->predot && max_n->predot <= n) {
                            ^
lib/util/ms_fnmatch.c:91:8: warning: Access to field 'predot' results in a dereference of a null pointer (loaded from variable 'max_n') <--[clang]
                        if (max_n->predot && max_n->predot <= n) {

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer gary@catalyst.net.nz
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e104c01846f6b8bcfb4a3efb269b8b357d17eea6">e104c018</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-11T12:10:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: clang: Fix dereference of a null pointer warning

Fixes:

lib/util/rbtree.c:170:8: warning: Access to field 'rb_parent_color' results in a dereference of a null pointer (loaded from variable 'other') <--[clang]

We could avoid accessing the NULL pointer but previously the code would
have crashed here. Given this is a rbtree probably better to preserve the
fatal nature of encountering a NULL pointer here while satisfying the static
checker.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer gary@catalyst.net.nz
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0152925879d68524e69ed5f02b323fe1bd7f706a">01529258</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-11T12:10:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc/ndr: clang: Fix Assigned value is garbage or undefined warning

Fixes:

librpc/ndr/ndr_basic.c:170:5: warning: Assigned value is garbage or undefined <--[clang]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer gary@catalyst.net.nz
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/49e2d36918673e7922e4c983809ad1481db63f96">49e2d369</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-11T13:31:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/tdb/common: clang: Fix 'Value stored to 'last_ptr' is never read'

Fixes

lib/tdb/common/freelistcheck.c:96:3: warning: Value stored to 'last_ptr' is never read <--[clang]
                last_ptr = rec_ptr;
                ^          ~~~~~~~

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer gary@catalyst.net.nz

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Tue Jun 11 13:31:01 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4646698f1b040e743180b7d43578c31d6a28983e">4646698f</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-06-11T14:01:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: net: Consider unprocessed in input buffer

If there is unprocessed data in the input buffer (ilen > 0), place new
data read after the unprocessed one.

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-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/1817db965dc0caf55e4308fa4d9203ab4381dc90">1817db96</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-11T14:01:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Fix signing with multichannel

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: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/08750166542f46644038d1ff9d839b270436addf">08750166</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-11T15:25:56Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: add missing struct smb2_signing_key allocation in smb2cli_session_set_channel_key()

This was missing in commit 17e22e020fcb84fb9ddda350915369dc9ea28ef1
and causes all multi-channel tests to segfault.

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): Tue Jun 11 15:25:56 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/824db2967279dd01e7cfd69abf9b848975b5d451">824db296</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-12T12:42:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "libcli/smb: add missing struct smb2_signing_key allocation in smb2cli_session_set_channel_key()"

This reverts commit 08750166542f46644038d1ff9d839b270436addf.

This was pushed to fast, the corrected commit follows.

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/2ad02acf386757b50a957e35bb29a7d34c921e53">2ad02acf</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-12T12:42:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "libcli:smb: Fix signing with multichannel"

This reverts commit 1817db965dc0caf55e4308fa4d9203ab4381dc90.

This was pushed to fast, the corrected commit follows.

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/7b1eab10937c0922fe686319a732991240e5c6a4">7b1eab10</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-12T12:42:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: make sure the session->{smb2->,smb2_channel.}signing_key is never NULL!

Before commit 17e22e020fcb84fb9ddda350915369dc9ea28ef1 they we not a
pointer and always be present.

We used the local pointer variable 'signing_key = NULL' and logic like
this:

    if (state->smb2.should_sign) {
        signing_key = state->session->smb2_channel.signing_key;
    }

    if (signing_key != NULL ...

In order to keep this we need to nake sure
state->session->smb2_channel.signing_key is never NULL!

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/1b46a10c1636c293c4f934b65131b1c513d41fc0">1b46a10c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-12T12:42:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: only fallback to the global smb2 signing key if we should sign

We should only sign if we're asked for it. The signing keys are
always generated, so we were always using global signing key
and signed with it when signing was not asked for.

By luck this was the correct signing key for the 1st channel.

But multi channel connections where broken is the server nor the client
require/desire signing. It seems the tests only ever run against
Windows domain controllers, which always require signing.

Note that the following code in smb2cli_req_create() makes
sure that we always sign session binds:

  if (cmd == SMB2_OP_SESSSETUP &&
      !smb2_signing_key_valid(session->smb2_channel.signing_key) &&
      smb2_signing_key_valid(session->smb2->signing_key))
  {
          /*
           * a session bind needs to be signed
           */
          state->smb2.should_sign = true;
  }

This removed a logic changed introduced in commit
17e22e020fcb84fb9ddda350915369dc9ea28ef1. As

  if (!smb2_signing_key_valid(signing_key)) {

is not the same as:

  if (signing_key && signing_key->length == 0) {

it's the same as:

  if (signing_key == NULL || signing_key->length == 0) {

so we need:

  if (signing_key != NULL && !smb2_signing_key_valid(signing_key)) {

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: Günther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4d81e48a17138485b71b1e108600f168a0110b96">4d81e48a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-12T12:42:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: force signing in the smb2.session.bind1 test

This test is supposed to test which signing keys are used on
each of the channels, so it's important to require signing.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther 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/317054f6eb7c485d8a5476df6df7dbc05a51c4a4">317054f6</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-12T12:42:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: s/smbXcli_session_copy/smbXcli_session_shallow_copy

We should make clear that this is a function for testing only,
with possible strange side effects.

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/b336d09b7b18370098ee73e63cf794a161e1ecb3">b336d09b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-12T13:56:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: harden smbXcli_session_shallow_copy against nonce reusage

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 Jun 12 13:56:19 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bf6620c5f33175d06b90f41513a317b54e4f8ec6">bf6620c5</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-06-12T20:02:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: Use two connections in SMB2 sharemode tests

This allows using the unclist option to specify multiple targets, e.g.
for testing against multiple nodes in a clustered Samba environment.

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 Jun 12 20:02:26 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ae4461dce98a70740d8deabf4859cb96032bdf67">ae4461dc</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth auth_log: csbuild unused parm unix_username

Fixes csbuild errors

Error: COMPILER_WARNING:
auth/auth_log.c: scope_hint: In function ‘log_authentication_event_json’
auth/auth_log.c:146:14: warning: unused parameter ‘unix_username’
[-Wunused-parameter]

Error: COMPILER_WARNING:
auth/auth_log.c: scope_hint: In function
‘log_authentication_event_human_readable’
auth/auth_log.c:586:14: warning: unused parameter ‘unix_username’
[-Wunused-parameter]

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/ea7c4ac99d62def3ceb6caa39e2f82b7c8121bbb">ea7c4ac9</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth auth_log: csbuild unused parm transport_protection

Fixes csbuild errors.

Error: COMPILER_WARNING:
auth/auth_log.c: scope_hint: In function
‘log_successful_authz_event_human_readable’
auth/auth_log.c:728:14: warning: unused parameter ‘transport_protection’
[-Wunused-param
eter]

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/357bac2072adecef4581836f3c0eab4ed75b0cde">357bac20</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib audit_logging tests: csbuild unused parms

Fixes csbuild unused parameter error:
   warning: unused parameter ‘state’
   warning: unused parameter ‘argc’
   warning: unused parameter ‘argv’

By adding _UNUSED_ to paramter declaration.

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/883c738571c2a0afb52bcda4257eca308f9e0a98">883c7385</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb ldb_key_value: csbuild unused parm module

Fixes csbuild error.

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv.c: scope_hint: In function ‘ldb_kv_key_dn’
lib/ldb/ldb_key_value/ldb_kv.c:109:49: warning: unused parameter
‘module’ [-Wunused-para
meter]

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/8d2cfd45f84e166b61a1b80edef113f7410ac954">8d2cfd45</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb ldb_key_value: csbuild unused parm module

Fixes csbuild error.

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv.c: scope_hint: In function
‘ldb_kv_guid_to_key’
lib/ldb/ldb_key_value/ldb_kv.c:157:43: warning: unused parameter
‘module’ [-Wunused-parameter]

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/1593f77658cd0b2be7df107da7b33197da5edf7e">1593f776</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb ldb_key_value: csbuild unused parm ldb_kv

Fixes csbuild error.

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv.c:158:33: warning: unused parameter
‘ldb_kv’ [-Wunused-parameter]

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/b78597e1cd0b0509490747f901a26f163a1f6d30">b78597e1</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb: csbuild add lib/util/attr.h to dist

Add lib/util/attr.h to the ldb distribution, to make the _UNUSED_ macro
available.

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/9284cc19d4b25eaab0039b1fceb7b0adb6302107">9284cc19</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb ldb_key_value: csbuild unused parm ldb_kv_timeout

Fixes csbuild errors.

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv.c: scope_hint: In function ‘ldb_kv_timeout’
lib/ldb/ldb_key_value/ldb_kv.c:1675:51: warning: unused parameter ‘ev’
[-Wunused-parameter]

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv.c:1676:28: warning: unused parameter ‘te’
[-Wunused-parameter]

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv.c:1677:22: warning: unused parameter ‘t’
[-Wunused-parameter]

Tag the unused variables in ldb_kv_timeout with _UNUSED_

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/5081d146bb72a00df5970c97b2a90874b1ba662e">5081d146</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb ldb_key_value: csbuild fix integer comparison

Fixes csbuild error.

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv_index.c: scope_hint: In function
‘ldb_kv_key_dn_from_idx’
lib/ldb/ldb_key_value/ldb_kv_index.c:545:15: warning: comparison of
integer expressions of different signedness: ‘int’ and ‘unsigned int’
[-Wsign-compare]

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/bf13c17f689e2013ea5154abded8c91621203ee6">bf13c17f</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb ldb_key_value: csbuild unused parm tdb

Fixes csbuild error.

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv_index.c: scope_hint: In function
‘ldb_kv_index_traverse_store’
lib/ldb/ldb_key_value/ldb_kv_index.c:779:60: warning: unused parameter
‘tdb’ [-Wunused-parameter]

By tagging the tdb_context parameter in ldb_kv_index_traverse_store as
_UNUSED_

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/c20ca0debe68724b1f0a252e274737a24ea83136">c20ca0de</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb ldb_key_value: csbuild unused parm ldb

Fixes csbuild error.

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv_index.c: scope_hint: In function
‘list_intersect’
lib/ldb/ldb_key_value/ldb_kv_index.c:1275:48: warning: unused parameter
‘ldb’ [-Wunused-parameter]

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/d6a596d9da0c5284b9c35e51d11a9096496f8280">d6a596d9</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb ldb_key_value: csbuild ldb_kv_index_dn_not unused parms

Fixes csbuild errors.

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv_index.c: scope_hint: In function
‘ldb_kv_index_dn_not’
lib/ldb/ldb_key_value/ldb_kv_index.c:1503:51: warning: unused parameter
‘module’ [-Wunus ed-parameter]

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv_index.c:1504:34: warning: unused parameter
‘ldb_kv’ [-Wunused-parameter]

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv_index.c:1505:40: warning: unused parameter
‘tree’ [-Wunused-parameter]

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv_index.c:1506:27: warning: unused parameter
‘list’ [-Wunused-parameter]

Tag unused parameters in ldb_kv_index_dn_not with _UNUSED_

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/a538c31aa4e9e03bb94967a204e032a73a9caae5">a538c31a</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb ldb_key_value: csbuild unused parms ldb_kv, key

Fixes csbuild errors.

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv_index.c: scope_hint: In function
‘traverse_range_index’
lib/ldb/ldb_key_value/ldb_kv_index.c:1653:56: warning: unused parameter
‘ldb_kv’ [-Wunused-parameter]

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv_index.c:1654:20: warning: unused parameter
‘key’ [-Wunused-parameter]

Tags unused parameters in the callback function traverse_range_index with
_UNUSED_

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/566ca19482afc3c18fc157be49431b1901e11397">566ca194</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb ldb_key_value: csbuild fix signed unsigned compare

Fixes csbuild error.

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv_index.c: scope_hint: In function
‘ldb_kv_index_add1’
lib/ldb/ldb_key_value/ldb_kv_index.c:2601:15: warning: comparison of
integer expressions of different signedness: ‘int’ and ‘unsigned int’
[-Wsign-compare]

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/96442401479218d18f6f9800321b9ac3d9c2fb58">96442401</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb ldb_key_value: csbuild fix unused parm data

Fixes csbuild error.

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv_index.c: scope_hint: In function
‘delete_index’
lib/ldb/ldb_key_value/ldb_kv_index.c:3221:19: warning: unused parameter
‘data’ [-Wunused-parameter]

Tags unused parameters in callback delete_index with _UNUSED_

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/dc348f4149890b2a028e60d74fd05b11c3d1b0de">dc348f41</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T07:16:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb_key_value: csbuild unused parm key

Fixes csbuild error.

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv_index.c: scope_hint: In function ‘re_pack’
lib/ldb/ldb_key_value/ldb_kv_index.c:3416:21: warning: unused parameter
‘key’ [-Wunused-parameter]

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/fef8ec20d0f591f2e531a649108ca83c5a4fd744">fef8ec20</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-13T08:27:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb ldb_key_value: csbuild unused parm ldb_kv

Fixes csbuild error.

Error: COMPILER_WARNING:
lib/ldb/ldb_key_value/ldb_kv_search.c: scope_hint: In
function ‘search_func’ lib/ldb/ldb_key_value/ldb_kv_search.c:308:47:
warning: unused parameter ‘ldb_kv’ [-Wunused-parameter]

Signed-off-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): Thu Jun 13 08:27:12 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7c9eb428d59145cadd6baa54c3f31e69e149f7ff">7c9eb428</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T05:34:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">autobuild: Fix autobuild for python3

"keys()" in python3 returns an unmodifiable view object. Two lines
down we might want to modify it, which python3 does not allow.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3a0fd53f7c3cfa9ce26f9f4b1da4a1ac1dc4e44a">3a0fd53f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-18T06:47:05Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/replace: Remove #undef TCP_NODELAY

A duplicate define warning is better than not defining this at all.

Similar to a patch Torsten Werner submitted to the Samba Bugzilla in
2005.

Not tested on HP-UX

reverts fc84e916f628b4fb6f6667ad45d0ced0e9134b23 that was still present in
the new copy of nis.h created in c29d087e1ea4c92717ef86e372fe80f410580fdc

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

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 Jun 18 06:47:05 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c9a7754c887f8ba41754fcc5b0ab53092cbf6dcf">c9a7754c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:53:58Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Avoid a "?true:false" in smbd_do_locking

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/52096b498d144e66b926d7401513e70a1114760c">52096b49</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:53:58Z</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: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/aec8b4a2a92ac4a53ab92e54fcc87179859bf116">aec8b4a2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:53:59Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Remove unused cli_[un]lock64()

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/888bff50accb89949101a71f766bec9853524509">888bff50</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:53:59Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use smb1cli_is_andx_req()

We have two implementations of this -- use the one from common libs

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/a8301bfbe8885df60317e0a7765baf0f96588803">a8301bfb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:53:59Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Remove unused is_andx_req

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/cc69f49cbabf4717428e20bfffd8ea6047134865">cc69f49c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:53:59Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Add async cli_lockingx()

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/25c7b92fc2a7b3545646fc3ae491f554c7c8f556">25c7b92f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:53:59Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use cli_lockingx() in cli_oplock_ack()

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/5211f6afdff4dc5031556b43e02cd054b748ea18">5211f6af</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:54:00Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use cli_lockingx() in cli_locktype()

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/22aeb005d971dc9929dfd58fe7c943fbfedbe723">22aeb005</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:54:00Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Use cli_lockingx() in cli_unlock()

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/ebe2ceb3d9cd1d89cb6f5047e105b9b0dc368a5b">ebe2ceb3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:54:00Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Slightly simplify reply_lockingX()

Don't do an "else" after an early return

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/8e2b40baadc750a78488227c1d99aa261793354f">8e2b40ba</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:54:00Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Slightly simplify reply_lockingX()

The brltype only depends upon the central locktype, don't calculate it
every time in the loop parsing the lock requests

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/fbe9ec63802931edfb485c93fea56c6b4aa54f0b">fbe9ec63</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:54:00Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Slightly simplify reply_lockingX()

Make the data dependencies more obvious. "locks" and "ulocks" are used
only for short time spans. Any sane compiler will coalesce them to
just one stack variable.

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/e335b87503ea7f12e012d2aec84cd2946d71c161">e335b875</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:54:00Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Simplify smbd_do_locking()

LOCKING_ANDX_CANCEL_LOCK only is used in SMB1. Move its handling out
of the shared smb1/smb2 code.

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/8cfb37010fdb4c8dc0fc29cc72cf21063b7d534d">8cfb3701</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:54:00Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: smbd_do_locking() does not use the "type" param anymore

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/70e77acb7c50667de5ca0149580d34323efc21a4">70e77acb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:54:01Z</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: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/beeb9d51c6f8ae6d9ae9738d3cda1398d1b08ed5">beeb9d51</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:54:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbtorture: Match comment with test

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/d8c75ec734f0b4be0ab5d8a1b8f69afdc09ef7ba">d8c75ec7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:54:01Z</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: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a5b1897397e30b1875d8fac2016581fe72bb8597">a5b18973</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:54:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Align integer types in reply_lockingX

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/8d4f7e564ff299545008bbf3227bb6c27a66a6c7">8d4f7e56</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:54:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Add a explanation for num_aio_requests

We could have used talloc_array_length()

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/7dce1d3eebdc3e2e61a40decb975dc3de361a306">7dce1d3e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T12:54:01Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Slightly simplify smb_set_posix_lock()

Avoid indentation by an early return;

Best viewed with git show -b

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/80f648b1695b1e3ef3c6e97f3def2694d219a5ff">80f648b1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-18T14:47:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Deprecate "blocking locks" parameter

This parameter adds complexity to our brlock implementation that I don't think
is justified. Not a lot of complexity, but if we would want to really support
it we'd need tests. Instead of doing those, I think removing the parameter is
the better choice.

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 18 14:47:08 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1b0184a9562689a658e75a0cfc69bdd23277cff6">1b0184a9</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-06-18T14:48:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add test for samba-tool ntacl get/set --use-ntvfs --xattr-backend=tdb

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/670a12df52df63a067b638d37bec71341bf18bdd">670a12df</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-06-18T14:48:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/ntacls: use correct "state directory" smb.conf option instead of "state dir"

samba-tool ntacl get testfile --xattr-backend=tdb --use-ntvfs
Fixes: Unknown parameter encountered: "state dir"

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0eee621cf1781e9c5ec68fd1a7c7cf5eab4e74b6">0eee621c</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-06-18T14:48:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool ntacl: consolidate code for getting the local domain sid

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6554cfa87e01bc606cb6ff9566e7e96808d02e91">6554cfa8</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-06-18T14:48:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: add ntacl changedomsid command

This tool is meant to locally change all entries in acl_xattr when the
machine's SID has accidentially changed or the data set has been copied
to another box either via backup/restore or rsync.

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d4b72821dc3484d29f459c954061e737cb1f5b5e">d4b72821</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-06-18T16:54:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add tests for samba-tool ntacl changedomsid

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Björn Baumbach <bb@sernet.de>
Autobuild-Date(master): Tue Jun 18 16:54:22 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/dc27ff44de578b0b429a24b0e42e243d8bf481a8">dc27ff44</a></strong>
<div>
<span>by Lukas Slebodnik</span>
<i>at 2019-06-18T16:55:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: Use native waf timer

  __main__:1: DeprecationWarning: time.clock has been deprecated in Python 3.3
  and will be removed from Python 3.8: use time.perf_counter
  or time.process_time instead

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

Signed-off-by: Lukas Slebodnik <lslebodn@fedoraproject.org>
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/f04260ce02cb3c5effd7f9866bcc332d061c25f4">f04260ce</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-18T18:10:40Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:client: Link smbspool_krb5_wrapper against krb5samba

Heimdal doesn't provide krb5_free_unparsed_name(), so we need to use the
function we provide in krb5samba.

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

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

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Jun 18 18:10:40 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7ea74d55ad55027118ca8b32596f32ac4182dce6">7ea74d55</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-06-19T07:01:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-12435 rpc/dns: avoid NULL deference if zone not found in DnssrvOperation

We still want to return DOES_NOT_EXIST when request_filter is not 0.

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

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/1cac79dd982496f1112dcb63339307cbb9ec00f1">1cac79dd</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-06-19T07:01:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-12435 rpc/dns: avoid NULL deference if zone not found in DnssrvOperation2

We still want to return DOES_NOT_EXIST when request_filter is not 0.

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

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/6aa5d1f684f6bdbae46508347d093a8def27912a">6aa5d1f6</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-06-19T08:16:39Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-12436 dsdb/paged_results: ignore successful results without messages

So that we don't dereference result->msgs[0] when it doesn't exist.
This can happen when the object has changed in such a way that it no
longer matches the original search query.

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

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

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Wed Jun 19 08:16:39 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/83859668d5f8695134dc6739ef8dec2edc3542ff">83859668</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-06-20T15:34:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: add documentation for the samba-tool ntacl changedomsid command

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7f70e216fcda2ebfbdf952471931f9f3739a6e8e">7f70e216</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-06-20T17:14:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: fix typo in "ntlm auth" doc in smb.conf man page

Thanks to Amit Kumar <amitkuma@redhat.com>

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

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Björn Baumbach <bb@sernet.de>
Autobuild-Date(master): Thu Jun 20 17:14:50 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c00c7bfb7e275cce89ec95b7e282dda1dee97d48">c00c7bfb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Only remove locks by mid if 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/7fa0be8f63c13d2f1957551e298a154332cf9d04">7fa0be8f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tevent: 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/a371d22feb2ae4afbc19f306cf25f1d7ba1b131f">a371d22f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:16Z</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/7fe67a47826f7e2609088f02716e91b91c33f7c4">7fe67a47</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:17Z</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/041608cb89958bb85e7c57040abdd0c6851651af">041608cb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Avoid casts in reply_unlock()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1736f7c5c5e27d8b50a969da0be74ecb3a17e47b">1736f7c5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use NT_STATUS_IS_OK() in reply_unlock()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/10ba4aa6d5cf68cad35e7fab92b2f494f1b2d85c">10ba4aa6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Avoid casts in smb_set_posix_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/4d6152b1bfa7b5c624a26bcf1e662d77faffb4f2">4d6152b1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Simplify smb_set_posix_lock()

Instead of reading twice from pdata, use a switch 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/b3d533aa585a6d69855f10fafbf6d68e98597996">b3d533aa</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Add "lock_flav" to smbd_do_unlocking()

The next commits will pass all direct "do_unlock" calls through
smbd_do_unlocking(). Why? Unlocking will later on require that we take
the share mode lock for the file in question while the unlock is
happening, and this should be in one central place.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/865c86bd327703be36db64a1b96e7ba96551928e">865c86bd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use smbd_do_unlocking() in smb_set_posix_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/00b11867253e837d1c369470c83224d130c73304">00b11867</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use smbd_do_unlocking() in reply_writeunlock()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ff992d1c6c3c6327893f0505a5d03087777087ee">ff992d1c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use smbd_do_unlocking() in reply_unlock()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7dec53ed0c1c58b4ab7b7483b2da3e4cd58750fa">7dec53ed</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture3: Add a test to block a locking&read

Right now we fail this with smbd, we return LOCK_NOT_GRANTED instead
of FILE_LOCK_CONFLICT. This will change with later commits.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2f1a459b7425db316d6c066115889134e67fa2cd">2f1a459b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture3: Test LOCKINGX_CANCEL without locks

Tested against W2012R2

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b20231a1abb6d790dcb667f7010ec3b0b1ecb00b">b20231a1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture3: Test blocking posix locks

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3f6ed6e35239507ebe78091b9e1b4af7b644e3fd">3f6ed6e3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture3: Run a blocking lock&x call with a subsequent read

Samba aborts the read&x after a blocked, but eventually successful
locking&x call. Both Windows and source4/ntvfs do the read properly,
source3/smbd does not. With later code, this will become possible much
easier. Lets see if it's worth it given that we've got away with this
forever.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/56521c5fbf0bea3dcf0d58a686879485a939b7af">56521c5f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libsmb: Make cli_lockingx cancellable

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b752e242a6a963253d54a16b2a071f2cfa9797ce">b752e242</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture3: Test cancelling locking&x with ntcancel

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4adbeb9714beb9194a6f350fdf89dfcb7dd04226">4adbeb97</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Add "blocker_pid" to brl_lock()

Soon we will wait on a conflicting lock to become free via
dbwrap_watched_watch_send. That routine can take a server_id that
blocks us, watching it to go away. To use that, we need to know which
PID it is that blocks 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/ca73ba859ed91f272504c31d1f56f9315b7ef5c0">ca73ba85</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Add some paranoia against NULL dereference

Quite a few callers set "psmblctx" to NULL, and I could not really
follow 100% that brl_lock only assigns that in the blocking lock
case. Too many layers :-)

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/67f89bb3300a4cedd2bb01f81a6ede21b05377e0">67f89bb3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Return "blocker_pid" from do_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/f0a9459e66b93ba7b231aa6c0edc5270e0c13f55">f0a9459e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Slightly simplify smbd_smb2_lock_send()

For unlocking we don't need the error mapping, do an early 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/fbbf684338d7059e9dced229c3b0925fe154bd98">fbbf6843</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Add smbd_smb1_do_locks_send/recv()

This contains the SMB1-specific brlock logic. Right now our core
brlock code has specialized code to deal with pending locks. For
dealing with pending requests waiting for something nowadays we
recommend to use tevent_req. This code also provides the basis to
remove the SMB1 special case handling from the core logic, isolating
protocol features specific to SMB1 and not exposed in SMB2 in
SMB1-specific code.

The core brlock code will not see blocking locks anymore. Instead, the
code in this patch will always immediately fail and take care of the
retries and timeouts.

Retries are implemented by a dbwrap_watch_record_send on the
corresponding locking.tdb entry. A later commit will make unlocks
trigger wakeups there. I chose locking.tdb and not brlock itself to
simplify the implementation. We already have oplock break watchers on
locking.tdb, this will only add one more. This might lead to spurious
wakeups, but they are taken care of by careful retries. An advantage
of doing that is the implicit handling of a killed blocker PID through
dbwrap_watch, obsoleting brl_revalidate.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2d746d1364e24ca2936601508d4f06af28e9de5a">2d746d13</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Ping dbwrap_watch on locking.tdb for in smbd_do_unlocking()

smbd_smb1_do_locks_send() watches the file's locking.tdb record for
changes, like the oplock code does. Unlocking a byte range thus must
trigger a retry.

With the share mode cache get_existing_share_mode_lock() is pretty
cheap. We have to write out the share mode record with the current
code, but an obvious optimization will be a share_mode_do_locked doing
all this without actually unmarshalling the locking.tdb entry. And --
there's precedence for this pattern in downgrade_lease()...

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ab149a611f23dc8f4b274bf1e8c73b3e5cd976c8">ab149a61</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove SMB1 special case handling from brlock.c

This is now handled in smbd_smb1_do_locks_send/recv.

>From here on for a few commits we won't survive make test.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1967bb8538fdf36ea646b6036b1c539bde1e48f1">1967bb85</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use smbd_smb1_do_locks_send() in reply_lockread()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c4649b3ad6e6c41731b21da0c75632c38209d69c">c4649b3a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use smbd_smb1_do_locks_send() in reply_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/4c1d574ebea5138eda1cfbdcab90d25618e0a4f3">4c1d574e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use smbd_smb1_do_locks_send() in reply_lockingX()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6f204de778490c7bffdc367de21d80fb410b227f">6f204de7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use smbd_smb1_do_locks_send() in smb_set_posix_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/b091c19cb2045e72b3a9a0b364f110ad88debe53">b091c19c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Base smb2_lock.c on tevent_req

smb2 locking is a lot more regular than reply_lockingX. So this is a
much smaller 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/d60a35bd75a0c427a593defe8fd3a7850f45ee5f">d60a35bd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Don't call cancel_pending_lock_requests_by_fid on close

We don't use that queue 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/f37c14dd63285e108a9fc1050de9b14a288097cb">f37c14dd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Add a clarifying comment on triggering waiters

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b3284bef3536328ff4ae965b5f34cec8ee9b8a3a">b3284bef</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Cancel smbd_smb1_do_locks requests in reply_ntcancel

Last link to the specialized brlock queue

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/871bb7562cad1d4a9dccab602880d2ef3fffd75c">871bb756</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T17:18:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove unused brlock code

No PENDING locks in brlock.tdb 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/4bbe291efcb389715651b2eb94330b6c36f83030">4bbe291e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T18:34:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: Remove SMB_VFS_BRL_CANCEL_WINDOWS

This is not called anymore, bump the VFS version number in a separate
commit

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 Jun 20 18:34:20 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d4ace83baaa47fe36dd4b0ab9472933ef09b4eb6">d4ace83b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-20T23:39:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove struct blocking_lock_record

Forgot that one in the last patches

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 Jun 20 23:39:34 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b201dd33e0403d7259b91d4fcd4df2445703a34c">b201dd33</a></strong>
<div>
<span>by Michael Hanselmann</span>
<i>at 2019-06-20T23:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">regfio: Return instead of assert for short blocks

Assertions should only be used when there's absolutely no recovery or to
verify data structure invariants. In this case the supplied registry
hive file may have a malformed block with a size of zero. Such a block
should not terminate the whole program.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Reviewed-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/33cc2692510d6963ffb33d5cbb4233e1111f8928">33cc2692</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-20T23:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gitlab-ci: Add Fedora 30

Fedora 30 ships with gcc9.

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/41d93a6da5b99b72fabe872d124171f6ae5c897f">41d93a6d</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-06-20T23:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: fix tasks indent

Indent tasks at same level, make it easier to copy/move lines arround.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-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/1b70d43ed1fde70179d7cdb4426bacd1a2ddfc33">1b70d43e</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-06-20T23:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: rm unused mime type text/plain in tasks

The mime type `text/plain` is repeated everywhere but not used any more.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-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/0383747dcc5af4a3832aa938e99df81ae6357c21">0383747d</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-06-20T23:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: replace random-sleep.sh with python function

The random-sleep.sh script is tricky, and there is no need to rely on another
script just for random sleep.

Using the python function, the random number generation will happen when
load autobuild.py other than execute cmd, but shouldn't affect the
result.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-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/0daeb6046bd9170adac797a7d7227c69aa5e307a">0daeb604</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-06-20T23:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: add helper functions to simplify make test cmd

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-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/6fc3eb8926a1618c2acdf80f9b8d5cc213a90e4d">6fc3eb89</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-06-20T23:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: improve run_cmd with check_output

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-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/04a6967bc393e0305bac9f33a42cceb4eb88f20b">04a6967b</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-06-20T23:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: define cwd for builder and avoid chdir

We can pass cwd in Popen, no need to chdir for each cmd.

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-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/ae90e5263bd65042b067ab900c83bf310f977dbd">ae90e526</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-06-20T23:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: rm redundant empty str in options

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-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/fb12a252613205dd0ebcfc8716847aed510e07cb">fb12a252</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-06-20T23:40:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: avoid nested try except block

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-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/8de56ddc92ecb3d7607dc7d61dc9e2a623a5e606">8de56ddc</a></strong>
<div>
<span>by Joe Guo</span>
<i>at 2019-06-20T23:40:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/autobuild.py: make code more pythonic

Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-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/7ee655970d3d0d2af5e5b4468ea841349a492892">7ee65597</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-06-20T23:40:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">README: fix samba mailman list address

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/e121c14405f9257ef640d2651326f082707cb66f">e121c144</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-21T00:52:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision: Suggest "minimal-responses yes;" by default

This improves Samba AD DC performance as a DNS server dramatically, because NS records do not
need to be looked up and there is less risk the response will have to fall back
to TCP, doubling the cost again.

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): Fri Jun 21 00:52:19 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c3aed68989662358ba493c1e89968a0eff15b442">c3aed689</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-21T04:27:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb tests: Test nested transactions

Add a test to document that ldb does not currently support nested
transactions.

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/d73bbf0b73fcfb99880715df9e314ae5482d6828">d73bbf0b</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-21T04:27:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb tests: remove deprecation warning from api.py

Remove the "DeprecationWarning: Please use assertEqual instead."
warnings from api.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/d7dc4fde4080513e2a62fabbdeee546bd74b9a0d">d7dc4fde</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-21T04:27:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb key value backends: Add nested txn support

Add limited nested transaction support to the back ends to make the key value
operations atomic (for those back ends that support nested transactions).

Note: that only the lmdb backend currently supports nested transactions.

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/565341baf537c9b3145a882d6a23ad4f155c0036">565341ba</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-21T04:27:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb key value: add nested transaction support.

Use the nested transaction support added to the key value back ends to
make key value operations atomic. This will ensure that rename
operation failures, which delete the original record and add a new
record, leave the database in a consistent state.

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/201684e59fd417ca913cb1d2d099e91b57dace6c">201684e5</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-21T04:27:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb ldb_key_value tests: Add tests for wrapped operations

Add test exercising the sub/nested transactions wrapping the key value
operations.

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/1a52b03b2f4c1503b52784f1a01f8291b78e7604">1a52b03b</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-21T04:27:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb key value: Remove check_parent from ldb_kv_index_idxptr()

The callers will soon have two possible parents for this pointer, so
we need to remove this check, which was added out of caution given
the rather strange pattern of putting an active memory pointer into a
TDB (as a hash map).

That is, the only callers that did call this with "true" would
have to call this with "false", so just remove the complexity.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
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/b6b5b5fe355fee2a4096e9214831cb88c7a2a4c6">b6b5b5fe</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-21T04:27:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb key value: fix index buffering

As a performance enhancement the key value layer maintains a cache of
the index records, which is written to disk as part of a prepare commit.
This patch adds an extra cache at the operation layer to ensure that the
cached indexes remain consistent in the event of an operation failing.

Add test to test for index corruption in a failed modify.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/feb96ee8e558797d68ad0af669eb9010c0487b9f">feb96ee8</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-06-21T05:45:02Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb key value: use TALLOC_FREE() per README.Coding

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
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 Jun 21 05:45:02 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9a0c3a475f29138c0c49e0d22cf52ab45178d16b">9a0c3a47</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-21T08:49:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: add local.ndr.dnsp tests

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6d958af0b4cb6fd45cfda0298243859b3b043c6f">6d958af0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-21T08:49:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dnsp.idl: fix dnsp_ip4_array definition

In future we should use ipv4address, but that would result in a much
larger change.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6fc7cc15048673d109042d7b40684ed63eb4ff9e">6fc7cc15</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-21T08:49:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dnsp.idl: fix the dnsp_dns_addr_array definition

The endian changes are needed in order to get the following result
from the blobs Windows generated (see the torture test):

  AddrArray: ARRAY(3)
      AddrArray: struct dnsp_dns_addr
          family                   : 0x0002 (2)
          port                     : 0x0035 (53)
          ipv4                     : 172.31.99.33
          ipv6                     : 0000:0000:0000:0000:0000:0000:0000:0000

[MS-DNSP] states that the port is supposed to be ignored, but it's still
good to decode it as port '53' (0x0035) instead of '13568' (0x3500).

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/aa2a3d95098231f48d7c308881bf66418164111e">aa2a3d95</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-06-21T11:02:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dnsp.idl: fix payload for DSPROPERTY_ZONE_DELETED_FROM_HOSTNAME

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Jun 21 11:02:21 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f54dfd97aaccd94241340f84936082dd3ea20c5d">f54dfd97</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:util: Add gnutls_error

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/1f4bd1c36591ebe337952e56265f5c829b5f96a3">1f4bd1c3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:libcli: Use gnutls_error_to_ntstatus() or singing

Signed-off-by: Andreas Schneider <asn@samba.org>
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/d61601d44f67da9cf671dbef6f2f8d9afa0700b7">d61601d4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Return NSTATUS for smb2_signing_check_pdu()

Signed-off-by: Andreas Schneider <asn@samba.org>
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/bbdae2776474348ffb242674056757a2b0a50ba1">bbdae277</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Use gnutls_error_to_ntstatus() in smb2_signing_sign_pdu()

Signed-off-by: Andreas Schneider <asn@samba.org>
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/e24a238ab9a5db049f11777c1063d1172b72bc85">e24a238a</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Use gnutls_error_to_ntstatus() in smb2_signing_check_pdu()

Signed-off-by: Andreas Schneider <asn@samba.org>
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/232c3b6f800f41e759d9e67718097c84f80cd967">232c3b6f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Use gnutls_error_to_ntstatus() in schannel

Signed-off-by: Andreas Schneider <asn@samba.org>
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/68d495cadb5b0fd66e04dbfe0ac39a70248957bf">68d495ca</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Use gnutls_error_to_ntstatus() in smbXcli_base.c

Signed-off-by: Andreas Schneider <asn@samba.org>
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/929e10b5fb7533973cbe2d79b14c86098510ac86">929e10b5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Use gnutls_error_to_ntstatus() in smb2_server

Signed-off-by: Andreas Schneider <asn@samba.org>
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/c7cea1d49c2fafd9883ce546a6be4c8ccc30ef80">c7cea1d4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Use gnutls_error_to_ntstatus() in smb2_sesssetup

Signed-off-by: Andreas Schneider <asn@samba.org>
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/702ae158531a4ba0b1342ba7db1c50aae8ea29b6">702ae158</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Use gnutls_error_to_ntstatus() in credentials

Signed-off-by: Andreas Schneider <asn@samba.org>
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/226895baa914e77d110bef594d640a546392837d">226895ba</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb: Use gnutls_error_to_ntstatus() in smb_signing

Signed-off-by: Andreas Schneider <asn@samba.org>
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/35573821b633e421fc02d6620abfdb13f25e7622">35573821</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:ntlmssp: Use gnutls_error_to_ntstatus() in ntlmssp_client

Signed-off-by: Andreas Schneider <asn@samba.org>
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/d9a6cbd9e14e7564877ad262b81c1e4f1eb21b4c">d9a6cbd9</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:ntlmssp: Use gnutls_error_to_ntstatus() in ntlmssp_server

Signed-off-by: Andreas Schneider <asn@samba.org>
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/aaf41bf96fdba39239c4aa6c8c9ed7386b27f507">aaf41bf9</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:ntlmssp: Use gnutls_error_to_ntstatus() in ntlmssp_sign

Signed-off-by: Andreas Schneider <asn@samba.org>
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/b21af2f173b9b653f81e6a45a18b9505f1c4086c">b21af2f1</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:creds: Use gnutls_error_to_ntstatus() in credentials_ntlm

Signed-off-by: Andreas Schneider <asn@samba.org>
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/5823dc5414742b023b1bfee4c9183c9f474e8205">5823dc54</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:libnet: Use gnutls_error_to_ntstatus() in libnet_passwd

Signed-off-by: Andreas Schneider <asn@samba.org>
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/4bcf72aa3d4e5f47a6886726aceefbd944585cad">4bcf72aa</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T06:11:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server: Use gnutls_error_to_ntstatus() in samr_password

Signed-off-by: Andreas Schneider <asn@samba.org>
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/5ae1767970de2a765b2a35e137c21b9e24629e17">5ae17679</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-24T07:27:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:ntp_signd: Use gnutls_error_to_ntstatus() in ntp_signd

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

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Jun 24 07:27:21 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/559dd2d25a644239902753e842b808bac1a0b439">559dd2d2</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-24T17:24:26Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove PyStr_Type() compatability macro

We no longer need Samba to be py2/py3 compatible so we choose to return to the standard
function names.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f498c819664e9df658651d39f616f5b4d62b4750">f498c819</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-24T17:24:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove PyStr_Check() compatability macro

We no longer need Samba to be py2/py3 compatible so we choose to return to the standard
function names.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/34f9a089d8d3a8971b2f7ee45f6d8e823a52a193">34f9a089</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-24T17:24:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove PyStr_FromString() compatability macro

We no longer need Samba to be py2/py3 compatible so we choose to return to the standard
function names.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3fa00d435045e6faeb92f5379684f118b131c92c">3fa00d43</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-24T17:24:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove PyStr_FromStringAndSize() compatability macro

We no longer need Samba to be py2/py3 compatible so we choose to return to the standard
function names.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/75d87b29f11a1dacb37ccc1b10f8d034063ef5ba">75d87b29</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-24T17:24:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove PyStr_FromFormat() compatability macro

We no longer need Samba to be py2/py3 compatible so we choose to return to the standard
function names.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d9d9463fd3c7eda14a3170e214d6a56c9efbbcec">d9d9463f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-24T17:24:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove PyStr_FromFormatV() compatability macro

We no longer need Samba to be py2/py3 compatible so we choose to return to the standard
function names.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f178daa854dc4ea9cb917d17cd4c8a876356e981">f178daa8</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-24T17:24:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove PyStr_AsString() compatability macro

We no longer need Samba to be py2/py3 compatible so we choose to return to the standard
function names.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7566268f386b7014d3cfad802c4c46cd7b2b3956">7566268f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-24T17:24:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove PyStr_AsUTF8() compatability macro

We no longer need Samba to be py2/py3 compatible so we choose to return to the standard
function names.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f32779b198258da5b28cad6e810e4017c9f6dbc9">f32779b1</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-24T17:24:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove PyStr_AsUTF8AndSize() compatability macro

We no longer need Samba to be py2/py3 compatible so we choose to return to the standard
function names.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4f32983ea8a24466165c043a73cb47b4073da15f">4f32983e</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-24T18:48:53Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">py3: Remove duplicated PyUnicode_Check() after the py3 compat macros were removed

This came about because in py2 we had to check for strings and unicode.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Mon Jun 24 18:48:53 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/56c9ad12ee3e40569fd10c60526086ab2fbb3c10">56c9ad12</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Ensure open for security descriptor access actually opens an fd.

Change test to check two things:
1) Open a symlink for SD read or write access should fail.
2) Request attribute open. Getsd/Setsd on this handle should
fail.

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/2da9e1cecc6b1a257e5d62304406750b917748f9">2da9e1ce</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Fix a debug typo.

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/4afdc25e7f901ad5d237f90e0efd0938c7482b14">4afdc25e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Update smb_set_posix_acl() to modern coding standards.

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/21eaeafec0a8f46c56f5be7d76bb5a7710820634">21eaeafe</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Update smb_set_posix_acl() argument list to prepare for handle open.

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/419debdf6598d62ae9ae0595657f91fd0e582662">419debdf</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Update smb_set_posix_acl() to have only one exit path.

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/0adbbb8e5476507e476e2d1357ef60c517ecf18e">0adbbb8e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add correct wrap checks to smb_set_posix_acl().

Use unsigned for wrap checks.

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/42712ccb8767f8c653a75201ff034cd95c949c54">42712ccb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Make data offset use clearer in smb_set_posix_acl()

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/d6b46c03537de8f1ca4700f97e9ac33b7a23e65f">d6b46c03</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Clarify logic with helper variables in smb_set_posix_acl()

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/df7cec42f018d3e5431505d86e35133586c526d5">df7cec42</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add get_posix_fsp() utility function. Not yet used.

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/bf743b01d8d66d9e7622153a76f365babcf03006">bf743b01</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Update smb_set_posix_acl() to always use an open file handle.

Uses get_posix_fsp() added in the previous commit.

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/72605195010b8941c28d587079e994cb5c434b17">72605195</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Now we always have a handle in smb_set_posix_acl(), use it instead of smb_fname.

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/4772377b075bd0ae27d03f237a3f6656fad0446e">4772377b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Factor out code into a separate function smb_query_posix_acl().

Will clean up coding standards 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/c9f55b782dbde399fe6283e9d434c1dca770a5f5">c9f55b78</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix smb_query_posix_acl() to use modern coding standards.

Add wrap protection.

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/7c57544b06948384015780b6cb35e61b0be6436f">7c57544b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Plumb through struct smb_request *req parameter so it can be used by smb_query_posix_acl().

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/18c95f0470b7b3d581f8a6454dc1473d9a911b5e">18c95f04</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix smb_query_posix_acl() to always use fsp handle.

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/59de452810c2c0a88c7b382e1ac24902355d717b">59de4528</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Cleanup - make remove_posix_acl() use modern coding standards.

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/5210ff66a67bfb5a7624a097cf09910a7ae38785">5210ff66</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Cleanup - make set_unix_posix_acl() use modern coding standards.

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/e626cb70fd40ee5b5911d17a74dd8e6e7b0f183b">e626cb70</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Cleanup - make remove_posix_acl() return NTSTATUS.

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/0b496fd9059ac743dec9a64cb100320ea5b31399">0b496fd9</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Make set_unix_posix_acl() return NTSTATUS.

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/763b52d237763e90e67f5061050f99a92ed7901c">763b52d2</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Cleanup - make set_unix_posix_default_acl() use modern coding standards.

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/681f0f233720b470ad80db80da480237fbc9a665">681f0f23</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Change set_unix_posix_default_acl() to return NTSTATUS.

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/caa4024a91a5f950aa57b76e05d06efb235c14c2">caa4024a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Only pass fsp to set_unix_posix_acl(). No longer uses smb_fname.

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/503e1243d2c06b16aedbd1068dbf1da37ddd176f">503e1243</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Only pass fsp to remove_posix_acl(). No longer uses smb_fname.

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/77454ecfbd8f9ac662aaaf47579927073f494552">77454ecf</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add default ACLS can only be set on directory check to smb_set_posix_acl().

This was already being checked in the lower layer,
so no change in behavior, just an efficiency and
clarity change.

Just move an extra check here so we refuse the
set if a default ACL is sent on a file object
before we go into the lower layers.

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/147ce70eeaf71d4aae0cb7af1f556e1404eaeb2c">147ce70e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Make set_unix_posix_default_acl() take an fsp argument, not smb_fname.

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/bd203e98f84109899704ac86ebcfe9a0fe394d32">bd203e98</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: If smbd_do_qfilepathinfo() causes an oplock or lease break, we must check for deferred open here.

Note this isn't an issue in SMB2, as no SMB2 info level requests
called by smbd_do_qfilepathinfo()/smbd_do_setfilepathinfo() from
SMB2 can cause a oplock or lease break.

The SMB1 trans2.c: calling of smbd_do_setfilepathinfo()
correctly copes with this, this was just missed in the
SMB1 call of smbd_do_qfilepathinfo().

Needed for the following POSIX ACL query interacting
with Windows oplock file test to follow.

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/644ab10b04ad83775de4622937877c55a5f6cfa9">644ab10b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: modules: Fruit. Now we know we have a handle, always use VFS_FCHMOD instead of VFS_CHMOD.

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/78bdbfbf54f8cecea37d8a109e8dcfc7761a196a">78bdbfbf</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T18:49:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Posix ACLs. Now we know we have a handle, always use VFS_FCHMOD instead of VFS_CHMOD.

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/05667d36de78cbc73ed8e182525149b88c1a00c8">05667d36</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-24T20:05:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Add POSIX-ACL-OPLOCK test to check interaction of posix ACL operations with an oplocked Windows handle.

(Spoiler alert, it breaks the oplock :-).

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

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Jun 24 20:05:34 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2436496e71be877ded851a9333606d24665a1083">2436496e</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-06-25T10:55:45Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">client: enable allinfo and altname tab completion

Should tab-complete a single remote path.

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): Tue Jun 25 10:55:45 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/039558fea8aed26b3c4b889dda92c77d1e2ef2f4">039558fe</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-06-25T12:09:39Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">packaging: Update READMEs to reflect current status.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
Reviewed-by: Björn Baumbach <bb@sernet.de>

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Tue Jun 25 12:09:39 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6f81fe151ae519490c528d7e1371288003a045f4">6f81fe15</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ntvfs: Remove now unused functions

These likely became unused once other untested parts of the NTVFS file server were
removed in 2017e291a2da3d63741df82b480f32ee57f6a165,
ee8b48df0f995611e0c8f8d6766e4882c5f4f4cd,
679227d6063074aabb986d78fab42b856db265e3,
31de52ed2efe598e7fab72d90a742d4f9e03c97e

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/69361a43adf369cdbb4ed2044ddb8d720e8db792">69361a43</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/tls: Remove unused header definitions from source4/lib/tls/tls.h (tls socket wrapper)

These were removed in eb15acdd35600878aba3319e070199200d9a1357 but the
header declarations were not removed.

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/ecd5fa294c8ef01ba945e27e65d2cf6338988d41">ecd5fa29</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4-torture: Remove unused #include of librpc/gen_ndr/ndr_dcerpc_c.h

We only need librpc/rpc/rpc_common.h

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/dbff6cac3141fd40db90d9cfdd3b10286535cf5d">dbff6cac</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Do not generate client code for dbgidl.idl

We only want to record the GUID and function table names, we do not need
to generate uncalled stubs.

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/518227b674e89f128e33a27617c2fffe9df904a0">518227b6</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_NTLMSSP

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/27ad784bfb2e19e1f98b22052fbe10d27465823a">27ad784b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_DRSBLOBS

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/8e83667fe4a93aa5d4295816b1444d165c95afcf">8e83667f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_XATTR

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/0af3a6139d344625e1c4d5e7c71a2b9f3b59a747">0af3a613</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_IDMAP

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/48f65c851af110f26dd2f0390127dc9668fd8c11">48f65c85</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_SMB_ACL

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/4bfd001d79c64a18c17de691994fea1efbf2f2e7">4bfd001d</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_AUDIOSRV

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/05318934511e2ea2f1b03c423f4ccbcad1556a9a">05318934</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_EFS

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/c6f9ff9cce05c5c24ef6925d31759921a1c80f80">c6f9ff9c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_POLICYAGENT

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/f4f0db0c8e83a55d7c3c960e34c266dd8057a07b">f4f0db0c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_WINSIF

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/57ed8db7a26ec3bf14c6a609f430467dd5eaa862">57ed8db7</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_DSBACKUP

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/34206deb35067e7253c99ab9e5c2320784ccf541">34206deb</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_NBT

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/21eec4cf3c1c462d9910c3d85f3ee333aa541b8d">21eec4cf</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_SERVER_ID

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/a162d68f585853fdd8f3083b338bb1b236af54d1">a162d68f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_MSGSVC

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/bee87eecb87053b5c08733a0aa8aaf7a8b4c9a90">bee87eec</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_WZCSVC

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/634b44c25e122b10bcc85beb3f71a8ad35924252">634b44c2</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_SCERPC

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/2555692f480724b422ebfd8288a0ffcf447274d2">2555692f</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_TRKWKS

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/ba222585ca4fcd5437f1294b84020e96ba862d98">ba222585</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_KEYSVC

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/9c7e8f3a356184ab64c7efc1db62ceb8487bffe1">9c7e8f3a</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove unused RPC_NDR_MDSSVC

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/6f9176e649661c458d82226e8fcef550ff870291">6f9176e6</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Remove frsblobs.idl

We can now dump public structures using ndrdump, so helper dump functions
are not required any more.

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/88bb8fe43ad30247a78d088fad9c840a7a63bd97">88bb8fe4</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: Do not generate extra unused client or python bindings with PIDL

This sorts out the idl list into the parts that actually need --python and --client specified
and so speeds up the compile and clarifies the code behaviour.

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/46bf62dd0c67e90dcbefe7f7a106f1b5927b08f6">46bf62dd</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc: No longer generate or build unused client bindings for frsrpc

We retain the IDL and NDR parsers for ndrdump.

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/5df815cfd21c33eaa0e38196490066f214356bd3">5df815cf</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pidl: Remove the need to always specify --client with --python

This allows us to avoid generating client code for NDR-only protocols that do
not go over DCE/RPC

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/295bf73e9b24b1f2b4594320a6501dc7410d4b43">295bf73e</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb: Handle DB corner-case where PSO container doesn't exist

A 2003 AD DB with functional level set to >= 2008 was non-functional
due to the PSO checks.

We already check the functional level is >= 2008 before checking for the
PSO container. However, users could change their functional level
without ensuring their DB conforms to the corresponding base schema.

The objectclass DSDB module should prevent the PSO container from ever
being deleted. So the only way we should be able to hit this case is
through upgrading the functional level (but not the underlying schema
objects). If so, log a low-priority message and continue without errors.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14008
RN: Previously, AD operations such as user authentication could fail
completely with the message 'Error 32 determining PSOs in system' logged
on the samba server. This problem would only affect a domain that was
created using a pre-2008 AD base schema and then had its functional
level manually raised to 2008 or greater. This issue has now been
resolved.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fc9845da69cabcc1bf046d7899b2c4aeae743170">fc9845da</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-06-26T04:12:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: specifying 2008_R2 base schema for tests that need it

We're going to change the default base schema so this patch changes all
tests and testenvs requiring the current default (2008_R2) to specify it
in all provision commands using --base-schema.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cb16395ab3809379c6af4ff9a97fae191ba30375">cb16395a</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-06-26T04:12:34Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">schema: changing default base schema to 2012_R2

Changing default base schema from 2008_R2 to 2012_R2

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e28365c515733bab10e93ba40c6123a57bef737f">e28365c5</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-06-26T05:31:03Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: schema version check in provision test

Modifying blackbox provision test to check schema version.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jun 26 05:31:03 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7987e4af96b1c2b285834a9d3a9c00b028039737">7987e4af</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-26T10:30:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/tdb: clang: Fix warning: Dereference of null pointer

Fixes:

lib/tdb/common/lock.c:933:6: warning: Dereference of null pointer <--[clang]
        if (tdb->allrecord_lock.count) {
            ^~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cf43f1d052a44bea08bef09ea5eace77143c8093">cf43f1d0</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-26T10:30:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">clang: Fix Null pointer passed as argument warning

Fixes:
lib/tdb/common/transaction.c:354:2: warning: Null pointer passed as an argument to a 'nonnull' parameter <--[clang]
        memcpy(tdb->transaction->blocks[blk] + off, buf, len);
&

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1d00bd9f0ba7849e98b6a437ef29aeea725b5444">1d00bd9f</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-26T10:30:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: clang: Fix Value stored during its initialization is never read

Fixes:

lib/util/util_tdb.c:385:11: warning: Value stored to 'result' during its initialization is never read <--[clang]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/37add5c8ce705f9a2d0ab77d6ef07885d72463c7">37add5c8</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-26T10:30:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/dbwrap: clang: Fix 'all argument is an uninitialized value'

Fixes:

lib/dbwrap/dbwrap.c:533:4: warning: 2nd function call argument is an uninitialized value <--[clang]
                        dbwrap_lock_order_unlock(db, lockptr);
                        ^

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fd17d50f7cb8747c66e64e788bbd45212410d9c7">fd17d50f</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-26T10:30:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/dwrap: Fix 'Null pointer passed as an argument to a 'nonnull' parameter '

Fixes:

lib/dbwrap/dbwrap.c:645:4: warning: Null pointer passed as an argument to a 'nonnull' parameter <--[clang]
                        memcpy(p, dbufs[i].dptr, thislen);

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9c586845665b779a698fad98dede42c214cfbff4">9c586845</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-26T10:30:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc/ndr: clang: Fix warning 'Value stored to 'towernum' is never read'

Fixes:

librpc/ndr/ndr_orpc.c:140:2: warning: Value stored to 'towernum' is never read <--[clang]
        towernum = 0;
        ^          ~
1 warning generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/164570fcbbee16a7b42a0adb49c471f198b54a39">164570fc</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-06-26T11:53:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/param: clang: Fix 'dereference of a null pointer' warning

Fixes:

lib/param/loadparm.c:3325:36: warning: Access to field 'szService' results in a dereference of a null pointer (loaded from variable 'service') <--[clang]
        return lpcfg_string((const char *)service->szService)

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Wed Jun 26 11:53:08 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/61777349f1e86cf8c8a289c04afad6cd123207c0">61777349</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-26T18:14:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: We also need to open a real directory fd when modifying security.

Makes the logic identical to file open.

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/29ee235caee7e703ee9ebee342c8decb017fd099">29ee235c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-26T19:31:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: torture: Ensure we can always get a POSIX ACL on a directory handle.

Signed-off-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 Jun 26 19:31:28 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8f4c30f785cd012597883016e35f794e9a800404">8f4c30f7</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-27T12:54:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/crypto: move gnutls error wrapper to own subsystem

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/d1641f3e6a7a760a669ff2d9aa45dc2f4c61071b">d1641f3e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:util: Add gnutls_error_to_werror()

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/d4494648dd274328b57a99889bd23440c19f75fd">d4494648</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Use gnutls_error_to_werror() in smbencrypt

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/46231a53ef53beb5f8cb37862acf36021a384ed1">46231a53</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:drsuapi: Use gnutls_error_to_werror() in repl_decrypt

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/56fb3ce083a72297f6c972423b19efad51f3e5d4">56fb3ce0</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-27T12:54:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/drsuapi: Make drsuapi_decrypt_attribute_value() static

The last external user was removed in 0980a3471ed8fcc3a37296857285dc0235e0e0d2 in 2010

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/4aa217bb064ff682566c228140b904d9dea92c06">4aa217bb</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-27T12:54:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/drsuapi: Add const to *in parameters to drsuapi_{en,de}crypt_attribute_value()

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/850e9ffe8ae6dff5d888ee5b3ff789e831c2fe94">850e9ffe</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-27T12:54:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/drsuapi: Add expected value unit tests for drsuapi_{en,de}crypt_attribute_value()

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/52c87fa16512c040066dbfd8d1811a1d28851850">52c87fa1</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-27T12:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/drsuapi: Correct comment in drsuapi_decrypt_attribute_value()

This is not a copy, it is just a pointer assignment.

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/31bac316daa1b5bbf70d62950cebee655b3c1d95">31bac316</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-27T12:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/crypto: Add GnuTLS helper function samba_gnutls_arcfour_confounded_md5()

This will avoid duplicated code as we convert arcfour_crypt_blob() into
direct GnuTLS calls

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/d5856b993e8ddd83f36097a5aba0026aa8e9d2ca">d5856b99</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-27T12:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">liblic/drsupai: use samba_gnutls_arcfour_confounded_md5() wrapper

This common code will reduce duplication, particularly when we move
arcfour_encrypt_buffer() calls to GnuTLS

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/ad4505624e07f7a31c27a92c3867d343f2d9e9c3">ad450562</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-27T12:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/crypto: Use GnuTLS RC4 for samba_gnutls_arcfour_confounded_md5()

This allows Samba to use GnuTLS for drsuapi_{en,de}crypt_attribute_value()

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/f825fa6d90f165c26df46e2420dbeaf64144466d">f825fa6d</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Use GnuTLS RC4 for netlogon 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/00dd1a8bf8b081cb69a8b1c26af5c70e7ff58088">00dd1a8b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Return NTSTATUS for netlogon_creds_encrypt_samlogon_validation()

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/2e6fe27bad609cf6143b41c4062a1acf2d49930f">2e6fe27b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Return NTSTATUS for netlogon_creds_decrypt_samlogon_validation()

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/8c9cf56fe9865029bf033557b00e8987873a7096">8c9cf56f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Return NTSTATUS for netlogon_creds_server_step_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/31f110317f52e90693e71c7035b360ac9bc21967">31f11031</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Return NTSTATUS for netlogon_creds_encrypt_samlogon_logon()

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/cad3adb0b478e3bb2b964d4eefba4e96f34d4270">cad3adb0</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Return NTSTATUS for netlogon_creds_decrypt_samlogon_logon()

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/99d250a3abb1761e509359532e72caee2af6ee81">99d250a3</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Return NTSTATUS for netlogon_creds_crypt_samlogon_logon()

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/67e6a9af2c688ce89c87b0ed381274b3c12c37a9">67e6a9af</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:auth: Return NTSTATUS for netlogon_creds_arcfour_crypt()

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/d5ca7ff40f32845afaba4a1fc2a40e093132ea62">d5ca7ff4</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Use GnuTLS RC4 in netsec_do_seq_num()

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/6148cd9c977bd5e3c69e9b7e0e7bee9032b5aa45">6148cd9c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Use GnuTLS RC4 in netsec_do_seal()

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/ba96534eb3b895d1424e25b82dcb1f7f374f5959">ba96534e</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:gensec: Return NTSTATUS for netsec_do_seal()

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/0a8a1c9c78f4f4eda45514a267e080543b3c29ef">0a8a1c9c</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth:ntlmssp: Use GnuTLS RC4 in ntlmssp 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/80b6ad51f9a029e0b315dabc852ce548bc76a21f">80b6ad51</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:rpc_client: Use C99 inititializer in dcerpc_samr_chgpasswd_user()

This also cleans up after using them.

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/acf605f5959b5d50abbbd2d150f8a1a490ba4e43">acf605f5</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server: Use GnuTLS RC4 in lsa endpoint

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/cd1f41847311ff5aba3e21099a4531078f369850">cd1f4184</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:utils: Use GnuTLS RC4 in npc_rpc_trust

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/6eb38daad4b49f2e47037e3cb8a51cc65cd86524">6eb38daa</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:rpc_server: Use GnuTLS RC4 in lsa 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/4f306a2fdd658d8319216f2d06515a0da97cfb1f">4f306a2f</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: Use GnuTLS RC4 in wbclient test

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/9767013b447174881d471f84bc93acd644f564cf">9767013b</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T12:54:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:tortue: Use GnuTLS RC4 in rpc lsa test

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/9920aefd4e12e66b5e43469202c05962fa44035f">9920aefd</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-06-27T14:11:39Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: Use GnuTLS RC4 in rpc forest_trust 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): Thu Jun 27 14:11:39 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6e5bff80a0a0b5e999a9327640f3aa01b9f18777">6e5bff80</a></strong>
<div>
<span>by Shyamsunder Rathi</span>
<i>at 2019-06-27T17:57:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:notifyd: Handle sigup in notifyd to reparse smb.conf

At present, SIGHUP is blocked on notifyd. So, if parent smbd
is started with "log level" 10 in smb.conf, and later changed
to 0, the SIGHUP will not change the log level to 0 in notify
smbd process and it will keep printing verbose logs in the
corresponding log files.

Proposed fix is to write a SIGHUP handler for notifyd and set
it to reload services.

Reviewed-by: Hemanth Thummala <hemanth.thummala@nutanix.com>
Signed-off-by: Shyamsunder Rathi <shyam.rathi@nutanix.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): Thu Jun 27 17:57:12 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8899eb21d48b7077328ae560490f9fb9715a6b83">8899eb21</a></strong>
<div>
<span>by Michael Adam</span>
<i>at 2019-06-28T11:37:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs:glusterfs: treat ENOATTR as ENOENT

The original implementation of the virtual xattr get_real_filename
in gluster was misusing the ENOENT errno as the authoritative anwer
that the file/dir that we were asking the real filename for does not
exist. But since the getxattr call is done on the parent directory,
this is a violation of the getxattr API which uses ENOENT for the
case that the file/dir that the getxattr call is done against does
not exist.

Now after a recent regression for fuse-mount re-exports due to
gluster mapping ENOENT to ESTALE in the fuse-bridge, the gluster
implementation is changed to more correctly return ENOATTR if the
requested file does not exist.

This patch changes the glusterfs vfs module to treat ENOATTR as ENOENT
to be fully functional again with latest gluster.

- Without this patch, samba against a new gluster will work correctly,
  but the get_real_filename optimization for a non-existing entry
  is lost.

- With this patch, Samba will not work correctly any more against
  very old gluster servers: Those (correctly) returned ENOATTR
  always, which Samba originally interpreted as EOPNOTSUPP, triggering
  the expensive directory scan. With this patch, ENOATTR is
  interpreted as ENOENT, the authoritative answer that the requested
  entry does not exist, which is wrong unless it really does not exist.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fee8cf326bfe240d3a8720569eab43f474349aff">fee8cf32</a></strong>
<div>
<span>by Michael Adam</span>
<i>at 2019-06-28T12:52:03Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs:glusterfs_fuse: treat ENOATTR as ENOENT

The original implementation of the virtual xattr get_real_filename
in gluster was misusing the ENOENT errno as the authoritative anwer
that the file/dir that we were asking the real filename for does not
exist. But since the getxattr call is done on the parent directory,
this is a violation of the getxattr API which uses ENOENT for the
case that the file/dir that the getxattr call is done against does
not exist.

Now after a recent regression for fuse-mount re-exports due to
gluster mapping ENOENT to ESTALE in the fuse-bridge, the gluster
implementation is changed to more correctly return ENOATTR if the
requested file does not exist.

This patch changes the glusterfs_fuse vfs module to treat ENOATTR as
ENOENT to be fully functional again with latest gluster.

- Without this patch, samba against a new gluster will work correctly,
  but the get_real_filename optimization for a non-existing entry
  is lost.

- With this patch, Samba will not work correctly any more against
  very old gluster servers: Those (correctly) returned ENOATTR
  always, which Samba originally interpreted as EOPNOTSUPP, triggering
  the expensive directory scan. With this patch, ENOATTR is
  interpreted as ENOENT, the authoritative answer that the requested
  entry does not exist, which is wrong unless it really does not exist.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Fri Jun 28 12:52:03 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c88240e0e70279207611a0aba4554cb907275e42">c88240e0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-28T15:02:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix broken brlock for clustering

This should have been in f11c5887f4fb4b766, sorry. We now always need
TDB_SEQNUM on brlock.tdb.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6bc70dcde2685e13f2f4cd6d9876e022629004de">6bc70dcd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-28T15:02:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_preopen: Fix for O_NOFOLLOW

Since 4301505d977449d core smbd code passes O_NOFOLLOW together with
[O_RDONLY|O_RDWR] as flags. This breaks activating vfs_preopen, we
need to look at *just* the access mode.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c26e42cb53f9cfd9a54cacde64817ccf4ddd0412">c26e42cb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-28T15:02:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_preopen: Fix an uninitialized variable read

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0b556e7827b32192cbbce1464e30764648ea1712">0b556e78</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-06-28T16:42:42Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_preopen: TALLOC_FREE(fde) before closing the underlying fd

Without that we might get wrong stuff out of epoll

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>

Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Jun 28 16:42:42 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/98e34c299ddd8b24f3daeeafe45ab136ad015a47">98e34c29</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-06-28T18:48:49Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">.gitlab-ci.yml: Increase resources for samba-ad-dc-backup job

This job seems to need more resources, possibly after
b6b5b5fe355fee2a4096e9214831cb88c7a2a4c6 and
565341baf537c9b3145a882d6a23ad4f155c0036

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 Jun 28 18:48:49 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cd66614a4e8a8f93e1debb8a87dd2afd46b02990">cd66614a</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-06-30T11:32:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Make open_directory() always open a fd.

As we never use kernel oplocks on directory handles,
there is no reason not to always open file descriptors (no
more "stat" opens on directories).

Preparing to have SMB1search use real directory
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/c878fbcec9cefbcc1f3a966689cd7375eaf8632f">c878fbce</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests-util: Adding strtoul(l)_err() test leaving errno untouched

The wrapper functions strtoul_err() and strtoull_err() trigger
other functions/routines which modify errno.
However, callers of those wrapper functions expect errno to be unchanged.
This test verifies the expectation.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/9af0614bcb1750e29a1018e7c6fb6f655cb594fd">9af0614b</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests-util: Adding test to verify negative "number" detection

Verify that a string representing a negative number is throwing an error.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/ba021e3cfb2d8497f0e62001782387547e996ded">ba021e3c</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests-util: Adding test to verify "no-conversion" detection

The standard string to integer conversion routines return zero
if a string was to be converted which did not reflect a number.
It is not flag'ed as an error.
The wrapper functions strtoul_err() and strtoull_err() are expected
to exactly do this.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/7fd0cd02b75782dc6e9a4755d3404e738a92e719">7fd0cd02</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Add flag definitions to control the internal string to int conversion routines

The following flags are defined intially

    SMB_STR_STANDARD # raise error if negative or non-numeric
    SMB_STR_ALLOW_NEGATIVE # allow strings with a leading "-"
    SMB_STR_FULL_STR_CONV # entire string must be converted
    SMB_STR_ALLOW_NO_CONVERSION # allow empty strings or non-numeric
    SMB_STR_GLIBC_STANDARD # act exactly as the standard glibc strtoul

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/f2997ad677dbbe96bd2ea73c7632e7e81876f1e8">f2997ad6</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Prepare for strtoul_err(), strtoull_err() API change

In order to still be bisectable when changing the API for the wrappers
strtoul_err() and strtoull_err() some preparations need to be performed.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/f0d1339ed5e417915964bf4612123d67bc10f2f2">f0d1339e</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Add check for full string consumption when converting string to int

Some callers want to have the entire string being used for a
string to integer conversion, otherwise flag an error.
This is possible by providing the SAMBA_STR_FULL_STR_CONV flag.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/b1c2f168ceff3e425462563fe5f73a655c77b47e">b1c2f168</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Add capability to enable standard glibc behaviour for string to int conversion

Adding two addtl. flags SAMBA_STR_ALLOW_NO_CONVERSION and SAMBA_STR_GLIBC_STANDARD
for the wrappers strtoul_err() and strtoull_err() providing the possibility
to get standard glibc behaviour for string to integer conversion.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/73640b8ad8ced213d4855a2698df0d15318696ac">73640b8a</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: Update all consumers of strtoul_err(), strtoull_err() to new API

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/a8bbd60fd9d10afa0aaf9359782428b8836a9732">a8bbd60f</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Update all consumers of strtoul_err(), strtoull_err() to new API

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/39a518b6717a4687f43333b3e62a1765d45f5bff">39a518b6</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: Update all consumers of strtoul_err(), strtoull_err() to new API

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/bf020a8c8db6bb6a0386d3bf69d40116601b1aca">bf020a8c</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nsswitch: Update all consumers of strtoul_err(), strtoull_err() to new API

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/a75727f191c53ca358cdef930b75d169793f59a3">a75727f1</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">source3: Update all consumers of strtoul_err(), strtoull_err() to new API

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/3bc973c6022ee79f57459849bc5c104795897fde">3bc973c6</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">source4: Update all consumers of strtoul_err(), strtoull_err() to new API

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/1756cea95b844f99ae583860ee022ed56cf09aad">1756cea9</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util: cleanup API change for strtoul(l) wrappers

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/ed533debc40f3173326c65a90ae344d01ec1d427">ed533deb</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests-util: Adding test to verify "allow-negative" flag

The standard string to integer conversion routines allow strings
with a leading "-" to indicate a negative number.
However, the returned value is always an unsigned value representing
the bit-pattern of this negative value.
Typically, this behaviour is NOT wanted and therefore the standard
behavior of the internal smb_strtoul(l) return an erros in such situations.
It can be enabled though by using the flag SMB_STR_ALLOW_NEGATIVE.
This test verifies the correct processing.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/dac981a3887fe79650b38e63799e344b22c8f5f1">dac981a3</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T11:32:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests-util: Adding test to verify "full-string-conversion" flag

The standard string to integer conversion routines stop at the first
character which cannot be converted to a number.
However, if such a character is found, it is not considered an error.
With the flag "SMB_STR_FULL_STR_CONV" enabled, an error will be returned
if the string could not be converted entirely.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
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/d5383297f0389d01d42479b074f5e81619e03ddb">d5383297</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-06-30T12:47:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests-util: Adding test to verify "allow no conversion" flag

The internal string conversion routines smb_strtoul(l) return
an error if the provided string could not be converted to an integer.
This can be the case if the string is empty or if it starts with non-numeric
characters which cannot be converted.
The standard C library, however, does allow this and simply returns 0 as the
converted value.
If this behaviour is wanted, it can be enabled by using
the "SMB_STR_ALLOW_NO_CONVERSION" flag.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-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): Sun Jun 30 12:47:24 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/abea597b7fc5c221205143d537cf5fb009a234bf">abea597b</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-01T06:44:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util: Fix signed/unsigned comparisons by declaring as size_t

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/115353a00149997f01fb9964cdbc9be4c7a0cd0a">115353a0</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-01T06:44:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util: Fix signed/unsigned comparisons by declaring as size_t

I may be missing something subtle but I can't see a reason for
declaring these as ssize_t.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/043334f2eb67ec82c3c6b757fef5eb986d58ad25">043334f2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-01T08:00:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util: Fix signed/unsigned comparisons by casting

One case needs a variable declared, so it can be compared to -1 and
then cast to size_t for comparison.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Jul  1 08:00:29 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/dcaaf9ff7a281910ba12e7e9f701641f6eb97262">dcaaf9ff</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-07-01T13:34:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: Fix Value stored to 'ret' is never read warning

Fixes:

lib/util/tfork.c:260:3: warning: Value stored to 'ret' is never read <--[clang]

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/848290d37fdb381b43db12675e771b462eefe7ef">848290d3</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-07-01T13:34:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/tdb/common: Fix warning: Null pointer passed as argument to param

Fixes:

lib/tdb/common/rescue.c:299:2: warning: Null pointer passed as an argument to a 'nonnull' parameter <--[clang]
        qsort(found.arr, found.num, sizeof(found.arr[0]), cmp_key);
        ^     ~~~~~~~~~

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9e78f7b53d94816446e33f3d53a4d240807552ec">9e78f7b5</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-07-01T13:34:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/tdb/common: Fix Array access results in a null pointer dereference

Fixes;

lib/tdb/common/transaction.c:613:7: warning: Array access (via field 'blocks') results in a null pointer dereference <--[clang]
                if (tdb->transaction->blocks[i] != NULL) {
                    ^
1 warning generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3b43daaccbb80824d8da10c84306ebf99268ec01">3b43daac</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-07-01T13:34:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/ldb/common: clang: Fix Value stored to 'ret' is never read warning

Fixes:

lib/ldb/common/ldb.c:1091:3: warning: Value stored to 'ret' is never read <--[clang]
                ret = 0;
                ^     ~
1 warning generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7bddd6aefe3bd764560e5284f9a192797051bb2d">7bddd6ae</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-07-01T13:34:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: clang: Fix warning: Value stored to 'ret' is never read warning

Fixes:

lib/util/server_id_db.c:181:3: warning: Value stored to 'ret' is never read <--[clang]
                ret = tdb_store(tdb, key, talloc_tdb_data(ids), TDB_MODIFY);
                ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8b92539997a9df8e0d217790fd82fc8f59ea50cc">8b925399</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-07-01T13:34:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/krb5_wrap: clang: Fix warning: Call to function 'mktemp' is insecure

Fixes:

lib/krb5_wrap/krb5_samba.c:2012:2: warning: Call to function 'mktemp' is insecure as it always creates or uses insecure temporary file.  Use 'mkstemp' instead <--[clang]
        mktemp(tmp_name);
        ^~~~~~

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2b7236ffe1a0454756b76f8dc302649e92cefbaa">2b7236ff</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-07-01T13:34:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/krb5_wrap: clang: Fix warning: Null pointer passed as an argument

Fixes:

lib/krb5_wrap/krb5_samba.c:3241:3: warning: Null pointer passed as an argument to a 'nonnull' parameter <--[clang]
                memcpy(gss_cksum + 28, in_data->data, orig_length);
                ^

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a77fda0cd4b9ec89024c7ac8a3f77797e00f4263">a77fda0c</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-01T14:50:53Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib tdb: memcmp ubsan warning

Fix the ubsan warning

lib/tdb/common/tdb.c:184:9: runtime error: null pointer passed as
argument 2, which is declared to never be null"

memcmp call now guarded by a length check.

memcmp returns zero when called with a zero length parameter.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Mon Jul  1 14:50:54 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/163c0cc84a1f2ded56389db80e9e4046f76f6185">163c0cc8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-07-01T19:22:02Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:winbind: Add support for storing KRB5 credential in KCM

This can store crentiials in the Kerberos Credential Manager e.g.
provided by sssd.

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  1 19:22:02 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ae6dd4853e3e651f6e56ce735bcb0a2264857385">ae6dd485</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_catia: pass stat info to synthetic_smb_fname()

This doesn't cause visible damage in vanilla Samba, but would affect downstream
consumers that add additional fields to struct smb_filename.

For the same reason there's no test.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14015
RN: Ensure vfs_catia passes stat info to stacked VFS modules

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3e005fb8f4fa670384ad23c3218ed8d9bfad8880">3e005fb8</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idl: add xattr_DosInfo4 to xattr_DosInfo in xattr.idl

Adding itime, removing unused ea_size, size, alloc_size and change_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/a5f4e33f87fce8622b2b9d84968ed28d30f4e79a">a5f4e33f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: remove unused st_ex_mask from struct stat_ex

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d18bdc1c43b8573582bd77d153cd514f881a69b9">d18bdc1c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: convert struct stat_ex st_ex_calculated_birthtime bool to flags

Subsequent commits will add more flags, this paves the way.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/df4a380d9f459dcdd7e1edab8711b36af0cac09a">df4a380d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: add st_ex_itime to struct stat_ex

st_ex_itime is an immutable original birth time aka instantiation time. Set when
a file is created, never changes thereafter. May not be set by the client.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/30b7f9ae2df26d2f0fc84b30e86fc4639da3972a">30b7f9ae</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: add st_ex_file_id to struct stat_ex

st_ex_file_id is an immutable, never reused numeric identifier for objects in a
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/506ef2761c29f40720104ed4e3f9d9ba37a22f9d">506ef276</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib: add update_stat_ex_itime()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/295d3501d719ffad1fd0349707ef10fd60f72b84">295d3501</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib: add update_stat_ex_file_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/a5a2ce953bbfff72ab66f24604c347259321f266">a5a2ce95</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib: add make_file_index_from_itime()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c03094cc1f975dbf6dd5bde9c5b246850b94ce16">c03094cc</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: mark itime non-calculated if we created a file or dir

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d54424a758b4add7b1cf2bd40c7b6455fb779092">d54424a7</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: parse xattr_DosInfo4 in parse_dos_attribute_blob()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ebe7b8c58ca52005a68413e92d4148a17b1af671">ebe7b8c5</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: use xattr_DosInfo4 in set_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/e6cdd4862f9c07101c8bab7c21b7c438164e13ec">e6cdd486</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: return inode number, not FileIndex for UNIX query info level

get_FileIndex() returns a stable and unique numerical identifier when "store dos
attributes" is enabled. It is NOT the same as a file's inode number which used
as the key for locking.tdb.

For POSIX clients we should return the inode numbers in the POSIX query info
level and the FileIndex in the corresponding SMB protocol fields (eg SMB2 QFID
create context).

This fix lets test "smbtorture_s3.plain.CLEANUP3" test work with get_FileIndex()
returning something different then the file's inode number.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d2bac65e2ef76b7ceecd57e39072311008aea7f8">d2bac65e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: rename get_FileIndex() to get_fs_file_id()

Also rename all variable used to store the result of the renamed
get_fs_file_id() in the 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/71996fef09f28fba39637acb86a51b5e0c1da36b">71996fef</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:vfs: add SMB_VFS_FS_FILE_ID()

Not yet used, that comes next.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/df5752ec90d2b648b221887840262acf8fe43ef6">df5752ec</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:vfs: move get_fs_file_id to vfs_default

This makes get_fs_file_id() the default implementation of
SMB_VFS_FS_FILE_ID(). 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/a3caf4140c01136a412c129cae28b433e33ab014">a3caf414</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: use stored file_id in SMB_VFS_FS_FILE_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/36d100e4b8945edbccc94175c716197db9df12c9">36d100e4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: set file_id in fetch_dos_mode_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/076f26dd5c9d5b2c5836f2cb66c9b2d895076ab6">076f26dd</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: move zero file-id to vfs_fruit

Now that this stuff goes through the VFS, let's do it right. :)

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/eb986786562d2551743e97f5cd59d59f574657ca">eb986786</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: make "fruit:zero_file_id" a per share option

Now that File-ID calculation goes through the VFS, we can nicely make a
per-share option out 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/03690ec2180d10c6d0c01ed2d7392aa9f8d30c0b">03690ec2</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T21:43:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: change default for "fruit:zero_file_id" to false

Now that we have reliable File-IDs, change the default for the option
"zero_file_id" to false.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6e65c283120e3e627f0d8570601263f904529996">6e65c283</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-01T23:21:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: add a test that itime is not set when setting DOS attrs

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 Jul  1 23:21:07 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b27817d491794a292278832e3f59f955f418a6cb">b27817d4</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision tests: Add --backend-store-size option.

Tests for the new "samba-tool domain provision" option
"backend-store-size".  This allows the lmdb map size to be set during a
provision, instead of hard-wiring it to 8Gb

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/b8446c080254053b63dbb8aca7d5332e044a9c93">b8446c08</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python getopt: Add bytes option type

Add a new option type to the python command line options.
  Option("--size", type="bytes", metavar="SIZE")
To allow the input of file and memory sizes using unit suffixes i.e.
2Gb, 4KiB ...

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/4644416a92179f1f44ebcce90be1a058da4b3b30">4644416a</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: Make the 'bytes' option type avaiable

Allow samba tool to use the custom bytes option type.
  Option("--size", type="bytes", metavar="SIZE")
To allow the input of file and memory sizes using unit suffixes i.e.  2Gb,
4KiB ...

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/5cbe76e395de1c21246e1ecdaf9eeb57783a34f9">5cbe76e3</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool domain provision: add lmdb database size option

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/b281fc624e53ead0ef614ea2fcff46bc9b599f92">b281fc62</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-07-02T02:23:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision: If --targetdir has been specified then we must always reset posix:eadb and xattr_tdb:file

This is required because otherwise this may have been set previously by another
part of selftest thanks to the global loadparm and the running of multiple
samba-tool tests within the same python process.

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/3b52ca59a2d01da35539a2940fda5f4df15aeb21">3b52ca59</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb: save a copy of the options on the context

Copy the options supplied to to ldb_connect, and place them on the
ldb_context. This allows backend options i.e. lmbd map size to be passed
cleanly from the callers.

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/e46d5bb669d1e3bec8283df64eeedaad997f6625">e46d5bb6</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Release ldb 2.0.4

* copy the ldb_options passed to ldb_connect onto the ldb_context,
  making them more generally available.

* fix index buffering.
  As a performance enhancement the indexes are cached in memory during a
  transaction, and written to disk as part of the prepare commit. The
  indexes could become corrupt in the event of a failed operation.

* fix read beyond buffer
  Calling the "ldb_parse_tree" function with a filter consisting of
  exactly a single space (" ") would trigger a read beyond the input
  buffer.
  BUG: https://bugzilla.samba.org/show_bug.cgi?id=13900

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/bbc20000791d167c5f2683ef3f217a8719b47ead">bbc20000</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib ldb ldb_mdb: Pass the lmdb map size as an ldb option

Allow the lmdb map size to be specified in the ldb option
"lmdb_env_size".

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/236f5f6a8c1063bc4ca4d95ce214c870c37e1475">236f5f6a</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision: Add --backend-store-size option

Add a new "samba-tool domain provision" option "backend-store-size".
This allows the lmdb map size to be set during a provision, instead of
hard-wiring it to 8Gb

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/f93cb76ab01d0d6f3d59979f2c7d6711fe444f1b">f93cb76a</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">domain join tests: Add --backend-store-size option.

Tests for the new "samba-tool domain join" option
"backend-store-size". This allows the lmdb map size to be set during a
provision, instead of hard-wiring it to 8Gb.

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/ddfc1ddd4f9e9b4b70e036023d7868cb48c7391f">ddfc1ddd</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool domain join: Add --backend-store-size option

Add a new "samba-tool domain join" option "backend-store-size".
This allows the lmdb map size to be set during a provision, instead of
hard-wiring it to 8Gb.

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/0ee3b06640b9032f4b462aad03f076e28b8763ed">0ee3b066</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">clone-dc-database tests: Add --backend-store-size option

Add a new "samba-tool drs clone-dc-database" option "backend-store-size".
This allows the lmdb map size to be set during a clone, instead of
hard-wiring it to 8Gb.

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/97bc3db68a5ec2cd20e5059d77089e76a0625479">97bc3db6</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool clone-dc-database: Add --backend-store-size option

Add a new "samba-tool drs clone-dc-database" option "backend-store-size".
This allows the lmdb map size to be set during a clone, instead of
hard-wiring it to 8Gb.

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/bdd72acd32b6777b80b54d82688048e1cb0b8f32">bdd72acd</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool dcpromo tests: add --backend-store-size option

Add a new "samba-tool domain dcpromo" option "backend-store-size".
This allows the lmdb map size to be set during a promotion, instead of
hard-wiring it to 8Gb.

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/2face29963da2192c81e62a98d181fe7fd22c977">2face299</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool domain dcpromo: add --backend-store-size option

Add a new "samba-tool domain dcpromo" option "backend-store-size".
This allows the lmdb map size to be set during a promotion, instead of
hard-wiring it to 8Gb.

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/54fbac97ef70ece7a0607d5d6073501f08f8adc6">54fbac97</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">join subdomain: changes for --backend-store-size

Pass the 'backend_store_size' parameter through to DCJoinContext.

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/5583208aed0e4647269e48aa1d3c5c48a73001ac">5583208a</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T02:23:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool domain join: remove the subdomain option

Remove the sub domain option from join, as it currently does not work.

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/92f9f836abaf0fa85e6fd4fc08c2993c9a4af70b">92f9f836</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T04:19:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW.txt: samba-tool --backend-size-parameter

Document the --backend-store-size option added to the samba-tool sub
commands:
 * domain provision
 * domain join
 * domain dcpromo
 * drs clone-dc-database

And the removal os the join subdomain option.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Tue Jul  2 04:19:29 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/dba9987bf500f82fbbcda1cd78c543a87f90cec5">dba9987b</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-07-02T04:21:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Add getncchanges test for cross-partition links + TGT

This adds a test-case to highlight a bug in the client side GetNCChanges
handling.

These tests mostly exercise the server-side behaviour of sending the
GetNCChanges, however, there's a bug in the client-side code when we try
to handle a missing cross-partition link target *in combination* with
the GET_TGT flag already having been set.

The test is exercising the client-side code by using the 'samba-tool drs
replicate' command. By adding a one-way link to a deleted target object,
we force the client code to retry with the GET_TGT flag set.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/98848142cde51d4b280a6fb5cd95dc4bd2471e17">98848142</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-07-02T04:21:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">repl_md: Avoid dropping cross-partition links

Cross-partition links could still be dropped if GET_TGT was already
previously set for the replication.

This was due to a slight error in the order of logic. We never want to
ignore cross-partition links (regardless of whether the TARGETS_UPTODATE
/GET_TGT flag is set). We should only be returning early in the
GET_TGT case if the objects are both in the same partition.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14022
RN: When the AD domain contained a linked attribute that spanned
partitions, DRS replication could drop the link. This dropped link could
then result in subtle differences in behaviour between DCs, as some DCs
would have the link and others wouldn't. When this issue occurred, the
dropped link would be logged in a warning message:
 "<target-dn> is Unknown but up to date. Ignoring link from <source-dn>"
This issue would not always occur - it depended a lot on the database
contents. Typically, it would only potentially occur when joining a new
DC to the domain (doing an ldapcmp after the join would also highlight
the problem, if it occurred). This issue has now been resolved.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e406b6d79603e31d2179717c0a4c7dbeeed7c337">e406b6d7</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-02T04:21:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/scripting/autoidl: another py3 incompatible except

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/5331f913ac4dd3d94bed45846b64b89475029994">5331f913</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-02T04:21:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/bisect-test: fix for py3

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/6972b53f505a97985cb9127c181a5a7cfa987368">6972b53f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-02T04:21:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wintest: py3 telnet.sendline() doesn't like string with ^Z

Try using bytes instead.

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/ae1472834b3256dbe53733abecbee2129d364594">ae147283</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-02T04:21:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/script/rodcdns: str type doesn't need decoding

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/a4cea294d3d394fd134e67f4ce463d6673ed6831">a4cea294</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-02T04:21:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/tests/dsdb_schema: not usefully executable as script

You could run the script, but it wouldn't do anything.

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/9c630b4bfd09dbfdb3709bf9499ebcc584bd3239">9c630b4b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-02T04:21:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pytests/subunitrun: not usefully executable

it only defines classes and fiddles with signals.

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/66620567ae325d6c20b0a38c41fa138e902ec8e0">66620567</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-02T04:21:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/scripting/smbstatus: approach py3 compatibility

It is still unused and untested, probably not working.

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/dfe32af975ae45782e0d8e1954457e7ad43770af">dfe32af9</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-02T04:21:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">net idmap check: correct spelling of --force

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/9c9f88758b6dd3daa5636135ada83d5d8c8fa9ec">9c9f8875</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-02T04:21:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">man net: include --json option

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/731f0b7b52c666cabdc74c42f2f6cbe1e6abaf33">731f0b7b</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-02T04:21:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs/smbclient: document -Tcn

BUG:https://bugzilla.samba.org/show_bug.cgi?id=2352
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/82f327fce897f452e269d22a8ed348bb5cddfa0b">82f327fc</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-02T05:49:43Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">kcc: default to logging to DBGLVL_WARNING

If the "-d" debug level parameter is not supplied, default to DBGLVL_WARNING.
Overiding the "log level" set in smb.conf.

When samba runs the kcc command stderr output is logged at DBGLVL_ERR,
the default log destination is stderr.  As a result any log messages
generated by the kcc command, are effectively logged at DBGLVL_ERR.
This causes issues if auth or audit logging are enabled in smb.conf.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Pair-programmed-with: Tim Beale <timbeale@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jul  2 05:49:43 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ee9527f5c3b75c325dd8f5d659d4385acc28ddd3">ee9527f5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T14:52:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">librpc/idl: fix build with --enable-spotlight

Fix regression introduced by 88bb8fe43ad30247a78d088fad9c840a7a63bd97.

Pair-programmed-with: Volker Lendecke <vl@samba.org>
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): Tue Jul  2 14:52:17 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e36398d93b6a26c25d034b815671e9744392b234">e36398d9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Ensure initialized vars in do_lock

brl_lock does not initialize these variables in all 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/b0d4939d6ca09c4617089f81a213b9390fc2da49">b0d4939d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Avoid casts in do_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/b70d855e1aedf6b267b9d6fe189fefd207bffc2c">b70d855e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Make do_lock() return NTSTATUS

This routine did a NO-GO: It returned something on talloc_tos(), for
later consumption by push_blocking_lock_request. This is now gone, no
caller uses the "struct byte_range_lock" returned 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/5a012a0fdfdd68640bae4a5044dbd071143fa252">5a012a0f</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: do_lock() never sees blocking locks anymore

This is now all handled in protocol-specific layers

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/37c9c4c3ce3e26730f79bce5feaf51433bd331f7">37c9c4c3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: brl_lock() never sees blocking locks anymore

This is now all handled in protocol-specific layers

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f83775d8557587c1aa6db031c0b250455d4d7a6b">f83775d8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: Remove "blocking_lock" from SMB_VFS_BRL_LOCK_WINDOWS

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a045b9b1f37177253a38c348f0d428fe2fdcf607">a045b9b1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove unused "blocking_lock" from brl_lock_windows_default()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5a89031cf878055659e82f4def743ee38efa9665">5a89031c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove unused "msg_ctx" from brl_lock_posix

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b809e68c12f35ec1f2d6aac37d2a28706b91be62">b809e68c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove unused "msg_ctx" from brl_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/4d75c0aa53ad5f319e8f3eb59edc1b6571a4825e">4d75c0aa</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove unused "msg_ctx" from do_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/3a93c638944a16b3e2104dbee25cb3668d01deea">3a93c638</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove unused "msg_ctx" from brl_unlock_posix()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/39f14da9adc1832838ea79b23fbce9876fddb098">39f14da9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: Remove unused "msg_ctx" from SMB_VFS_BRL_UNLOCK_WINDOWS

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c2292a85f54ed46fe9dc0b9126be7b64f2656118">c2292a85</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove unused "msg_ctx" from brl_unlock()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/316365805a427bc95465d9f42605885111d41baf">31636580</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove unused "msg_ctx" from brl_close_fnum()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0658626776c19c903d894e32a036e8d8eccad425">06586267</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove unused "msg_ctx" from do_unlock()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/45d2720a878a07be1d219164f7245d3d89726829">45d2720a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove unused "msg_ctx" from locking_close_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/f952967e5822a299d2ea176764fd5596ba53ee5a">f952967e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove unused "msg_ctx" from smbd_do_locks_try()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ce3666fb83ade72807fd3510d9d30251325cdcac">ce3666fb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T17:01:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Remove unused "msg_ctx" from smbd_smb1_do_locks_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/9b017ab0465f912de738ba0679b378e8a49fba5f">9b017ab0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-02T18:17:39Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Simplify filename_convert_internal()

Use a direct struct assignment

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 Jul  2 18:17:39 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c3bad08e2b0913e5e49ffadb4780bb51154a3215">c3bad08e</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-07-03T08:55:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/krb5_wrap: Fix leaking using mkstemp

commit: 8b92539997a9df8e0d217790fd82fc8f59ea50cc introduced a leak
by replacing mktemp with mkstemp (mkstemp returns an open fd)

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4ef5a42ca2025b10674a4800d471ea29735c0906">4ef5a42c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-03T08:55:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Adapt tdb_rescue() to README.Coding

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f4430086fa2345c9ccf94644d92c08fd47f6a493">f4430086</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-03T08:55:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Adapt _tdb_transaction_cancel() to README.Coding

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fa2d5b3daa0eaae41e2c2348cb2a81adf9da3b62">fa2d5b3d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-03T10:51:32Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix return of server_id_db_prune_name()

The tdb routines return 0/-1 and return the specific error via
tdb_error(). server_id_db_prune_name() is expected to return an errno,
not 0/-1.

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): Wed Jul  3 10:51:32 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cf0442bff13e37507bc37455f2823d0179f783aa">cf0442bf</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-07-03T11:19:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules: Add hash_inode() function based on SHA1

This should use SHA1 as modern CPUs have SHA NI instruction support.

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/855540a8998630646477f2dce8911170e252e633">855540a8</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-07-03T11:19:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules: Allow SHA1 usage for file IDs in FIPS mode

This is non-cryptographic use!

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/10f828629bb81a651b9e8aab002a84c053f37387">10f82862</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-07-03T11:19:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules: Use hash_inode() in vfs_fruit

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/9d5044fe97b16158260c504979a1fc808fa901d4">9d5044fe</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2019-07-03T12:37:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:modules: Use hash_inode() in vfs_streams_xattr

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 Jul  3 12:37:12 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/60afe949c3e664f81c9b0db9c54f701aa2874a5e">60afe949</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2019-07-03T12:38:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: remote_pac: s/s2u4self/s4u2self/g

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

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
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/3700998419738caa1ca8672fbf5dbaccaaa498fa">37009984</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2019-07-03T12:38:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: check for PrimaryGroupId in DC returned group array

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

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
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/2ae75184fcb5dc90602aeef113d4c13540073324">2ae75184</a></strong>
<div>
<span>by Isaac Boukris</span>
<i>at 2019-07-03T13:52:55Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add PrimaryGroupId to group array in DC response

This is a simplified version of the original patch by:
Felix Botner <botner@univention.de>

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

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

Signed-off-by: Isaac Boukris <iboukris@gmail.com>
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): Wed Jul  3 13:52:55 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4992c9bbbb86fa688907ab585cf8799c6f9a1c8a">4992c9bb</a></strong>
<div>
<span>by Amit Kumar</span>
<i>at 2019-07-03T15:12:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Correct 'net ads dns unregister --help' description

This change corrects the content of 'net ads dns unregister --help'
command. Updated output would be:
Usage:
net ads dns unregister [hostname]
    Remove all IP Address entires for a given
    hostname from the Active Directory server.

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

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-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 Jul  3 15:12:50 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1b39c563546aed677d0ac99b9fb8b44a5b48c1e4">1b39c563</a></strong>
<div>
<span>by Ralf Habacker</span>
<i>at 2019-07-03T19:24:52Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbind: fix crash in fill_domain_username_talloc() if specified username is NULL

Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
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 Jul  3 19:24:52 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9d40b08ae3417309fe672e654bf6c35db54dd3dc">9d40b08a</a></strong>
<div>
<span>by Samuel Cabrero</span>
<i>at 2019-07-04T02:07:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">bootstrap: Add OpenSUSE 15.1 image

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/aa9dbee265604c1f9179e7d10b9ed677cb38bd64">aa9dbee2</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: fix format of command description (help messages)

Need to quote the backslash '\'.

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f17482e49561d748f095b4b59e07097e1528f78f">f17482e4</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool tests: rename "user edit" test from edit.sh to user_edit.sh

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4c8660dc03018b9787e8bb6420bd32261baf4b50">4c8660dc</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool tests: remove probably outdated comment

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7fd509a09b929933b8363d33aebb2e976abd2c73">7fd509a0</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool user edit test: use testit instead of subunit_start_test, pass/failed

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/89d95fb75cd2c29948cb17e01b41a5f0ba960dc5">89d95fb7</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb/ldb_ldif: add copy_raw_bytes helper variable to ldb_ldif_write_trace()

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/894ddafc25cae075f313bbe74e5d105e5e581c8d">894ddafc</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb/ldb_ldif: add LDB_FLAG_FORCE_NO_BASE64_LDIF flag

Flag is used to enforce binary encoded attribute values per attribute.

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/824c98ac225b58ca9fba7fb18e4a39157ed174df">824c98ac</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool tests: add additional tests for "samba-tool user edit" command

Especially test handling of base64 encoded attribute values here.

Add selftest/knownfail.d/samba_tool.user_edit.
Tests fail, because:
 - can not work with ldif without a trailing new line
 - can not handle base64 strings

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

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/64e37e3822afbed2f5b97b8d456108cc79bd99bc">64e37e38</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool user edit: use ldb methods to create ldif to modify user

Remove tests from knownfail:
  samba.tests.samba_tool.user_edit.add_attribute_base64
  samba.tests.samba_tool.user_edit.add_attribute_base64_control
  samba.tests.samba_tool.user_edit.change_attribute_base64_control

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

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4954118b81e96ef677b1965d06427d626855e73f">4954118b</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool user edit: simplify code

Use "None"-changetype here, instead of "Add". This avoids the need to
remove the changetype line afterwards.

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/33fe4817609106284856867c09f91398fc5ebfc2">33fe4817</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool tests: add test for 'samba-tool user edit', using LDB_FLAG_FORCE_NO_BASE64_LDIF

Test to edit a user: Change attributes with LDB_FLAG_FORCE_NO_BASE64_LDIF

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/08742d1df8de52ec32c962f8875f7c13cbefd49a">08742d1d</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool user edit: avoid base64 encoded strings in editable ldif if possible

Use clear text arguments strings if possible. Makes it more comfortable
for users to edit the user objects attributes.

Remove test from knownfail:
  samba.tests.samba_tool.user_edit.change_attribute_force_no_base64

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2c64a25fc0484eb78874630fad9fa5c4e85527c8">2c64a25f</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool computer: add 'edit' command to edit an AD computer object

Similar to the samba-tool user edit command.

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/153abd611ae1562139a834966eb0763d711acb55">153abd61</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: add samba-tool computer command to samba-tool man page

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6c26abd981d13071d8d85e1e3639bcb09857507a">6c26abd9</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool tests: add test for 'samba-tool computer edit' command

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b2fb02585fff9de61fca138e5cd560d5b8d6403d">b2fb0258</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool group: add 'edit' command to edit an AD group object

Same like the samba-tool user edit command.

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3a97122ff585ceb10b1e78fe2cebc92fb3675c27">3a97122f</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool tests: add test for 'samba-tool group edit' command

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d103db07b15da86330cc62f21fcb755fca4cfac8">d103db07</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: add samba-tool group command to samba-tool man page

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3f10c8f25cf1655b4facf190f61acb4098919609">3f10c8f2</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: implement contact management commands

Usage: samba-tool contact <subcommand>

Contact management.

Available subcommands:
  create  - Create a new contact.
  delete  - Delete a contact.
  edit    - Modify a contact.
  list    - List all contacts.
  move    - Move a contact object to an organizational unit or container.
  show    - Display a contact.

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/78e78a4092569978e79a661bcd6e6631e4868245">78e78a40</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool tests: add tests for contact management

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cbf074d7d5198158279929c19d582de9a340f782">cbf074d7</a></strong>
<div>
<span>by Björn Baumbach</span>
<i>at 2019-07-04T02:07:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">doc: add documentation for "samba-tool" contact management

Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f8fbd9cfe166eeee796b8964c597598e9bca597f">f8fbd9cf</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-07-04T02:07:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pyldb: Apply flags specified by ldb.Ldb(flags=...) even if the URL is not set

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/bc48b4b158b9bb76ba82cf30bfc83d707e2dbaf3">bc48b4b1</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-07-04T02:07:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Add tests for Ldb.write_ldif() including the FLG_SHOW_BINARY and FLAG_FORCE_NO_BASE64_LDIF

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/e513bab96173fa9273d3349afa72c947e186f52a">e513bab9</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-07-04T03:51:58Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Try to explain the confusing overload of the LDB_FLG_MOD_* enumeration and other flags

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 Jul  4 03:51:58 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f58324570655fd9bc08a1ba3923782fb27183917">f5832457</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-07-04T10:02:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Fix dependency on ldb_key_value_sub_txn_{mdb_}test

ldb_tdb can be a module, but the test is actually looking for ltdb_err_map() in
ldb_tdb_err_map.

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/32f2e390e473f01c693d3140d30e20850e87b4c0">32f2e390</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-04T10:02:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Add new internal helper function ldb_options_get()

This is needed for modules to access the ldb->options array, as this in in ldb_private.h

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/7d17dbd10eb203bd48183fd3527165f244bbf4c4">7d17dbd1</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-04T10:02:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 samdb: pass ldb options to ldb_module_connect_backend

Pass the ldb options into ldb_module_connect_backend, to ensure ldb
options such as "batch mode" and "transaction index cache size" get passed
through to the backend modules.

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/652258768ae82f62a5b64464ca52252a7796fbdc">65225876</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-04T10:02:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb key_value: Add batch_mode option

When performing a join the overhead of the sub transactions protecting
key value operations becomes significant.  This commit adds a new
"batch_mode" option that disables the sub transactions around key value
operations.

The operation level index cache is also disabled, which means the
overall transaction level index cache can become inconsistent if an
operation fails. To protect against this and other possible on disk
inconsistencies, if any operation fails during a batch_mode
transaction the commit will fail and transaction will be rolled back.

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/f87472c9e3d70f856eff9b0324cb48d9aed580b3">f87472c9</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-04T10:02:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb ldb_key_value: test ldb batch

Test the the ldb "batch_mode" option sets batch mode operation.

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/6226ab3b61091af176abbb40e21deebe2529ceb0">6226ab3b</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-04T10:02:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Rework index_transaction_cache_size to allow caller to specify a larger size

The previous code would override the caller with the DB size
estimate rather than allowing the caller to force the bigger size.

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/86d480ade25953a175b0837667ce5efb8b7e65df">86d480ad</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-04T10:02:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Release ldb 2.0.5

* add ldb_options_get
  add a function to get the options passed in ldb connect.

* add "batch_mode" option.
  This options stops sub transactions being started for key value
  operations.  It is intended to improve the performance in batch
  operations.  As it bypasses the protections on operations if an
  operation fails, the entire transaction will be aborted by a commit.

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/4335f4b4e411d5c58bd0bd873115cb6c670a789c">4335f4b4</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-04T10:02:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">domain join: enable ldb batch mode

Enable ldb "batch_mode" transactions duting a join to improve
performance.

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/7a0a2fab0c98cf3bef9d4ba4308405aa695fedd0">7a0a2fab</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-04T10:02:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">domain join: set ldb "transaction_index_cache_size" option

Set the "transaction_index_cache_size" on a join to improve
performance. These setting reduced a join to a 100k user domain from
105 minutes to 44 minutes.

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/f837cd023cf1b88b1677d80e273557cfdd554e38">f837cd02</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-04T10:02:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: ldb_batch mode and join performance

Document the join performance improvement, and the ldb "batch_mode"
option.

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/ad127bce4d7b11cdf36a6c2606ea468875768f11">ad127bce</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-07-04T10:02:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: add news about Samba AD at 100,000 scale

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/eaebd8759b945e76b7b6d37867d811d3a541650c">eaebd875</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-07-04T11:25:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: add news the sad passing of python2 support

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 Jul  4 11:25:07 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1920ebfda82f12c4d77c21885084c36b40a4404f">1920ebfd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-04T14:03:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbwrap: Rename dbwrap_watched_wakeup()

In the next step I want to make dbwrap_watched_wakeup() publically
available under that canonical name.

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/3b7b979ee987e3561caec35b277abe74c996fa9c">3b7b979e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-04T14:03:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dbwrap: Add publically available dbwrap_watch_wakeup()

Without this, to notify watchers you need to actually store data. This
might be a waste of resources. locking.tdb waiters might actually wait
for leases.tdb or brlock.tdb changes, and locking.tdb records can be
large.

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/aabc97ebc92f6b0977910a3125182e44ac4fdec9">aabc97eb</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-04T14:03:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Simplify share_mode_lock.c

Do explicit refcounting instead of talloc_reference(). A later patch
will introduce a share_mode_do_locked() routine that can be nested
arbitrarily with get_share_mode_lock(). To do sanity checks for proper
nesting, share_mode_do_locked needs to be aware of the reference
counts for "static_share_mode_lock".

Why is share_mode_memcache_delete() gone? In parse_share_modes() we
already move the data out of the cache, share_mode_lock_destructor()
we don't even bother re-adding the share_mode_data to the cache if
it does not have share entries, because the next opener will invent a
new seqnum anyway.

Also: Less talloc_reference(), less lines of code.

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/0be81cda56788864f4a08aaa7e99746a6f61b1f1">0be81cda</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-04T14:03:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Introduce static_share_mode_record

The next commit will introduce share_mode_do_locked(), which allocates
a share mode record on the stack. We have to expect nested
get_share_mode_lock() calls from within share_mode_do_locked() for
which we need to share a db_record.

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/44a77e6a5f9cb8c051648eb8f6759aadf3596544">44a77e6a</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-04T14:03:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Add share_mode_do_locked()

This is made for efficient locking of share mode records in
locking.tdb. Right now we already need that when accessing leases.tdb,
and soon it will be required for brlock.tdb as well. It does not give
direct access to the parsed share mode entry, but the record is
available for dbwrap_watched_wakeup() within downgrade_lease().

It can be freely nested with get_share_mode_lock calls, the record
will be shared and proper nesting should be checked.

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/c5659f7b05289d23efe0288702157c6b5442ed3d">c5659f7b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-04T14:03:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Send do_lock() through share_mode_do_locked()

We need to maintain the locking hierarchy locking.tdb->brlock.tdb at
all times. vfs_fruit directly calls do_lock(), which might fail to
maintain the locking hierarchy: In brlock.c we call
contend_level2_oplocks_begin(), which will soon look at the
locking.tdb record.

For the SMB1 and SMB2 callers we already have the share mode locked,
we might want to watch that record for unlocks. For those callers
share_mode_do_locked() is practically free to call, we share the
underlying db_record.

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/01428c55dd0440976a0a319823cf7bc6113f508a">01428c55</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-04T14:03:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Add flags to the beginning of share_mode_data

They are put at the beginning for easy parsing without reading the
full struct. First step to remove the number of read oplocks/leases
from brlock.tdb, where it does not belong.

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/0d4c4e045ec8a56289cb18b229b9a40104113608">0d4c4e04</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-04T14:03:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Add file_has_read_lease()

This caches share_mode_data->flags in the fsp, cache flush happening
on tdb_seqnum 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/ffd098d8bbdcbcc6109aaa939c67bc6e9b306e42">ffd098d8</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-04T14:03:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Set SHARE_MODE_HAS_READ_LEASE when granting a read lease

Lazy update of the flag: Whenever we add a read lease, we have to set
the flag. Nobody except contend_level2_oplocks_begin will remove that
flag again, as this would mean a full lease traverse when removing
one. And contend_level2_oplocks_begin traverses the leases anyway

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/0e34096caea40ef2d17aa229b5344818aa5a4baf">0e34096c</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-04T14:03:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Set SHARE_MODE_HAS_READ_LEASE when downgrading an oplock

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/2d7efba0d9dd212df127ffd697ff72fb30b72861">2d7efba0</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-04T14:03:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Use share_mode's flags in contend_level2_oplocks

Here we traverse the oplocks and leases when breaking read leases. We
find out here whether any of those are still left.

As it's the receivers of the messages that downgrade the database
entries, we might do that more than once. Possible future
optimization?

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/8bae5d82e2a101d37f5572e1d174b37816576840">8bae5d82</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-04T14:03:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Don't store num_read_oplocks in brlock.tdb

This removes a kludgy implementation that worked around a locking
hierarchy problem: Setting a byte range lock had to contend the level2
oplocks, which are stored in locking.tdb/leases.tdb. We could not
access locking.tdb in the brlock.tdb code, as brlock.tdb might have
been locked first without locking.tdb, violating the locking hierarchy
locking.tdb->brlock.tdb. Now that that problem is gone (see the commit
wrapping do_lock() in share_mode_do_locked()), we can remove this
kludge.

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/173923c41aee6533532024ece8cd0fb62b06d316">173923c4</a></strong>
<div>
<span>by Bjoern Jacke</span>
<i>at 2019-07-04T14:03:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_nfs4acl_xattr: fix setting of permissions via NFS

via NFS root may not be priviledged user, so we should not call become_root()
here. The normal NFS4 permissions already handle permission modify right, no
need to do more magic things for Samba here.

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/522fe23612487995039cc1379caacdec001a5332">522fe236</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-07-04T14:03:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 add range checks to reply_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/4a9d46dafb32b02099e0d790c583876f412ac1c1">4a9d46da</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-07-04T15:40:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: SMB1 add range checks to reply_fclose().

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  4 15:40:31 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b3a2508f2ad79e2f1007464da7dbe918933038a0">b3a2508f</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-07-04T22:49:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/libnet: Fix joining a Windows pre-2008R2 DC

>From v4.8 onwards, Samba may not be able join a DC older than 2008R2
because the Windows DC doesn't support GET_TGT.

If the dsdb repl_md code can't resolve a link target it returns an
error, and the calling code (e.g. drs_util.py) should retry with
GET_TGT. However, GET_TGT is only supported on Windows 2008R2 and later,
so if you try to join an earlier Windows DC, the join will throw an
error that you can't work-around.

We can avoid this problem by setting the same DSDB flag that GET_TGT
sets to indicate that the link targets are as up-to-date as possible,
and so there's no point retrying. Missing targets are still logged, so
this at least allows the admin to fix up any problems after the join
completed.

I've only done this for the join case (problems during periodic
replication are probably still worth escalating to an error).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14021
RN: From Samba v4.8 onwards, joining a Windows 2003 or 2008 (non-R2) AD
DC may not have worked. When this problem occurred, the following
message would be displayed:
 'Failed to commit objects: DOS code 0x000021bf'
This particular issue has now been resolved. Note that there may still
be other potential problems that occur when joining an older Windows DC.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/eb8f74f26d5d8facaaa13419e852aac727ba41a8">eb8f74f2</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-07-05T00:05:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: entries for gnutls and samba-tool

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): Fri Jul  5 00:05:15 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/538ffe1960a8640875759ca194cc4cc9fae2c5bc">538ffe19</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-05T01:05:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: ensure that most python scripts have usage text

When a script is run with the wrong arguments, it should at least say
something like this:

    Usage: samba-foo [OPTIONS]

For many samba scripts, especially without a server environment, having
no arguments is the wrong arguments.

Here we look for every executable file with '#![...]python[3]' on the
first line, and exclude certain files and directories that have excuses
to fail the test. For example, many selftest scripts are stream-oriented
and will hang forever waiting for stdin, which is not an error. Some
test modules are designed so they can be optionally run from the command
line, but this option is typically only used by the developer who is
writing them.

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/77d69ab8207aeab03c428e07a2d131ce01ddb31a">77d69ab8</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-05T01:05:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dns_hub: print usage with too few args

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/96148436b7f8633da920ef5b52d8ad3aa735a9cc">96148436</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-05T01:05:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">script/compare_cc_results: print usage on too few args

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/e5e4c113713ffbc88836db6cea0245a32151748f">e5e4c113</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-05T01:05:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/scripting/get-descriptors: print usage with insufficient arguments

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/ffdb0ca8b099ce638854dbb974093b2021f7ed50">ffdb0ca8</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-05T01:05:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/scripting/mymachinepw: print usage with bad arguments

Also, use sys.exit() function, not exit(), because sys.exit() reliably
exists.

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/c78eef6810ae5a7a48f126ec9ede2b76a77fdb0c">c78eef68</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-05T01:05:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/scripting/demodirsync: print usage if no host named

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/075bf608369896e1f1475a6ecb99118637c73698">075bf608</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-05T01:05:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/scripting/samba_dnsupdate: print usage with no arguments

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/854e554c99064b111bf60ce036c223a7394340e9">854e554c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-05T01:05:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/usage: python scripts --help should be helpful

We want to be sure it says *something* and returns success.

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/089034628b98554298af799722ecf1be09bfa427">08903462</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-05T01:05:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/usage: generalise to cover non-python scripts

It is not as simple as running everything executable, because for example
.so library files are marked as executable.

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/027d35bda1e77c89d3ea03a768ff4cf60717de90">027d35bd</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-05T01:05:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">python/tests: helper function for checking --help consistency

Check that --help output doesn't contradict itself by assigning the same
option string to different meanings (which *does* happen in the ldb tools).

This will be used in the samba-tool help tests and the usage 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/272a6c3c305a446ac5c40b5844d9169e15b85971">272a6c3c</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-05T01:05:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/samba-tool: test --help consistency

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/9fc8e2a6d0c037505edde1395c0f8651663e1acd">9fc8e2a6</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-05T01:05:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/usage: test for --help consistency

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/3822a41f74c037e79ca3ed308983c68960bc4ddd">3822a41f</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-05T01:05:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/scripting/autoidl: remove it

What does it even do? Possibly nothing, not least because nobody ever
runs it.

It was introduced as source4/scripting/bin/autoidl.py in
a2446e5f8550582c0d4353bb85874dea17cf1d98 ("initial work for script
that uses probing to figure out IDL"). Since then it has only had
superficial patches, generally aimed at 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/c6bb0497a0237bcc062b24abecc25c69fca6face">c6bb0497</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-05T01:05:20Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture: remove autoidl

This has been turned off by default for 10 years
(since 26e114b83ce1de7515bfbf365), and is only interesting for
nostalgia purposes.

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/31345376406562e375516fdad5a1bcabf6b8dc27">31345376</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-07-05T01:05:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/scripting/smbstatus: begone

Untested and unused.

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/5f7d82a88991d93d32f9cd1bbbfa3c3629e471c7">5f7d82a8</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T01:05:21Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util: Avoid localised underflow

Avoid parenthesising an unsigned subtraction that can be negative and,
therefore, underflow.  There is no need for the parentheses and
removing them results in an expression that is evaluated left-to-right
and can not underflow.

It isn't clear that the underflow matters.  lp <= ls, so if (li - lp)
underflows then ls + (li - lp) will always overflow.  This should
produce the correct answer.  However, depending on this seems wrong.

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/9d90ac352d409c6cda7598a4cfbb79c2b9f75754">9d90ac35</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T02:24:52Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">util: Fix off-by-one error in message about overflow

len includes space for the NUL character, so the calculation needs to
take the NUL character into account.

While touching this, drop unnecessary casts by updating format string
and update to modern debug macro.

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): Fri Jul  5 02:24:52 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/17d267e9578299b9ccfd0227e522b79152b00a27">17d267e9</a></strong>
<div>
<span>by Karl Lenz</span>
<i>at 2019-07-05T03:33:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winexe: Fix translation of the winexesvc binaries to C

Two small Windows binaries that winexe uses to execute commands on a
remote system, winexesvc32.exe and winexesvc64.exe, are compiled then
translated into a C byte array as hex so that they can be embedded into
the winexe binary. Although the winexesvc binaries were built properly,
the Python method that does the translation to C tried to open them in
text mode, which would have worked in Python 2 before the concept of
bytearrays was introduced, but instead raises an exception in Python 3.
The exception was unfortunately suppressed, so the build didn't stop,
and the winexe binary that was produced was effectively useless because
it didn't contain either winexesvc binary as expected. After winexe
successfully authenticated with a Windows host, it showed the error
message below rather than executing the given command on the remote
system.

$ ./bin/winexe -U karl%password1 -d 2 //192.168.56.3 cmd
winexe_svc_install: dcerpc_svcctl_StartServiceW failed: WERR_BAD_EXE_FORMAT
main: winexe_svc_install failed: NT_STATUS_BAD_INITIAL_PC

This commit fixes that problem by opening the winexesvc binaries in
binary mode rather than text mode when the winexe build script reads
them to translate them to C. Furthermore it adds an additional
sanity check that will cause the winexesvc binary generator commands to
fail if the winexesvc binaries cannot be opened or read correctly to
guarantee that the build does not silently "succeed" if something like
this ever happens again.

Signed-off-by: Karl Lenz <xorangekiller@gmail.com>
Reviewed-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/f31333d40e6fa38daa32a3ebb32d5a317c06fc62">f31333d4</a></strong>
<div>
<span>by Karl Lenz</span>
<i>at 2019-07-05T03:33:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4 heimdal_build: Fix static heimdal builds with replacement closefrom()

If Samba was configured with "--nonshared-binary=winexe" to build
winexe as a static binary, and the replacement closefrom() function
was used (which is default on most GNU/Linux systems without the libbsd
development package installed), then winexe would fail to link with the
error message shown below.

[2631/3059] Linking bin/default/examples/winexe/winexe
source4/heimdal/lib/roken/closefrom.c.1.o: In function `rep_closefrom':
closefrom.c:(.text+0x0): multiple definition of `rep_closefrom'
lib/replace/closefrom.c.2.o:closefrom.c:(.text+0x292): first defined here
collect2: error: ld returned 1 exit status

The real problem here was not with the winexe build itself - that was
merely the application that I was attempting to build statically when I
encountered it. As Andrew Bartlett very helpfully pointed out to me, this
regression was introduced when "lib/replace/closefrom.c" was added in
commit 55529d0f and, more to the point, when the heimdal build started
using it in commit 3a7ebd0e. From that point on, any time that Samba's
embedded copy of heimdal was statically linked into an application, it
would fail to link because heimdal's own rep_closefrom() function in its
"roken" library would conflict with the rep_closefrom() function in the
"replace" library used elsewhere in Samba - a library which the "roken"
library itself depends on. To further compound the problem, heimdal's
own "roken" library is also compiled for the host (a necessary
distinction for cross-compiled builds) and linked into a small number of
utility applications used during the heimdal build. However, they can't
link directly against the "replace" library, unlike the main "roken"
library build which carries that dependency, because the "replace"
library is _not_ built for the host.

I solved this problem by eliminating heimdal's version of rep_closefrom()
and making it use the one from "lib/replace" everywhere. That wasn't a
problem for the main heimdal library that is built for the target because
it was already linking in "lib/replace" (that's what caused this problem
in the first place!), but to solve the aforementioned issue with
"lib/replace" not being built for the host, I added
"lib/replace/closefrom.c" to the list of "source4/heimdal/lib/roken"
sources to be built for the host to satisfy heimdal's host utilities.
Everyone wins, I think.

Signed-off-by: Karl Lenz <xorangekiller@gmail.com>
Reviewed-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/7425a8fbbe358c389f863a7295a95dff023f52dc">7425a8fb</a></strong>
<div>
<span>by Karl Lenz</span>
<i>at 2019-07-05T03:33:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winexe: Add support for connecting to a host on an alternate port

This commit allows an optional port number to be specified after the
hostname on the winexe command line. If no port is given, it defaults
to port 445, just like it used before. Although this is probably a
pretty uncommon use-case, it allows port-forwarding the service through
a firewall to an alternate port, which can occassionally be helpful.

$ ./bin/winexe -U karl%password1 //127.0.0.1:5445 cmd.exe
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>

Signed-off-by: Karl Lenz <xorangekiller@gmail.com>
Reviewed-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/aa199696b9cf16660a7f8f2bcc2940153a855c41">aa199696</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-07-05T03:33:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbtorture: Add smb2.ioctl.sparse_set_sparse

This allows for manual testing of changing the sparse setting on a file
and verifying the flag in the file system.

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/e1bb3d34d900730c71ceaf2a1fba23823342f94e">e1bb3d34</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-07-05T03:33:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbtorture: Add smb2.ioctl.zero_data

Allow to manually issue the FSCTL_ZERO_DATA call and verify the
state of the file in the file system.

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/b1fc6e435b455533edecc0985dbf882d974e7acd">b1fc6e43</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-07-05T05:02:12Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:tests: Add test for manual smbtorture zero-data

Ensure that these tests keep working.

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): Fri Jul  5 05:02:12 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/90de5e0594b9180226b9a13293afe31f18576b3d">90de5e05</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Drop onnode -o option

I don't think anyone uses this and it causes complications.

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/f3feb4df3a90bd40998fa60887a56961954f6423">f3feb4df</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Drop no-op stdout-filter from non-parallel case

This filter no longer does anything useful in this context.  By
default it adds a pipeline with trailing cat process.  In many
contexts, stdout of the process being run is still open so the cat
process will stay around and will stop onnode from exiting.

The filters should all go away because they are simply an example of
code that is trying to be too clever while causing unfortunate corner
cases.

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/6478d65a2f1bc79040753f4dae952c638fcb64e2">6478d65a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Drop separate parallel+verbose stdout/stderr filtering

This has been broken for 10 years since commit
9616959bd6938e4c5c3713fe986c1e17cbdc574c, which introduced the
separate filtering.  This commit was missing a redirect of the output
of stderr_filter() to stderr.

Since nobody depends on the separate filtering (i.e. nobody reported a
bug), just return to combining stdout and stderr, and filtering them
together.

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/655634790139b08a5093dc3851dee208d13f7294">65563479</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Make old list_of_nodes() function static

The next commit will change the type of this function, which is only
used in this file.  So, make it static to isolate the 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/3ccce53e3e6ebb5f7f628bd1b18b7152f548dd27">3ccce53e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Make type of list_of_nodes() consistent with callers

Instead of taking exclude_pnn as a parameter, calculate it from an
include_self_parameter, which is passed through from the 2 calling
functions.

While doing this, fix a signed/unsigned comparison issue by declaring
the new exclude_pnn local variable as an unsigned type.

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/1e47a1b3f6ab1e2ad9d86dfb28c3e086c99a97e5">1e47a1b3</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Fix signed/unsigned comparisons by declaring as unsigned

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/76e930d784e3ea4d8f2076ffc0035a12500db260">76e930d7</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Fix signed/unsigned comparisons by casting

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/c39441f62d9a05d2a329dd43a17e51374293de90">c39441f6</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Fix signed/unsigned comparisons by using constant

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/9c75ad68189b258de1224f99b4f1a07409ec4084">9c75ad68</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Drop unused values assigned to variable

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/4c24d434b9610e2865f8288e8046588cd8c551e6">4c24d434</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-cluster-mutex: Ensure that the configured command is not empty

... and does not just contain whitespace.

Otherwise NULL can be passed as the first argument to execv().

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/914e6b210fb213306a9b7222f4bb01e2cf2be29b">914e6b21</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Fix signed/unsigned comparison by declaring as unsigned

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/6053bf4bab4cfc01129c52352fd23cea501ab98c">6053bf4b</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Declare variable for return value of write(2) as ssize_t

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/f749356d9494ecbc2d6f50dd5706b29c00f67d7a">f749356d</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Add a local variable for repeated calculation

This improves readability.  Also, the asserts involving this
expression get more complicated in the next commit, so this will keep
those asserts within a single line.

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/c172e0ef2e70a80ee362c760a8f644e6d62c2d8e">c172e0ef</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Fix signed/unsigned comparisons by casting

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/68a4588a6fb4c77c6dd34f5d98643525e169c32c">68a4588a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Fix signed/unsigned comparisons by declaring as unsigned

Change declarations of variable and parameters, usually loop variables
and limits, from int to unsigned int, size_t or uint32_t.

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/5d8531b05c4112cd5d4f7d192d591fdb102241d6">5d8531b0</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Fix signed/unsigned comparisons by casting

These are all cases comparing a number of bytes written (int or
ssize_t) with a size_t, so casting to size_t is 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/d855dc2a5faff1eafec287fa8748000d21949684">d855dc2a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Don't compare an unsigned value with -1

The dummy reader should never be called, so contains an assert on the
buffer length that should always trigger.  Just abort() instead.

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/75747c6106fa2a966686f7a523cdb9d28708b870">75747c61</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Avoid warning about NULL dereference

Static analysis finds that earlier in the call path, ctdb_string_len()
checks for NULL, so complains that a NULL value can be passed to
strlen() here.  Avoid this by adding an assert().

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/888ecc74ed1a6617b8a0a4450b671cf5f6d88f8b">888ecc74</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tcp: Fix signed/unsigned comparisons by declaring as unsigned

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/010c1d77cd7e192b1fff39b7b91fccbdbbf4a786">010c1d77</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Replace function ctdb_ip_to_nodeid() with ctdb_ip_to_pnn()

Node ID is a poorly defined concept, indicating the slot in the node
map where the IP address was found.  This signed value also ends up
compared to num_nodes, which is unsigned, producing unwanted warnings.

Just return the PNN because this what both callers really want.

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/75a808fd86a58371b465332f7c9d47d2dfbcbc08">75a808fd</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Don't index by PNN when initialising node flags

Indexing by PNN is wrong.

This also removes a signed/unsigned comparison because the PNN is not
compared to -1 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/4f84aafa61cad21ba77b86f3341c09e0314e8b47">4f84aafa</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Do not ignore return value of ctdb_g_lock_pull()

clang reports:

  ctdb/protocol/protocol_types.c:5191:3: warning: Value stored to 'ret' is never read

Found by csbuild.

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/248d585ab420ef837001fa9a882101b209bae7d3">248d585a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Fix signed/unsigned comparison by declaring as unsigned

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/3f388076203c5d3c77ebb66e10d4c2bd6b7cedc7">3f388076</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Variable for return value of strlcpy() should be size_t

This avoids an unnecessary signed/unsigned comparison issue.

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/2a93385997912c89fa6b547f8c32fa67283403cb">2a933859</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-protocol: Avoid signed/unsigned comparison by casting

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/79a7cc3fb976c88a57099fdae239ddd217bcc968">79a7cc3f</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Drop unused function ctdb_vfork_with_logging()

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/0ab5d5cece2b7d22cabfffd090cf3c675dca4af5">0ab5d5ce</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Fix signed/unsigned comparisons by casting

One case needs an extra variable declared.

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/271d96e4fcae7228e460cba558041f4656588f22">271d96e4</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Fix error handling

According to the documentation, sendto() should either send the packet
as given or return with an error.  However, given that it can return
the number of bytes sent, treat the theoretical error of a short
packet send separately, since errno would not be set in this case.

Similarly, treat a short packet recv() separately from an error where
errno is set.

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/d424d2197f1f873fded84ed650295d0b8c64960a">d424d219</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Fix signed/unsigned comparisons by declaring as unsigned

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/e7b586f711f739cf50e9a623c683b23856266eed">e7b586f7</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-event: Assign missing return value

Otherwise ret == 0 is returned from successful call to
ctdb_int32_pull().

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/5527f3922fd680a9bd8330434a0c4221f35e51aa">5527f392</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-database: Fix signed/unsigned comparison by casting

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/ba95cb2ae1564edc27541c2a87e35f338e4653f7">ba95cb2a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-event: Fix signed/unsigned comparisons by casting

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/e5a946cba5c309a6bdd1109685866d4a1c6841be">e5a946cb</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-common: Mark ctdb_fatal() and ctdb_die() as _NORETURN_

This avoids static analysers continuing analysis after calls to these
functions and producing incorrect warnings.

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/755a9e654feaa7265975a1f02ea2f59fd30d09a9">755a9e65</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Don't check if lock_ctx->ctdb_db is NULL

This can never be NULL.  It could probably be NULL in the past when
"all database" locks existed.

There are paths where is is checked for NULL and then later
dereferenced, causing static analysers to produce spurious warnings.

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/e0b33c5549ffb1a06270af5e2b4a199496add90d">e0b33c55</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T05:03:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-build: Tweak hacking of rpcgen output

csbuild doesn't like the hack where variable buf is initialised to
itself to avoid an unused variable warning.  buf is unused so remove
it instead.

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/a0561c7ed44afcc978f940a7936a210f37baf273">a0561c7e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T06:19:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Rename local-daemon.sh dump-logs to print-log

This makes it consistent with print-socket.

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  5 06:19:11 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c5803507df7def388edcd5b6cbfee30cd217b536">c5803507</a></strong>
<div>
<span>by Rafael David Tinoco</span>
<i>at 2019-07-05T06:49:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-config: depend on /etc/ctdb/nodes file

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

CTDB should start as a disabled unit (systemd) in most of the
distributions and, when trying to enable it for the first time, user
should get an unconfigured, or similar, error.

Depending on /etc/ctdb/nodes file will give a clear direction to final
user on what is needed in order to get cluster up and running. It should
work like previous ENABLED=NO variables in SySV like initialization
scripts.

Signed-off-by: Rafael David Tinoco <rafaeldtinoco@ubuntu.com>
Reviewed-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/753874b38fddc05357635e13c8ce26d319b0d77f">753874b3</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T06:49:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: CID 1449530 - Negative loop bound

Regression introduced by commit
2558f96da1f9be8034f26736c8050bb38a1f82a8.  count should be signed
because list_of_connected_nodes() returns -1 on failure.  Variable i
is used in both signed and unsigned contexts, so add new signed
variable j for use in signed 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/cd0df26bdc71175b69e11acd5750721ba6cf67e8">cd0df26b</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-07-05T08:05:00Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add CTDB updates for 4.11

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

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Jul  5 08:05:00 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/37b3c6375b43cdbb5d06d194a88835c5637d66a0">37b3c637</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-07-07T21:32:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: fix durable open/alloc-size test

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d6b8cbc8f7078b1ee5574204f2cac18d20a206e6">d6b8cbc8</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-07-07T21:32:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">param: change default of "allocation roundup size" to 0

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0751047f559fb8b30d671bcbc4bc8481192db114">0751047f</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-07-07T23:21:55Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: deprecate allocation roundup size parameter

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>

Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Sun Jul  7 23:21:55 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f3e4a0d904a8d2269b07cf9288e0f4ae12ed2b71">f3e4a0d9</a></strong>
<div>
<span>by Björn Jacke</span>
<i>at 2019-07-08T09:29:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: changed default/deprecation of allocation roundup size

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 Jul  8 09:29:33 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d759f4aa4b8e660e0745cfed30eb291d9484291d">d759f4aa</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-07-08T09:30:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/util: clang: Fix 'Null pointer passed as an argument'

Fixes lib/util/iov_buf.c:50:4: warning: Null pointer passed as an argument to a 'nonnull' parameter <--[clang]
                        memcpy(p, iov[i].iov_base, thislen);
                        ^
1 warning generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/17ce70d6d9cb40afc38e41af3f0fd9ed052fb8a2">17ce70d6</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-07-08T09:30:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib/param: clang: Fix Value stored is never read

Fixes:
lib/param/loadparm.c:2164:2: warning: Value stored to 'bRetval' is never read <--[clang]
        bRetval = false;
        ^         ~~~~~
1 warning generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/96e00a525876ba13250c6428c014d58464fcf5f3">96e00a52</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-07-08T09:30:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/lib: Fix Access to field results in dereference of NULL pointer

Fixes:

ource3/lib/messages_dgm.c:176:29: warning: Access to field 'queue' results in a dereference of a null pointer (loaded from variable 'out') <--[clang]
        qlen = tevent_queue_length(out->queue);

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/109b438181563ed0074780df59a77bcdd7793e9d">109b4381</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-07-08T09:30:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/dsdb/schema: Fix Access to field results in deference of null pointer

Fixes:

source4/dsdb/schema/schema_info_attr.c:207:38: warning: Access to field 'revision' results in a dereference of a null pointer (loaded from variable 'schema_info') <--[clang]
        if (schema->schema_info->revision > schema_info->revision) {
                                            ^~~~~~~~~~~
1 warning generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/50a22849ce11aebead43e39ea42541afdd987408">50a22849</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-07-08T09:30:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/dsdb/schema: Fix 'Value stored to 'ret' is never read'

Fixes:

source4/dsdb/schema/schema_set.c:274:3: warning: Value stored to 'ret' is never read <--[clang]
                ret = LDB_SUCCESS;
                ^     ~~~~~~~~~~~
source4/dsdb/schema/schema_set.c:327:3: warning: Value stored to 'ret' is never read <--[clang]
                ret = LDB_SUCCESS;
                ^     ~~~~~~~~~~~

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d54f9aaf81e03d6a7d0e270a88c744f51af507f7">d54f9aaf</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-07-08T09:30:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/dsdb/schema: clang: Fix Array access results in null pointer deref

Fixes:
source4/dsdb/schema/schema_query.c:223:15: warning: Array access (from variable 'attr_list') results in a null pointer dereference <--[clang]
        attr_list[i] = NULL;
        ~~~~~~~~~    ^
1 warning generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6b96ae8316b748372819b0eabaee5c5e2a997d69">6b96ae83</a></strong>
<div>
<span>by Noel Power</span>
<i>at 2019-07-08T11:04:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth/kerberos: clang: Fix same instances of 'Value stored is never read'

Fixes:

auth/kerberos/gssapi_pac.c:136:3: warning: Value stored to 'gss_maj' is never read <--[clang]
                gss_maj = gss_release_buffer(&gss_min, &pac_buffer);
                ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
auth/kerberos/gssapi_pac.c:137:3: warning: Value stored to 'gss_maj' is never read <--[clang]
                gss_maj = gss_release_buffer(&gss_min, &pac_display_buffer);
                ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
auth/kerberos/gssapi_pac.c:265:4: warning: Value stored to 'gss_maj' is never read <--[clang]
                        gss_maj = gss_release_buffer_set(&gss_min, &set);
                        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
auth/kerberos/gssapi_pac.c:273:4: warning: Value stored to 'gss_maj' is never read <--[clang]
                        gss_maj = gss_release_buffer_set(&gss_min, &set);
                        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
auth/kerberos/gssapi_pac.c:279:4: warning: Value stored to 'gss_maj' is never read <--[clang]
                        gss_maj = gss_release_buffer_set(&gss_min, &set);
                        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
auth/kerberos/gssapi_pac.c:285:5: warning: Value stored to 'gss_maj' is never read <--[clang]
                                gss_maj = gss_release_buffer_set(&gss_min, &set);
                                ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
auth/kerberos/gssapi_pac.c:291:2: warning: Value stored to 'gss_maj' is never read <--[clang]
        gss_maj = gss_release_buffer_set(&gss_min, &set);
        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 warnings generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Mon Jul  8 11:04:15 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9f0820f9ef2ba1cf5ab8f72a5826689f9453bc69">9f0820f9</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-08T16:22:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Make find_share_mode_entry() static to locking.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/81011f5ea1f411ddfae6af527230d480dc2bbbb4">81011f5e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-08T16:22:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Make get_relative_fid_filename() static to open.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/cb2e6226fe666c9dc0b1e36411341db729b19d02">cb2e6226</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-08T16:22:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Simplify smbd_smb2_setinfo_send()

Avoid an "else" branch

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/aab429c1d974a9526f5379ba62b38e8d51a11eb6">aab429c1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-08T16:22:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Slightly simplify fsp_lease_update()

We have already dereferenced fsp->lease

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/9c81d7ec8d0c724dbb714b05ae73175276e67473">9c81d7ec</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-08T16:22:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: Fix a typo

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/b16f7113ebfe324b847f136912d24a25b983aae5">b16f7113</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-08T16:22:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Slightly simplify open_mode_check()

If there are no share modes, we'll just not enter the loop.

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/32766db210426d92948a7d81d923f9d669ff3ed6">32766db2</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-07-08T16:22:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Move fcb_or_dos_open() out of open_file_ntcreate()

This is SMB1-only and pre-ntcreate with only 3 callers that look at
NTCREATEX_OPTIONS_PRIVATE_DENY_[DOS|FCB]. It is a bit less efficient
if it kicks in (we have to recreate the fsp), but SMB1 is less and
less popular, and this particular share mode combination from the
open&x family of calls might not be worth optimizing for.

This adds smb1_utils.[ch] as a kitchen sink for functions that can go
away once we drop SMB1.

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/c163ef20f887d6f7a1f3b5ef79adfccbca85cf57">c163ef20</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-07-08T16:22:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: explicitly set "server min protocol = LANMAN1"

This is the current default and what 'make test' assumes currently.

The next commit will change the default to disable SMB1.

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/840b8501b43695802d78726409b69afb4976166a">840b8501</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-07-08T16:22:37Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: change "server min protocol" to SMB2_02

SMB2_02 was available with Windows Vista.
It's time to turn SMB1 off by default.

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/d216db5cd5411d1a4a62ce0b7f43b685f9cd107f">d216db5c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-07-08T16:22:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: explicitly set "client min protocol = CORE"

This is the current default and what 'make test' assumes currently.

The next commit will change the default to disable SMB1.

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/3264b1f317d6c603cc72eb2a150fe244c47aa3ac">3264b1f3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-07-08T16:22:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs-xml: change "client min protocol" to SMB2_02

It's time to disable SMB1 by default...

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/ad385bf2ed9a4456def224d1fc74bdd9331f513d">ad385bf2</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-07-08T16:22:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW.txt: disable SMB1 by default!

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/5806affefdbec1859bb6b263b95778ad87c8c59c">5806affe</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-08T16:22:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: explicitly set "mangled names = yes"

This is the current default and what 'make test' assumes currently.

The next commit will change the default to "illegal".

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/bf5d5fd17c0fa577ffa9750584873ffd8ccfb1b0">bf5d5fd1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-08T16:22:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs/xml: change default for "mangled names" to "illegal"

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/59cca4c5d699be80b4ed22b40d8914787415c507">59cca4c5</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-07-08T17:56:50Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW.txt: change "mangled names" default to "illegal"

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): Mon Jul  8 17:56:50 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/063809bc9609fa5d47e548445d3af1495285624e">063809bc</a></strong>
<div>
<span>by Gary Lockyer</span>
<i>at 2019-07-09T03:03:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">dsdb repl_meta_data: Don't print ldif on error

Don't call ldb_ldif_message_redacted_string when linked_attr_modify
fails.  When joining a large domain this takes way to much time, in excess of 3
hours for a join on a 200k domain.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>

Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Tue Jul  9 03:03:25 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5130dfe0ac39dc960f737aabfb033b35c1078975">5130dfe0</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-07-09T07:06:04Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add link for >= and <= indexing

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>

Autobuild-User(master): Garming Sam <garming@samba.org>
Autobuild-Date(master): Tue Jul  9 07:06:04 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8460e86e449c0ffa7d0f9c7cae25ea13f1d2a1d1">8460e86e</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-07-09T09:49:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Fix typo.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2da294048fcbddb60f12a3a42c0cf82fdd861b40">2da29404</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-07-09T09:49:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Disable GIT_SNAPSHOT for the 4.11.0rc1 release...

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ac9740a0966c42ce08e92737fa0b8e476cdd490b">ac9740a0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-07-09T10:03:38Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to 4.11.0rc2...

and re-enable GIT_SNAPSHOT.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1c64a2e37b695fcae9f64dea6f82c6fcadc990c4">1c64a2e3</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-07-09T10:22:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: preview release -> release candidate

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6877eabea8f34e49b2ccec3ac1793600b8a0475e">6877eabe</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">partition: correcting lock ordering

A schema reading bug was traced to a lock ordering issue in partition.c.
This patch fixes the problem by:
1. Releasing locks/transactions in the order they were acquired.
2. Always lock/start_trans on metadata.tdb first, before any other
databases, and release it last, after all others. This is so that we are
never exposed to MDB's lock semantics, which we don't support.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 7f4bc0ea81f2b34607849911f1271b030be8ca02)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/29fa37b717cc83080ed9eb50345370b8f40d7ce7">29fa37b7</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">partition: reversing partition unlocking

Unlock partition databases in the reverse order from which they were
acquired. This is separated from the previous commit for future
bisecting purposes, since the last commit was made to fix specific CI
failures, while this one is a speculative fix made based on code
inspection.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 6c691bf84e41b1edd3228c219f7a94e108795d28)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f2c40f4d41a4729bf31534ce34261d70c5dd0071">f2c40f4d</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gp_inf: Read/write files with a UTF-16LE BOM in GptTmpl.inf

Regression caused by 16596842a62bec0a9d974c48d64000e3c079254e

[MS-GPSB] 2.2 Message Syntax says that you have to write a BOM which I
didn't do up until this patch. UTF-16 as input encoding was marked much
higher up in the inheritance tree, which got overriden with the Python 3
fixes. I've now marked the encoding much more obviously for this file.

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

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Fri Jul 19 02:20:47 UTC 2019 on sn-devel-184

(cherry picked from commit 0bcfc550b1a902e3a6a766b06603ac9285d0ff63)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/98051741ea5069b0e6fb7274cd1959460c7f95a1">98051741</a></strong>
<div>
<span>by David Disseldorp</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: add CephFS Snapshot Integration section

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

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/122d7afb50e7d9b67954979b38d4f1b168dfde97">122d7afb</a></strong>
<div>
<span>by Aurelien Aptel</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: document new debug encryption smb.conf param

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

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b95186a533201b8eeeb49a073e65e60a3a57bf75">b95186a5</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldap_server: Regression in 0559430ab6e5c48d6e853fda0d8b63f2e149015c

Extended DN requests seem to have been incorrectly handled.

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

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>

Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Thu Jul 11 05:25:26 UTC 2019 on sn-devel-184

(cherry picked from commit 9f6b87d3f6cc9930d75c1f8d38ad4f5a37da34ab)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/dd36cafdb96e37eb8ee6b55feb3233dc07558b41">dd36cafd</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tldap: Make memcpy of no controls safe

Static analyzers sometimes complain about this case.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14029
(cherry picked from commit e5452a37425484a95f90604a3e58e8a731460793)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/23f8a8ee71b6aa2b88174e5d9556508ae48e733e">23f8a8ee</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tldap: Paged searches fail when they get to the end

The normal case hit the goto label, and should have just returned.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14029
(cherry picked from commit bff466943e01540b4d3210392e0fd5b1c882c0b9)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a1d0ce447e782b88386189969afa46f2dc4ed43a">a1d0ce44</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/tldap: Actually check the paging return code

The test never worked correctly because the code was overlooked. It was
also the case that the connection was never authenticated, and so an
LDAP BIND call has now been added.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14029
(cherry picked from commit 85a7b594c56f7729bdfa194fee9299a08f6b4785)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/636f7dedd40d1f357d0b0799496fabeb82e73450">636f7ded</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/ldap: Use TLDAP to check the extended DN return

Tests commit 9f6b87d3f6cc9930d75c1f8d38ad4f5a37da34ab

To run: make test TESTS="samba3.smbtorture_s3.plain.TLDAP"

Reverting the above commit makes this test fail:

'GUID format in control (no hyphens) doesn't match output
tldap_search with extended dn (no val) failed: LDAP error 0 (TLDAP_SUCCESS),
TEST TLDAP FAILED!'

This behaviour couldn't be tested via LDB libraries because they never
deal with the underlying DN string.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14029

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Aug  1 06:20:28 UTC 2019 on sn-devel-184

(adapted from commit 464fef34d1d047d73be347cd446b74e0f5eb2370)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/816053b7bba894aa217a895925621801f0d17681">816053b7</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">join: Use a specific attribute order for the DsAddEntry nTDSDSA object

Joining a Windows domain can throw an error if the HasMasterNCs
attribute occurs before msDS-HasMasterNCs. This patch changes the
attribute order so that msDS-HasMasterNCs is always first.

Previously on python2, the dictionary hash order was arbitrary but
constant. By luck, msDS-HasMasterNCs was always before HasMasterNCs, so
we never noticed any problem. With python3, the dictionary hash order
now changes everytime you run the command, so the order is
unpredictable.

To enforce a order, we can change to use an OrderedDict, which will
return the keys in the order they're added.

I've asked Microsoft to clarify the protocol requirement here WRT
attribute order. However, in the meantime we may as well fix the problem
for users.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14046
RN: When trying to join a Windows domain (with functional level 2008R2)
as an AD domain controller, the 'samba-tool domain join' command could
throw a python exception: 'RuntimeError ("DsAddEntry failed")'. When
this problem occurred, you would also see the message "DsAddEntry failed
with status WERR_ACCESS_DENIED info (8363, 'WERR_DS_NO_CROSSREF_FOR_NC')"
in the command output. This issue has now been resolved. Note that this
problem would only occur on Samba v4.10 when using the Python3 packages.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jul 24 04:18:21 UTC 2019 on sn-devel-184

(cherry picked from commit 256684c7a86301d26d6cf7298fb70e647bf45cf5)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8a09ea3c70f95a577ed42123ebe8d3ab26f2c39d">8a09ea3c</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">netcmd: Allow drs replicate --local to create partitions

Currently, neither the offline (--local) or online (normal replica sync)
methods allow partition creation post-join. This overrides the Python
default to not create the DB, which allows TDB + MDB to work.

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

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit d90ccce59754bc833027c06683afac25f7a8d474)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c7a5694f4f81676f89969464645c9ff021680eb2">c7a5694f</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Add samba_upgradedns to the list of possible cmds

This will be used to test the replication scenario with no DNS partitions

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

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 7d2875bd70cf727730be8dc705bfd01eacaaaa6f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/97a742fe7617d153e38aac5ad6c887c79a6e2447">97a742fe</a></strong>
<div>
<span>by Garming Sam</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests/drs_no_dns: Check dbcheck and ldapcmp pass

When joining a DC without DNS partitions, make sure that the alternate
flow of creating them afterwards results in a database with everything
that is necessary.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14051
RN: Allow a DC join without DNS partitions, to add them later

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 35c54007e6183829d9d85a24b3bd95f469739ad3)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/02352ebbef6dd5669cb28369a3c7e7579c796384">02352ebb</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Make it clearer how the AD database changes will affect users

The release notes currently just have a brief mention of a new LDB pack
format. They don't really cover how this change will actually affect AD
users when upgrading (or more specifically downgrading) with v4.11.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6b4c51d0c94a34ccd310f4c0e470f043407659d6">6b4c51d0</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-08-07T10:57:33Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add link to 2012 Windows compatibility wiki page

There's now a lot more info on the wiki on Windows 2012 compatibility,
and how the schema is just a small part of overall compatibility.
Link to this wiki page from the WHATSNEW, so users can read more about
this.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/62e65124e9d720d5dd27d822e7a25df24ea9f81b">62e65124</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-08-07T12:53:51Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix use-after-free from exit_server_common()

We need to keep the smbXsrv_connection structures around until all
pending requests have had their chance to clean up behind them. If you
look at srv_send_smb(), it's exactly prepared already to just drop
anything on the floor when the transport has been declared dead:

        if (!NT_STATUS_IS_OK(xconn->transport.status)) {
                /*
                 * we're not supposed to do any io
                 */
                return true;
        }

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

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): Thu Aug  1 15:39:13 UTC 2019 on sn-devel-184

(cherry picked from commit c226dc6e8a18343031829c35552e557903593daf)

Autobuild-User(v4-11-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-11-test): Wed Aug  7 12:53:51 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/428ecb5f4e2bb399e90f50dcd56054062bbaf85a">428ecb5f</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-08-19T11:20:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Fix some minor formatting issues.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8dfa63d9f7236a534fb454e50e6dff41d07ae89c">8dfa63d9</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2019-08-19T11:20:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture/rpc/lsa: allow testing different lookup levels

Convert torture/rpc/lsa LookupNames/LookupSids code to allow testing
different LSA_LOOKUP_NAMES_* levels. Keep existing level 1
(LSA_LOOKUP_NAMES_ALL) for the current set of tests.

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

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

(cherry picked from commit 317bc6a7342edfa2c503f5932142bf5883485cc9)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/60d222327343599d13643ee54e041cd65373a7eb">60d22232</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2019-08-19T11:20:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lookup_name: allow own domain lookup when flags == 0

In 2007, we've added support for multiple lookup levels for LSA
LookupNames family of calls. However, forest-wide lookups, as described
in MS-LSAT 2.2.16, never worked because flags passed to lookup_name()
were always set to zero, expecting at least default lookup on a DC to
apply. lookup_name() was instead treating zero flags as 'skip all
checks'.

Allow at least own domain lookup in case domain name is the same.
This should allow FreeIPA DC to respond to LSA LookupNames3 calls from a
trusted AD DC side.

For the reference, below is a request Windows Server 2016 domain
controller sends to FreeIPA domain controller when attempting to look up
a user from a trusted forest root domain that attemps to login to the
domain controller. Notice the level in the lsa_LookupNames3 call and
resulting flags in lookup_name().

[2019/08/03 07:14:24.156065,  1, pid=23639, effective(967001000, 967001000), real(967001000, 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                     : 0000004c-0000-0000-455d-3018575c0000
              num_names                : 0x00000001 (1)
              names: ARRAY(1)
                  names: struct lsa_String
                      length                   : 0x000a (10)
                      size                     : 0x000c (12)
                      string                   : *
                          string                   : 'XS\ab'
              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)
[2019/08/03 07:14:24.156189,  6, pid=23639, effective(967001000, 967001000), real(967001000, 0), class=rpc_srv] ../../source3/rpc_server/rpc_handles.c:339(find_policy_by_hnd_internal)
  Found policy hnd[0] [0000] 00 00 00 00 4C 00 00 00   00 00 00 00 45 5D 30 18   ....L... ....E]0.
  [0010] 57 5C 00 00                                        W\..
[2019/08/03 07:14:24.156228,  4, pid=23639, effective(967001000, 967001000), real(967001000, 0)] ../../source3/smbd/sec_ctx.c:215(push_sec_ctx)
  push_sec_ctx(967001000, 967001000) : sec_ctx_stack_ndx = 2
[2019/08/03 07:14:24.156246,  4, pid=23639, effective(967001000, 967001000), real(967001000, 0)] ../../source3/smbd/uid.c:552(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2019/08/03 07:14:24.156259,  4, pid=23639, effective(967001000, 967001000), real(967001000, 0)] ../../source3/smbd/sec_ctx.c:319(set_sec_ctx_internal)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2019/08/03 07:14:24.156273,  5, pid=23639, effective(967001000, 967001000), real(967001000, 0)] ../../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2019/08/03 07:14:24.156285,  5, pid=23639, effective(967001000, 967001000), real(967001000, 0)] ../../source3/auth/token_util.c:865(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2019/08/03 07:14:24.156311,  5, pid=23639, effective(0, 0), real(0, 0), class=rpc_srv] ../../source3/rpc_server/lsa/srv_lsa_nt.c:244(lookup_lsa_sids)
  lookup_lsa_sids: looking up name XS\ab
[2019/08/03 07:14:24.156327, 10, pid=23639, effective(0, 0), real(0, 0)] ../../source3/passdb/lookup_sid.c:112(lookup_name)
  lookup_name: XS\ab => domain=[XS], name=[ab]
[2019/08/03 07:14:24.156340, 10, pid=23639, effective(0, 0), real(0, 0)] ../../source3/passdb/lookup_sid.c:114(lookup_name)
  lookup_name: flags = 0x00

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

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

(cherry picked from commit 685bb03de6ab733590831d1df4f5fd60d2ac427d)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/38876ad4ef46fc3cf6a12329236918a87c2e2c65">38876ad4</a></strong>
<div>
<span>by Alexander Bokovoy</span>
<i>at 2019-08-19T12:36:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbtorture: extend rpc.lsa to lookup machine over forest-wide LookupNames

Add a simple test to resolve DOMAIN\MACHINE$ via LSA LookupNames3
using LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY2 level. This level would pass
zero lookup flags to lookup_name().

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

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

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Wed Aug 14 13:07:42 UTC 2019 on sn-devel-184

(cherry picked from commit 4d276a93fc624dc04d880f5b4157f272d3555be6)

Autobuild-User(v4-11-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-11-test): Mon Aug 19 12:36:22 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fab20658b9a4d04e2eab89d95b6eb7e04187424d">fab20658</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-08-21T08:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Rename tdb_oob() to tdb_notrans_oob()

tdb_oob() will become a public function encapsulating the pointer
dereferences.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 885ba572efaac6c20388b8e119315c837e8f5236)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6312223d6e609d629dfc7914d62bf80ced584c6b">6312223d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-08-21T08:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Introduce tdb_oob()

Initially just encapsulate the pointer dereferences

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 5a388453e0cb038fa3ed5fb46f972470f7793566)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3325a4d4146d5793b1ae6a7b7a502c52a489ac59">3325a4d4</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-08-21T08:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Speed up tdb_oob()

This is common between both implementations of tdb_oob(). It's
faster if we don't have to dereference function pointers.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 897bffa8166f643eb9063a848bb0c02455663317)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/afd6b77bb849bdcfa30513626c61a7aade7d88e2">afd6b77b</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2019-08-21T08:40:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Inline the common part of tdb_oob

When you set

in tdbtorture.c to make it more similar to locking.tdb use,

bin/tdbtorture -m -n 1 -l 100000 -s

becomes twice as fast. This is a pretty extreme case, but all other
tests that I did improve significantly as well.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit f5735e2c666a5a494131c1d25f7ba5c7fbeae923)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c14427253e8cb4aab951ded527258e6f67fc4452">c1442725</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-08-21T09:57:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tdb: Release tdb 1.4.2

* Build fixes
* Improve the performance by inlining the tdb_oob() checks

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): Tue Aug 20 14:45:41 UTC 2019 on sn-devel-184

(cherry picked from commit 60cba7b3a17104da1543d59609f50c6638880dd1)

Autobuild-User(v4-11-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-11-test): Wed Aug 21 09:57:08 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/521240aa3728d61e8b768c6e5f20146afaf97e2f">521240aa</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-08-21T10:34:58Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Disable GIT_SNAPSHOT for the 4.11.0rc2 release.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ea38596181c8e64f87019d7cfa48b0e0dc225e70">ea385961</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-08-21T10:36:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to 4.11.0rc3...

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/72d79334a53917bd3ee6521bcea2a551906712da">72d79334</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "nfs4acl: Fix owner mapping with ID_TYPE_BOTH"

This reverts commit 5d4f7bfda579cecb123cfb1d7130688f1d1c98b7.

That patch broke the case with ID_TYPE_BOTH where a file is owned by a
group (e.g. using autorid and having a file owned by
BUILTIN\Administrators). In this case, the ACE entry for the group gets
mapped a to a user ACL entry and the group no longer has access (as in
the user's token the group is not mapped to a uid).

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 42bd3a72a2525aa8a918f4bf7067b30ce8e0e197)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9e82d8ae7fa94228656e9a82d5a7d41d5cb0a4e3">9e82d8ae</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Remove fsp from smbacl4_win2nfs4

Only the information whether the ACL is for a file or a directory is
required. Replacing the fsp with a flag is clearer and allows for unit
testing of the mapping functions.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit a06486bb110d04a90b66a0bca4b1b600ef3c0ebf)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/88b0461ca0d120d39e10a8765d2f25429ef2faab">88b0461c</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Start implementing unit test for nfs4_acls

Existing smbtorture tests set and query ACLs through SMB, only working
with the DACLs in the Security Descriptors, but never check the NFSv4
ACL representation. This patch introduces a unit test to verify the
mapping between between Security Descriptors and NFSv4 ACLs. As the
mapping code queries id mappings, the id mapping cache is first primed
with the mappings used by the tests and those mappings are removed again
during teardown.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 8fb906a1860452a320c79ac87917a97303729c19)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/526da3f215a12dca398ad6c615541e5edb359dae">526da3f2</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add tests for mapping of empty ACLs

This is a fairly simple test that ensures the mapping of empty ACLs
(without any ACL entries) is always done the same way.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 00f494b25f4e1d1aecf6191523e30f20a90b1e4f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4120b8dcbe8e8de5cb4db7e09a8916f4ab4d4493">4120b8dc</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add tests for mapping of ACL types

Add testcases for mapping the type field (ALLOW or DENY) between NFSv4
ACLs and security descriptors.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit dd5934797526ebb4c6f3027a809401dad3abf701)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c1eb8ec5c3313cebee8dc4ea3643459ced76a2b1">c1eb8ec5</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add test for flags mapping from NFS4 ACL to DACL

Add testcase for the mapping of inheritance flags when mapping from a
NFSv4 ACL to a DACL in the security descriptor. The mapping is different
between files and directories, as some inheritance flags should never be
present for files. Some defined flags like SUCCESSFUL_ACCESS are also
not mapped at this point, also verify this behavior.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 16eb61a900c6749c2554d635ce2dd903f5de1704)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ec532e3ed55d94252a23639aad6937118fcf68f1">ec532e3e</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add test for flags mapping from DACL to NFS4 ACL

Add testcase for the mapping of inheritance flags from the DACL in the
security descriptor to the NFSv4 ACL. The mapping is different for files
and directories as some inheritance flags should not be present for
files. Also other flags are not mapped at all, verify this behavior.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit bccd2612761e26ee2514935d56927b2c0c000859)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/014ae431e64166de6c97660cfbfc6c90c52b532e">014ae431</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add test for mapping permissions from NFS4 ACL to DACL

Add testcase for mapping permissions from the NFSv4 ACL to DACL in the
security descriptor. The mapping is simple as each permission bit exists
on both sides.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 1767027b44a9e4ebd865022e3f8abb0c72bf15c6)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/368c370dc2f82b03da2e910e1116f5afee064c29">368c370d</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add test for mapping permissions from DACL to NFS4 ACL

Add testcase for mapping the permission flags from the DACL in the
Security Descriptor to a NFSv4 ACL. The mapping is straight-forward as
the same permission bits exist for Security Descriptors and NFSv4 ACLs.
In addition, the code also maps from the generic DACL permissions to a
set of NFSv4 permissions, also verify this mapping.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit e4840e680744bd860beedeb5123704c3c0d6a4d7)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/dda9e525c55c3602060fffc773e1d31b524ba93f">dda9e525</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add test for mapping of special NFS4 ACL entries to DACL entries

In addition to entries for users and groups, NFSv4 ACLs have the concept
of entries for "special" entries. Only the "owner", "group" and
"everyone" entries are currently used in the ACL mapping.

Add a testcase that verifies the mapping from NFSv4 "special" entries to
the DACL in the security descriptor. Verify that only "owner", "group"
and "everyone" are mapped and all other "special" entries are ignored.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit f86148948c7f89307a34e31f6ddede6923149d34)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/aa466a0104d95f0a512c5d740df1c17a06116bd4">aa466a01</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add test for mapping from DACL to special NFS4 ACL entries

Add testcase for mapping from entries in the DACL security descriptor to
"special" entries in the NFSv4 ACL. Verify that the WORLD well-known SID
maps to "everyone" in the NFSv4 ACL. Verify that the "Unix NFS" SID is
ignored, as there is no meaningful mapping for this entry. Verify that
SID entries matching the owner or group are mapped to "special owner"
or "special group", but only if no inheritance flags are used. "special
owner" and "special group" with inheritance flags have the meaning of
CREATOR OWNER and CREATOR GROUP and will be tested in another testcase.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 1f1fa5bde2c76636c1beec39c21067b252ea10be)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4e46dbc7749753b9d6d89ef9aa995cb49e53969a">4e46dbc7</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add test for mapping CREATOR entries to NFS4 ACL entries

Add testcase for mapping DACL entries CREATOR OWNER and CREATOR GROUP
with inheritance flag in the security descriptor to NFSv4 "special
owner" and "special group" entries. This is the correct mapping for
these entries as inheriting "special owner" and "special group" grants
permissions to the actual owner and owning group of the new file or
directory, similar to what CREATOR entries do.

The other side is that CREATOR entries without any inheritance flags do
not make sense, so these are not mapped to NFSv4 ACL entries.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit bfcc19b705f83bdd5cf665fd4daf43e7eae997a9)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/61002278b801a1d5814954c44371e73d0a2eee43">61002278</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add test for mapping from NFS4 to DACL CREATOR entries

Add testcase for mapping from NFSv4 ACL entries for "special owner" and
"special group" to DACL entries in the security descriptor. Each NFSv4
entry here with INHERIT_ONLY maps directly to a CREATOR OWNER or CREATOR
GROUP entry in the DACL. Entries without INHERIT_ONLY map to the CREATOR
entry and an additional explicit entry granting permission on the
current object.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 3c9cda0f6d80258ef0c2a80d6e24dfb650fea1b1)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/31d60e8cf2c27e7c05f18b087db5c5aa48075b79">31d60e8c</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add test for 'map full control' option

"map full control" when enabled adds the DELETE_CHILD permission, when
all other permissions are present. This allows Windows clients to
display the "FULL CONTROL" permissions.

Add a testcase that verifies this mapping when mapping from NFSv4 ACL to
the DACL in the security descriptor. Also verify that switching the
option off disables this behavior.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 30677df4dac4ebfcf4e3198db33f14be37948197)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/490d13557a4c2bd7046c85080930c0fc9d0d7ee0">490d1355</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add test for acedup settings

The NFSv4 ACL mapping code has a setting nfs4:acedup. Depending on the
setting, when mapping from DACLs to NFSv4 ACLs, duplicate ACL entries
are either merged, ignored or rejected. Add a testcase that has
duplicate ACL entries and verify the expected behavior for all possible
settings of the nfs4:acedup option.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 9671bf2b9f055012057620207624aa2f4ea6833e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4022997f0305ff39db9af2ecb24bd1a2aa9ee0a6">4022997f</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add test for matching DACL entries for acedup

The NFSv4 mapping code has a config option nfs4:acedup for the mapping
path from DACLs to NFSv4 ACLs. Part of this codepath is detecting
duplicate ACL entries. Add a testcase with different ACL entries and
verify that only exactly matching entries are detected as duplicates and
treated accordingly.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit f55cdf42a14f314102f2e13cb06d4db48c08ad4b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d3a9648eb63a0624ba2c500ab0a1c477140912ec">d3a9648e</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add test for mapping from DACL to NFS4 ACL with config special

The mapping code between NFSv4 ACLs and security descriptors still has
the deprecated config setting "nfs4:mode = special". This should not be
used as it has security problems: All entries matching owner or group
are mapped to "special owner" or "special group", which can change its
meaning when being inherited to a new file or directory with different
owner and owning group.

This mode should eventually be removed, but as long as it still exists
add testcases to verify the expected behavior. This patch adds the
testcase for "nfs4:mode = special" when mapping from the DACL in the
security descriptor to the NFSv4 ACL.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 7ae06d96eb59722154d30e21949f9dba4f2f0bc6)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2de4919e8a33334cf7c10b9aa407f4c7cff4e53d">2de4919e</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add test for mapping from NFS4 to DACL in config mode special

The mapping code between NFSv4 ACLs and security descriptors still has
the deprecated config setting "nfs4:mode = special". This should not be
used as it has security problems: All entries matching owner or group
are mapped to "special owner" or "special group", which can change its
meaning when being inherited to a new file or directory with different
owner and owning group.

This mode should eventually be removed, but as long as it still exists
add testcases to verify the expected behavior. This patch adds the
testcase for "nfs4:mode = special" when mapping from the NFS4 ACL to the
DACL in the security descriptor.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 829c5ea99685c0629fd67ed0528897534ff35b36)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7d73c37ae7bbc102dab469f5709b1a54de7a0a74">7d73c37a</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add test for mapping from NFS4 ACL to DACL with IDMAP_TYPE_BOTH

When id mappings use IDMAP_TYPE_BOTH, the NFSv4 ACL mapping code is not
aware whether a particular entry is for a user or a group. The
underlying assumption then is that is should not matter, as both the ACL
mapping maps everything to NFSv4 ACL group entries and the user's token
will contain gid entries for the groups.

Add a testcase to verify that when mapping from NFSv4 ACL entries to
DACLs with IDMAP_TYPE_BOTH, all entries are mapped as expected.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 86480410aec1d2331c65826a13f909492165a291)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0313f1552f9665ed485aa2c7224f491be8511eff">0313f155</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_nfs4_acls: Add test for mapping from DACL to NFS4 ACL with IDMAP_TYPE_BOTH

When id mappings use IDMAP_TYPE_BOTH, the NFSv4 ACL mapping code is not
aware whether a particular entry is for a user or a group. The
underlying assumption then is that is should not matter, as both the ACL
mapping maps everything to NFSv4 ACL group entries and the user's token
will contain gid entries for the groups.

Add a testcase to verify that when mapping from DACLS to NFSv4 ACL
entries with IDMAP_TYPE_BOTH, all entries are mapped as expected.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 38331b00521ef764893a74add01758f14567d901)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6d88ab39e8ed469a9279870d88b28c568ce3a687">6d88ab39</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Use sids_to_unixids to lookup uid or gid

This is the newer API to lookup id mappings and will make it easier to
add to the IDMAP_TYPE_BOTH case.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit d9a2ff559e1ad953141b1118a9e370496f1f61fa)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b1b8e37881f5583f5b7770c46a8db4162e614884">b1b8e378</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Use switch/case for checking idmap type

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit f198a0867e71f248d4887ab0b6f2832123b16d11)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e08f9b24097f8b5d08dcca3ee98017b114fcea99">e08f9b24</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Use correct type when checking ownerGID

uid and gid are members of the same union so this makes no difference,
but for type correctness and readability use the gid to check for
ownerGID.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 3b3d722ce579c19c7b08d06a3adea275537545dc)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6661fecf2676fc0ff30a86a2332be95fa76f89ed">6661fecf</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Add helper function for checking INHERIT flags.

This avoids some code duplication. Do not make this static, as it will
be used in a later patch.

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

Signed-off-by: Christof Schmit <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 336e8668c1cc3682cb3c198eb6dc49baf522a79a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d5965e3a43f097a04d6ef14467f31b0c1d05a3b9">d5965e3a</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Add missing braces in smbacl4_win2nfs4

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit ba73d2363d93a376ba4947963c9de45a7e683f02)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/428579d3fde2241a6280fae704dfda030397ff9c">428579d3</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Remove i argument from smbacl4_MergeIgnoreReject

This is only used for logging of a rejected ACL, but does not provide
additional useful information. Remove it to simplify the function a bit.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 44790721e4f2c6ee6f46de7ac88123ce1a9f6e39)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d806dba002c7ebe50e6b74fe2d43daadd0bbf05f">d806dba0</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Move smbacl4_MergeIgnoreReject function

This static function will be called earlier in later patches.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 3499d97463110f042415d917160bc2743805a544)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/693aa2dbfc84631be913a364dad57a12dae3c5ba">693aa2db</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Move adding of NFS4 ACE to ACL to smbacl4_fill_ace4

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit abb58b17599bd3f9a06037e208dcc5033c7fdd8b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b3aad3426a87d41e0fc51129a9ef2d22a4e86ab3">b3aad342</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Remove redundant logging from smbacl4_fill_ace4

Logging flags in case they do not match seems unnecessary. Other log
messages should show the flags as well.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 7ab0003ffc098247c3ee3962d7061f2af5a2d00e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/01e913caf03078b06592f6b66b737223896b4385">01e913ca</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Remove redundant pointer variable

The previous patch introduced a pointer to a local variable to reduce
the amount of lines changed. Remove that pointer and adjust all usage
accordingly.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit aa4644193635d846c2e08e8c1e7b512e8009c2ef)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8ac9c1f75f3f01370c9dba5d570f95c48e2029b4">8ac9c1f7</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Add additional owner entry when mapping to NFS4 ACL with IDMAP_TYPE_BOTH

With IDMAP_TYPE_BOTH, all entries have to be mapped to group entries.
In order to have the file system reflect the owner permissions in the
POSIX modebits, create a second entry for the user. This will be mapped
to the "special owner" entry.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit b796119e2df38d1935064556934dd10da6f3d339)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7d40b00bac82d8cd185850aa1b8a13c5f79848d7">7d40b00b</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Rename smbacl4_fill_ace4 function

As this function now maps the ACE and also adds it to the NFSv4 ACE,
change the name to better describe its behavior.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 169812943de23cf2752289c63331d786b0b063bd)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/78d426fb0d4f9332e9c0a084993b5f2f5e0cdc40">78d426fb</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Remove duplicate entries when mapping from NFS4 ACL to DACL

The previous patch added an additional entry for IDMAP_TYPE_BOTH. When
mapping back to a DACL, there should be no additional entry. Add a loop
that will check and remove entries that are exact duplicates.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 9c88602128592ddad537bf70cbe3c51f0b2cebe5)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/77052fbc65a375dc5a3dda4ac9d212b808ca802f">77052fbc</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Add test for merging duplicates when mapping from NFS4 ACL to DACL

The previous patch introduced merging of duplicates on the mapping path
from NFS4 ACL entries to DACL entries. Add a testcase to verify the
expected behavior of this codepath.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 1a137a2f20c2f159c5feaef230a2b85bb9fb23b5)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d186689038c5f807b092f63d7f89fd6b6dd95241">d1866890</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">nfs4_acls: Use correct owner information for ACL after owner change

After a chown, the cached stat data is obviously no longer valid. The
code in smb_set_nt_acl_nfs4 checked the file correctly, but did only use
a local buffer for the stat data. So later checks of the stat buffer
under the fsp->fsp_name->st would still see the old information.

Fix this by removing the local stat buffer and always update the one
under fsp->fsp_name->st.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 86f7af84f04b06ed96b30f936ace92aa0937be06)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7c90ecdb15cc6d572a37c2d435b6c7d86559d944">7c90ecdb</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: Remove merge_writeappend parameter

All supported GPFS versions now support setting WRITE and APPEND in the
ACLs independently. Remove this now unused parameter to simplify the
code.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 0aca678fcf1788a76cf0ff11399211c795aa7d2f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/90ddc22ea5552b7d3a2c4cc7cb1b75e3ef1e52f2">90ddc22e</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Remove gpfs:merge_writeappend from vfs_gpfs manpage

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 8bd79ecc37376dbaa35606f9c2777653eb3d55e3)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/39495b14cdd228c842666222952ad789e63977ef">39495b14</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: Move mapping from generic NFSv ACL to GPFS ACL to separate function

This is not functional change. It cleans up the code a bit and makes
expanding this codepath in a later patch easier.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit fbf3a090a9ec94262b2924461cc1d6336af9919c)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d18896d19988b1096849c00a80dda42a727d5c4c">d18896d1</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_gpfs: Implement special case for denying owner access to ACL

In GPFS, it is not possible to deny ACL or attribute access through a
SPECIAL_OWNER entry. The best that can be done is mapping this to a
named user entry, as this one can at least be stored in an ACL. The same
cannot be done for inheriting SPECIAL_OWNER entries, as these represent
CREATOR OWNER entries, and the limitation of not being able to deny
owner access to ACL or attributes remains.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit c1770ed96fd3137f45d584ba9328333d5505e3af)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/be508cda25d97b825fef3d605938faa3726cde44">be508cda</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">downgradedatabase: comply with samba.tests.source

In next commit we'll install the script, samba.tests.source picked up the
lack of a copyright message and some whitespace errors, so this patch
fixes that stuff first.

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

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
(cherry picked from commit c4aebb15001c830a46d5a6ad8ea11a6f9ea4fd04)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7a8f68f615034c696e90f86eb1670f4b100300fc">7a8f68f6</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">tests: Avoid hardcoding relative filepath

If we move the test file, the test will break.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
(cherry picked from commit a8cdbe0b824f57f73eee09143148f009a9c58582)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a1b3796b5643d7d727964751efb19675d5ee42c7">a1b3796b</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">downgradedatabase: rename to samba_downgrade_db

Just so that it's slightly less of a mouthful for users.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
(cherry picked from commit fdaaee8d3aac77d91642a7d75d4bcd15d4df8657)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/309ec3b63c5d9f441bcc922e62c2f6a2c2907f62">309ec3b6</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">downgradedatabase: Add man-page documentation

A man-page is needed so that we can install this tool as part of the
Samba package.

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

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
(cherry picked from commit c89df3862b17fad9c4648b5d9c6805120d732df8)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b3987205fe2770bd88ae5ee8e10a85cebf662ac0">b3987205</a></strong>
<div>
<span>by Aaron Haslett</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">downgradedatabase: installing script

Installing downgrade script so people don't need the source tree for it.

Exception added in usage test because running the script without arguments
is valid. (This avoids the need to knownfail it).

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

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
(cherry picked from commit 6dcf00ba0a470ba25aabae06b409ec95404c246f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/70726f2dfba3907ebc11b196aba61fe8358ac989">70726f2d</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Always log when the database pack format changes

LDB_DEBUG_WARNING gets logged by Samba as level 2, whereas the default
log level for Samba is 0. It's not really fair to the user to change the
format of their database on disk and potentially not tell them.

This patch adds a log with level zero (using a alias define, as this
technically isn't a fatal problem).

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
(cherry picked from commit a2b0fc7c00360f37ed6819f21380294b70d4a195)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b99fff86ebb64e31fd3577164f55246705511c3b">b99fff86</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Move where we update the pack format version

Store it on the repack context so that we can log a more informative
message "Repacking from format x to format y".

While this is not really a big deal currently, it could be worth
recording for potential future scenarios (i.e. supporting three or more
pack versions), where upgrades could potentially skip an intermediary
pack format version.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
(cherry picked from commit d427bd6c775d8117504e76eed42cd2c383512e34)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6de3d8f7ce0f97810515b81f4da1a7cc1eb4a241">6de3d8f7</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Change pack format defines to enum

The main reason is so that any future pack formats will continue
incrementing this number in a sequential fashion.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
(cherry picked from commit 38e3e7cd328edac302e95ac8839e858c4a225485)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1c2f1bd04abbedb3cfb31bb4a0ee4292c21dacc4">1c2f1bd0</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Log pack format in user-friendly way

The "format 0x26011968" log confused me (and I'm a developer).
We can subtract the base offset from the pack format to get a more
user-friendly number, e.g. v0 (not actually used), v1, v2, etc.

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
(cherry picked from commit 5fee9388422e259c2a56e4dccbf44d22ba426ca3)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/18fb5fb911d098701e4af732977310e48ed403a9">18fb5fb9</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-08-26T07:06:18Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Log the partition we're repacking

Firstly, with Samba AD this looks a little weird because we log the same
message 5 times (once for every partition). If we log that we're doing
this to records in different partitions, hopefully someone with a little
Samba knowledge can figure out what's going on.

Secondly, the info about what partitions are actually changing might be
useful. E.g. if we hit a fatal error repacking the 3rd partition, and
the transaction doesn't abort properly, then it would be useful to know
what partitions were repacked and which ones weren't.

There doesn't appear to be a useful name for the partition
(ldb_kv->kv_ops->name() doesn't seem any more intelligible to a user),
so just log the first record that we update. We can use that to infer
the partition database).

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

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
(cherry picked from commit ee6537c29e747206ee607493ce15d4532fb670c8)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d819a1c20503484b3624aeda426a37912a4ee692">d819a1c2</a></strong>
<div>
<span>by Tim Beale</span>
<i>at 2019-08-26T07:06:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Free memory when repacking database

The msg for each database record is allocated on the module context, but
never freed. The module seems like it could be a long-running context (as
the database would normally get repacked by the samba executable).

Even if it's not a proper leak, it shouldn't hurt to cleanup the memory.

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

Signed-off-by: Tim Beale <timbeale@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): Tue Aug 20 04:57:10 UTC 2019 on sn-devel-184

(cherry picked from commit b6516dbd24df8c78ed909c7ef9058b0844abb917)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/80bd467affbda1d962f4deb3caa8a42c6531425d">80bd467a</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-08-26T07:06:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Release ldb 2.0.6

 * log database repack so users know what is happening

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/756bea42e0c051580330680dd6350cefb102a21c">756bea42</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-08-26T07:06:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Drop 'o' option from getopts command

Commit 90de5e0594b9180226b9a13293afe31f18576b3d remove the processing
for this option but forgot to remove it from the getopts command.

Versions of ShellCheck >= 0.4.7 warn on this, so it is worth fixing.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14086
RN: Fix onnode test failure with ShellCheck >= 0.4.7
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 758962a0d435fa595e3917b860a8fd266d122550)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/900cc33accf07f5c80c941b7dc74e374185e2808">900cc33a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-08-26T07:06:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_default: use correct flag in vfswrap_fs_file_id

Luckily using the wrong flag ST_EX_IFLAG_CALCULATED_ITIME currently results in
the same semantics as using the correct ST_EX_IFLAG_CALCULATED_FILE_ID, as in
vfs_default the non-calculated file_id is based a non-calculated itime.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14089
RN: vfs_default: use correct flag in vfswrap_fs_file_id

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 442a7c9ad8b020b2e88e41fea8a911d244023cb9)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/53f828969d0fde5cabd61e5a260a887c53fdc872">53f82896</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-08-26T07:06:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_glusterfs: initialize st_ex_file_id, st_ex_itime and st_ex_iflags

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14090
RN: vfs_glusterfs: initialize st_ex_file_id, st_ex_itime and st_ex_iflags

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 Aug 16 01:07:23 UTC 2019 on sn-devel-184

(cherry picked from commit 3ee78cc9979a72ebbe65a16c60967a1735a0d208)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c6d784debd8a9f9e576397a628de1e581aa7adbc">c6d784de</a></strong>
<div>
<span>by Anoop C S</span>
<i>at 2019-08-26T08:51:55Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_glusterfs: Enable profiling for file system operations

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

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Aug 20 19:25:28 UTC 2019 on sn-devel-184

Autobuild-User(v4-11-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-11-test): Mon Aug 26 08:51:55 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d8ba147db50feeeedbeb738a2be24c28e3790a45">d8ba147d</a></strong>
<div>
<span>by Michael Adam</span>
<i>at 2019-08-28T09:12:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs:glusterfs_fuse: ensure fileids are constant across nodes

Instead of adding a new gluster-specific mode to the fileid module,
this patches provides a fileid algorithm as part of the glusterfs_fuse
vfs module. This can not be configured further, simply adding the
glusterfs_fuse vfs module to the vfs objects configuration will enable
the new fileid mode.

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

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Sat Jul 13 22:54:56 UTC 2019 on sn-devel-184

(cherry picked from commit 5522aa1a4c34ee1a1e81db73cf41594bb10bd989)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/53b0fd2216dfd93ae0379f48e712294137e9b5b6">53b0fd22</a></strong>
<div>
<span>by Michael Adam</span>
<i>at 2019-08-28T09:12:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs:glusterfs_fuse: build only if we have setmntent()

FreeBSD and other platforms that don't have setmntent() and friends can
not compile this module. This patch lets changes the build to only
compile this module if the setmntent() function is found.

This is the a follow-up fix to the actual fix for bug #13972.

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

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Thu Aug  1 09:49:04 UTC 2019 on sn-devel-184

(cherry picked from commit f258cfaa1d07af6ac6e996006f6e59955cfe34ce)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0b4a99c22f5e72d2bc6e2770b070e964866db148">0b4a99c2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-08-28T09:12:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Add function ctdb_ip_to_node()

This is the core logic from ctdb_ip_to_pnn(), so re-implement that
that function using ctdb_ip_to_node().

Something similar (ctdb_ip_to_nodeid()) was recently removed in commit
010c1d77cd7e192b1fff39b7b91fccbdbbf4a786 because it wasn't required.
Now there is a use case.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 3acb8e9d1c854b577d6be282257269df83055d31)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4cf26ff2ec350db6b3ad5fa08dea602b3b842baf">4cf26ff2</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-08-28T09:12:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tcp: Rename fd -> out_fd

in_fd is coming soon.

Fix coding style violations in the affected and adjacent lines.
Modernise some debug macros and make them more consistent (e.g. drop
logging of errno when strerror(errno) is already logged.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit c06620169fc178ea6db2631f03edf008285d8cf2)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bf39d0cff16cd240ceddb3cb88183ad61e667ac2">bf39d0cf</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-08-28T09:12:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tcp: Move incoming fd and queue into struct ctdb_tcp_node

This makes it easy to track both incoming and outgoing connectivity
states.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit c68b6f96f26664459187ab2fbd56767fb31767e0)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1ef2ffbab865b80c90a69b5899285c0b7409c26d">1ef2ffba</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-08-28T09:12:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tcp: Use TALLOC_FREE()

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit d80d9edb4dc107b15a35a39e5c966a3eaed6453a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6668733c306896a779c707acdd9912efcf52c0da">6668733c</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-08-28T09:12:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tcp: Create outbound queue when the connection becomes writable

Since commit ddd97553f0a8bfaada178ec4a7460d76fa21f079
ctdb_queue_send() doesn't queue a packet if the connection isn't yet
established (i.e. when fd == -1).  So, don't bother creating the
outbound queue during initialisation but create it when the connection
becomes writable.

Now the presence of the queue indicates that the outbound connection
is up.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 7f4854d9643a096a6d8a354fcd27b7c6ed24a75e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/adb19f17cd1a778a6ee58d7f4658b9f27ea087de">adb19f17</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-08-28T09:12:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tcp: Only mark a node connected if both directions are up

Nodes are currently marked as up if the outgoing connection is
established.  However, if the incoming connection is not yet
established then this node could send a request where the replying
node can not queue its reply.  Wait until both directions are up
before marking a node as connected.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 8c98c10f242bc722beffc711e85c0e4f2e74cd57)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/240ad91944d617d33b85aaeeed2a57ecf1ce9c67">240ad919</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-08-28T09:12:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tcp: Mark node as disconnected if incoming connection goes away

To make it easy to pass the node data to the upcall, the private data
for ctdb_tcp_read_cb() needs to be changed from tnode to node.

RN: Avoid marking a node as connected before it can receive packets
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14084

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 Aug 16 22:50:35 UTC 2019 on sn-devel-184

(cherry picked from commit 73c850eda4209b688a169aeeb20c453b738cbb35)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/093973899580c2fd1a95d067ff695388b7bdc4f8">09397389</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-08-28T09:12:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Factor out new function ctdb_node_become_inactive()

This is a superset of ctdb_local_node_got_banned() so will replace
that function, and will also be used in the NODE_STOP control.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit a42bcaabb63722411bee52b80cbfc795593defbc)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a93c591a11a9b19f4f5df87c76e3b2f3f7404339">a93c591a</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-08-28T09:12:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Switch banning code to use ctdb_node_become_inactive()

There's no reason to avoid immediately setting recovery mode to active
and initiating freeze of databases.

This effectively reverts the following commits:

  d8f3b490bbb691c9916eed0df5b980c1aef23c85
  b4357a79d916b1f8ade8fa78563fbef0ce670aa9

The latter is now implemented using a control, resulting in looser
coupling.

See also the following commit:

  f8141e91a693912ea1107a49320e83702a80757a

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 0f5f7b7cf4e970f3f36c5e0b3d09e710fe90801a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f454db8d960bce78e492cdec344257a2ee094514">f454db8d</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-08-28T09:12:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Drop unused function ctdb_local_node_got_banned()

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 91ac4c13d8472955d1f04bd775ec4b3ff8bf1b61)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a9d0e0b7bae9005d56222e5952f9fec66cb8f491">a9d0e0b7</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-08-28T09:12:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-daemon: Make node inactive in the NODE_STOP control

Currently some of this is supported by a periodic check in the
recovery daemon's main_loop(), which notices the flag change, sets
recovery mode active and freezes databases.  If STOP_NODE returns
immediately then the associated recovery can complete and the node can
be continued before databases are actually frozen.

Instead, immediately do all of the things that make a node inactive.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14087
RN: Stop "ctdb stop" from completing before freezing databases

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 20 08:32:27 UTC 2019 on sn-devel-184

(cherry picked from commit e9f2e205ee89f4f3d6302cc11b4d0eb2efaf0f53)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d61fac0cbe4abe1f90da6aea695690ccdb757765">d61fac0c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-08-28T09:12:17Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Deprecate "rndc command" for Samba 4.11

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 561e0986ac96c842239b4e8c6509e05c836707b7)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/aa3ad5c451f38659c1131b20756ad81a903654cb">aa3ad5c4</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-08-28T10:48:10Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: BIND9_FLATFILE / rndc command deprecated

Signed-off-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(v4-11-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-11-test): Wed Aug 28 10:48:10 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bcfb7749869241a6a85fedca551ae6a4a4dec4fc">bcfb7749</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2019-09-03T09:45:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-10197: smbd: separate out impersonation debug info into a new function.

Will be called on elsewhere on successful impersonation.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
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/ae9bdef5c8a2dea2efca6295799a42ba01c3b98d">ae9bdef5</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-03T09:45:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-10197: smbd: make sure that change_to_user_internal() always resets current_user.done_chdir

We should not leave current_user.done_chdir as true if we didn't call
chdir_current_service() with success.

This caused problems in when calling vfs_ChDir() in pop_conn_ctx() when
chdir_current_service() worked once on one share but later failed on another
share.

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

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/d690f6f3c4d82a5ff887df40e2a60a1828eb87eb">d690f6f3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-03T09:45:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-10197: smbd: make sure we reset current_user.{need,done}_chdir in become_root()

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7b39df0f1449024c8b9f2954a63f0b265c4269e8">7b39df0f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-03T09:45:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-10197: selftest: make fsrvp_share its own independent subdirectory

The next patch will otherwise break the fsrvp related tests.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a6ff560aa134fb4fa5ceaba83d29aae0bc398f4d">a6ff560a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-03T09:45:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-10197: test_smbclient_s3.sh: add regression test for the no permission on share root problem

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/efd6d670997eff81c94b1ece3814b1da2c3705cb">efd6d670</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-03T09:45:36Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2019-10197: smbd: split change_to_user_impersonate() out of change_to_user_internal()

This makes sure we always call chdir_current_service() even
when we still impersonated the user. Which is important
in order to run the SMB* request within the correct working directory
and only if the user has permissions to enter that directory.

It makes sure we always update conn->lastused_count
in chdir_current_service() for each request.

Note that vfs_ChDir() (called from chdir_current_service())
maintains its own cache and avoids calling SMB_VFS_CHDIR()
if possible.

It means we still avoid syscalls if we get a multiple requests
for the same session/tcon tuple.

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

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/f04985fe9b54824fb61683c67065da2fdb8f2e1a">f04985fe</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-09-03T11:12:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add release notes for Samba 4.11.0rc3.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c1d9e02d06a158f637475ffeca7a6c3f2fb1d773">c1d9e02d</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-09-03T11:12:53Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Disable GIT_SNAPSHOT for the 4.11.0rc3 release.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/96961348432cd1171b99ea2d8e64d4bc9d897f72">96961348</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-09-03T11:13:47Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump verison up to 4.11.0rc4...

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/a279b8883469b524b18e61c30621fe0dd999e054">a279b888</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-09-04T08:31:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Reformat node_has_status()

Re-indent and drop non-POSIX left-parenthesis from case labels.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 52227d19735a3305ad633672c70385f443f222f0)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6efb59affb25594828e4cc68a30ea41e71f0b124">6efb59af</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-09-04T08:31:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Drop unused node statuses frozen/unfrozen

Silently drop unused local variable mpat.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 9b09a87326af28877301ad27bcec5bb13744e2b6)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e876b1e85627db8be59bcbcede7154a55f640b00">e876b1e8</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-09-04T08:31:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Inline handling of recovered and notlmaster statuses

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit bb59073515ee5f7886b5d9a20d7b2805857c2708)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7e004230708001878e6b278aab32b6854289dc6a">7e004230</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-09-04T08:31:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Handle special cases first and return

All the other cases involve matching bits.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit bff1a3a548a2cace997b767d78bb824438664cb7)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4a5c554508b14be280bddb7c16688868c980abf0">4a5c5545</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-09-04T08:31:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Don't retrieve the VNN map from target node for notlmaster

Use the VNN map from the node running node_has_status().

This means that

  wait_until_node_has_status 1 notlmaster 10 0

will run "ctdb status" on node 0 and check (for up to 10 seconds) if
node 1 is in the VNN map.

If the LMASTER capability has been dropped on node 1 then the above
will wait for the VNN map to be updated on node 0.  This will happen
as part of the recovery that is triggered by the change of LMASTER
capability.  The next command will then only be able to attach to
$TESTDB after the recovery is complete thus guaranteeing a sane state
for the test to continue.

This stops simple/79_volatile_db_traverse.sh from going into recovery
during the traverse or at some other inconvenient time.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 53daeb2f878af1634a26e05cb86d87e2faf20173)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a03443efef6488a5b2dc74962f77070c0c8ecb06">a03443ef</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-09-04T08:31:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Only check for LMASTER nodes in the VNN map

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 5d655ac6f2ff82f8f1c89b06870d600a1a3c7a8a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9063f5dde3f9fc43037539e4424944400c00ddb5">9063f5dd</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-09-04T08:31:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Strengthen volatile DB traverse test

Check the record count more often, from multiple nodes.  Add a case
with multiple records.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit ca4df06080709adf0cbebc95b0a70b4090dad5ba)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/20c4d212472e177739186e9ce675fa49a5ff0a64">20c4d212</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-09-04T08:31:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Clear deleted record via recovery instead of vacuuming

This test has been flapping because sometimes the record is not
vacuumed within the expected time period, perhaps even because the
check for the record can interfere with vacuuming.  However, instead
of waiting for vacuuming the record can be cleared by doing a
recovery.  This should be much more reliable.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14085
RN: Fix flapping CTDB tests

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 Aug 21 13:06:57 UTC 2019 on sn-devel-184

(cherry picked from commit 71ad473ba805abe23bbe6c1a1290612e448e73f3)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8b680d309798d91e4658a358831e957aaffa480b">8b680d30</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2019-09-04T08:31:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recoverd: Fix typo in previous fix

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

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 27 15:29:11 UTC 2019 on sn-devel-184

(cherry picked from commit 8190993d99284162bd8699780248bb2edfec2673)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0e96b2cb506f278562fe21b0b8d47da276b939c6">0e96b2cb</a></strong>
<div>
<span>by Poornima G</span>
<i>at 2019-09-04T08:31:23Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_glusterfs: Use pthreadpool for scheduling aio operations

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

Signed-off-by: Poornima G <pgurusid@redhat.com>
Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Aug 23 18:40:08 UTC 2019 on sn-devel-184

(cherry picked from commit d8863dd8cb74bb0534457ca930a71e77c367d994)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0358b3f9bc1e557a639ec63670d8c29c135e54f5">0358b3f9</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-09-04T08:31:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: do not allow adding a DN as a base to itself

If you try to add a dn to itself, it expands as it goes. The resulting
loop cannot end well.

It looks like this in Python:

    dn = ldb.Dn(ldb.Ldb(), 'CN=y,DC=x')
    dn.add_base(dn)

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
(cherry picked from commit 19a13cbe0681b3996c33f7449f69b0fb0dc5d640)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7cf6afba65641f48a5e2c326464fd97fd9f4173c">7cf6afba</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-09-04T08:31:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb_dn: free dn components on explode failure

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <npower@samba.org>
(cherry picked from commit b136f153b83d80a91ec9d5350fdf08412d881964)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/57f00784ffac527a0f9b830339bba24784f2e294">57f00784</a></strong>
<div>
<span>by Swen Schillig</span>
<i>at 2019-09-04T08:31:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Fix mem-leak if talloc_realloc fails

In case of a failing talloc_realloc(), the only reference
to the originally allocated memory is overwritten.
Instead use a temp var until success is verified.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 99b4791cfe423b19f1f21d5f9fb42157336019f1)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9c677a274d49026105c72c5b4767b1d88eff77fa">9c677a27</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-09-04T08:31:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Correct Pigeonhole principle validation in ldb_filter_attrs()

Thankfully this only fails if the DB is corrupt and has a duplicate record.

The test was at the wrong end of the loop, and was for the
wrong boundary condition.  A write after the end of the array would
occour before the condition was hit.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
(cherry picked from commit b1eec5b196e3d5a5716a5c74cf669ceaa5c0301f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/11427be15ed6701fb2a15830846b57fe5e62fb42">11427be1</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-09-04T08:31:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: use TALLOC_FREE() over talloc_free() in ldb_filter_attrs()

This is a macro that sets the pointer to NULL after the talloc_free()
and is part of our standard coding practices.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
(cherry picked from commit 2117789c35fbf6d0ed02f391f17593e11727ec3e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/61a039cc21d845bb4b984929d878dd8cf68839fe">61a039cc</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-09-04T08:31:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Call TALLOC_FREE(filtered_msg->elements) on ldb_filter_attrs() failure

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): Tue Aug 27 01:16:33 UTC 2019 on sn-devel-184

(cherry picked from commit 1521a22f4366c86ec955cb9d32b7a758315d8ce0)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c71c51dda004a617eaeccb0819b70310de1ebd14">c71c51dd</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-09-04T08:31:24Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: don't try to save a value that isn't there

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
(cherry picked from commit 54f30f2fe3f03c9640664f9a11260b093fc57a5b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0f993c094ea242934766761389cecd5ecfd14a37">0f993c09</a></strong>
<div>
<span>by Douglas Bagnall</span>
<i>at 2019-09-04T08:31:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: add some dn explode tests

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
(cherry picked from commit a097ddf65ce56dcd2e0b072b6dd78f512a77a9da)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1bc9476be79b994a3a9b0618f23f176e399c5aaa">1bc9476b</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-09-04T08:31:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Rework all pointer NULL tests to use Samba's normal style

Also avoid if () without braces

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
(cherry picked from commit 3f290e95c2c133eb2c983ecc984d3dff4809f3d3)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9b0c30517834da57a436ac6a0bad1fa2c6173849">9b0c3051</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-09-04T08:31:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Add test with == true or false to boolean if statements in ldb_dn_explode()

This is beyond the normal level of clarity we expect in Samba, and is of course
rudundent, but this is a complex routine that has confusing tests, some of
pointers and some of boolean state values.

This tries to make the code as clear as possible pending a more comprehensive
rewrite.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
(cherry picked from commit 52bd2dde5ae809ecc115f7087e367327f4771e73)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e019f3a6aac62460ee9768fec4001e00f00f8096">e019f3a6</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-09-04T08:31:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Do not read beyond the end of the extended DN component when printing

The print functions used in Samba NULL terminate, but do not assume they will

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
(cherry picked from commit a8a3cef3a768aaff01227dd7b229fb7b3aef926f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9392ee7d29081118afd2dfd531946cbdcaba729d">9392ee7d</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-09-04T08:31:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Extend the ldb_dn_explode test matrix

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
(cherry picked from commit 10058bcfa16d5029e61252d64d142a8aab9ec296)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bc0d16c9d8eacd254552ff28726a2ba5f2a1c8c0">bc0d16c9</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-09-04T10:24:55Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: Release ldb 2.0.7

* Robustness improvements against duplicate attributes in ldb_filter_attrs()
  (bug 13695)
* Robustness improvements against invalid string DN values (bug 14049)

Signed-off-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(v4-11-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-11-test): Wed Sep  4 10:24:56 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/116f8cfe3041676264f2bfa2ca43d6266cb326ab">116f8cfe</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-09-06T07:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Deprecate "lanman auth = yes"

This feature is only available for SMB1 and we need to warn users that this
is going away soon, and allow the removal in a future release under our rules
for parameter deprecation.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Sep  5 04:04:18 UTC 2019 on sn-devel-184

(cherry picked from commit 1006f7abe8980d2c01c181db93225353ce494b3a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f1d2b5eba72df50f98860557e3d3523b1e82f625">f1d2b5eb</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-09-06T07:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">docs: Deprecate "encrypt passwords = no"

This feature is only available for SMB1 and we need to warn users that this
is going away soon, and allow the removal in a future release under our rules
for parameter deprecation.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
(cherry picked from commit 8d0d99a4d78ba408bb45e2d693049025e60e277a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/04867f4c513c70313f71c59ed3131307c0d1c4dc">04867f4c</a></strong>
<div>
<span>by Andrew Bartlett</span>
<i>at 2019-09-06T07:03:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add entry for deprecation of "lanman auth" and "encrypt passwords = no"

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/11c2b21b97d2d8fcd46c7e3ac8005e940869bc51">11c2b21b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-09-06T08:19:43Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb: fix compilation on systems with glibc robust mutexes

On older systems like SLES 11 without POSIX robust mutexes, but with glib robust
mutexes where all the functions are available but have a "_np" suffix,
compilation fails in:

ctdb/tests/src/test_mutex_raw.c.239.o: In function `worker':
/root/samba-4.10.6/bin/default/../../ctdb/tests/src/test_mutex_raw.c:129: undefined reference to `pthread_mutex_consistent'
ctdb/tests/src/test_mutex_raw.c.239.o: In function `main':
/root/samba-4.10.6/bin/default/../../ctdb/tests/src/test_mutex_raw.c:285: undefined reference to `pthread_mutex_consistent'
/root/samba-4.10.6/bin/default/../../ctdb/tests/src/test_mutex_raw.c:332: undefined reference to `pthread_mutexattr_setrobust'
/root/samba-4.10.6/bin/default/../../ctdb/tests/src/test_mutex_raw.c:363: undefined reference to `pthread_mutex_consistent'
collect2: ld returned 1 exit status

This could be fixed by using libreplace system/threads.h instead of pthreads.h
directly, but as there has been a desire to keep test_mutex_raw.c standalone and
compilable without other external depenencies then libc and libpthread, make the
tool developer build only. This should get the average user over the cliff.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14038
RN: Fix compiling ctdb on older systems lacking POSIX robust mutexes

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit f5388f97792ac2d7962950dad91aaf8ad49bceaa)

Autobuild-User(v4-11-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-11-test): Fri Sep  6 08:19:44 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bff4ee33420557c6b80646a94de926d4f4c0f24d">bff4ee33</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T10:41:27Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: add new COMPRESSION and NETNAME negotiate context ids

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
(cherry picked from commit e10b90f33bb812600886656a1124e2d434416563)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d01dbe68cdfcd873f53c02c9529a944bf209c58f">d01dbe68</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T12:03:54Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli/smb: send SMB2_NETNAME_NEGOTIATE_CONTEXT_ID

Note: Unlike the current documentation, the utf16 string
is not null-terminated, that matches Windows Server 1903
as a client.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14055
RN: Add the target server name of SMB 3.1.1 connections
as a hint to load balancers or servers with "multi-tenancy"
support.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
(cherry picked from commit 21f6cece543dd791e0f4636458bfe9819823420c)

Autobuild-User(v4-11-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-11-test): Mon Sep  9 12:03:55 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/728e29d84ca594a5607f072e50de60deaa9da45e">728e29d8</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: call change_to_user_by_fsp() when dbwrap_watched_watch* finishes

This is not strictly required as fd-based calls are used,
but it's more consistent to call SMB_VFS_BRL_LOCK_WINDOWS()
in the same environment on retry.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 28ac2cbaf92a8619f0380f024c5a220d9fdc4622)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/80a04a4e19adfe87c5217d75b11e41763f644749">80a04a4e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smb2_lock: call change_to_user_by_fsp() when dbwrap_watched_watch* finishes

This is not strictly required as fd-based calls are used,
but it's more consistent to call SMB_VFS_BRL_LOCK_WINDOWS()
in the same environment on retry.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 8b565de1acb0fda121cb0bd4cff42d66ee027529)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/244ad1210cc29ede25fb8692bae46aab7d6725ac">244ad121</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:locking: add/split out byte_range_{valid,overlap}() helper functions

They implement the logic from [MS-FSA].

The following commits will use these functions in other locations.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 0e5613e39d6c6bb892fed939c63b4f14b878803b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f73b670b4db103069aa151d3af4ed7a92ce581c3">f73b670b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:locking: add share_mode_wakeup_waiters() helper function

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit bd8884e5722cbbb7783fb4ae53e4f35b31031b01)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/75e07d485944fdc76a6510bf5d450959475e7e5b">75e07d48</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: remove unused timeval_brl_min()

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 3b788d97f9995e24e4005567f90a925957fb1e00)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0742879bd8d03333b8b7c2a790afebdb5f7dd92b">0742879b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:torture: fix the timeout alarm handling on LOCK9

smbXcli_conn_disconnect(alarm_cli->conn, NT_STATUS_OK)
means existing requests are not finished with an error,
but instead just keep dangling arround.

Pass NT_STATUS_LOCAL_DISCONNECT in order to fail the
cli_lock32() call after getting SIGALARM.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit e18c8ced8e7a872deb118191595425ef6b826bfa)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ffdb166e49fa1a786ac1ea4e1ab09c286e75af69">ffdb166e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:torture: convert LOCK9 into LOCK9A and LOCK9B

LOCK9A is the original test (with a timeout of -1)
and LOCK9B is the same but with timeout of 10 seconds.

LOCK9B is needed to demonstrate a server bug in the next
commits.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit ac28eec3e4af710feab3be3d4b25bfbe38294431)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/841fceae68098160627066dd6bd180948c048d96">841fceae</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: demonstrate the posix lock retry fails

This is just a temporary commit that shows the bug and its
fix. It will be reverted once the problem is fixed.

The posix lock retry fails if the client specified timeout
is smaller than the hardcoded 1 second retry.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 2ec9e93a7aac2706b4a5931495d56a7b64f8d894)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b381f4b314c71c446a847de7cdb5baa658455c90">b381f4b3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: split smbd_smb1_do_locks_retry() into _try() and _retry()

This will make it possible to have just one caller to
smbd_do_locks_try() later and use smbd_smb1_do_locks_try()
from within smbd_smb1_do_locks_send().

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

Reviewed-by: Volker Lendecke <vl@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit e79fcfaaf2ecfca6c3747f6fe4be51f332ebf10d)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6b23f24ee383763c45af8c627df09060d76d9dd8">6b23f24e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:28Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: move from 'timeout' to 'smbd_smb1_do_locks_state->timeout'

This will make it possible to just use smbd_smb1_do_locks_try()
in a later commit.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 8fe708acb43ea36d0cbf398713b125daba180a2d)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2c31c9d365d3aaa323e10abff15fc4404a4a52dd">2c31c9d3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: fix posix lock retry

We should evaluate the timeout condition after the very last
retry and not before.

Otherwise we'd fail to retry when waiting for posix locks.
The problem happens if the client provided timeout is smaller
than the 1 sec (for testing temporary 15 secs) retry.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit e8d719d31f885d7b6d5b317165f90ec40df169c9)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e91bae2bdb11c8466a42ae51660bb564de1aedc2">e91bae2b</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: Remove bug reproducer from a few commits ago

The problem is fixed, now we can revert the change that made it
easier to trigger.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 62ec58b06c38ee82bb3147c4d325413fd3a76499)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1fd0a52e6727b191aa008f7a260ad748d34d5870">1fd0a52e</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: use dynamic posix lock wait intervals

We want to start with a short timeout (200ms) and
slow down to larger timeouts up to 2s for the default
value of "lock spin time".

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 15765644d2590d6549f8fcc01c39c56387eed654)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/85b9b5f04fdf7fa432f7260b27f77342f27dddbb">85b9b5f0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/raw: assert to get LOCK_NOT_GRANTED in torture_samba3_posixtimedlock()

There should not be a different if the blocker is a posix process
instead of another smbd.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 2a77025a1e16d897281e5840192c93fa03328681)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b56bb2ac59dd190cdf3c726a7becf2ae9d296657">b56bb2ac</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: maintain state->deny_status

For Windows locks we start with LOCK_NOT_GRANTED and use
FILE_LOCK_CONFLICT if we retried after a timeout.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit aba0ee46258f3dd910421facb742fce3318a6946)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8b3a50609f430ec08add2bbac77b106a585d97c6">8b3a5060</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:brlock: always return LOCK_NOT_GRANTED instead of FILE_LOCK_CONFLICT

Returning NT_STATUS_FILE_LOCK_CONFLICT is a SMB1 only detail
for delayed brlock requests, which is handled in
smbd_smb1_do_locks*().

The brlock layer should be consistent even for posix locks.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit ad98eec6090430ba5296a5111dde2e53b9cd217a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e5385142987202a67fc3667506ee233f2c726107">e5385142</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smb2_lock: move from 'blocking' to 'state->blocking'

This will simplify the next commits.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit f13d13ae9da3072862a781bc926e7a06e8384337)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5e156be97a37b9bd42b18a78cf6ab541271971e7">5e156be9</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smb2_lock: split smbd_smb2_lock_retry() into _try() and _retry()

This makes it possible to reuse _try() in the _send() function in the
next commits.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit d096742da1a045357f52ccd5b28d499c30e96152)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c4ab0c8502284ee0a4e4336f42c352b5a19dda43">c4ab0c85</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smb2_lock: error out early in smbd_smb2_lock_send()

We no longer expect NT_STATUS_FILE_LOCK_CONFLICT from
the VFS layer and assert that in a future version.

This makes it easier to port the same logic to smbd_smb2_lock_try().

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 39d514cdc358f175d0968f4a78f8f2f05a6c1707)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1fb82e04d0231392a9243b6b924e6c1765110a8d">1fb82e04</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smb2_lock: let smbd_smb2_lock_try() explicitly check for the retry condition

This makes it possible to reuse _try() in the _send() function in the
next commit.

We should not retry forever on a hard error.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 7f77e0b4e9878f1f3515206d052adc012e26aafb)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/00fc583960f0983c84f960408c8cc92c25c0a928">00fc5839</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smb2_lock: make use of smbd_smb2_lock_try() in smbd_smb2_lock_send()

We only need the logic to call smbd_do_locks_try() and a possible
retry once in smbd_smb2_lock_try().

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 359e9992be713bbecfdb19998d69e1d3f020c5e9)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/061b60353d76ac368f7e48df9fe7fb899f7a2642">061b6035</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/smb2: add smb2.samba3misc.localposixlock1

This demonstrates that the SMB2 code path doesn't do
any retry for local posix locks.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 7155d3a2c5d7237f00cccb1802c1341cf295864e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c4d7c186aca3b9fb42354ac47f10514468b4c8b7">c4d7c186</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smb2_lock: add retry for POSIX locks

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 8decf41bbb8be2b4ac463eb6ace16a8628276ab5)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/da765a062aa4b57814ea426c94c6b3ba23dca47c">da765a06</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:29Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/raw: improvements for multilock2

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 8a7039be530adcdda9e7e7621bdcf902f5ca1721)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6bd411aad81477637255fcb5c826ddaf43f593b1">6bd411aa</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/raw: add multilock3 test

This demonstrates that unrelated lock ranges
are not blocked by other blocked requests on the same
fsp.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 297763c6b618c07148d788b46218a0798225bf79)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cc9afc3dac2fd680fd5731160889fc39eb0e360c">cc9afc3d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/raw: add multilock4 test

This is similar to multilock3, but uses read-only
(LOCKING_ANDX_SHARED_LOCK) locks for the blocked
requests.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit d3e65ceb1ec25c7b62a7e908506126269011f30d)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a037ebbc34795de46196ff50ad439356056fe082">a037ebbc</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/raw: add multilock5 test

This is similar to multilock3, but uses a read-only
(LOCKING_ANDX_SHARED_LOCK) locks for the first lock
request.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 6d4296aca0c9a9287c0c78c8f8847a560bd2ea24)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d857b21d4fec18aa71f9bec4343924053dd9f083">d857b21d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture/raw: add multilock6 test

This is similar to multilock3, but uses a read-only
(LOCKING_ANDX_SHARED_LOCK) locks for the 2nd lock
request.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit d3bc0199697fd7d6e04479321ca644a227bc4ede)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9f46f3b0e722d993a650fc3659e842aad08837a6">9f46f3b0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: use timeval_expired(&state->endtime) to stop processing

This is less racy than timeval_elapsed() > 0
as the current time is already expired and timeout = 0
will always work correct.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 5a841a43f9c4f862e2d7235429363b3066cf5850)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f479c7bc03a06a409b0037d7957806ba3208b55b">f479c7bc</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: split out smbd_smb1_do_locks_setup_timeout()

This function can be called multiple times, but only
the first time will setup the endtime. And the
endtime is relative to the request time and not
the current time.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 8da7c10a58292022ee57406db9a365de9ffaf5cf)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/333026209a8abe5d9d00297ce7f0d6cdf66d6ce0">33302620</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: do the timeout calculation before calling dbwrap_watched_watch_send()

This makes the next commits easier to understand.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 997548a5f1a14d82f1e80cce6d9ee55e85b5107c)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/11e489b0789d7c9cc7f082c054c97c6c4c6f131a">11e489b0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: fix the fsp->blocked_smb1_lock_reqs handling

A new request is first checks against all pending
requests before checking the already granted locks.

Before we retried the lock array of another request
(the first in the list), but then finished current request,
which is wrong.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 312327106271abafeb53e62dfb71a38bf93e2d41)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5e9d294a045d7b7e1d77dd5f306d74b165585344">5e9d294a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: call smbd_smb1_do_locks_setup_timeout() also in smbd_smb1_do_locks_try()

This is a noop if smbd_smb1_do_locks_setup_timeout() was called before.

But it allows us to use smbd_smb1_do_locks_try() in
smbd_smb1_do_locks_send() in a following commit.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 6e30a89b3f00ad55391454fbaa1272074e1962f0)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c8086b8873b37fde75dfbcd0054b5db7565b8708">c8086b88</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: make use of smbd_smb1_do_locks_try() in smbd_smb1_do_locks_send()

We only need the logic to call smbd_smb1_do_locks_check() and a possible
retry once in smbd_smb1_do_locks_try().

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 8975673e3c3f9f7dbdb7ba7562bb81a62cd24e2e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a1117587afb6bf2f813982dfca4a47e982f44b96">a1117587</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:blocking: handle NT_STATUS_RETRY from the VFS backend

This allows the VFS backends to implement async byte
range locking.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 7d1cd6f22e7e3d95aba04c45776057945c2a5e30)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/74527a20584bd9d22c8487a6ebdeaca21525afe3">74527a20</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:30Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smb2_lock: handle NT_STATUS_RETRY from the VFS backend

This allows the VFS backends to implement async byte
range locking.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 7471b0f63276e707784c98b832992ff08b1898ef)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ec21e68912d2c9b1f4c3aa57d9b34db038a6b66c">ec21e689</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:locking: add brl_req_guid() and brl_req_mem_ctx() helper functions

This allows the vfs backend to detect a retry and keep state between
the retries.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 66d92f37c3a643d97489a59bb6d1e75e91528c20)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9bf1c5c3e48ff905eec6f9ee469f1067b4105d42">9bf1c5c3</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T16:04:31Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_delay_inject: add support for brl_[un]lock_windows()

This demonstrates the two ways to handle the retry:
- smb layer retry => plock->context.smblctx = UINT64_MAX
- vfs backend retry => plock->context.smblctx = 0

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit c2503a5c68e967054ab84ca0d8ce693200c2e002)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/be42cfafee057993d038f7d476d094c53b00b57e">be42cfaf</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2019-09-09T17:19:11Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:selftest: add delay_inject:brl_lock_windows testing

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

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): Mon Sep  9 15:42:45 UTC 2019 on sn-devel-184

(cherry picked from commit 2b43ce6704ecf035e6734337a2dea3458153a4b2)

Autobuild-User(v4-11-test): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(v4-11-test): Mon Sep  9 17:19:11 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/02ccbe08a53e385460d17b54bbabee5a362e1a5b">02ccbe08</a></strong>
<div>
<span>by Evgeny Sinelnikov</span>
<i>at 2019-09-10T09:13:15Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:ldap: Fix join with don't exists machine account

Add check for requested replies of existing machine object during join
machine to domain. This solves regression fail during join with error:
"None of the information to be translated has been translated."

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

Reviewed-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Sep  4 17:02:37 UTC 2019 on sn-devel-184

(cherry picked from commit ad4ef1657e9b2a088a3bfadcce196cfcceead1dc)

Autobuild-User(v4-11-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-11-test): Tue Sep 10 09:13:15 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0318b68675d0318027ff5b6abf4a0d010839e6fd">0318b686</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-09-10T21:13:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4:torture: add a file-id related test

Note I'm using the share vfs_fruit_xattr because I need a share with both a
streams and a acl_* VFS object.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 2ecab3c60abf9baa16a6a5e3eba0fc4720def840)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cca34da443ed6ee530fcf8c0def63d4b00527ffd">cca34da4</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-09-10T21:13:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: add round_timespec_to_nttime()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 5403bb22e6cb39baf6dc1b91558744d41e9f6f64)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6dfeecf345c0a009fff6b233241156eff3160467">6dfeecf3</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-09-10T21:13:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: round itime to NTTIME resolution in make_file_id_from_itime()

The rounding is needed because when a file is created via eg an SMB2 CREATE
request, we need to calculate the correct File-ID for the QFID Create-Context or
for a subsequent GETINFO SMB request on the same file-handle.

Any later metadata request that received the File-ID will do so by going through
dos_mode() -> ... -> parse_dos_attribute_blob(), where the File-ID will be
calculated from the on-disk itime which has NTTIME resolution.

As long as that is the only available itime backend, I'm rounding itime inside
make_file_id_from_itime(), not in the callers.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 84abeaa60ffced276da2b28b8add6efaa6da5ca6)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d47f8ca1a769571dae73081cda6a01812c1a256c">d47f8ca1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-09-10T21:13:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: ensure to update the File-ID in struct smb_filename

Initialize the File-ID in fsp->fsp_name->st, any subsequent metadata fetch on
this file-handle needs this, eg QFID SMB2 Create-Context or GETINFO SMB
requests.

It would be nice if SMB_VFS_SET_DOS_ATTRIBUTE() would do this, unfortunately it
gets a const struct smb_filename.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 3483b75fed8985bd2968bbf8c85985107115fba8)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4930920648ad6879a72c77d79508025478dcbaa2">49309206</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-09-10T21:13:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_catia: stat info may have been updated, make sure to return changes

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 4e49999c97f53acc7006f1dc6b6812bb0e156db5)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cb09104951cdefba991464e486c536b06356fd25">cb091049</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-09-10T21:13:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: add update_stat_ex_from_saved_stat()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit ac18730f10ce96a607a3a07e1360b522ebf72f38)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b14dd975c754be30d247591190bec5db3f305245">b14dd975</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-09-10T21:13:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: replace fsp_stat() with vfs_stat_fsp()

Both functions do the same, they differ just in the type of the returned result.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit ab03394969f8a4c748aea7d0d8ed37f9ced6cc30)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b4aaa612d33caf51b44830d75997d4ad93b7740d">b4aaa612</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-09-10T21:13:09Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:vfs: streamline vfs_stat_fsp()

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit e00e78cfeda99bd5374eff8fb4ba84873e4e46b7)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d887047aa0c2489d1d6251ffcb9ce083e86866e1">d887047a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2019-09-10T22:29:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs: restore stat fields in vfs_stat_fsp()

This ensures we preserve btime, itime and File-ID.

As the Durable Handles code calls vfs_stat_fsp() in the DH disconnect function,
previously the btime was lost and NOT stored in the cookie. With this change the
cookie will store the correct btime (and iflags), which requires us to call
dos_mode() in the reconnect function to ensure we pass
vfs_default_durable_reconnect_check_stat().

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

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): Tue Sep 10 20:22:21 UTC 2019 on sn-devel-184

(cherry picked from commit 95655fe683d499d93f3844ed72ad332ef64adb96)

Autobuild-User(v4-11-test): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(v4-11-test): Tue Sep 10 22:29:08 UTC 2019 on sn-devel-184
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/76eab3e6bc9631437719bf9a7fbabb8e77ceb20a">76eab3e6</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-09-11T06:41:52Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Remove paragraph about rejoining DCs.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/70906342a77e431e0ea5b482b9f35aa26a5d64bc">70906342</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-09-11T06:41:52Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add release notes for Samba 4.11.0rc4.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/b788d502cd187d1d71310ab9384e0b2445062491">b788d502</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-09-11T06:41:52Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Disable GIT_SNAPSHOT for the 4.11.0rc4 release.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4f2bbe2ed1d8d90c4c3311a8b77e1f695e66bea4">4f2bbe2e</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-09-11T06:41:52Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to 4.11.0rc5...

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/e0886709582a12b37cec4299172570169f986056">e0886709</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-09-17T08:00:54Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add release notes for Samba 4.11.0.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d60cf580825819f11de9e50ec4c4ce591d695ad9">d60cf580</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2019-09-17T08:02:02Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to 4.11.0...

and disable GIT_SNAPSHOT for the 4.11.0 release.

Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a251a711d6e87addc7fd0eae2c7aaa66daea7073">a251a711</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2019-09-17T18:12:06Z</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.11
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1f07059ab7ae5ba7fcdffd8e01164cc8539862aa">1f07059a</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2019-09-17T18:14:59Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">New upstream version 4.11.0+dfsg</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/64bfcdf1a72e048e35eaf9fd1091b0ac86d1eaf6">64bfcdf1</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2019-09-17T18:16:16Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Update upstream source from tag 'upstream/4.11.0+dfsg'

Update to upstream version '4.11.0+dfsg'
with Debian dir d25d36bad385e77952f57e2d265bf0b992a78968</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/072d25a7b2f3140055c0c7236b85ab5356896d69">072d25a7</a></strong>
<div>
<span>by Jelmer Vernooij</span>
<i>at 2019-09-17T18:22:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Always specify rpath for private libraries

Last-Update: 2012-02-24
Applied-Upstream: no
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1714d5fe558493a0526200d94a95e1e2e913cae3">1714d5fe</a></strong>
<div>
<span>by Christian Perrier</span>
<i>at 2019-09-17T18:22:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">64 bit fix for libsmbclient

Bug-Debian: http://bugs.debian.org/221618
Forwarded: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=221618#27
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/dcc1046933ba6400912cacad9674535449e49c6a">dcc10469</a></strong>
<div>
<span>by Christian Perrier</span>
<i>at 2019-09-17T18:22:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Mention smbldap-tools package in examples/LDAP/README

Bug-Debian: http://bugs.debian.org/341934
Forwarded: not-needed
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c75f2e1b5bdce9ecf2e97974964132888813f616">c75f2e1b</a></strong>
<div>
<span>by Steve Langasek</span>
<i>at 2019-09-17T18:22:07Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Use the pager alternative as pager is PAGER is undefined

Bug-Debian: http://bugs.debian.org/135603
Forwarded: not-needed
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5c15746ab460b8408c536c1d3ec64842048250fc">5c15746a</a></strong>
<div>
<span>by mathiaz@ubuntu.com</span>
<i>at 2019-09-17T18:22:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Enable net usershares by default at build time

Enable net usershares by default at build time, with a limit of 100, and update
the corresponding documentation.

Bug-Debian: http://bugs.debian.org/443230
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/128548
Forwarded: not-needed
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/46d61460124adacacd99fedce3e1cc61a6fca0c6">46d61460</a></strong>
<div>
<span>by Eloy A. Paris</span>
<i>at 2019-09-17T18:22:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add "Debian" as vendor suffix

Forwarded: not-needed
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/52d9ffb182cf670013a804f03a6712bc31bf9737">52d9ffb1</a></strong>
<div>
<span>by Jeroen Dekkers</span>
<i>at 2019-09-17T18:22:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add so version number to private libraries for dpkg-shlibdeps

We also want dpkg-shlibdeps to generate correct dependency information
for the private libraries in our binary packages, but dpkg-shlibdeps
only works when the library has a version number.

Origin: vendor
Forwarded: not-needed
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5811f53bee6adcd756183403c8c8ce992cc62268">5811f53b</a></strong>
<div>
<span>by Brian May</span>
<i>at 2019-09-17T18:22:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Patch in symbol table from rfc3454, for Heimdal scripts

Status: cherry-picked from heimdal package
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/92652d4d95ddadccdc89a400f4392b26af391e77">92652d4d</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2019-09-17T18:22:08Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd.service: Run update-apparmor-samba-profile before start

Bug-Debian: https://bugs.debian.org/896080
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3586728185ee06391136ca2b22a11a21b41983f7">35867281</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2019-09-17T18:36:39Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Update fix-nfs-service-name-to-nfs-kernel-server.patch
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/598d5f1fca649e8be1ac26aa4e727977b82c1c45">598d5f1f</a></strong>
<div>
<span>by Rafael David Tinoco</span>
<i>at 2019-09-17T18:37:19Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">fix nfs related service names

Upstream defines nfs related service names based on the Linux
distribution. This patch fixes the names for Debian and derivatives.

Bug-Debian: https://bugs.debian.org/929931
Bug-Ubuntu: https://bugs.launchpad.net/bugs/722201
Last-Update: 2018-08-05
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/963533a52068f6451ec12123d7ebdcb678752673">963533a5</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2019-09-17T18:41:25Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Bump build-depends talloc >= 2.2.0, tdb >= 1.4.2, tevent >= 0.10.0 and ldb >= 2:2.0.7
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d5cc5f582fd049e8ce9949ad3a16b04957bfc51f">d5cc5f58</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2019-09-17T18:50:22Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Changelog for previous commits
</pre>
</li>
</ul>
<h4>25 changed files:</h4>
<ul>
<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="#836efb6e25a091dcb4ff8e1dbb2f0be6a5cbf14c">
Makefile
</a>
</li>
<li class="file-stats">
<a href="#8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d">
README.md
</a>
</li>
<li class="file-stats">
<a href="#b33892fbddeffc3368077b4904ad0b3d562a7312">
VERSION
</a>
</li>
<li class="file-stats">
<a href="#3277e12b5a9f9ff632d229e2629d34ad21dd93fc">
WHATSNEW.txt
</a>
</li>
<li class="file-stats">
<a href="#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="#694da978b3f8bdff8e27dc17b9ae77fed8c50d7f">
auth/auth_util.h
</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="#fcf792b723f1fb082b2ae957ef92e787131776f7">
auth/credentials/credentials_krb5.c
</a>
</li>
<li class="file-stats">
<a href="#6f3c30cf6afc81a7615cec7c65516c4c52997abc">
auth/credentials/credentials_ntlm.c
</a>
</li>
<li class="file-stats">
<a href="#9283eb682b67801707177e777c6175a149627c4c">
auth/credentials/pycredentials.c
</a>
</li>
<li class="file-stats">
<a href="#5c4d0999bf5ec0955d6ff366f46f0df839e57b7f">
auth/credentials/tests/simple.c
</a>
</li>
<li class="file-stats">
<a href="#a052e04fd40f1081b95872e2bee962fb500f6f42">
auth/credentials/wscript_build
</a>
</li>
<li class="file-stats">
<a href="#82a90d9af4695349d06bab213a9c8b46bc21a3a3">
auth/gensec/schannel.c
</a>
</li>
<li class="file-stats">
<a href="#44f8aa53a5af4515c57cd1f6868674e57abf9514">
auth/gensec/wscript_build
</a>
</li>
<li class="file-stats">
<a href="#8eab3d716e7a2f262ad99b521ccdce169e9f5fd5">
auth/kerberos/gssapi_pac.c
</a>
</li>
<li class="file-stats">
<a href="#0b14a47777d0310e81b8550bb8ab5dd91a7303cb">
auth/ntlmssp/ntlmssp_client.c
</a>
</li>
<li class="file-stats">
<a href="#df1151fa8fcf1360a4878d0376c50ac14f9e97f6">
auth/ntlmssp/ntlmssp_server.c
</a>
</li>
<li class="file-stats">
<a href="#3ed38a7cb8aee13db0e459772b40a527411129b5">
auth/ntlmssp/ntlmssp_sign.c
</a>
</li>
<li class="file-stats">
<a href="#71668996a6be349dd644eb17586d4ef5e3b1fdea">
auth/ntlmssp/wscript_build
</a>
</li>
<li class="file-stats">
<a href="#8d5fef1d13c420deab2dc4c036dda3471bd17825">
<span class="new-file">
+
bootstrap/.gitlab-ci.yml
</span>
</a>
</li>
<li class="file-stats">
<a href="#edadce52cd34e6cf8974e72428cb6d9953c36432">
<span class="new-file">
+
bootstrap/READMD.md
</span>
</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: #777;">

<br>
<a href="https://salsa.debian.org/samba-team/samba/compare/c4371bfb787b46d33be08050e86bbbdbcc7b07c8...d5cc5f582fd049e8ce9949ad3a16b04957bfc51f">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>