Looks like no one's replied in a while. To start the conversation again, simply ask a new question.
    
     

Q: How To Tell What Version Of SMB Is Being Used?

Hi there,

 

I recall from a while ago, I used a command that enabled me to see what version of SMB (CIFS/SMB1/SMB2) active mounts were using.

 

For the life of me I can't remember the command nor can I find it anywhere online.

 

What is the command line command to display active mounts and their negotiated connection method in OS X?

 

Thank you for your help in advance.

Mac mini, OS X Server

Posted on Jan 15, 2015 4:44 AM

  • Helpful answers
  • All replies
  • by VikingOSX,

     VikingOSX Jan 15, 2015 7:43 AM in response to Ryan Barclay
    Level 7 Level 7 (28,782 points)
    expertise.macosx
    Mac OS X
    Jan 15, 2015 7:43 AM in response to Ryan Barclay

    It may have been:

     

    smbutil statshares -a

    Jan 15, 2015 7:43 AM

  • by Ryan Barclay,

     Ryan Barclay Jan 15, 2015 7:50 AM in response to VikingOSX
    Level 1 Level 1 (16 points)
    expertise.macosx
    Mac OS X
    Jan 15, 2015 7:50 AM in response to VikingOSX

    Thanks for the reply.  Sorry, I forgot to mention that this is for OS X Lion 10.7.5.  smbutil doesn't work as it wasn't released in this version of OS X.

     

    Do you know the command for Lion?

     

    P.s. smbutil statshares -a does work for later versions, confirmed.

    Jan 15, 2015 7:50 AM

  • by helpus all,

     helpus all Apr 29, 2016 12:07 PM in response to Ryan Barclay
    Level 1 Level 1 (4 points)
    Apr 29, 2016 12:07 PM in response to Ryan Barclay

    In case anyone stumbles across this post _and_ still has 10.6-10.7 Server systems to check, this should show Samba version...

    smbd -V

    Apr 29, 2016 12:07 PM