A simple smb.conf for a read-only share in Samba 4 can look like below:
![](https://lxadm.com/content/images/2022/09/Ekran-Resmi-2022-09-22-11.13.06.png)
You can mount it on Linux with:
![](https://lxadm.com/content/images/2022/09/Ekran-Resmi-2022-09-22-11.13.10.png)
See also simple file sharing with Samba 3.
A simple smb.conf for a read-only share in Samba 4 can look like below:
You can mount it on Linux with:
See also simple file sharing with Samba 3.