Change default protocol to SMB2_02.
authorJeremy Allison <jra@samba.org>
Wed, 7 Mar 2012 19:58:51 +0000 (11:58 -0800)
committerJeremy Allison <jra@samba.org>
Wed, 7 Mar 2012 21:41:21 +0000 (22:41 +0100)
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Mar  7 22:41:21 CET 2012 on sn-devel-104

docs-xml/smbdotconf/protocol/maxprotocol.xml
source3/param/loadparm.c

index 3648a5e..2ecf846 100644 (file)
        </listitem>
        <listitem>
            <para><constant>SMB2</constant>: Re-implementation of the SMB protocol.
-           Used by Windows Vista and newer. The Samba implementation of SMB2 is
-           currently marked experimental!</para>
+           Used by Windows Vista and later versions of Windows. SMB2 has sub protocols available.</para>
+           <itemizedlist>
+               <listitem>
+                       <para><constant>SMB2_02</constant>: The earliest SMB2 version.</para>
+               </listitem>
+               <listitem>
+                       <para><constant>SMB2_10</constant>: Windows 7 SMB2 version.</para>
+               </listitem>
+               <listitem>
+                       <para><constant>SMB2_22</constant>: Early Windows 8 SMB2 version.</para>
+               </listitem>
+               <listitem>
+                       <para><constant>SMB2_24</constant>: Windows 8 SMB2 version.</para>
+               </listitem>
+           </itemizedlist>
+           <para>By default SMB2 selects the SMB2_02 varient.</para>
        </listitem>
     </itemizedlist>
 
@@ -48,6 +62,6 @@
 <related>min protocol</related>
 <synonym>protocol</synonym>
 
-<value type="default">NT1</value>
+<value type="default">SMB2</value>
 <value type="example">LANMAN1</value>
 </samba:parameter>
index 453c8fd..f4e0133 100644 (file)
@@ -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;