From 4.11 or newer version,Samba does not support smb1 protocal by default.
But there are few devices in my home only support smb1 :(
so we can put these parameter into [global] section in /etc/samba/smb.conf to solve this issue:
client min protocol = NT1
server min protocol = NT1
lanman auth = yes
encrypt passwords = yes