smb2_tcon: only announce SMB3 related share capabilities if SMB3 is used
authorStefan Metzmacher <metze@samba.org>
Thu, 8 Feb 2024 14:31:10 +0000 (15:31 +0100)
committerJule Anger <janger@samba.org>
Mon, 19 Feb 2024 14:31:13 +0000 (14:31 +0000)
commitd8e056d8b0d6dc5cbe465c1c55c83574d6296f5d
tree3859ae20a51e39a3c4dcf3a8e3d235243d95578b
parent3a8a86adc6674e78927271f9809a74733c7ffb07
smb2_tcon: only announce SMB3 related share capabilities if SMB3 is used

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 32b84c5bce00c4f91191596dc00d9824e82e0f24)
source3/smbd/smb2_tcon.c