ubuntu:samba:smb_protocol_versions
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:samba:smb_protocol_versions [2019/12/09 00:28] – [Configuration to enable SMBv2] peter | ubuntu:samba:smb_protocol_versions [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 27: | Line 27: | ||
Add the following lines to / | Add the following lines to / | ||
+ | |||
+ | <WRAP todo> | ||
+ | TODO: Some of these may not work - so try different combinations. | ||
+ | </ | ||
+ | |||
<file bash / | <file bash / | ||
Line 35: | Line 40: | ||
min protocol = SMB2 | min protocol = SMB2 | ||
max protocol = SMB3 | max protocol = SMB3 | ||
+ | protocol = SMB2 | ||
client ipc min protocol = SMB2 | client ipc min protocol = SMB2 | ||
</ | </ | ||
Line 53: | Line 59: | ||
... | ... | ||
</ | </ | ||
+ | |||
+ | <WRAP alert> | ||
+ | WannaCry can spread via SMBv2 as well: | ||
+ | |||
+ | https:// | ||
+ | </ | ||
+ | |||
The following gives best options: | The following gives best options: | ||
Line 68: | Line 81: | ||
client min protocol = SMB2_10 | client min protocol = SMB2_10 | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Errors ===== | ||
+ | |||
+ | Server: | ||
+ | |||
+ | <code bash> | ||
+ | min protocol = SMB2 | ||
+ | </ | ||
+ | |||
+ | Client: | ||
+ | |||
+ | <code bash> | ||
+ | smbclient -U=username -N –command=”dir Directory/ | ||
+ | </ | ||
+ | |||
+ | Error: | ||
+ | |||
+ | <code bash> | ||
+ | protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE | ||
+ | </ | ||
+ | |||
+ | Try to Use: | ||
+ | |||
+ | <code bash> | ||
+ | protocol = SMB2 | ||
+ | </ | ||
+ |
ubuntu/samba/smb_protocol_versions.1575851319.txt.gz · Last modified: 2020/07/15 09:30 (external edit)