-
Notifications
You must be signed in to change notification settings - Fork 10
/
samba.conf
48 lines (44 loc) · 1.36 KB
/
samba.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[global]
workgroup = WORKGROUP
netbios name = TIMECAPSULE
security = user
passdb backend = tdbsam
smb ports = 445
log level = 1
# disable things we don't need
server role = standalone
server services = -dns, -nbt
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
disable netbios = yes
# Time Machine
durable handles = yes
ea support = yes
fruit:aapl = yes
fruit:advertise_fullsync = true
fruit:time machine = yes
kernel oplocks = no
kernel share modes = no
map acl inherit = yes
posix locking = no
smb2 leases = yes
vfs objects = catia fruit streams_xattr
spotlight = yes
# Security
client ipc max protocol = default
client max protocol = default
server max protocol = SMB3
client ipc min protocol = default
client min protocol = CORE
server min protocol = SMB2
[REPLACE_SHARENAME]
browseable = Yes
comment = Apple TimeMachine Backup Target
inherit acls = Yes
path = /backups
read only = No
valid users = @timemachine_users
writable = yes
# vi:syntax=samba