Open RogueCultivators opened 1 year ago
we've found that sometimes setting min protocol = SMB2
ends up setting SMB2.1 as the minimum version that Samba will negotiate. pysmb doesn't support SMB2.1 (sometimes denoted 2_10). Explicitly setting min protocol = SMB2_02
fixed it for us.
You can test this at the command line by setting the maximum version smbclient will negotiate. For pysmb to work, the server needs to negotiate SMB2_02 (which is SMB version 2.0.2):
smbclient -m SMB2_02 -U <user> -c "ls" <server>
I want to support timemachine, but the protocol is at least smb2, but using pysmb cannot support this protocol