Created
August 7, 2023 01:47
-
-
Save BoManev/86726f5a89f5af243b616662dcbef99e to your computer and use it in GitHub Desktop.
Minimal unrestricted samba config for use in private LAN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// smb.conf | |
[global] | |
server string = File Server | |
workgroup = WORKGROUP | |
client min protocol = NT1 | |
security = user | |
map to guest = Bad User | |
name resolve order = bcast host | |
include = /etc/samba/shares.conf | |
// shares.conf | |
[Public] | |
path = /mnt/usb/samba/public // external ssd | |
force user = smbuser | |
force group = smbgroup | |
create mask = 0664 | |
force create mode = 0664 | |
directory mask = 0775 | |
force directory mode = 0775 | |
public = yes | |
writable = yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment