Michael Teo
Michael Teo
I suspect that you might be opening "too many" connections at one time. I had similar occurrences when I run the full regression test suites against a Windows 10 workstation....
@craynic : The remote_name is required when the SMB client initiates a NetBIOS session setup call before it can commence on the SMB protocol negotiation. If the remote_name is wrong...
@elmosan : What is the OS of the remote SMB server that you are connecting to?
Weird. pysmb does have support for Samba. Are you able to find out what version of the Samba is running on server, or do a TCP packet capture between your...
@elmosan : Will be good to have the packet capture. I'm using Samba 4.4.16 on my end.
@divad : I think elmosan's configuration tries to limit the acceptable protocols to a SMB2 version that is only supported by Windows 7 or later. Unfortunately, pySMB does not support...
@divad : Many thanks for identifying the problem for SMB 2.1 in pysmb. I will have to read up the credits sections in [MS-SMB2] again. The dual NEGOTIATE requests really...
@divad : (code-sharing) Yes, please. Will be useful when I have the time to work on this.
What is the version of the Samba service?
You can try editing the smb.conf file and change (or add if necessary) this parameter: `server min protocol = LANMAN1` Remember to restart the samba service after the change.