pysmb icon indicating copy to clipboard operation
pysmb copied to clipboard

Server does not support any of the pysmb dialects. Please email pysmb to add in support for your OS

Open RogueCultivators opened this issue 1 year ago • 1 comments

image

image

I want to support timemachine, but the protocol is at least smb2, but using pysmb cannot support this protocol

RogueCultivators avatar Jul 11 '23 03:07 RogueCultivators

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>

RoyWiggins avatar Feb 13 '24 17:02 RoyWiggins