When i migrate the file system from xxxxx to ubuntu, and use the samba version 4, the application throws the following exception:
jcifs.smb.smbexception: this client does not support the negotiated dialect.
To solve the problem, you can add the following code under the [global] in smb.conf:
min protocol = lanman2