Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1652780

Summary: cifs-utils: vers=3.02 information doesn't in man pages [RHEL8]
Product: Red Hat Enterprise Linux 8 Reporter: xiaoli feng <xifeng>
Component: cifs-utilsAssignee: Ronnie Sahlberg <lsahlber>
Status: CLOSED DUPLICATE QA Contact: xiaoli feng <xifeng>
Severity: unspecified Docs Contact:
Priority: high    
Version: 8.0CC: dwysocha, xzhou
Target Milestone: rcFlags: dwysocha: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1653173 (view as bug list) Environment:
Last Closed: 2020-02-25 19:05:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1681959, 1782928    
Bug Blocks: 1653173    

Description xiaoli feng 2018-11-23 02:14:01 UTC
Description of problem:
Because in RHEL8, the default protocol is 3.02. But the protocol 3.02 information isn't shown in the section "vers" of mount.cifs man pages.

Version-Release number of selected component (if applicable):
cifs-utils-6.8-2.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Dave Wysochanski 2019-11-11 21:12:13 UTC
Fixed upstream for a long time.

commit d93cabc638195b5a4274c2650477456f81651e75
Author: Kenneth D'souza <kdsouza>
Date:   Fri Feb 15 07:52:48 2019 +0530

    Update mount.cifs with vers=default mount option and SMBv3.0.2
    
    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 <kdsouza>

diff --git a/mount.cifs.rst b/mount.cifs.rst
index a0faf7f6e1a8..2ad7f59d5598 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.

Comment 2 Dave Wysochanski 2020-02-25 19:05:32 UTC
This is getting fixed in the cifs-utils update bug 1782928 which pulled in various patches.

# rpm -q cifs-utils
cifs-utils-6.8-3.el8.x86_64
# man mount.cifs | grep -A 3 "Tries to negotiate"
              ยท 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

*** This bug has been marked as a duplicate of bug 1782928 ***