initial commit
This commit is contained in:
commit
13eace9ce9
219 files changed
+6918
No files matched your search
@@ -0,0 +1,41 @@
|
||||
[global]
|
||||
log file = /var/log/samba/%m.log
|
||||
log level = 1
|
||||
max log size = 50
|
||||
smb ports = 445 139
|
||||
workgroup = WORKGROUP
|
||||
server string = PS2 Samba Server
|
||||
server role = standalone server
|
||||
load printers = no
|
||||
printing = bsd
|
||||
printcap name = /dev/null
|
||||
disable spoolss = yes
|
||||
map to guest = Never
|
||||
pam password change = yes
|
||||
ntlm auth = yes
|
||||
lanman auth = yes
|
||||
server min protocol = NT1
|
||||
server signing = disabled
|
||||
smb encrypt = disabled
|
||||
create mask = 0664
|
||||
directory mask = 0775
|
||||
force group = media
|
||||
socket options = TCP_NODELAY TCP_KEEPIDLE=20 IPTOS_LOWDELAY SO_KEEPALIVE
|
||||
keepalive = 0
|
||||
large readwrite = yes
|
||||
follow symlinks = yes
|
||||
idmap config * : backend = tdb
|
||||
idmap config * : range = 3000-7999
|
||||
|
||||
[PS2]
|
||||
comment = PlayStation 2
|
||||
path = /mnt/media1/.ps2opl
|
||||
browsable = yes
|
||||
read only = no
|
||||
guest ok = no
|
||||
{% set users = smb_managed_group | default([]) | map('extract', hostvars) | selectattr('smb_user', 'defined') | selectattr('smb_container', 'defined') | selectattr('smb_container', 'contains', inventory_hostname) | map(attribute='smb_user') | list %}
|
||||
{% if users | length > 0 %}
|
||||
valid users = {{ users | join(' ') }}
|
||||
{% endif %}
|
||||
veto files = /._*/.apdisk/.AppleDouble/.DS_Store/.TemporaryItems/.Trashes/desktop.ini/ehthumbs.db/Network Trash Folder/Temporary Items/Thumbs.db/
|
||||
delete veto files = yes
|
||||
Reference in new issue
Block a user