2016-06-07 08:10:41 +00:00
|
|
|
# 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.
|
2020-08-27 12:35:17 +00:00
|
|
|
#
|
|
|
|
# Note:
|
|
|
|
# SMB1 is disabled by default. This means clients without support for SMB2 or
|
|
|
|
# SMB3 are no longer able to connect to smbd (by default).
|
2016-06-07 08:10:41 +00:00
|
|
|
|
|
|
|
[global]
|
|
|
|
workgroup = SAMBA
|
|
|
|
security = user
|
|
|
|
|
|
|
|
passdb backend = tdbsam
|
|
|
|
|
|
|
|
printing = cups
|
|
|
|
printcap name = cups
|
|
|
|
load printers = yes
|
2016-06-07 11:09:24 +00:00
|
|
|
cups options = raw
|
2016-06-07 08:10:41 +00:00
|
|
|
|
|
|
|
[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
|
2017-07-31 10:14:15 +00:00
|
|
|
write list = @printadmin root
|
|
|
|
force group = @printadmin
|
2016-06-07 08:10:41 +00:00
|
|
|
create mask = 0664
|
|
|
|
directory mask = 0775
|