You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.0 KiB
51 lines
1.0 KiB
#======================= Global Settings =======================
|
|
[global]
|
|
### General ###
|
|
server string = medusa
|
|
server role = standalone server
|
|
disable netbios = yes
|
|
smb ports = 445
|
|
|
|
#### Logging ####
|
|
log file = /var/log/samba/smb.log
|
|
max log size = 1000
|
|
|
|
####### Authentication #######
|
|
passdb backend = tdbsam
|
|
map to guest = bad user
|
|
|
|
### Permissions ##
|
|
# The following settings configure all shares to use the filesrv user on the backend
|
|
force user = files
|
|
force group = files
|
|
create mask = 0644
|
|
directory mask = 0755
|
|
force create mode = 0644
|
|
force directory mode = 0755
|
|
unix extensions = yes
|
|
map archive = no
|
|
map system = no
|
|
map hidden = no
|
|
|
|
### Printing ###
|
|
# Disable all printing
|
|
load printers = no
|
|
printing = bsd
|
|
printcap name = /dev/null
|
|
disable spoolss = yes
|
|
|
|
#======================= Share Definitions =======================
|
|
[media]
|
|
comment = Shared media files
|
|
path = /vol/media
|
|
browsable = yes
|
|
guest ok = yes
|
|
read only = yes
|
|
write list = @sambashare
|
|
|
|
[homes]
|
|
comment = User homes
|
|
browsable = no
|
|
guest ok = no
|
|
read only = no
|
|
valid users = %S
|
|
|