From: Jeremy Allison Date: Wed, 7 Mar 2012 19:58:51 +0000 (-0800) Subject: Change default protocol to SMB2_02. X-Git-Tag: tdb-1.2.10~303 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9788d6a3489ff5df0de43ce9fabc35b20df52bb1;p=thirdparty%2Fsamba.git Change default protocol to SMB2_02. Autobuild-User: Jeremy Allison Autobuild-Date: Wed Mar 7 22:41:21 CET 2012 on sn-devel-104 --- diff --git a/docs-xml/smbdotconf/protocol/maxprotocol.xml b/docs-xml/smbdotconf/protocol/maxprotocol.xml index 3648a5ecb0d..2ecf84675de 100644 --- a/docs-xml/smbdotconf/protocol/maxprotocol.xml +++ b/docs-xml/smbdotconf/protocol/maxprotocol.xml @@ -35,8 +35,22 @@ SMB2: Re-implementation of the SMB protocol. - Used by Windows Vista and newer. The Samba implementation of SMB2 is - currently marked experimental! + Used by Windows Vista and later versions of Windows. SMB2 has sub protocols available. + + + SMB2_02: The earliest SMB2 version. + + + SMB2_10: Windows 7 SMB2 version. + + + SMB2_22: Early Windows 8 SMB2 version. + + + SMB2_24: Windows 8 SMB2 version. + + + By default SMB2 selects the SMB2_02 varient. @@ -48,6 +62,6 @@ min protocol protocol -NT1 +SMB2 LANMAN1 diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 453c8fd8759..f4e01335c5f 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -4766,7 +4766,7 @@ static void init_globals(bool reinit_globals) Globals.max_log_size = 5000; Globals.max_open_files = max_open_files(); Globals.open_files_db_hash_size = SMB_OPEN_DATABASE_TDB_HASH_SIZE; - Globals.srv_maxprotocol = PROTOCOL_NT1; + Globals.srv_maxprotocol = PROTOCOL_SMB2_02; Globals.srv_minprotocol = PROTOCOL_CORE; Globals.security = SEC_USER; Globals.paranoid_server_security = true;