@@ -15,36 +15,29 @@ printcap name = /dev/null
15
15
disable spoolss = yes
16
16
disable netbios = yes
17
17
18
- # Time Machine
19
- durable handles = yes
20
- ea support = yes
21
- fruit:aapl = yes
22
- fruit:advertise_fullsync = true
23
- fruit:model = TimeCapsule6
24
- kernel oplocks = no
25
- kernel share modes = no
26
- map acl inherit = yes
27
- posix locking = no
28
- smb2 leases = yes
29
- vfs objects = catia fruit streams_xattr
18
+ # Apple configuration
19
+ # Taken from: https://wiki.samba.org/index.php/Configure_Samba_to_Work_Better_with_Mac_OS_X
20
+ vfs objects = fruit streams_xattr
21
+ fruit:metadata = stream
22
+ fruit:model = TimeCapsule6
23
+ fruit:posix_rename = yes
24
+ fruit:veto_appledouble = no
25
+ fruit:nfs_aces = no
26
+ fruit:wipe_intentionally_left_blank_rfork = yes
27
+ fruit:delete_empty_adfiles = yes
30
28
31
29
# Security
32
- username map = /etc/samba/users.map
33
- server max protocol = SMB3
34
- server min protocol = SMB2
35
- client min protocol = SMB2
36
- client max protocol = SMB3
37
- idmap config * : backend = tdb
38
- idmap config * : range = 300000-400000
30
+ username map = /etc/samba/users.map
31
+ client min protocol = SMB2
32
+ server min protocol = SMB2
33
+ idmap config * : backend = tdb
34
+ idmap config * : range = 300000-400000
39
35
40
36
[Data]
41
- browseable = Yes
42
- comment = Apple TimeMachine Backup Target
43
- vfs objects = catia fruit streams_xattr
44
- fruit:aapl = yes
45
37
fruit:time machine = yes
46
38
fruit:time machine max size = REPLACE_TM_SIZEB
47
- inherit acls = Yes
39
+ browseable = Yes
40
+ comment = Apple TimeMachine Backup Target
48
41
path = /backups
49
42
read only = No
50
43
valid users = timemachine
0 commit comments