nbalonso.com

OS X Server: Force Smb1 Connections

| Comments

So you want to force all the clients of your OS X server to connect using the smb protocol version 1? force it? Then check this out

1
2
3
4
5
6
7
8
/* Name: SMBProtocolVersionMap
 * Type: number
 * Bit map indicating smb protocol versions the server should enable
 * 1 == 0001 => smb1 should be enabled
 * 2 == 0010 => smb2 should be enabled
 * 3 == 0011 => both smb1 and smb2 should be enabled
 * If not specified the server will enable both smb1 and smb2 (default = 3)
 */

SourceĀ https://opensource.apple.com/source/smb/smb-697.1.1/lib/smb/smb_preferences.h

How to set it up you ask? Easy

1
bash-3.2$ sudo serveradmin settings smb:ProtocolVersionMap = 1

Comments