41

Is there a command line way to see what version of Samba I am running?

peterh
  • 5,017
Crash893
  • 807

3 Answers3

38

Use the smbstatus command from the shell to get an output like this Samba version 3.0.25b-1.el5_1.4

Gomibushi
  • 1,343
  • 1
  • 12
  • 21
29

Just enter below command on your terminal

smbd -V
Sven
  • 100,763
LOKESH
  • 411
  • 4
  • 6
5

For the Linux Samba version type :

$ smbstatus -V
Version 4.6.14-SerNet-RedHat-16.el7

But I guess your domain controller needs is the SMB Protocol version you are using, you can find it by typing :

# smbstatus -p
PID     Username     Group        Machine                           Protocol Version  Encryption           Signing
----------------------------------------------------------------------------------------------------------------------------------------
226861  nobody       nogroup      10.0.0.55 (ipv4:10.0.0.55:61866)  SMB3_11           -                    partial(AES-128-CMAC)

SebMa
  • 439