Created
March 2, 2020 13:41
-
-
Save guilhermewebdev/6df3a022a57f493a0742a09b29e47da0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# 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 = SAMBA | |
security = user | |
passdb backend = tdbsam | |
printing = cups | |
printcap name = cups | |
load printers = yes | |
cups options = raw | |
[homes] | |
comment = Home Directories | |
valid users = %S, %D%w%S | |
browseable = No | |
read only = No | |
inherit acls = Yes | |
[printers] | |
comment = All Printers | |
path = /var/tmp | |
printable = Yes | |
create mask = 0600 | |
browseable = No | |
#[print$] | |
# comment = Printer Drivers | |
# path = /var/lib/samba/drivers | |
# write list = @printadmin root | |
# force group = @printadmin | |
# create mask = 0664 | |
# directory mask = 0775 | |
[clinica] | |
comment = Dados | |
write list = @clinica root | |
create mask = 0664 | |
directory mask = 0775 | |
path = /samba/clinica | |
guest ok = yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment