Skip to main content
Question

/etc/nsmb.conf changes in macOS 10.12 Sierra

  • November 21, 2016
  • 2 replies
  • 70 views

dstranathan
Forum|alt.badge.img+19

Just a heads-up: I just realized the syntax of the /etc/nsmb.conf file has changed in Sierra:

The entries of "smb_neg=smb1_only" and "smb_neg=smb2_only" are offically gone.

The only thing I see that resembles this entry is "protocol_vers_map" (manpage says "Bitmap of SMB Versions that are enabled" clear as mud!)

After testing I can confirm that:

"protocol_vers_map=2" sets SMB Protocol 2
"protocol_vers_map=1" sets SMB Protocol 1

This link was (slightly) helpful to me: http://www.gossamer-threads.com/lists/netapp/toasters/15969

2 replies

Forum|alt.badge.img+23
  • Esteemed Contributor
  • November 21, 2016

Yep, always check the man pages!

man nsmb.conf

As I mentioned on slack, I've noticed Apple is putting their newest docs in man pages first now.


dstranathan
Forum|alt.badge.img+19
  • Author
  • Valued Contributor
  • November 21, 2016

Interesting that some options are not included in the manpage. Example: "file_ids_off=yes/no" is not mentioned, but I beleive it is still a valid SMB option.