All of lore.kernel.org
 help / color / mirror / Atom feed
From: samba-bugs@samba.org
To: cifs-qa@samba.org
Subject: [Bug 14521] CIFS mount shows only "vers=default" instead of specific SMB version
Date: Tue, 06 Oct 2020 09:01:26 +0000	[thread overview]
Message-ID: <bug-14521-10630-HcneHh3BAi@https.bugzilla.samba.org/> (raw)
In-Reply-To: <bug-14521-10630@https.bugzilla.samba.org/>

https://bugzilla.samba.org/show_bug.cgi?id=14521

Aurélien Aptel <aaptel@samba.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aaptel@samba.org

--- Comment #1 from Aurélien Aptel <aaptel@samba.org> ---
Just to make sure I get this right:

With the same version of the kernel (openSUSE-LEAP-15.2 with Linux-5.3), when
you mount with vers=default:
- a Windows Server 2012 share you see vers=3.11 in /proc/mounts
- anything else you see vers=default in /proc/mounts

And you are expecting the see the explicit version instead of default. Is that
right?


As a side note, if you just need to version you can look at
/proc/fs/cifs/DebugData. It will list all currently active connections along
with their version as "Dialect":

    # mount.cifs //foo/bar ....
    # grep Dialect /proc/fs/cifs/DebugData 
    Number of credits: 407 Dialect 0x311 signed

=> 0x311 is 3.1.1

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

      reply	other threads:[~2020-10-06  9:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-05 17:31 [Bug 14521] New: CIFS mount shows only "vers=default" instead of specific SMB version samba-bugs
2020-10-06  9:01 ` samba-bugs [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-14521-10630-HcneHh3BAi@https.bugzilla.samba.org/ \
    --to=samba-bugs@samba.org \
    --cc=cifs-qa@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.