[Bug 14521] CIFS mount shows only "vers=default" instead of specific SMB version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Aurélien Aptel <aaptel@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aaptel@xxxxxxxxx

--- Comment #1 from Aurélien Aptel <aaptel@xxxxxxxxx> ---
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.



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux