Bug 13242 - Time Machine (MacOS 10.13.3) reports "the selected network backup disk does not support the required capabilities"
Summary: Time Machine (MacOS 10.13.3) reports "the selected network backup disk does n...
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: 4.8.0rc2
Hardware: x64 FreeBSD
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-23 21:39 UTC by groenveld
Modified: 2018-03-27 21:50 UTC (History)
0 users

See Also:


Attachments
log.smbd (1.63 MB, text/plain)
2018-01-23 21:39 UTC, groenveld
no flags Details
log.nmbd (166.79 KB, text/plain)
2018-01-23 21:41 UTC, groenveld
no flags Details
log.smbd (1.62 MB, text/plain)
2018-01-25 21:17 UTC, groenveld
no flags Details
log.smbd (155.48 KB, text/plain)
2018-01-25 21:17 UTC, groenveld
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description groenveld 2018-01-23 21:39:42 UTC
Created attachment 13922 [details]
log.smbd

[log.smb attached]
$ uname -srv
FreeBSD 12.0-CURRENT FreeBSD 12.0-CURRENT #13 5085b9023(trueos-master): Sat Dec 
30 17:10:29 UTC 2017     root@chimera:/usr/obj/usr/src/amd64.amd64/sys/GENERIC 

$ env PYTHON=/usr/local/bin/python2.7 \
CC=gcc \
CFLAGS=-m64 \
CPPLAGS=-I/usr/local/include \
LDFLAGS="-m64 -R/opt/samba/lib -R/opt/samba/lib/private -R/usr/local/lib" \
./configure --prefix=/opt/samba --sysconfdir=/etc/opt/samba \
--localstatedir=/var/opt/samba --enable-gnutls \
--with-privatedir=/var/opt/samba/private --with-ntvfs-fileserver  \
--enable-avahi

# cat smb.conf 
[global]
workgroup = WORKGROUP
netbios name = p150em
log level = 10
passdb backend = tdbsam
vfs objects = zfsacl

[timecapsule]
path = /foo/timecapsule
writable  = yes
browsable = yes
read only = no
guest ok = no
#create mask = 0666
#directory mask = 0755
fruit:time machine = yes
Comment 1 groenveld 2018-01-23 21:41:02 UTC
Created attachment 13923 [details]
log.nmbd
Comment 2 groenveld 2018-01-23 21:42:17 UTC
I can provide truss and tcpdump if helpful.
John
groenveld@acm,org
Comment 3 groenveld 2018-01-25 21:17:16 UTC
Created attachment 13930 [details]
log.smbd
Comment 4 groenveld 2018-01-25 21:17:50 UTC
Created attachment 13931 [details]
log.smbd
Comment 5 groenveld 2018-01-25 21:19:32 UTC
Same Time Machine error with MacOS 10.13.3 and samba 4.8.0.rc2
John
groenveld@acm.org
Comment 6 Omri Mor 2018-03-13 21:43:47 UTC
You need to load the `fruit' VFS module; this usually requires loading the `catia' and `streams_xattr' modules as well.
See the vfs_fruit manpage for examples.

In this case, you need to add `catia fruit streams_xattr` to your `vfs objects' line in smb.conf.
Comment 7 groenveld 2018-03-27 21:50:18 UTC
Just an update for the Time Machine time capsule users who stumble on this bug.
 
Catia module is not required, setting this in [global] worked:
vfs objects = fruit streams_xattr zfsacl

John
groenveld@acm.org