smb protocol versions
Date: Wed, 18 Nov 2015 13:42:41 -0500
I'm really excited today - our VAX VMS might be able to use something other than SMB1 in an ancient version of smbclient.
Which versions of the SMB protocol below does curl now support? SMB2 for my VAX would be awesome. SMB3 encryption would make me ecstatic.
What kind of SMB encryption has been enabled in curl?
AFAIK, there are two types of SMB encryption, and three major protocols:
# man smbclient | col -b | awk '/^[ ]*-e/,/^$/'
This command line parameter requires the remote server support the
UNIX extensions or that the SMB3 protocol has been selected.
Requests that the connection be encrypted. Negotiates SMB
encryption using either SMB3 or POSIX extensions via GSSAPI. Uses
the given credentials for the encryption negotiation (either
kerberos or NTLMv1/v2 if given domain/username/password triple.
Fails the connection if encryption cannot be negotiated.
# man smb.conf | col -b | awk '/^[ ]*client max protocol/,/SMB3_00/'
client max protocol (G)
The value of the parameter (a string) is the highest protocol level
that will be supported by the client.
Possible values are :
* CORE: Earliest version. No concept of user names.
* COREPLUS: Slight improvements on CORE for efficiency.
* LANMAN1: First modern version of the protocol. Long filename
* LANMAN2: Updates to Lanman1 protocol.
* NT1: Current up to date version of the protocol. Used by
Windows NT. Known as CIFS.
* SMB2: Re-implementation of the SMB protocol. Used by Windows
Vista and later versions of Windows. SMB2 has sub protocols
* SMB2_02: The earliest SMB2 version.
* SMB2_10: Windows 7 SMB2 version.
* SMB2_22: Early Windows 8 SMB2 version.
* SMB2_24: Windows 8 beta SMB2 version.
By default SMB2 selects the SMB2_10 variant.
* SMB3: The same as SMB2. Used by Windows 8. SMB3 has sub protocols
* SMB3_00: Windows 8 SMB3 version. (mostly the same as SMB2_24)
List admin: http://cool.haxx.se/list/listinfo/curl-users
Received on 2015-11-18