[Samba] Is SMB3 supported for smbclient 4.1.0

Jeremy Allison jra at samba.org
Thu Jan 30 10:46:01 MST 2014

On Thu, Jan 30, 2014 at 01:00:28PM +0000, Tompkins, Michael wrote:
> Thanks Jeremy. Is that anyway with WireShark traces we can confirm it's SMB3? We see it comes over as SMB2 packet, but I'm guessing there is any flag or something that verifies it's SMB3. We need this for testing verification.

Sure - the framing of both SMB2/SMB3 is designated
as an "SMB2" packet in wireshark (and in the Microsoft
protocol documents) - to ensure it's negotiated SMB3
you need to look inside the DialectRevision field
inside the SMB2 NEGOTIATE Response packet in wireshark.

0x0202 SMB 2.002 dialect revision number.
0x0210 SMB 2.1 dialect revision number.
0x0300 SMB 3.0 dialect revision number.
0x0302 SMB 3.02 dialect revision number.

(there's also the 0x02FF wildcard value
but that then expects the client to
re-negotiate a specific SMB2 varient
with another negprot fillowing).

More information about the samba mailing list