7

Is there a command like Get-SmbConnection in Windows to check what version of smb protocol I'm currently using on my share points?

Gryu
  • 7,279
  • 9
  • 31
  • 52
Dante
  • 111
  • 1
  • 1
  • 4

1 Answers1

12

To see your SMB versions that are being used run the following command on the server:

sudo smbstatus

Example:

terrance@Intrepid:~$ sudo smbstatus

Samba version 4.3.11-Ubuntu
PID     Username      Group         Machine            Protocol Version       
------------------------------------------------------------------------------
11898     nobody        nogroup       10.0.0.100   (ipv4:10.0.0.100:50612) SMB3_02     

Service      pid     machine       Connected at
-------------------------------------------------------
IPC$         11898   10.0.0.100    Wed Jun 20 21:07:28 2018
storage      11898   10.0.0.100    Wed Jun 20 21:07:28 2018

No locked files

As we can see by the above, one of my Linux boxes is connecting using SMB3.0.2 protocol version.

Hope this helps!

Terrance
  • 39,774
  • 7
  • 116
  • 176