Skip to content

Instantly share code, notes, and snippets.

@celeron633
Created January 1, 2024 05:43
Show Gist options
  • Save celeron633/3ecbc5d73a8985b76a4e7499bbdc77d8 to your computer and use it in GitHub Desktop.
Save celeron633/3ecbc5d73a8985b76a4e7499bbdc77d8 to your computer and use it in GitHub Desktop.
new samba config for non-authentication share
[global]
server role = standalone server
workgroup = WORKGROUP
max log size = 1000
logging = file
security = user
map to guest = bad user
load printers = no
aio read size = 0
[mnt]
comment = mnt
path = /mnt
public = yes
guest ok = yes
read only = yes
[mnt2]
comment = mnt2
path = /mnt2
public = yes
guest ok = yes
read only = no
[mnt3]
comment = mnt3
path = /mnt3
public = yes
guest ok = yes
read only = no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment