From nobody Wed Mar 1 18:34:37 2023 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PRjZl0zvJz3vBmL for ; Wed, 1 Mar 2023 18:34:55 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PRjZl03c4z47rJ; Wed, 1 Mar 2023 18:34:55 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677695695; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UBywu1lMbpFfbLoyJl6ihfc4sl9tChEC6XoqjF1oOFU=; b=uVd8BNLYY/SsoMxfnVOxuD+tZcoFW70Tw7+cedty4uMe15rK2e9r3Wz/lELXmml2F4jMJK Tsdj7wMCU0aonnODVrKqr9Pqa5iDNtvLbkWXX4UnUBQkdCTsCeQmzjYXyW6mr9kHSRiGSA jHgaTvxM3qw8Vvd69t3Cknbw/Fl1zZbx0v3vZbihl1tzpSo18FDQesjxIaCSXgpkXBV1sh nAVes99Q/B2dSE8HJZKDr+PPRrcMto8MS5e1wmQoDHDeHBVPDzL3wRrsaZqn3lcQFvHnXg w/Vw4D9/JDm6iB20Hj8u+3Ogl6aSmRksHrvnzxwCp3YJcQ8GncTMjEmy5uSjAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677695695; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UBywu1lMbpFfbLoyJl6ihfc4sl9tChEC6XoqjF1oOFU=; b=u/fULcFyD3IOKAJbQdcYuIIXCpI9a1oT50VlA6mDcGIwBcqI9lwioPH0zqE7VDHzJbAF5x 1aNSR9Pulaoz5hhOY7Avq/U6YDqKFX4pMRd7pWlUGFsl5MoJ7O1gYAzgge1vYJYgj/BPo4 +DLCxy2ykqg7VVrxTu6RRBYNV1y70YLpAt3Kuz/o54SRbFnZSKmrPIGuNrDpTXYRPAffAO eAdAfPzuj4mJHbniSqqql+JBApqSq/KF41gwuV5jJm+FAYKF/5eIFtkWK06AstccCGd/vS 5WAVvZl8cua92n2HD8fERiLUr7Nlji77q9RnhngLhiEGD9nWtkMHHLIsEgyqUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677695695; a=rsa-sha256; cv=none; b=v9Kc+1DL3i5z+GWdgNpIYjbzU9X5uWVY8fu/S5LCHA+2jY4i30f/xg+8anJwYGSP3FNUI4 IaSKgt58ARV7To89L8v/Ie1Q46mPzi/CdX2kwdi/NROkOxSTKgepOJXUN0EYs11oi2fSnb djC1BXN5hxHjaodJpdjS9jC60/Lr3UJGEF0iG0lRvIQbYVPGyUvtmnytK6xdnV84LRbyiF cXjGwL5KV+p1pnzn6TMb5mg1Kn0foUGSsr/szx4Kzr00s/sEN8YvMR7PrUlKU1Amehk33T cHh5StuIVVvJ1Csa9dpI6gtQovSL6Ku3eTeTjbnrL+mqXAvpB7dalDTMlaSwTA== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PRjZk5P60z171X; Wed, 1 Mar 2023 18:34:54 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 00DD33E768; Wed, 1 Mar 2023 19:34:52 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_2D977F1B-1CA3-48F2-8451-C80E21E17BA9"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: FreeBSD+samba as a time machine server for OSX/Ventura? From: Dimitry Andric In-Reply-To: Date: Wed, 1 Mar 2023 19:34:37 +0100 Cc: freebsd-hackers@freebsd.org Message-Id: References: To: Craig Leres X-Mailer: Apple Mail (2.3731.400.51.1.1) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_2D977F1B-1CA3-48F2-8451-C80E21E17BA9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 1 Mar 2023, at 05:28, Craig Leres wrote: >=20 > In 2020 I was able to install the netatalk3 port and use a FreeBSD = system as a time machine server. In 2021 when I upgraded to Big Sur = appletalk was no longer supported so I switched to samba413. >=20 > I've never managed to get this to work since upgrading to Ventura. What happened with Ventura? When I upgraded to it, Time Machine backups to a FreeBSD samba server kept on working just as before. > Does anybody have a config or wisdom they could share? I've appended = the config that worked with Big Sur. First of all, install samba416 instead of samba413. There are lots of important fixes, also in the Apple SMB compat area. What I'm using is mostly (irrelevant settings removed): [global] fruit:aapl =3D yes fruit:zero_file_id =3D yes vfs objects =3D catia fruit streams_xattr zfsacl # ... other stuff ... [tm-share] comment =3D Time Machine share path =3D /foo/bar/baz read only =3D No write list =3D luser fruit:time machine =3D yes And that's about it. The most important things are the global fruit options, in particular zero_file_id (see bug 269883 for the gory details), and of course the vfs objects option. If you don't use ZFS (but you should) remove zfsacl. Btw do NOT use sendfile. It never worked properly, even with AppleTalk. -Dimitry --Apple-Mail=_2D977F1B-1CA3-48F2-8451-C80E21E17BA9 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCY/+avQAKCRCwXqMKLiCW oxYyAJ9OjC/jTq3uxJiW/FvPlP/nSTC7/wCdHxuhj6qctwK597/bP2dFXzzyc10= =h2ms -----END PGP SIGNATURE----- --Apple-Mail=_2D977F1B-1CA3-48F2-8451-C80E21E17BA9--