Short version of Samba installation with user lynn:
sudo apt update && sudo apt upgrade -y
sudo apt install samba samba-common-bin -y
sudo smbpasswd -a lynn
sudo nano /etc/samba/smb.conf
[lynn]
path = /home/lynn
browsable = yes
writeable = yes
directory mask = 0775
create mask = 0775
public = yes
valid users = lynn
sudo service smbd restart
use ‘testparm’ to test samba configuration
Windows 11 Error
Update 8/30/25: Windows Explorer uses Windows Credentials to log in to Samba server. In my case, the credentials are different. Therefore ‘net use’ with ‘user=’ specified works with the Samba credentials. To override Windows Credentials with Windows Explorer, use Windows Credential Manager to add credentials for the Samba server.