From 012c9d06a94b532377e9e96f60b20b5f0975af74 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 5 Sep 2011 13:14:40 +0200 Subject: s3:smb2_server: add basic support for SMB 2.1 This adds support for the 2 stage negprot, from SMB 1 to SMB 2.1. Support for this of for now and "max protocol = SMB2" still maps to "max protocol = SMB2_02" PROTOCOL_SMB2_02. In order to activate smb2.1, you need to use "max protocol = SMB2_10". metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Mon Sep 5 19:30:58 CEST 2011 on sn-devel-104 --- source3/smbd/negprot.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/smbd/negprot.c') diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index 49b9420fbf..a38534f323 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -536,6 +536,7 @@ static const struct { void (*proto_reply_fn)(struct smb_request *req, uint16 choice); int protocol_level; } supported_protocols[] = { + {"SMB 2.???", "SMB2_FF", reply_smb20ff, PROTOCOL_SMB2_10}, {"SMB 2.002", "SMB2_02", reply_smb2002, PROTOCOL_SMB2_02}, {"NT LANMAN 1.0", "NT1", reply_nt1, PROTOCOL_NT1}, {"NT LM 0.12", "NT1", reply_nt1, PROTOCOL_NT1}, -- cgit