-
Notifications
You must be signed in to change notification settings - Fork 0
/
smb.conf
28 lines (25 loc) · 886 Bytes
/
smb.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[global]
netbios name = sambaalpine
workgroup = WORKGROUP
server string = Samba %v in an Alpine Linux Docker container
security = user
guest account = nobody
map to guest = Bad User
# for security reasons you shouldn't allow any version below SMB2
# if you're running ancient Windows (< 7) or other clients, you can check their supported protocol versions here:
# https://www.samba.org/samba/docs/4.8/man-html/smb.conf.5.html#SERVERMAXPROTOCOL
server min protocol = SMB2
# disable printing services
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
[data]
comment = Data
path = /shared
read only = yes
write list = rio
guest ok = yes
# getting rid of those annoying .DS_Store files created by Mac users...
veto files = /._*/.DS_Store/
delete veto files = yes