Monday, February 17, 2020

Enable SMB1 in samba 4.11 or newer

From 4.11 or newer version,Samba does not support SMB1 protocal by default.

See Samba 4.11 release note for more details.

But there are few devices in my home only support SMB1 ,such as cellphone file explorer and blueray disc player.

So we can put these parameters 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