]> www.infradead.org Git - users/dwmw2/linux.git/commit
smb3: send CAP_DFS capability during session setup
authorSteve French <stfrench@microsoft.com>
Thu, 25 Jul 2019 23:13:10 +0000 (18:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Aug 2019 08:11:10 +0000 (10:11 +0200)
commit48ed55d668a16f3bb0540c89c7d26637a6d9e75f
treea7c76310174da794f367552fd8052226968b5e63
parent37ba1062b2692199110c7c84fcb722fcb9add691
smb3: send CAP_DFS capability during session setup

commit 8d33096a460d5b9bd13300f01615df5bb454db10 upstream.

We had a report of a server which did not do a DFS referral
because the session setup Capabilities field was set to 0
(unlike negotiate protocol where we set CAP_DFS).  Better to
send it session setup in the capabilities as well (this also
more closely matches Windows client behavior).

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
CC: Stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/smb2pdu.c