Skip to content

Instantly share code, notes, and snippets.

@blackknight36
Created May 12, 2017 18:02
Show Gist options
  • Select an option

  • Save blackknight36/26a77a07e235feef082a2ee5bd307f59 to your computer and use it in GitHub Desktop.

Select an option

Save blackknight36/26a77a07e235feef082a2ee5bd307f59 to your computer and use it in GitHub Desktop.
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = DEVOPS
security = user
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = no
cups options = raw
hostname lookups = yes
[docs]
comment = Docs
path = /srv/smb_docs
browseable = Yes
read only = Yes
printable = No
write list = vince
hosts allow = srv2.rhce.local
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment