pysmb
pysmb copied to clipboard
Server does not support any of the pysmb dialects. Please email pysmb to add in support for your OS
I want to support timemachine, but the protocol is at least smb2, but using pysmb cannot support this protocol
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>