I installed Raspbian Lite and Samba on my Raspberry Pi 4b. Below is my smb.conf file.
[global] workgroup = WORKGROUP log file = /var/log/samba/log.%m