Samba: validate smb.conf with testparm

Before restart, inspect the effective config and warnings.

testparm -s
sudo systemctl reload smbd
smbclient -L localhost -N

Verify the result

testparm should not show critical errors.