From nobody Fri Sep 6 21:47:59 2024 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 4X0qbP3Hzyz5W3ZZ for ; Fri, 06 Sep 2024 21:48:01 +0000 (UTC) (envelope-from leres@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X0qbP2ZKsz4D6y for ; Fri, 6 Sep 2024 21:48:01 +0000 (UTC) (envelope-from leres@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725659281; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GUiAZMGlVSbF9G81VNlkvbMoWJcsRsNgKP53EHCgnXQ=; b=Qx29DgFmmnSfbGHfGeWz2pxn4fMWAEVA3ZTziFzpYdmk9FVXKsyMEaN1T07mApQl2dvPyS UfAjHIwugdpazsGCd/Xh7KMBY8Ml4ayQOrjdTRjVJajzAyK5aEcROxzMowiGGTWrUxVQv/ iS+adUPXtGvhmLQifnLlD5MMJwMGX5nihRYDoqoWFPGgfZRKqTCj8DvYc4ujc2QhBp0fSh IOhRgV0gRA2NoF6O8n7/tbpxQtM/w3S5WZC3iBxk1hvl6kz6foMhvSzTUpOg9uRweInruL x+cieO3d+Z+mh+uYoz1pwI+k2mtnXNp/f+kowvqxa5VA++Um4T/+FW9yQyhFyQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725659281; a=rsa-sha256; cv=none; b=qzOSOvyJMuGhGjeet58w3JDuvmEQfaddPCH6knlc5Q8iTJmlyucKVkJ1qQfj9AmqylWIt+ rhQSwGiwdNdp1NF5yf21EmrnJIlDBURdbcslMSq6l9EV9l2UWap5gTvin40NN9Mu025FUK zj5oUPzApP1CPoMHLVEmMYpHlYpTVY2yKH2pv0ZxlNVywkqUyR+3MNOIiCS2EFaFFhaNxe 0Gjf0U6Y8Jv9HkJEth6sx2Y05NwIVRD/JGobumWFH3Oz7nsWBuFLIM3l6ok4oPX/s/s+hW Xpu3LcTaTrdFdViWbZELqatsq+TPUvq5bDQpsz1PQ1SnCEZ7Xkv+ntdtNGl4Pw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725659281; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GUiAZMGlVSbF9G81VNlkvbMoWJcsRsNgKP53EHCgnXQ=; b=cp42GvJgqGxrv7/Z/K/t+ZQkAz9oz5cdG5yqMb9teHIfdy/7D5yP1LI6JtOoEGHsj3hWDb A3fubj6yEep0Uwg4Xe2LG8id1j+ngQBqNxREV3KuZ1b4/Ai3yMoLXj/m1ohQls6NM8434J Qi9JQwhrgp24ofwwo12RlHNV5PXl1RnMdt5rrSTNOgIb8bW9vegCR3CgKwP7VbcDRMbpVK 4oN8nT37BOAYHA6XBnEu3iYsXr1WgXmVWfM1XaJqq2qbQ59vFPYImqrfTD8TyLbZCD1rF1 oi1/rIMPavVW6puU2QM7zZcB1xVwvNVUyb+x23r8vceIoJ9pDrjO7OE/DLXYSQ== Received: from [IPV6:fd:1965::2] (unknown [IPv6:2600:1700:ab1b:6800:2e0:edff:fece:8f27]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: leres) by smtp.freebsd.org (Postfix) with ESMTPSA id 4X0qbP0sxRzZHt for ; Fri, 6 Sep 2024 21:48:01 +0000 (UTC) (envelope-from leres@freebsd.org) Message-ID: Date: Fri, 6 Sep 2024 14:47:59 -0700 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 User-Agent: Mozilla Thunderbird Subject: FreeBSD+samba as a time machine server for OSX/Sonoma? From: Craig Leres To: freebsd-hackers@freebsd.org References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Last year you guys helped me get this to work with samba416. I recently tried to upgrade to samba419 and so far I'm unsuccessful. The error is "The backup disk image could not be created" and I'm running 14.1. I'm using the same port build options with 4.16 and 4.19: FAM PYTHON3 QUOTAS SYSLOG UTMP GSSAPI_BUILTIN AVAHI FRUIT Having learned my lesson when I upgraded from 4.13 to 4.16, I removed the old backups from the zfs volume on the server before starting. I've also learned the rule that you need to delete and reattach the share on the mac side when you change the samba config. Appended is the config that works with 4.16 (but not 4.19) Craig [global] workgroup = XYZ security = user netbios name = red server string = red.example.net hostname lookups = no server role = standalone server interfaces = ixl0 lo0 bind interfaces only = yes load printers = no show add printer wizard = no time server = yes use mmap = yes dos charset = 850 unix charset = UTF-8 mangled names = no #log level = 3 #log file = /tmp/samba.log vfs objects = catia fruit streams_xattr zfsacl fruit:model = MacSamba fruit:resource = file fruit:metadata = netatalk fruit:nfs_aces = yes fruit:copyfile = no fruit:aapl = yes fruit:zero_file_id = yes inherit permissions = yes [Time Machine] path = /backups/mini read only = no guest ok = no writeable = yes browseable = yes fruit:resource = file fruit:time machine = yes valid users = backup-mini max disk size 512G hosts allow = 10.0.0.19