I want to check the dialect version in SMB connections.
On Windows, Get-SmbConnection will get it.
PS C:\Windows\system32> Get-SmbConnection
ServerName ShareName UserName Credential Dialect NumOpens
---------- --------- -------- ---------- ------- -------
savdal08r2 c$ SAVILLTEC... SAVILLTEC... 2.10 1
savdalfs01 c$ SAVILLTEC... SAVILLTEC... 3.00 1
on macOS, smbutil statshares -a works well.
What should I do on linux?
mount.cifs -o user=xxx......