<!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=utf-8" 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 stretch-security
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/520e1a58e1598f412698a38b7af2d6c2015ba056">520e1a58</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-03-09T10:19:50+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to 4.5.7...
and re-enable GIT_SNAPSHOTS.
Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/73f604291034d0efb6807b2974e5dfe38ca973d4">73f60429</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-03-13T17:08:45+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Do an early exit on negprot failure
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12610
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit cf9acf9a3da932fca115967eb3d9d9ed48fcbbfc)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Mon Mar 13 17:08:45 CET 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8f4bb3afb0b15f8d3d739f7561dc6c737e459eb1">8f4bb3af</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-03-14T10:52:12+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/wscript: fix Linux kernel oplock detection
Fix a copy/paste error, the Linux kernel oplocks check was copied from
the change notify support check.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7537
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit fe473f805af885a23bb16046c9d26d756e164f30)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c0d2c6314a1564ca91ed68a18e3ecb1b3cc70dc5">c0d2c631</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-03-14T10:52:12+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: add const to get_lease_type() args
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7537
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 6924e72ade20e98ac470fcb6ba7120c61b06bb0f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/52634536e5a768cb12fa77fd6da505091e253fda">52634536</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-03-14T10:52:12+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: add comments and some reformatting to open_file_ntcreate()
No change in behaviour.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7537
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit f5631f6b3520326d4c9a6bae5636fd8d53e66b29)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/32faf95ad5b350fc04191affd3c0a6bd2d6156a5">32faf95a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-03-14T10:52:12+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: req is already validated at the beginning of open_file_ntcreate()
req can't be NULL because the if condition surrounding this code checks
!(oplock_request & INTERNAL_OPEN_ONLY).
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7537
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 8580adc1d968304b69237f289d13950972394b48)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8707c863ec56d41a1909b4d0af4190066fadccf1">8707c863</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-03-14T10:52:12+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: simplify defer_open()
Add a helper function deferred_open_record_create() that creates a
deferred_open_record and let all callers pass all needed arguments
individually.
While we're at it, enhance the debug message in defer_open() to print
all variables.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7537
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit b17ff9b181b7b9730d32534e720c45faabfa6799)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6f7f844358e20ad191a5bd665ba4a58e61723909">6f7f8443</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-03-14T10:52:12+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: add and use retry_open() instead of defer_open() in two places
Add a new function that does an immediate open rescheduling.
The first deferred open this commit changes was never scheduled, as the
scheduling relies on a timeout of the watch on the sharemode lock.
This has been broken since the commits in
$ git log --reverse -p -10 8283fd0e0090ed12b0b12d5acb550642d621b026
That patchset added the dbwrap watch record logic to defer_open() and
removed the timers.
I'm doing this mainly to untangle the defer_open() logic which is
complicated by the lck arg.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7537
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit beaba6222848fb4ff4392b2247c5be1094b1d65b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5e02ff151fdce4ac41e4932b1aaea99cb23fbc27">5e02ff15</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-03-14T10:52:13+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: fix schedule_async_open() timer
schedule_async_open() was calling defer_open with sharemode lock = NULL,
as a result there was never an active 20 s timeout.
This has been broken since the commits in
$ git log --reverse -p -10 8283fd0e0090ed12b0b12d5acb550642d621b026
Just roll our own deferred record instead of calling defer_open() and
also set up timer that, as a last resort, catches stuck opens and just
exits for now.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7537
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit ad8c36125f72e0d5f9ebfc94037a4ae9e7608aad)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5f0984590154153ef91f884416994f0ad7d54f93">5f098459</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-03-14T10:52:13+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: remove async_open arg from defer_open()
All remaining callers pass false.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7537
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 7fa2f1159437c9f1aa47f51e65655b4d9afa5c0a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1b5e50400c32bd5941ed6a3149dd814295359a24">1b5e5040</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-03-14T10:52:13+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: all callers of defer_open() pass a lck
No change in behaviour. Update the function comment explaining how it
works and relies on lck for a record watch.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7537
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 1a6c82e5d5a3462827ee3fe1edab01f535f831a9)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a54aa79b3e5c50ed2896df94993da6a89e9127f4">a54aa79b</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-03-14T10:52:13+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: fix deferred open with streams and kernel oplocks
I noticed smbd can get stuck in an open() call with kernel oplocks
enabled and named streams (provided by vfs_streams_xattr):
- client opens a file and with an exclusive oplock
- client starts writing to the file
- client opens an existing stream of the file
- the smbd process gets stuck in an open()
What happens is:
we had setup a locking.tdb record watch in defer_open(), the watch was
triggered, we reattempted the open and got stuck in a blocking open
because the oplock holder (ourselves) hadn't given up the oplock yet.
Cf e576bf5310bc9de9686a71539e9a1b60b4fba5cc for the commit that added
the kernel oplock retry logic. tldr: with kernel oplocks the first open
is non-blocking, but the second one is blocking.
Detailed analysis follows.
When opening a named stream of a file, Samba internally opens the
underlying "base" file first. This internal open of the basefile suceeds
and does *not* trigger an oplock break (because it is an internal open
that doesn't call open() at all) but it is added as an entry to the
locking.tdb record of the file.
Next, the stream open ends up in streams_xattr where a non-blocking
open() on the base file is called. This open fails with EWOULDBLOCK
because we have another fd with a kernel oplock on the file.
So we call defer_open() which sets up a watch on the locking.tdb record.
In the subsequent error unwinding code in open_file_ntcreate() and
callers we close the internal open file handle of the basefile which
also removes the entry from the locking.tdb record and so *changes the
record*.
This fires the record watch and in the callback defer_open_done() we
don't check whether the condition (oplock gone) we're interested in is
actually met. The callback blindly reschedules the open request with
schedule_deferred_open_message_smb().
schedule_deferred_open_message_smb() schedules an immediate tevent event
which has precedence over the IPC fd events in messaging, so the open is
always (!) reattempted before processing the oplock break message.
As explained above, this second open will be a blocking one so we get
stuck in a blocking open.
It doesn't help to make all opens non-blocking, that would just result
in a busy loop failing the open, as we never process the oplock break
message (remember, schedule_deferred_open_message_smb() used immediate
tevent events).
To fix this we must add some logic to the record watch callback to check
whether the record watch was done for a kernel oplock file and if yes,
check if the oplock state changed. If not, simply reschedule the
deferred open and keep waiting.
This logic is only needed for kernel oplocks, not for Samba-level
oplocks, because there's no risk of deadlocking, the worst that can
happen is a rescheduled open that fails again in the oplock checks and
gets deferred again.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7537
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit b35a296a27a0807c780f2a9e7af2f2e93feefaa8)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e103ad524f307a15d09d573c1215a8dda001042f">e103ad52</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-03-14T10:52:13+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/selftest: adopt config.h check from source4
No change in behaviour.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7537
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(backported from commit 6e54d8d2bda2c9232676f8c08c626f22de50f52b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f70070cb0e6b6623b706c192542c508c1c4ddffe">f70070cb</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-03-14T10:52:13+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture: some tests for kernel oplocks
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7537
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(backported from commit fd03420c4f59d3248b80d07a302d1404ce78b09f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/708b1e20f9106743750c2febf52c8367d3875e80">708b1e20</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-03-14T11:53:47+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">manpages/vfs_fruit: document global options
Some options MUST be set in the global section, better document that.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12615
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 0c212c50b59081583572f807cf5214037d1517c4)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/62262616abadb1dcf840ca3b864a3e4ed5e8db43">62262616</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2017-03-15T10:00:27+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">replace: Include sysmacros.h
In the GNU C Library, "makedev" is defined by <sys/sysmacros.h>. For
historical compatibility, it is currently defined by <sys/types.h> as
well, but it is planned to remove this soon.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12686
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 0127bdd33b251a52c6ffc44b6cb3b82b16a80741)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/28b331169739c50c0b0565dbae05e996ac967990">28b33116</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-03-23T10:20:28+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Merge tag 'samba-4.5.7' into v4-5-test
samba: tag release samba-4.5.7
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d537977721ee10d198ced5fd6ab141fe0636e28e">d5379777</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-03-23T10:20:48+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Up to Samba 4.5.8.
Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cd86895e16ab66e003a51df8e80dcfb136654fd5">cd86895e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-03-23T13:04:07+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: locking: Move two leases functions into a new file.
map_oplock_to_lease_type(), fsp_lease_type().
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12628
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(back ported from commit 125c78ad0b8f9caaef1ba2f1aeb5ec593375fccd)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9533a55ee5ffe430589dcea845851b84876ef656">9533a55e</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-03-23T13:04:07+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: locking: Update oplock optimization for the leases era !
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12628
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Mar 15 20:04:32 CET 2017 on sn-devel-144
(cherry picked from commit 1c4b15aa5f6707e7bcfc21435e26929fb7f45c0f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/85e3446176786d0ec21138fe71de641e1401b1ae">85e34461</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2017-03-23T13:04:07+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:vfs_expand_msdfs: Do not open the remote address as a file
The arguments get passed in the wrong order to read_target_host().
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12687
Signed-off-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 1115f152de9ec25bc9e5e499874b4a7c92c888c0)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/19b6c872bbe8bbc68aeee77e1123ce16d3577538">19b6c872</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2017-03-23T13:04:07+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-readonly: Avoid a tight loop waiting for revoke to complete
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12697
During revoking readonly delegations, if one of the nodes disappears, then
there is no point re-trying revoking readonly delegation. The database
needs to be recovered before the revoke operation can succeed. So retry
only after a grace period.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Mar 17 14:05:57 CET 2017 on sn-devel-144
(cherry picked from commit ad758cb869ac83534993caa212abc9fe9905ec68)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/968e3e2fbf1020e4c44ac123f74c379373c76650">968e3e2f</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-03-23T13:04:07+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix for Solaris C compiler.
Inspired by comment 4 in bug 12559.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12559
Signed-off-by: Tom Schulz <schulz@adi.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit 59229276bcf5e2b7fa0ddf3ceb6fd3adccc01f9a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8e8ebe544730d76e9d15ff9512d514c854b51d29">8e8ebe54</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-03-23T17:08:09+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Changes to make the Solaris C compiler happy.
Fix Bug 12693 dbwrap_watch.c syntax error before or at: }
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12693
Signed-off-by: Tom schulz <schulz@adi.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 2780a56d0bb7848e017314a033ef22ee944d8b05)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Thu Mar 23 17:08:09 CET 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cecab32b602fbdb75896e3aef78f11c23ee7a591">cecab32b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-03-27T15:50:32+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libgpo: Allow skipping GPO objects that don't have the expected LDAP attributes.
We expect the following attributes to be present in an LDAP GPO object:
displayName
flags
gPCFileSysPath
name
ntSecurityDescriptor
versionNumber
and fail if a result is returned without them. Change this
to skip results that don't contain these attributes instead.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12695
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 24622bab3a6f1e959c79dc9fc1850e9e64b15adc)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Mon Mar 27 15:50:32 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a5c92d855d462f726f59dde42ec6a3a021eb2ab4">a5c92d85</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2017-03-28T12:18:08+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: add zero_file_id flag
This flag instructs the SMB layer to report a zero on-disk
file identifier.
According to [MS-SMB2] 3.3.5.9.9, the reported on-disk file ID
SHOULD be unique. However, macOS clients seem to expect it to be
unique over time as well, like the HFS+ CNID. Reporting a file ID
of 0 seems to instruct the Mac client not to trust the server-reported
file ID.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12715
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 6711522e1e57980e50e245f43167d0daf5a705ad)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3722b06f12b6ab8c81411704d3fe30b33aeac696">3722b06f</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2017-03-28T12:18:08+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: enable zero file id
Enable zero_file_id if both conditions are met:
- AAPL negotiated
- fruit:zero_file_id is set
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12715
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 245a325532c9a46ec3e459ceca38e903b203f691)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/42b77e93e2e9376dca1e11541d9565d417c8e4eb">42b77e93</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2017-03-28T12:18:08+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: document added zero_file_id parameter
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12715
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit e11d4eb4d5c6cfc6daa3dbdcc301a4fa83298f0e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d89cfae311e6a65249ba0ac2c44724a05ba24a65">d89cfae3</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2017-03-28T12:18:09+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">torture: add torture_assert_mem_not_equal_goto()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12715
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit f31fd41ca728d664ded940a7309ef1e32383bb66)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/78b188d50c13e52cd46bc1de53ca8e3638335923">78b188d5</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2017-03-28T16:23:23+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: tests for vfs_fruite file-id behavior
The test is in its own suite because it validates
our hackish workaround rather than some reference
implementation behavior.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12715
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Sun Mar 26 23:31:08 CEST 2017 on sn-devel-144
(cherry picked from commit b6baf35ebde68db75515910ede26e74bb8313284)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Tue Mar 28 16:23:23 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e5094cfdf208faad81c1ba2797cac36377a0ec49">e5094cfd</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-03-29T10:23:16+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix incorrect logic exposed by fix for the security bug 12496 (CVE-2017-2619).
In a UNIX filesystem, the names "." and ".." by definition can *never*
be symlinks - they are already reserved names.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12721
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
(cherry picked from commit ae17bebd250bdde5614b2ac17e53512f19fe9b68)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c5c8e6aa11d9eb75874f34014137ccf7b63ac101">c5c8e6aa</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-03-29T10:23:17+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: Test for CVE-2017-2619 regression with "follow symlinks = no".
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12721
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Back-ported from commit 782172a9bef0040981d20e49519b13dd744df6a0
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3b4cb58788b1edf57ed2cb44550a198d5e6a4a5b">3b4cb587</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-03-29T10:23:17+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: Fixup test for CVE-2017-2619 regression with "follow symlinks = no"
Use correct bash operators (not string operators).
Add missing "return".
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12721
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 037297a1c50e90a0092e3b94f472623f41ccc015)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9ddabbf4c8ec37b60feb60dbcf970fd2d17fab6d">9ddabbf4</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-03-29T10:23:17+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix "follow symlink = no" regression part 2.
Add an extra paramter to cwd_name to check_reduced_name().
If cwd_name == NULL then fname is a client given path relative
to the root path of the share.
If cwd_name != NULL then fname is a client given path relative
to cwd_name. cwd_name is relative to the root path of the share.
Not yet used, logic added in the next commit.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12721
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 83e30cb48859b412b76572b6a3ba84d8fde167af)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/080a390002f0d2175ac9713e05d9068104a867fc">080a3900</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-03-29T10:23:17+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix "follow symlink = no" regression part 2.
Use the cwd_name parameter to reconstruct the original
client name for symlink testing.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12721
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit e182a4d39e86c9694e255efdf6ee2ea3ccb9af4a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/342e39b0625bfa74cbbd01cb3808725d68409a2e">342e39b0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-03-29T14:26:27+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: Test for CVE-2017-2619 regression with "follow symlinks = no" - part 2
Add tests for regular access.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12721
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Mar 28 17:05:27 CEST 2017 on sn-devel-144
(cherry picked from commit 4e734fcd1bf82c08aa303ce44e9735acccffcf06)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Wed Mar 29 14:26:27 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/25ed6156ab8e2a14475c635e21b3c1b3c332083a">25ed6156</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-03-31T10:15:40+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Merge tag 'samba-4.5.8' into v4-5-test
samba: tag release samba-4.5.8
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fa9bc20eecc28073be09a6644f057131213d01eb">fa9bc20e</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-03-31T10:16:13+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to 4.5.9.
Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/82cf3678b8d008849e1a1d23b7f9a8be212c3604">82cf3678</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:10+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: use correct domain name for failed lookupsids
What we want here is, for failed lookupsids, pass the domain name of the
SID we were trying to lookup to the idmap backend.
But as a domain member, using
state->single_domains[state->single_sids_done]
for this purpose will always be use our primary domain name (for S-1-5-21
SIDs that are not in our local SAM).
So for now use find_domain_from_sid_noinit() to find the domain from the
domain list. This can be removed when we switch idmap backend
determination to be based on domain SIDs, not names.
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11961
Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit a684df160e692710e011c4eb6795a66772025c23)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d5d552d1f963a2f91da2b33a55a89ae711e9ccdc">d5d552d1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:10+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: remove unused single_domains array
This was added as part of 9be918116e356c358ef77cc2933e471090088293, but
is not needed anymore as the previous commit changed the logic.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11961
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 9671811da8ad3f91ba7bb0fa868f806bc5afe863)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6249de7f8e5184fd9c8d02f178bd153b36368d4d">6249de7f</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:10+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: new environment "ad_member_idmap_rid"
This uses idmap_rid for the primary domain.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11961
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit ef10b43469f5b31a696259a70b3e116a350bfd3d)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/107f3eeebe7f4a372473e18d3237f9a17ebaf0ee">107f3eee</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:10+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: tests idmap mapping with idmap_rid
This adds two blackbox tests that run wbinfo --sids-to-unix-ids:
o a non-existing SID from the primary domain should return a mapping
o a SID with a bogus (and therefor unknown) domain must not return a mapping
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11961
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Apr 7 00:05:02 CEST 2017 on sn-devel-144
(cherry picked from commit b680ceebf85b2403758a0f9e931f1211e9b80e8d)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3dc328cf7a46e92f8b933f784bf36e5a103e55de">3dc328cf</a></strong>
<div>
<span>by Christof Schmitt</span>
<i>at 2017-04-20T12:26:10+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: Fix password policy for pam authentication
Authenticating users from trusted domains would return the password
policy of the joined domain. Fix the code so that the password policy of
the joined domain is only returned for users from that domain.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12725
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Wed Mar 29 22:54:47 CEST 2017 on sn-devel-144
(cherry picked from commit bc39fb07ced84af4d97853d00d07fb4293352686)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2ead4b430fda09fde81ef2dac362b5931891e88a">2ead4b43</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">smbd: Fix smb1 findfirst with DFS
9377f3bce should have changed the callers of dfs_path_lookup. It now
takes a uint32_t ucf_flags, not a boolean anymore.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12558
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit baa3e71f7968ec3239d80d7602839c2d7c2de74f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f54ff446c4f04eb0654b05621d8f02182750eceb">f54ff446</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Test for bug 12558
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12558
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 3667876ebebb7181d89834e6038e2d7218c98797)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1de3e9268908d5892bd795f696fcb8b7907bc30d">1de3e926</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">waf: Explicitly link libreplace against libnss_wins.so
If we do not specify replace as a depencency here, it will not link to
libreplace using an rpath.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12277
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Jim McDonough <jmcd@samba.org>
(cherry picked from commit d8a5565ae647352d11d622bd4e73ff4568678a7c)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/92cc3b274e8ee7c7de8dc71355e2c47d2c6f926d">92cc3b27</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: resource fork open request with flags=O_CREAT|O_RDONLY
When receiving an SMB create request with read-only access mode and
open_if disposition, we end of calling the open() function with
flags=O_CREAT|O_RDONLY for the ._ AppleDouble file.
If the file doesn't exist, ie there's currently no rsrc stream, we create
it but then we fail to write the AppleDouble header into the file due to
the O_RDONLY open mode, leaving a 0 byte size ._ file.
Running this create requests against macOS SMB server yields an
interesting result: it returns NT_STATUS_OBJECT_NAME_NOT_FOUND even
though create dispotion is open_if. Another instance where the macOS SMB
server just exposes FSA behaviour (ie HFS+) and we have to adapt to be
compatible.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12565
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit a36de8b81aa88c31450e68ec54d6b659b1693878)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6bcfe2dc16602ac1365ea97056b222abb4158d7a">6bcfe2dc</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture: vfs_fruit: test for bug 12565
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12565
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 893fc5abbe0a1b63ebd81f442a8d544572ed76a9)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/089711efb6b3298b671d4d46f7f9119c42f96819">089711ef</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: use passdb backend for well-known SIDs
On a DC well-known SIDs like S-1-1-0 (everyone) *must* be handled by the
local domain, otherwise something simple like this fails with
WBC_ERR_DOMAIN_NOT_FOUND:
$ make testenv SELFTEST_TESTENV=nt4_dc SCREEN=1
localnt4dc2$ ./bin/wbinfo --sid-to-name S-1-1-0
failed to call wbcLookupSid: WBC_ERR_DOMAIN_NOT_FOUND
Could not lookup sid S-1-1-0
On a member server asking our DC works and is what we're currently
doing, but changing it to ask passdb avoids the overhead.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12727
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 6b7a14b4b9c3411bd2e05383917e8fdedae51c90)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/82bbb7924b0533892b19a83a06e7777d565e01bd">82bbb792</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: wbinfo -s tests for wellknown SIDs
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12727
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 2150de3a73527850547263e853faf4f3fedca6e6)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/888e75a37868b250042139c5a1c3874bef260935">888e75a3</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: wbinfo --sids-to-unix-ids tests for wellknown SIDs
This test passes even without the fix, as in sids2xids we use the
lookupnames just to determine the mapping domain, using the default
idmap domain as fallback if that fails.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12727
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 8bd5f774fdc1f4ea012885262eb0f40640504de8)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cca29f8cfee786805ed6c9d7e31a0b54ff0dc8ae">cca29f8c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: explicit check for well-known SIDs in wb_lookupsids_bulk()
Those are implicitly already catched by the
if (sid->num_auths != 5)
check, but I'd like to make the desired behaviour more obvious.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12727
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 167bb5ead8c7193d173fdba8a453279d422fa7ea)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/27359922c2fa31d74942bb717b9a62b32cedc948">27359922</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: fix for wbinfo -s tests for wellknown SIDs
Rework while loop to not use a pipe as that uses a subshell for the loop
which means assigning to the variable failed is not visible in the
main script.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12727
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit d8fd56a8244a3010469c27eaa3b73a2c5fbbc41f)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f81a0ff5184aac642209691830db7be2735dd741">f81a0ff5</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/include: add NT_STATUS_LOOKUP_ERR
Useful helper macro to check the return value of LSA and SAMR
translations.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12728
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit fc37c7327dc7e4ad4405e324fc88d4bbf9b6ef9e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/84c7c56dcd74d57c2ae2b27aac775ea7a35e2cfd">84c7c56d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/rpc_client: use NT_STATUS_LOOKUP_ERR
No change in behaviour.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12728
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 0e7e4ebad31caa1ccb392f2fe20c67929149b8c9)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bc6d9010cbe8b5320be489c52da8870b64f9c2f7">bc6d9010</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/rpc_client: lookupsids error handling of NT_STATUS_NONE_MAPPED
NT_STATUS_NONE_MAPPED is not a fatal error, it just means we must return
all lsa_TranslatedName's as type SID_NAME_UNKNOWN.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12728
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 416c74e8c89dc2fb2083beaaa9ac8a6e975ec873)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/46abe7f06c3cbaee205f82da8e91f49859a488ed">46abe7f0</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: error handling in rpc_lookup_sids()
NT_STATUS_NONE_MAPPED and NT_STATUS_SOME_NOT_MAPPED should not be
treated as fatal error. We should continue processing the results and
not bail out.
In case we got NT_STATUS_NONE_MAPPED we must have to ensure all
lsa_TranslatedName are of type SID_NAME_UNKNOWN.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12728
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 8dfbba59d768b10f6b088cfc49e5dbe6de4834e1)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/490f72216c915b25a4a4b2aa24da5894255c85ef">490f7221</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">winbindd: trigger possible passdb_dsdb initialisation
If the passdb backend is passdb_dsdb the domain SID comes from dsdb, not
from secrets.tdb. As we use the domain SID in various places, we must
ensure the domain SID is migrated from dsdb to secrets.tdb before
get_global_sam_sid() is called the first time.
The migration is done as part of the passdb_dsdb initialisation, calling
pdb_get_domain_info() triggers it.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12729
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Apr 1 21:18:59 CEST 2017 on sn-devel-144
(cherry picked from commit 8b32fc4006ae338ddee7c0e5991958ec3463da0d)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8c283d4d316a022bef327018fa6409eab15844b8">8c283d4d</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-docs: Fix documentation of -n option to ctdb tool
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12733
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
(cherry picked from commit 7f714a436250dfeaa1970f78090ef066482711f0)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5e2937966fe20e3747c080ce171c106af157d7f8">5e293796</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: test fetching a large ACL from vfs_acl_xattr
Add a test that fetches an ACL whose size is larger than 4K.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12737
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(back-ported from commit 5017dfeef24b8d568e0146c085f3f979d688acf2)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4b0b01268f1d42a8c2615946c1fe0ba364bdf3c1">4b0b0126</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2017-04-20T12:26:11+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_xattr_tdb: handle case of zero size.
With getxattr(), passing a zero buffer size is a
way of obtaining actual xattr size.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12737
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 4dfa2d6a0972847e3b21ddf05077e50ed72c4ea8)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c0bf985b472d56a675cb4b17aed43de63e42c0be">c0bf985b</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2017-04-20T12:26:12+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_acl_xattr: factor out fetching of an extended attribute
Pure refactoring - add a function that fetches an extended attribute
based on either the file descriptor or the file name.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12737
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 7b775abd9278ae34110ec87d94a736be7f64884a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5cba8bb5846e7fc53c517c65bc6873e87db84509">5cba8bb5</a></strong>
<div>
<span>by Uri Simchoni</span>
<i>at 2017-04-20T12:26:12+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_acl_xattr: avoid needlessly supplying a large buffer to getxattr()
When obtaining the security descriptor via getxattr(), first try
optimistically to supply a buffer of 4K, and if that turns out
to be too small, determine the correct buffer size.
The previous behavior of falling back to a 64K buffer encountered
problem with Linux prior to version 3.6, due to pyisical memory
fragmentation. With those kernels, as long as the buffer is 8K or
smaller, getting the xattr is much less prone to failure due to
memory fragmentation.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12737
Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Apr 18 04:41:16 CEST 2017 on sn-devel-144
(cherry picked from commit 05d83ccf7a6fecf963fcb980acd50cebfc0c3ea9)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/96c71509470be1685d9941b70796e534481a48e6">96c71509</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-04-20T12:26:12+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: debug: Avoid negative array access.
Report and patch from Hanno Böck <hanno@hboeck.de>.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12746
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 600f8787e3b605c9f3e8f724c726e63157ee9efc)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/36a97de00dee6dd7acdb0a2fd3322f5ddef1831e">36a97de0</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-04-20T12:26:12+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:lib: Fix incorrect logic in sys_broken_getgroups()
If setlen == 0 then the second argument must be ignored.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12747
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 60af864f751706c48b8af448700bf06e33e45946)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/685437eb89fb11bfd9cb8bc8703b3539b665c624">685437eb</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-04-20T16:36:14+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: Fix incorrect use of sys_getgroups()
Second arg must be NULL when first arg is 0 (it is in all other places).
Bug report and patch from Hanno Böck <hanno@hboeck.de>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12747
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Apr 18 15:43:02 CEST 2017 on sn-devel-144
(cherry picked from commit 76b351e907f67cc7d4af4e7d800c7a3aa1269ee8)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Thu Apr 20 16:36:14 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ea910042c9653ac9ffe8a005698dd67464e59b0a">ea910042</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-04-21T09:11:14+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">pam_winbind: no longer use wbcUserPasswordPolicyInfo when authenticating
The expiry time for the specific user comes from
info->pass_must_change_time and nothing else.
The authenticating DC knows which password policy applies
to the user, that's nothing the client can do, as
domain trusts and fine-grained password policies makes
this a very complex task.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12725
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit fba7ed9a3fa6fcb2d90d1271ae81ec11b554bd2d)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/609ae136070bf15c6da2554674f19eb5d1126055">609ae136</a></strong>
<div>
<span>by Michael Adam</span>
<i>at 2017-04-21T09:11:14+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:vfs:shadow_copy2: fix quoting in debug messages
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit fffd611fdc558ab428c8a21cf1e68feaf1f6f469)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5b0b84eda36483a2a6f17d0f9eb6c6e734e6ac71">5b0b84ed</a></strong>
<div>
<span>by Michael Adam</span>
<i>at 2017-04-21T09:11:16+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:vfs:shadow_copy2: fix the corner case if cwd=/ in make_relative_path
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 16c89835cf07caa2082b586666095deba38ef962)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/136d0d8a784f9b9d1e2b97d83eba89d628fb8c6d">136d0d8a</a></strong>
<div>
<span>by Michael Adam</span>
<i>at 2017-04-21T09:11:16+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:vfs:shadow_copy2: fix corner case of "/@GMT-token" in shadow_copy2_strip_snapshot
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 26661218b3d3f0d4ee89039727bc110e972c2851)
The last 3 patches address
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12743
vfs_shadow_copy2 fails to list snapshots from shares with GlusterFS backend
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bd0f2e8333557273cd17573053deef623d53ddff">bd0f2e83</a></strong>
<div>
<span>by Hanno Böck</span>
<i>at 2017-04-21T13:28:33+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">cleanupdb: Fix a memory read error
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12748
Signed-off-by: Hanno Böck <hanno@hboeck.de>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit fd98a7b6a0053b62802e29fb729e219dc08eef6b)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Fri Apr 21 13:28:33 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/68007442da768517d623ff306764d126222607e0">68007442</a></strong>
<div>
<span>by Shilpa Krishnareddy</span>
<i>at 2017-04-28T09:10:12+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">notify: Fix ordering of events in notifyd
In notifyd_trigger_parser() while initializing notify_event_msg values from
notify_trigger_msg, 'when' value is ignored. So the smbd process does not get
correct 'when' value and this is causing issues during qsort in
notify_marshall_changes(). Because of this issue, smb2.notify.dir test was
failing.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12756
Signed-off-by: Shilpa Krishnareddy <skrishnareddy@panzura.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Apr 26 17:02:58 CEST 2017 on sn-devel-144
(cherry picked from commit 5701880655c8a82b6d533c7c2e131cc803e7570b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/36ff82f57bd06005431a90789312293440e88ecb">36ff82f5</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-04-28T09:10:12+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">lib: Fix CID 1373623 Dereference after null check
We should not overload "p", this is used in the outer loop
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12276
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 6ec81ca3c196f3c4659a4e1c473759b393708d12)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/68461b9a0e20a802004a770ae618f26729ff6ba1">68461b9a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-28T09:10:12+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_acl_xattr|tdb: ensure create mask is at least 0666 if ignore_system_acls is set
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12562
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Apr 20 20:50:10 CEST 2017 on sn-devel-144
(cherry picked from commit 375d772d04338861d92e683ae3c6c9d7ecb846ad)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bc6209116841bcd30a0c109e07df9e0801fd0ba9">bc620911</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-04-28T13:17:18+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">vfs_fruit: lp_case_sensitive() does not return a bool
lp_case_sensitive() returns an int, not a bool, so with the default
setting of "Auto" by default we set the AAPL flag
SMB2_CRTCTX_AAPL_CASE_SENSITIVE.
This caused the client to believe the volume is case sensitive where it
wasn't, leading to an error when trying to rename files changing only
the case of the name.
Also fix the existing torture test that verifies AAPL context
negotiation and actually expected the server to return "case sensitive",
while the Samba default is really "case insensitive".
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12749
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 36612723b2b18675116b6197183bdfe5e1d9e06f)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Fri Apr 28 13:17:19 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/554264827feb6ef738a9e119cedd03fe6c37180e">55426482</a></strong>
<div>
<span>by Doug Nazar</span>
<i>at 2017-05-02T13:54:40+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: inotify_map_mask_to_filter incorrectly indexes an array.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12760
Signed-off-by: Doug Nazar <nazard@nazar.ca>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit a939db725ea81944532ba3b035da0d145bc3b62a)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Tue May 2 13:54:40 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/935fab0d03c7c648129e564b1f80fd357e7a72dc">935fab0d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-05-09T10:17:08+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/locking: add const to fsp_lease_type
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12766
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 952701dce09b1ee89a0f6a450ac244fd6451955b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/88360c7a8553261159ad81d64c96c79c6aacecac">88360c7a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-05-09T10:17:08+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/locking: helper functions for lease types
Add some helper functions that will be used to update a bunch of checks
for exclusive oplocks to the lease area.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12766
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit f631e95e2de857ea98204609a71e6db00993994b)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bce657829f3dbd095ae1d8bab2683cd682428886">bce65782</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-05-09T10:17:08+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: update exclusive oplock optimisation to the lease area
This is similar to 9533a55ee5ffe430589dcea845851b84876ef656 but this
time in the contend_level2_oplocks_begin_default() function.
The idea of the optimisation is to avoid expensive db queries in
locking.tdb if we *know* we're the only open.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12766
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 0a4a08ad1cef3b7d6fd47df3a93c2c89dd287ee8)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/165cdf380e6bed00c7e93eec27b0fbd48972ad4e">165cdf38</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-05-09T10:17:08+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: update exclusive oplock optimisation to the lease area
Update an optimisation in update_num_read_oplocks() that checks for
exclusive oplocks to the lease area.
The idea of the optimisation is to avoid expensive db queries in
brlock.tdb if we *know* we're the only open.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12766
Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Sat May 6 22:58:47 CEST 2017 on sn-devel-144
(cherry picked from commit a50343779a8a92d6f53095b36506b1d47ef68513)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8d11ac4fb82dc67cbef4da27db03fa823a93be1b">8d11ac4f</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-05-09T14:34:10+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: let 'samba-tool user syncpasswords' report deletions immediately
We need to use the show-recycled control in addition to the
notification control in order to get notifications about deletions.
There's no real problem as the next modification will report the deletion.
But it might be delayed a few minutes.
Note that show-recycled is a superset of show-deleted, so we only need one.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12767
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit afa15e6128473d3e4006f7cdc3762ab4c1cba05a)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Tue May 9 14:34:10 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/080f69ed6a2e28919abd1b50ab1da7a603108f23">080f69ed</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-05-16T09:15:06+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idmap_rfc2307: Don't stop after 30 entries
We start over again and again, so we need to search in the whole list.
This is a quick hack generating a bad O(n^2). The real fix is to
call idmap_rfc2307_find_map with "maps" starting at the right offset,
but that's an optimization for later when it's restructured
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12757
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit 54a0e7e3d7332f420f36a3a20dd62156e6adea46)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d168aae6bdeee88d35c22c683be8ba5b1d0f502f">d168aae6</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-05-16T09:15:06+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idmap_rfc2307: "ldap_next_entry" needs the previous entry, not the start
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12757
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit 17563f295ffa7379daa5bf7cc89540df4ae4f7b3)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/dffa11997e10912bc829212ff1ea27c72a2220c5">dffa1199</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-05-16T09:15:06+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_idmap_rfc2307: Remove the correct file
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12757
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit 9e816ea2f8d21d392b4e9050e443ef936629202e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/99e8ff586934b814d0497c821cd3e94302b111b3">99e8ff58</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-05-16T09:15:06+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_idmap_rfc2307: Avoid a tmpfile
We can << directly into ldbadd
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12757
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit 1893bb9bc48d9251820a185c95c65562f2878074)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/07938b5d29ffe7d0e36a6a9a9499c1caf7d7fe5a">07938b5d</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-05-16T09:15:06+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_idmap_rfc2307: Correct usage
We already have 13 args at this point, and growing
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12757
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit f34ff621edbfd8b7c99cdadec166a80ae9c5646c)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a24025c75d0bf64fe4e43fd5486a5a6933a4a0df">a24025c7</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-05-16T09:15:06+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_idmap_rfc2307: Do a recursive delete in ou=idmap
We'll create more posix objects soon
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12757
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit 1f5097e3fbf9931c830880637622bb0b05863466)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/babc72b1a033a34bb0d16a7fc4ad30375cfd2f75">babc72b1</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-05-16T09:15:06+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">test_idmap_rfc2307: Test wbinfo -r for 35 supplementary group memberships
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12757
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit e663357b4d7d5cb0c4d8a0ebc97cfcb58429b894)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0e6fe5c38c6d079b025221cf698628004ce25499">0e6fe5c3</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-05-16T09:15:06+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idmap_rfc2307: Don't stop after 30 entries
We start over again and again, so we need to search in the whole list.
This is a quick hack generating a bad O(n^2). The real fix is to
call idmap_rfc2307_find_map with "maps" starting at the right offset,
but that's an optimization for later when it's restructured
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12757
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit c0f12170e8b9fb3ab75f53bba637c72f6465192e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3e250e6e6cb67c3fdfbb91a8558f580ea0d4358d">3e250e6e</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-05-16T09:15:06+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idmap_rfc2307: "ldap_next_entry" needs the previous entry, not the start
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12757
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit 803ea2d2b7820939d03f7eb381c3cf719a00ff4a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/90a28a9114cc2d89fc3ff53fb4866dab4e7e77b4">90a28a91</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-05-16T09:15:06+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">selftest: Avoid idmap caching when testing idmap_rfc2307
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12757
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit da7481f835ddc1fab16d11ccbaf7f33c213af23a)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fce999cda412621bfa8f5e1869f55d2af7de9f5d">fce999cd</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-05-16T13:34:00+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">idmap_rfc2307: Test unix-ids-to-sids with 35 groups
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12757
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit ee3b17ba4674a17a411c9ec4271e087c8cd7dad1)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Tue May 16 13:34:00 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1d36d5171be25d7fa96a1e3f248c8b835aeccb89">1d36d517</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-05-18T08:43:05+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add release notes for Samba 4.5.9.
Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/2cb8fc162bbae859a1ca83689bb53ba9d28accf6">2cb8fc16</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-05-18T08:44:48+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Disable GIT_SNAPSHOTS for the 4.5.9 release.
Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/886edba06129ff76af549cdc3b6c7d346525dc6e">886edba0</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-05-18T08:47:52+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to 4.5.10...
and re-enable GIT_SNAPSHOTS.
Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/79dc791169a6efed63aca2e6d3ac6b3aed518245">79dc7911</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-05-19T12:03:49+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to 4.5.10...
and re-enable GIT_SNAPSHOTS.
Signed-off-by: Karolin Seeger <kseeger@samba.org>
(cherry picked from commit 886edba06129ff76af549cdc3b6c7d346525dc6e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5f224a3913123cd8ecc09d2f807356ad43b0bf09">5f224a39</a></strong>
<div>
<span>by Volker Lendecke</span>
<i>at 2017-05-19T12:04:10+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2017-7494: rpc_server3: Refuse to open pipe names with / inside
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12780
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d6568b85d7dae9ad8a3ee26c719c8ac687d72576">d6568b85</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-05-19T13:41:59+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix open_files.idl to correctly ignore share_mode_lease *lease in share_mode_entry.
This is currently marked 'skip', which means it isn't stored in the
db, but printed out in ndr dump. However, this pointer can be invalid
if the lease_idx is set to 0xFFFFFFFF (invalid).
This is fixed up inside parse_share_modes(), but not until after
ndr_pull_share_mode_data() is called. If lease_idx == 0xFFFFFFFF
then ndr_print_share_mode_lease() prints an invalid value and
crashes.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12793
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu May 18 03:01:40 CEST 2017 on sn-devel-144
(cherry picked from commit b691f6d32f79ef8427f567612243dd51ea8d5584)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Fri May 19 13:41:59 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c46ed35f5ba07fe0dbcbe356dc8881ed6519177f">c46ed35f</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-05-23T10:15:41+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add release notes for Samba 4.5.10.
Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/558f8e68f299d2f844b94f9df92ab6e8015f3392">558f8e68</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-05-23T10:15:45+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Disable GIT_SNAPSHOTS for the 4.5.10 release.
Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/15db83ffed2d7b14b7a8dff9011b940221d1ce9c">15db83ff</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-05-24T10:05:58+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Merge tag 'samba-4.5.10' into v4-5-test
samba: tag release samba-4.5.10
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7922d481a199598424c8ab3a6d12b8f080a3d62e">7922d481</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-05-24T10:06:16+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to 4.5.11.
Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9dca467e98983e9f05d28005978646243ca7e5d8">9dca467e</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2017-06-01T08:49:15+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Revert "ctdb-readonly: Avoid a tight loop waiting for revoke to complete"
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12697
This reverts commit ad758cb869ac83534993caa212abc9fe9905ec68.
This is an incomplete fix and introduces a regression.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit a50b25d0ebbe731a766f8d2ce1924b34d6041668)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c8b18ab76c6240cc6e992ab51dff379afbd4769f">c8b18ab7</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2017-06-01T08:49:15+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-readonly: Avoid a tight loop waiting for revoke to complete
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12697
During revoking readonly delegations, if one of the nodes disappears,
then there is no point re-trying revoking readonly delegation immedately.
The database needs to be recovered before the revoke operation can
succeed.
However, if the revoke is successful, then all the write requests need
to be processed immediately before the read-only requests. This avoids
starving write requests, in case there are read-only requests coming
from other nodes.
In deferred_call_destructor, the result of revoke is not available and
deferred calls cannot be correctly ordered. To correctly order the
deferred calls, process them in revokechild_destructor where the result
of revoke is known.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit f5f05a644dadc0b1858c99c5f1f5af1ef80f3a28)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/36f2b52ea78898650af5811801da5988a6786285">36f2b52e</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2017-06-01T08:49:15+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: Stop "ctdb nodestatus" from always showing all nodes
Exit code should only reflect current or specified nodes too.
Drop an unwanted call to get_nodemap() that overwrites the previously
calculated node map.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12802
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit a600d467e2842ab05e429c5a67be5b222ddd1c12)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/29b9e1945600efdbdaebe29817149c2dba98c520">29b9e194</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2017-06-01T08:49:15+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tools: "ctdb nodestatus" should only display header for "all"
The "Number of nodes:" header should only be displayed when "all" is
specified. This is how the command behaved in Samba <= 4.4.
Printing the number of nodes is not helpful and is rather confusing in
the default case where only the status of the current node is printed.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12802
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 1d10c8e9e637619b754b4a273d3c714fbca7d503)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/95e1df5484f0ba1681f7d6dc1783c29320bd526f">95e1df54</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2017-06-01T08:49:15+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Add some extra tests for "ctdb nodestatus"
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12802
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 May 26 05:24:34 CEST 2017 on sn-devel-144
(cherry picked from commit ade535371b86294c12ca3f7eb98d8ef7ecd29caa)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/be632f603077393226b847b064bfc5f752f1c914">be632f60</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-06-01T12:59:00+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: VFS: Catia: Ensure path name is also converted.
https://bugzilla.samba.org/show_bug.cgi?id=12804
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit fda1e701af804db81dcb3844921e9a327563bc5c)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Thu Jun 1 12:59:00 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/9d6ac5b1c2580cce32721153a6531075df062dc4">9d6ac5b1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-06-02T09:53:16+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/locking: make find_share_mode_entry public
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12798
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 9d7739e819d5699209b5eacad4a0e2a8b8da0a86)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0e467e868b11b970e8d18c6f8e0e6640aaef5395">0e467e86</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-06-02T09:53:16+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3/smbd: fix exclusive lease optimisation
We need to expect any amount of "stat" opens on the file without
triggering an assert.
This is the correct fix for bug #11844. I guess we haven't seens this
very often before bug #12766 got fixed, because most clients were using
LEASES instead of OPLOCKS.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12798
See also:
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11844
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12766
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: Jeremy Allison <jra@samba.org>
(cherry picked from commit 19b938e1fa9822ac417a3b3a34519087470d7a18)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/176bc89a97da467c0b98d3c15637b6a267f921b0">176bc89a</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2017-06-02T14:07:53+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s4/torture: test for bug 12798
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12798
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: Jeremy Allison <jra@samba.org>
(cherry picked from commit bd43939ec07a2fc6858d1265fc75a68a7cd96f58)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Fri Jun 2 14:07:53 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7e753fdb345bf6f75a4366eefe4195f6fc69db5c">7e753fdb</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2017-06-19T11:05:25+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: NFS call-out failures should cause event failure
Failures in startup/shutdown/releaseip/takeip are currently
incorrectly ignored.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12837
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 22f2068d456759612d340fdcc56276f39a710426)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e45a18f5d1cbc911306721ff65ba9167832deacf">e45a18f5</a></strong>
<div>
<span>by Martin Schwenke</span>
<i>at 2017-06-19T11:05:25+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-tests: Add more NFS eventscript tests for call-out failures
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12837
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 323291a46e26e0493d43052550e57e2989b83b97)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/53364472500ef39f8ac42e253d2f79f423373c83">53364472</a></strong>
<div>
<span>by Andreas Schneider</span>
<i>at 2017-06-19T15:16:54+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli:smb2: Gracefully handle not supported for FSCTL_VALIDATE_NEGOTIATE_INFO
If FSCTL_VALIDATE_NEGOTIATE_INFO is not implemented, e.g. in a SMB2 only
server then gracefully handle NT_STATUS_NOT_SUPPORTED too.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12808
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Jun 15 17:32:45 CEST 2017 on sn-devel-144
(cherry picked from commit a4d9438ecf92614a0915b9cf61f905ea8170043a)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Mon Jun 19 15:16:54 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/48ab0c36a8f4d684e100c04251953bdb2dfa70bc">48ab0c36</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-06-26T12:34:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smb2_tcon: allow a compound request after a TreeConnect
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12844
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit f8974bcdbf8abe3803340dcd20206ff4de9d5079)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/16d4fd9371cf05c65c4fa376473760c1a75b1214">16d4fd93</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-06-26T12:34:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smb2_sesssetup: allow a compound request after a SessionSetup
This is not a full fix yet as we don't allow compound requests
after going async.
With SMB 3.11 requiring signed TreeConnect requests it's pointless
to try to compound requests after a SessionSetup.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12845
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Jun 17 10:55:25 CEST 2017 on sn-devel-144
(cherry picked from commit bb5c394fde03dc8230d5089a66fea1a2541952f5)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/46ab108f193c4737a75c8417447da290fa32be31">46ab108f</a></strong>
<div>
<span>by Richard Sharpe</span>
<i>at 2017-06-26T12:34:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Bug 15852. There are valid paths where conn->lsa_pipe_tcp->transport is NULL. Protect against this.
Based on a suggestion from Metze.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12852
Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jun 22 23:16:46 CEST 2017 on sn-devel-144
(cherry picked from commit 03042b85c8140842633b36f3124e504b97b852a1)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6627e1928bd0a1228d0b697250777f6bfdac38b2">6627e192</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2017-06-26T12:34:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-scripts: Don't send empty argument string to logger
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12856
This stops logger reading from stdin.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Sat Jun 24 14:37:48 CEST 2017 on sn-devel-144
(cherry picked from commit 2fa069e870c0e6f1daa2a08be5aacac7b1063a5e)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6c49f5464001efcabcf0e5978ecba0ad1cf36cd7">6c49f546</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2017-06-26T12:34:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recovery: Assign banning credits if database fails to freeze
https://bugzilla.samba.org/show_bug.cgi?id=12857
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit c9d9f56bffe1e19665dba8e0cf899399d3d9fb72)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/da97cd28c148b0c6e09932d5cd846af278f5b3cb">da97cd28</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2017-06-26T12:34:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recovery: Setting up of recmode should be idempotent
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12857
If the recovery mode is already set to the expected value, there is
nothing to do.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit f2771fcbf438e8b06321752c7203f01bbe33b573)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/40cc8d2b71867e4316472d531502610672f5c98a">40cc8d2b</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2017-06-26T12:34:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recovery: Simplify logging of recovery mode setting
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12857
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit d74dadd7f26a9e8c48ba92468d7d0c4a7aa5a8e5)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/10a763dd1b8917105200edb2161e3c42da86c799">10a763dd</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2017-06-26T12:34:23+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recovery: Finish processing for recovery mode ACTIVE first
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12857
This simplifies the code and avoids complicated conditions.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit f8200153b21f5b19c9a1d57be3e05e739d9fafcd)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fc7b70f7703f56922fb9443becb67aac6af96fbe">fc7b70f7</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2017-06-26T12:34:23+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recovery: Get recmode unconditionally in the main_loop
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12857
This can be used later in the main_loop to avoid the local ip check.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit 2fd2ccd4c8617cfa7374d7a5ee3d1cc61c4fa4ad)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/17543bd02cc2f11080e618444cb2250dd5764fda">17543bd0</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2017-06-26T16:57:51+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ctdb-recovery: Do not run local ip verification when in recovery
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12857
If we drop public IPs because CTDB is in recovery for too long, then
avoid spamming logs "Trigger takeoverrun" every second.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit ea46699b27ef8d4ac7b5dd07035465cb3df09ea4)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Mon Jun 26 16:57:51 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f3e22f561b09ab89b121032b7453cd2a7ec3ca3f">f3e22f56</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-06-28T11:20:08+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: When deleting an fsp pointer ensure we don't keep any references to it around.
Based on a suggestion from <lev@zadarastorage.com>
https://bugzilla.samba.org/show_bug.cgi?id=12818
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jun 22 00:12:49 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/bb6c6c6353c4c0c0af91d55bb21c7069947572fe">bb6c6c63</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-06-28T11:20:08+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Add regression test for non-wide symlinks to directories fail over SMB3.
Mark as knownfail.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12860
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit f1f388ef80a6516c2f44b7778420f8ffe28c6471)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/ecdbe6e7b9bf25fd9a6813a3247386eb1eff2582">ecdbe6e7</a></strong>
<div>
<span>by Daniel Kobras</span>
<i>at 2017-06-28T11:20:08+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: fix regression with non-wide symlinks to directories over SMB3.
The errno returned by open() is ambiguous when called with flags O_NOFOLLOW and
O_DIRECTORY on a symlink. With ELOOP, we know for certain that we've tried to
open a symlink. With ENOTDIR, we might have hit a symlink, and need to perform
further checks to be sure. Adjust non_widelink_open() accordingly. This fixes
a regression where symlinks to directories within the same share were no
longer followed for some call paths on systems returning ENOTDIR in the above
case.
Also remove the knownfail added in previous commit.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12860
Signed-off-by: Daniel Kobras <d.kobras@science-computing.de>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit acc16592b451905dabc093f1d261e93cd3b59520)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/1329592cbe357c66c01d52aa07a324c531b546fa">1329592c</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-06-28T15:32:51+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth/ntlmssp: enforce NTLMSSP_NEGOTIATE_NTLM2 for the NTLMv2 client case
Some servers may not announce the NTLMSSP_NEGOTIATE_NTLM2
(a.k.a. NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY) bit.
But if we're acting as a client using NTLMv2 we need to
enforce this flag, because it's not really a negotiationable
in that case.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12862
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 8ee4f8236830eb3fa1b273fa6927792a800f86bd)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Wed Jun 28 15:32:51 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/25441982869aab0069ee1be1717ceca704ba0b98">25441982</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-06-30T10:46:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">samba-tool: fix log message of 'samba-tool user syncpasswords'
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12768
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): Fri May 5 01:37:45 CEST 2017 on sn-devel-144
(cherry picked from commit 4c17850ae7b6c85e99e5d4d5bc5d8e89a9ba6d47)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e260f4ff8d6805ee00734dd1e39a68726ade6807">e260f4ff</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-06-30T10:46:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smbd: unimplement FSCTL_VALIDATE_NEGOTIATE_INFO with "server max protocol = SMB2_02"
A client that supports SMB3 will do a signed FSCTL_VALIDATE_NEGOTIATE_INFO
after a tree connect. This FSCTL_VALIDATE_NEGOTIATE_INFO call contains
the client capabilities, client guid, security mode and the array of supported
dialects. But if SMB 2.02 is negotiated the doesn't send these values to the
server in the first connection attempt (when the client starts with a SMB1 Negotiate).
Windows servers that only support SMB2 just return NT_STATUS_FILE_CLOSED
as answer to FSCTL_VALIDATE_NEGOTIATE_INFO.
We should do the same if we just pretend to support SMB 2.02,
as SMB 2.10 always include an SMB2 Negotiate request we can leave it as is.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12772
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 295c9f7b322e6377d0df1b49cb26597d66e80eda)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/48a697132f0c80d3ee2b9926bf6e551f0a4e6a15">48a69713</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-06-30T10:46:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">auth/spnego: fix gensec_update_ev() argument order for the SPNEGO_FALLBACK case
This went unnoticed so long as we don't use -Wc++-compat
and gensec_update_ev() used the sync update() hook for all
NTLMSSP and Kerberos.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12788
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 31691963b3d9ac460df0c56d36f81ec815db0225)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/85896c3b0051d4af27cbdc17ffdbc5135b25cf32">85896c3b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-06-30T10:46:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: smb: Add smbXcli_tcon_copy().
Makes a deep copy of a struct smbXcli_tcon *, will
be used later.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12831
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
(cherry picked from commit 655e10685840fd5ebfde24396853b74020a1dc85)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/43735d628a5cd87e6ede50f19c247795573a9ad8">43735d62</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-06-30T10:46:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">libcli: smb: Add smb2cli_tcon_set_id().
Will be used in test and client code.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12831
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
(cherry picked from commit e726b60226105d0f52a66dac47bfc5797cfc18e7)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5ec9fca817d71ec13ea0115e7f41ad54feb66dc7">5ec9fca8</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-06-30T10:46:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Add cli_state_save_tcon() / cli_state_restore_tcon().
Save and restore tcon pointers in smb1 or smb2 structs.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12831
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
(cherry picked from commit 39026f1c5dbb83120b70b3d9131138a9c2344ba6)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/5d9c3b3d4832b59ca94d031ba965227a25611059">5d9c3b3d</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-06-30T10:46:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbtorture: Show correct use of cli_state_save_tcon() / cli_state_restore_tcon().
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12831
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
(cherry picked from commit 5c0efc9a5ef8ddf96dc394110063bebd5f057415)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cf68b647b3a839c9ffe31a508ac167f897fc0d04">cf68b647</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-06-30T10:46:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Widen cli_state_get_tid() / cli_state_set_tid() to 32-bits.
Copes with SMB2 connections.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12831
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
(cherry picked from commit 93fa0c8660e47cb2605d70dac1156576ab719d64)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0d0d9820531aca17a5300f4e4eb47f07a999aaca">0d0d9820</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-06-30T10:46:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Fix cli_state_has_tcon() to cope with SMB2 connections.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12831
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
(cherry picked from commit c9178ed9cc69b9089292db28ac1a0b7a0519bc2c)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c939552b7e52396ab78419ae0706759ff3ca30a3">c939552b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-06-30T10:46:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Correctly do lifecycle management on cli->smb1.tcon and cli->smb2.tcon.
Treat them identically. Create them on demand after for a tcon call,
and delete them on a tdis call.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12831
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
(cherry picked from commit 50f50256aa8805921c42d0f9f2f8f89d06d9bd93)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/dc4a6a980a16f7effb2b422ad6332936f457546c">dc4a6a98</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-06-30T10:46:22+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: libsmb: Correctly save and restore connection tcon in smbclient, smbcacls and smbtorture3.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12831
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
(cherry picked from commit bd31d538a26bb21cbb53986a6105204da4392e2d)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/7d8f7fbe02cf972a1a356125833fa6c665427cdb">7d8f7fbe</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-06-30T14:57:14+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:smb2_create: avoid reusing the 'tevent_req' within smbd_smb2_create_send()
As the caller ("smbd_smb2_request_process_create()") already sets the callback,
the first time, it's not safe to reuse the tevent_req structure.
The typical 'tevent_req_nterror(); return tevent_req_post()' will
crash as the tevent_req_nterror() already triggered the former callback,
which calls smbd_smb2_create_recv(), were tevent_req_received() invalidates
the tevent_req structure, so that tevent_req_post() will crash.
We just remember the required values from the old state
and move them to the new state.
We tried to write reproducers for this, but sadly weren't able to trigger
the backtrace we had from a create a customer (using recent code)
with commit 6beba782f1bf951236813e0b46115b8102212c03
included. And this patch fixed the situation for the
customer.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12832
Pair-Programmed-With: Volker Lendecke <vl@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 02146ea5ee729de0e49ecf617e6983f4e61fbe59)
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Fri Jun 30 14:57:14 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/96450f9849abdae36f82fe1e5a21492555b9aff1">96450f98</a></strong>
<div>
<span>by Michael Saxl</span>
<i>at 2017-07-03T13:04:12+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3:gse_krb5: fix a possible crash in fill_mem_keytab_from_system_keytab()
If the keytab file isn't readable, we may call
krb5_kt_end_seq_get() with an invalid kt_cursor.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10490
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Saxl <mike@mwsys.mine.bz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit a9780a2eaa9cba4ab87cc3371d97fa494fa0198c)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e4d7e60271bc143a760e79bc403e04bdcc187481">e4d7e602</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-07-03T13:04:12+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">wafsamba: add maxversion and version_blacklist to CHECK_BUNDLED_SYSTEM[_PKG]()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12859
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 4ca48ee4d060f773dcdf9f78a5e4c1b1263b61f4)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4f6e1f13b4b58a1658616c845439d0b48890fc4a">4f6e1f13</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-07-03T17:09:41+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">ldb: protect Samba < 4.7 against incompatible ldb versions and require ldb < 1.2.0
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12859
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(v4-5-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-5-test): Mon Jul 3 17:09:41 CEST 2017 on sn-devel-144
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/68ad60fa638885a61ac17980ef6c73571be29b3f">68ad60fa</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-07-06T10:12:01+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add release notes for Samba 4.5.11.
Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/31052eb6f348a2cac8fd6790739a624e8c6d275a">31052eb6</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-07-06T10:13:35+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Disable GIT_SNAPSHOTS for the 4.5.11 release.
Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/af9d932ceb82cf919e5efe6ff6501fe74723b406">af9d932c</a></strong>
<div>
<span>by Karolin Seeger</span>
<i>at 2017-07-06T10:14:14+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Bump version up to 4.5.12...
and re-enable GIT_SNAPSHOTS.
Signed-off-by: Karolin Seeger <kseeger@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/229735bf7dc2ec1ce7e6074491f151784f46e7de">229735bf</a></strong>
<div>
<span>by Jeffrey Altman</span>
<i>at 2017-07-12T10:52:14+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2017-11103: Orpheus' Lyre KDC-REP service name validation
In _krb5_extract_ticket() the KDC-REP service name must be obtained from
encrypted version stored in 'enc_part' instead of the unencrypted version
stored in 'ticket'. Use of the unecrypted version provides an
opportunity for successful server impersonation and other attacks.
Identified by Jeffrey Altman, Viktor Duchovni and Nico Williams.
Change-Id: I45ef61e8a46e0f6588d64b5bd572a24c7432547c
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12894
(based on heimdal commit 6dd3eb836bbb80a00ffced4ad57077a1cdf227ea)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/31b6d82de35ab5b287bc17dc3605c71ab2df1aa7">31b6d82d</a></strong>
<div>
<span>by Bob Campbell</span>
<i>at 2017-07-12T10:56:46+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">WHATSNEW: Add release notes for Samba 4.5.12
Signed-off-by: Bob Campbell <bobcampbell@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6e6361ee4fd28098638850e3eda3d4ac2c3396f4">6e6361ee</a></strong>
<div>
<span>by Bob Campbell</span>
<i>at 2017-07-12T10:57:09+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">VERSION: Release Samba 4.5.12 for CVE-2017-11103
Signed-off-by: Bob Campbell <bobcampbell@catalyst.net.nz>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fd2156f9e4cfb888e35e1c3a6d6afe5b3e7e134f">fd2156f9</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-07-28T20:38:35+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">gbp.conf: change debian-branch to stretch, and merge-mode to merge
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/19587dd5463d8bb2d9a60fd3a615bd2fbe23d0db">19587dd5</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-07-28T20:42:03+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">New upstream version 4.5.12+dfsg</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/4f000a04974f2ae247ea9d914fa48478eb9d46c9">4f000a04</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-07-28T20:43:10+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Merge tag 'upstream/4.5.12+dfsg' into stretch
Upstream version 4.5.12+dfsg
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6fe24ea84807cb78396a98ee6a498b080a7379a8">6fe24ea8</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-07-28T20:43:57+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Remove CVE-2017-11103-Orpheus-Lyre-KDC-REP-service-name-val.patch and CVE-2017-7494.patch, merged
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3a065f10d28b62902a81ec0df27c8886ccc47987">3a065f10</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-07-28T20:44:13+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Properly quote subshell invocation in samba-common.preinst (Closes: #771689)
(cherry picked from commit 34b1c303b2f1f1139ebc5a79e4706d7be21d96a8)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0948463cc4573aa73fe57d834060e038902a7f52">0948463c</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-07-28T20:45:35+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix typo s/DESTIDR/DESTDIR/ in d/rules
Thanks Benjamin Bohard on ML
(cherry picked from commit 89e81deecf68357dac3606348683aaa43582bbc6)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/89cea82668bd27bd0f22796494457a293ca37224">89cea826</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-07-28T20:45:36+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">sysv: Use --pidfile in addition to --exec to avoid matching daemons in containers (Closes: #810794)
(cherry picked from commit 302e6c400106b52cbc8fab1608d70332485b1326)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/e867dd3ed815cdb15862dd913be9437d1d94a085">e867dd3e</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-07-28T20:45:36+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix libpam-winbind.prerm to be multiarch-safe (Closes: #647430)
Inspired by other packages (systemd, sssd, pam, lxcfs, cgmanager)
(cherry picked from commit e64704dc309639b7321e82153ab68fa600c584a3)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/659cb20f37e2cb71a4e78e961e60a45b301013c9">659cb20f</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-07-28T20:45:36+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Add missing logrotate for /var/log/samba/log.samba (Closes: #803924)
(cherry picked from commit 8167381f50d56bff76f33c622406a1a1ff128932)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8e1edd14a6865801ee3d5c7ef08c61c4f58cee44">8e1edd14</a></strong>
<div>
<span>by Amitay Isaacs</span>
<i>at 2017-07-28T20:45:37+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">provision: Update root DNS servers list
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 0098a7b5564b60b3b29d3f1767adfd538d3ff55d)
(cherry picked from commit 899d0cf90b54cb5e4cb23e5aa6e3cfd111b200ba)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/cfda5a31156f2f798b8293506a8c19e070cfa379">cfda5a31</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-07-28T20:45:37+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix outdated DNS Root servers (Closes: #865406)
(cherry picked from commit 43dc188a9c6cbb4d1500063126c0a11275374046)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d2605c35c39864e365e7f25f5fc0281b8727da0c">d2605c35</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-07-28T20:45:37+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix logrotate for /var/log/samba/log.samba to send SIGHUP to all processes of the service (systemd only)
(cherry picked from commit d5518bbdc71c4c6cd7bf51c80af2cb9f4b56b21d)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/909b78a925079894d78884bfc14128458582e04d">909b78a9</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-07-28T20:45:38+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Release 2:4.5.12+dfsg-1
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c6a39598601b22de91d0397f33243ab91d4c6806">c6a39598</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-08-26T17:34:19+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Fix samba.logrotate (Thanks Thomas A. Reim)
(cherry picked from commit 57fbf8399242bb4d19058960d8c8a5d1be115110)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/02759563b3c84531832e7b005f195d95168886b4">02759563</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-08-26T17:36:05+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Re-release 2:4.5.12+dfsg-1
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/54bc9c5d178f944af0f7e2f2afb7dd9b395b1ff6">54bc9c5d</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-09-25T15:18:01+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Patches for CVE-2017-12150, CVE-2017-12151 and CVE-2017-12163
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/a0470951011522c70090bfb2e009bf883e23fb42">a0470951</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-09-25T15:22:03+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2017-12150: s3:lib: get_cmdline_auth_info_signing_state smb_encrypt SMB_SIGNING_REQUIRED
This is an addition to the fixes for CVE-2015-5296.
It applies to smb2mount -e, smbcacls -e and smbcquotas -e.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12997
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6f4f39bae42d59ec3ac081455813092d85b3e1be">6f4f39ba</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-09-25T15:22:03+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2017-12150: s3:pylibsmb: make use of SMB_SIGNING_DEFAULT for 'samba.samba3.libsmb_samba_internal'
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12997
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/24710541c888b9c004a8dc546113f6238508389e">24710541</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-09-25T15:22:04+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2017-12150: libgpo: make use of SMB_SIGNING_REQUIRED in gpo_connect_server()
It's important that we use a signed connection to get the GPOs!
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12997
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/043fb7ffe2f209dfe63213ce9c914772de826554">043fb7ff</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-09-25T15:22:04+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2017-12150: auth/credentials: cli_credentials_authentication_requested() should check for NTLM_CCACHE/SIGN/SEAL
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12997
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/c66f05d022fedaef2728262b0688071c913a837a">c66f05d0</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-09-25T15:22:04+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2017-12150: libcli/smb: add smbXcli_conn_signing_mandatory()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12997
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/3791d24a48beebb4f9b3ca6cdd0192266d5d03f8">3791d24a</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-09-25T15:22:05+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2017-12150: s3:libsmb: only fallback to anonymous if authentication was not requested
With forced encryption or required signing we should also don't fallback.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12997
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/61a692bb7c5462fa8ce1b12f9c208b5a87d21123">61a692bb</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-09-25T15:22:05+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2017-12151: s3:libsmb: add cli_state_is_encryption_on() helper function
This allows to check if the current cli_state uses encryption
(either via unix extentions or via SMB3).
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12996
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8483981de31894e78de612068be031c1afa66b61">8483981d</a></strong>
<div>
<span>by Stefan Metzmacher</span>
<i>at 2017-09-25T15:22:06+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2017-12151: s3:libsmb: make use of cli_state_is_encryption_on()
This will keep enforced encryption across dfs referrals.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12996
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/20c2272b8ff2e8256d0833a226b201bbf9c04e21">20c2272b</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-09-25T15:22:06+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2017-12163: s3:smbd: Prevent client short SMB1 write from writing server memory to file.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13020
Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/8d185732c05bcc81551b2f583e538461f6ba3ae3">8d185732</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-09-25T15:22:07+02:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Release 2:4.5.12+dfsg-2
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/78bf4a5c8dd66e96847531832b506b4c373b08f6">78bf4a5c</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-11-20T23:23:34+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Chain code can return uninitialized memory when talloc buffer is grown.
Ensure we zero out unused grown area.
CVE-2017-15275
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13077
Signed-off-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 9227f4d46d707aa892fce50b5954b3de061fb477)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/35c796c61b3172ed03b3ca578f47c718c74574ac">35c796c6</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2017-11-20T23:23:35+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">s3: smbd: Fix SMB1 use-after-free crash bug. CVE-2017-14746
When setting up the chain, always use 'next->' variables
not the 'req->' one.
Bug discovered by 连一汉 <lianyihan@360.cn>
CVE-2017-14746
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13041
Signed-off-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 02eaa8dae0525966dffd223b7da6ec56bf06738c)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/0ebec89b8e8c778d2067b0c944af747ca6aca436">0ebec89b</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-11-20T23:23:35+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Patches for CVE-2017-15275 and CVE-2017-14746
(cherry picked from commit 438db971319883e75974f5e945c6fa21179dfedf)
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/6b982e98dd4f8fd189ff82fcb21706462810472d">6b982e98</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2017-11-20T23:25:13+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Release 2:4.5.12+dfsg-2+deb9u1
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/d97780678cd289f9e46f2f693bbd6e5a20e99b10">d9778067</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2018-03-05T14:33:55+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Rebaselined stretch-security from stretch
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/fbe5e3596757d8711a149251ca0d5924873d396b">fbe5e359</a></strong>
<div>
<span>by Jeremy Allison</span>
<i>at 2018-03-05T14:40:27+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-1050: s3: RPC: spoolss server. Protect against null pointer derefs.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11343
Signed-off-by: Jeremy Allison <jra@samba.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/121b86406db7e16c342b1ebe0e7ca67132a79f3e">121b8640</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2018-03-05T15:33:26+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Patch for CVE-2018-1050: "Codenomicon crashes in spoolss server code"
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/f8f11248f63da88166fe30514dcb03cdf868fe25">f8f11248</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2018-03-05T15:33:26+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-1057: s4:dsdb/tests: add a test for password change with empty delete
Note that the request using the clearTextPassword attribute for the
password change is already correctly rejected by the server.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13272
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/ef60d6a9059a81be31bce50bd57fb4453c4269bb">ef60d6a9</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2018-03-05T15:33:27+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-1057: s4:dsdb/password_hash: add a helper variable for LDB_FLAG_MOD_TYPE
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13272
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/ff0f0cc1176ac1cc96b92bac6d2bd092b42c81ec">ff0f0cc1</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2018-03-05T15:33:27+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-1057: s4:dsdb/password_hash: add a helper variable for passwordAttr->num_values
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13272
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/e47fb74efff7cda7e547081b3528e153c6ee5732">e47fb74e</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2018-03-05T15:33:27+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-1057: s4:dsdb/acl: only call dsdb_acl_debug() if we checked the acl in acl_check_password_rights()
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13272
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/9a04ea99848f8aa960946599e07fb23aa2bd3a98">9a04ea99</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2018-03-05T15:33:28+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-1057: s4:dsdb/acl: remove unused else branches in acl_check_password_rights()
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13272
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/1dc0d1ca3db778c2b6d16edd07f922d2c7aff6a5">1dc0d1ca</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2018-03-05T15:33:28+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-1057: s4:dsdb/acl: check for internal controls before other checks
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13272
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/d79dba9d85cd5762e63e4ccc6778339a20e8768d">d79dba9d</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2018-03-05T15:33:29+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-1057: s4:dsdb/acl: add check for DSDB_CONTROL_PASSWORD_HASH_VALUES_OID control
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13272
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/5387ee93366c689e7b7868ff858dbeaca3304d7a">5387ee93</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2018-03-05T15:33:29+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-1057: s4:dsdb/acl: add a NULL check for talloc_new() in acl_check_password_rights()
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13272
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/272f85773f3b2165b6cbfc3d0f8cdc351a56a60b">272f8577</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2018-03-05T15:33:29+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-1057: s4/dsdb: correctly detect password resets
This change ensures we correctly treat the following LDIF
dn: cn=testuser,cn=users,...
changetype: modify
delete: userPassword
add: userPassword
userPassword: thatsAcomplPASS1
as a password reset. Because delete and add element counts are both
one, the ACL module wrongly treated this as a password change
request.
For a password change we need at least one value to delete and one value
to add. This patch ensures we correctly check attributes and their
values.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13272
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/9bdeb028e7e90e685a3ead35b419b4ed14ef3ad7">9bdeb028</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2018-03-05T15:33:30+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-1057: s4:dsdb/acl: run password checking only once
This is needed, because a later commit will let the acl module add a
control to the change request msg and we must ensure that this is only
done once.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13272
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/4f41ee2580cdae70f5c45c6b81d50cf613e8cd60">4f41ee25</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2018-03-05T15:33:30+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-1057: s4:dsdb/samdb: define DSDB_CONTROL_PASSWORD_ACL_VALIDATION_OID control
Will be used to pass "user password change" vs "password reset" from the
ACL to the password_hash module, ensuring both modules treat the request
identical.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13272
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/2455be1cc0785e51d7bb00b72b70047faa1000e1">2455be1c</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2018-03-05T15:33:30+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-1057: s4:dsdb: use DSDB_CONTROL_PASSWORD_ACL_VALIDATION_OID
This is used to pass information about which password change operation (change
or reset) the acl module validated, down to the password_hash module.
It's very important that both modules treat the request identical.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13272
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/022068fcde95523909f611ae301b9bf864c41187">022068fc</a></strong>
<div>
<span>by Ralph Boehme</span>
<i>at 2018-03-05T15:33:31+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">CVE-2018-1057: s4:dsdb/acl: changing dBCSPwd is only allowed with a control
This is not strictly needed to fig bug 13272, but it makes sense to also
fix this while fixing the overall ACL checking logic.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13272
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/10d58b4480c63b8b66c7b917c236901da3496d86">10d58b44</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2018-03-05T15:33:31+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Patches for CVE-2018-1057: "Unprivileged user can change any user (and admin) password"
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/samba-team/samba/commit/218e3c0babce4479d4f3d4641b83e63a3bc3d6aa">218e3c0b</a></strong>
<div>
<span>by Mathieu Parent</span>
<i>at 2018-03-05T15:33:31+01:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Release 2:4.5.12+dfsg-2+deb9u2
</pre>
</li>
</ul>
<h4>21 changed files:</h4>
<ul>
<li class="file-stats">
<a href="#b33892fbddeffc3368077b4904ad0b3d562a7312">
VERSION
</a>
</li>
<li class="file-stats">
<a href="#3277e12b5a9f9ff632d229e2629d34ad21dd93fc">
WHATSNEW.txt
</a>
</li>
<li class="file-stats">
<a href="#66295ac674be94d435ac3bf2e41ecd51bac9b984">
auth/gensec/spnego.c
</a>
</li>
<li class="file-stats">
<a href="#d32fb06907b769a5a9bf4767093d8cf0eb095e22">
auth/ntlmssp/ntlmssp_util.c
</a>
</li>
<li class="file-stats">
<a href="#2e91a720ad2ef0fa7f65c42041b385e315aa9728">
buildtools/wafsamba/samba_bundled.py
</a>
</li>
<li class="file-stats">
<a href="#85b0e60091e30adafd508a517ec5691faf065550">
ctdb/config/events.d/60.nfs
</a>
</li>
<li class="file-stats">
<a href="#f06e39f35b56593113c7976865b04888f1b9176c">
ctdb/config/functions
</a>
</li>
<li class="file-stats">
<a href="#6f372b1da785e9b62534d3ddc2b1cc994e1edea1">
ctdb/doc/ctdb-statistics.7
</a>
</li>
<li class="file-stats">
<a href="#55a4d664aa02f3258cabec7bcee3b5fe0182994f">
ctdb/doc/ctdb-statistics.7.html
</a>
</li>
<li class="file-stats">
<a href="#bff45f5b0a1ff6f2cac0546191f2199bad760297">
ctdb/doc/ctdb-tunables.7
</a>
</li>
<li class="file-stats">
<a href="#705fcff3407770d8a8e6112e22ff7812302a5bf1">
ctdb/doc/ctdb-tunables.7.html
</a>
</li>
<li class="file-stats">
<a href="#cf03e1c00a6ff50094bf342fee6dbac15b3a4e0f">
ctdb/doc/ctdb.1
</a>
</li>
<li class="file-stats">
<a href="#be17d7a91250685646ace67c40160a444cbd03d2">
ctdb/doc/ctdb.1.html
</a>
</li>
<li class="file-stats">
<a href="#e7a4172163561be56d8e2ee0ceaf6a4e2143145f">
ctdb/doc/ctdb.1.xml
</a>
</li>
<li class="file-stats">
<a href="#ab0737fb37c5f24c1a655306d7f3cf9b28970fa1">
ctdb/doc/ctdb.7
</a>
</li>
<li class="file-stats">
<a href="#344ebccf758b009700df26de67ae0d9e9c342481">
ctdb/doc/ctdb.7.html
</a>
</li>
<li class="file-stats">
<a href="#027f7ec3db27f736464febdb40a2f5784278e923">
ctdb/doc/ctdb_diagnostics.1
</a>
</li>
<li class="file-stats">
<a href="#a378d88acbd00a61f917946dac43e53c71abb801">
ctdb/doc/ctdb_diagnostics.1.html
</a>
</li>
<li class="file-stats">
<a href="#b3f02388c7b39adb49f0f55dbc87a0b75e7f21c3">
ctdb/doc/ctdbd.1
</a>
</li>
<li class="file-stats">
<a href="#6a4db11c5f17f064ab654c12e916d25b8c9f92e8">
ctdb/doc/ctdbd.1.html
</a>
</li>
<li class="file-stats">
<a href="#5e4acee8bd522b931b0ac52250b40b8c62061087">
ctdb/doc/ctdbd.conf.5
</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/612c59023d0a858cd97b386f0d80d41c0815a918...218e3c0babce4479d4f3d4641b83e63a3bc3d6aa">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>