Avoid finder hang when connect to smb server in MacOS 10.14

There might be some bugs in the .DS_Store. So first stop the .DS_Store creation in your MacOS:

Then remove all .DS_Store files on your smb folders:

If you want to see the files you want to remove, try:

And do it with:

Also you will find more other hidden files like ‘._.DS_Store‘, you should also remove them.