]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:smbd: add logic to retry break notifications on all available channels
authorStefan Metzmacher <metze@samba.org>
Tue, 2 Jun 2020 16:05:39 +0000 (18:05 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 8 Jul 2020 15:54:40 +0000 (15:54 +0000)
commit557adf8ccccf0aed8084ffde0dfeecc5695b5265
tree58009b8245eae7f8eba3c3d142925e280c0b5f3e
parentbc10e5039a9056474f0cab03a798d85d62d47254
s3:smbd: add logic to retry break notifications on all available channels

For leases we need to use any available connection with the same
client_guid. That means all connections in the client->connections list.

We try the oldest connection first, as that's what windows is doing.

For oplocks we implement the same as that's what the specification
says. Windows behaves different and we have
'smb2 disable oplock break retry = yes' in order to behave like Windows.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source3/smbd/smb2_server.c