Okay I did a bunch of testing.
If I leave SMB 1, 2, and 3 all enabled on my server.
If I set my smb.conf file to this:
preferred master = no
local master = no
domain master = no
client lanman auth = yes
lanman auth = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=6$
lock directory = /home/osmc/.smb/
client use spnego = no
client ntlmv2 auth = no
name resolve order = bcast host
client max protocol = SMB3
(I only added client max protocol = SMB3, left everything else alone)
Then Kodi will use SMB v3.
Without the client max protocol, kodi uses SMB1.
Without the client max protocol, AND with ntlmv2 auth set to yes, SMB1 doesn’t work. Endless password prompts.
So again, the most widely compatible bet is to just add:
The safest/most secure bet would be to add these 3:
[quote] client ntlmv2 auth = yes
client min protocol = SMB2
client max protocol = SMB3[/quote]
(You don’t add client ntlmv2 auth = yes, you change the no to yes)