From patchwork Fri Feb 15 02:22:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kenneth Dsouza X-Patchwork-Id: 10814091 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EA0E313B4 for ; Fri, 15 Feb 2019 02:22:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D95102F3F5 for ; Fri, 15 Feb 2019 02:22:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CD6542F407; Fri, 15 Feb 2019 02:22:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 792FF2F3F5 for ; Fri, 15 Feb 2019 02:22:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732543AbfBOCWx (ORCPT ); Thu, 14 Feb 2019 21:22:53 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57098 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726324AbfBOCWw (ORCPT ); Thu, 14 Feb 2019 21:22:52 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BCDDDC0D18AA; Fri, 15 Feb 2019 02:22:52 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.76.0.40]) by smtp.corp.redhat.com (Postfix) with ESMTP id 700D1600C7; Fri, 15 Feb 2019 02:22:51 +0000 (UTC) From: Kenneth D'souza To: linux-cifs@vger.kernel.org Cc: piastryyy@gmail.com, smfrench@gmail.com Subject: [PATCH v4] Update mount.cifs with vers=default mount option and SMBv3.0.2 Date: Fri, 15 Feb 2019 07:52:48 +0530 Message-Id: <20190215022248.13277-1-kdsouza@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 15 Feb 2019 02:22:52 +0000 (UTC) Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add vers=3.0.2 as a valid option for SMBv3.0.2 and explain behavior of vers=default. Signed-off-by: Kenneth D'souza --- mount.cifs.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mount.cifs.rst b/mount.cifs.rst index a0faf7f..2ad7f59 100644 --- a/mount.cifs.rst +++ b/mount.cifs.rst @@ -591,9 +591,13 @@ vers=arg different dialect (2.000) that is not supported. - 2.1 - The SMBv2.1 protocol that was introduced in Microsoft Windows 7 and Windows Server 2008R2. - 3.0 - The SMBv3.0 protocol that was introduced in Microsoft Windows 8 and Windows Server 2012. - - 3.02 - The SMBv3.0.2 protocol that was introduced in Microsoft Windows 8.1 and Windows Server 2012R2. + - 3.02 or 3.0.2 - The SMBv3.0.2 protocol that was introduced in Microsoft Windows 8.1 and Windows Server 2012R2. - 3.1.1 or 3.11 - The SMBv3.1.1 protocol that was introduced in Microsoft Windows Server 2016. - 3 - The SMBv3.0 protocol version and above. + - default - Tries to negotiate the highest SMB2+ version supported by both the client and server. + + If no dialect is specified on mount vers=default is used. + To check ``Dialect`` refer to /proc/fs/cifs/DebugData Note too that while this option governs the protocol version used, not all features of each version are available.