miketeo/pysmb

Server does not support any of the pysmb dialects

alho94 opened this issue · 2 comments

Hello @miketeo, I am using pysmb on a OpenSUSE 15 and have installed and enabled samba version 4.15.8.
Using the samba cli I am able to connect to my share, however, when I try to do so via pysmb, I end up with the following error message:
image

Not sure if I am doing something wrong or if this is a OpenSuse issue after all. Any advise would be highly appreciated!

If you have access to your Samba service, you can edit smb.conf and try changing/adding min protocol parameter to min protocol=SMB2

Thank you for the hint. This is the smb configuration:
[global] client signing = yes client use spnego = yes log file = /var/log/samba/log.%m max log size = 50 client ldap sasl wrapping = sign min protocol = SMB2_02 include = /etc/samba/include.conf

I have tried it also with min protocol = SMB2 but it ended up with the same error message as shown above.