Re: samba macos epic fail
kasak writes: > The one thing you should know about, is fact, that OpenBSD doesn't > support extended attributes. > So, basically, you cannot use streams_xattr module. And that explains why this works on FreeBSD but not on Open. Thanks for clarifying this. --lyndon
Re: samba macos epic fail
23.11.2020 00:45, Lyndon Nerenberg пишет: Somebody please tell me what the hell I am doing wrong here. OpenBSD 6.8, samba 4.9.18 via pkg_add, MacOS 10.15.7 fully patched. My main goal is to get Time Machine backups running, but I keep getting all sorts of inscrutable errors about file permissions. The backup manages to create a few directories before it blows up: : root@broken:/dump/tm; find . -ls 27641856 32 drwxr-xr-x3 lyndon wheel 512 Nov 22 13:27 . 276418570 -rwxr--r--1 lyndon wheel 0 Nov 22 13:27 ./.com.apple.timemachine.supported-d865743e-fb2-4a68-b0e7-10857c459e5c 276418580 -rwxr--r--1 lyndon wheel 0 Nov 22 13:27 ./.com.apple.timemachine.supported-64bebc6e-ed10-4c41-9f21-301de558be49 27641859 32 drwx--3 lyndon wheel 512 Nov 22 13:27 ./30228818-9C9E-5DBF-8F9B-36F186FA68BF.sparsebundle 27641860 32 -rw-r--r--1 lyndon wheel 502 Nov 22 13:27 ./30228818-9C9E-5DBF-8F9B-36F186FA68BF.sparsebundle/Info.plist 27641861 32 -rw-r--r--1 lyndon wheel 502 Nov 22 13:27 ./30228818-9C9E-5DBF-8F9B-36F186FA68BF.sparsebundle/Info.bckup 27641862 32 drwx--2 lyndon wheel 512 Nov 22 13:27 ./30228818-9C9E-5DBF-8F9B-36F186FA68BF.sparsebundle/bands 276418630 -rwx--1 lyndon wheel 0 Nov 22 13:27 ./30228818-9C9E-5DBF-8F9B-36F186FA68BF.sparsebundle/token : root@broken:/dump/tm; ls -ld drwxr-xr-x 3 lyndon wheel 512 Nov 22 13:27 . : root@broken:/dump/tm; There's nothing magic about the /dump mount: fd71e51011d0eabf.c /dump ffs rw,softdep,nodev,nosuid 0 2 Below is my smbd.conf in full. I'm hoping somebody can point out the stupidly obvious mistake I'm making :-P Note that by now I have tried every sample smbd.conf that exists on the web, so I'd really like to hear from somebody who *actually has this working*. --lyndon ---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<--- [global] min protocol = SMB2 ea support = yes inherit acls = yes #create mask = 0640 #directory mask = 0750 workgroup = BITSEA server role = standalone server log file = /var/log/samba/smbd.%m max log size = 200 # Shares [homes] comment = Home Directories browseable = no writable = yes [public] comment = Public Stuff path = /pub public = yes writable = no printable = no # Time Machine [timemachine] comment = Time Machine Backups path = /dump/tm browseable = yes writeable = yes vfs objects = catia fruit streams_xattr fruit:aapl = yes fruit:time machine = yes fruit:metadata = stream fruit:model = MacSamba fruit:posix_rename = yes fruit:veto_appledouble = no fruit:advertise_fullsync = true The one thing you should know about, is fact, that OpenBSD doesn't support extended attributes. So, basically, you cannot use streams_xattr module. Anyway, I tried to use streams_depot instead, but it doesn't work too. So, I am using netatalk for myself. It just works. But you must use apple double to store extended attributes.
Re: samba macos epic fail
On Sun, Nov 22, 2020 at 01:45:13PM -0800, Lyndon Nerenberg wrote: > Somebody please tell me what the hell I am doing wrong here. > > OpenBSD 6.8, samba 4.9.18 via pkg_add, MacOS 10.15.7 fully patched. > > My main goal is to get Time Machine backups running, but I keep getting > all sorts of inscrutable errors about file permissions. The backup manages > to create a few directories before it blows up: Is SMB a strict necessity? I've done this via NFS in the past, its trivial to get NFS shares automounted in macOS. > > : root@broken:/dump/tm; find . -ls > 27641856 32 drwxr-xr-x3 lyndon wheel 512 Nov 22 13:27 . > 276418570 -rwxr--r--1 lyndon wheel 0 Nov 22 13:27 > ./.com.apple.timemachine.supported-d865743e-fb2-4a68-b0e7-10857c459e5c > 276418580 -rwxr--r--1 lyndon wheel 0 Nov 22 13:27 > ./.com.apple.timemachine.supported-64bebc6e-ed10-4c41-9f21-301de558be49 > 27641859 32 drwx--3 lyndon wheel 512 Nov 22 13:27 > ./30228818-9C9E-5DBF-8F9B-36F186FA68BF.sparsebundle > 27641860 32 -rw-r--r--1 lyndon wheel 502 Nov 22 13:27 > ./30228818-9C9E-5DBF-8F9B-36F186FA68BF.sparsebundle/Info.plist > 27641861 32 -rw-r--r--1 lyndon wheel 502 Nov 22 13:27 > ./30228818-9C9E-5DBF-8F9B-36F186FA68BF.sparsebundle/Info.bckup > 27641862 32 drwx--2 lyndon wheel 512 Nov 22 13:27 > ./30228818-9C9E-5DBF-8F9B-36F186FA68BF.sparsebundle/bands > 276418630 -rwx--1 lyndon wheel 0 Nov 22 13:27 > ./30228818-9C9E-5DBF-8F9B-36F186FA68BF.sparsebundle/token > : root@broken:/dump/tm; ls -ld > drwxr-xr-x 3 lyndon wheel 512 Nov 22 13:27 . > : root@broken:/dump/tm; > > There's nothing magic about the /dump mount: > > fd71e51011d0eabf.c /dump ffs rw,softdep,nodev,nosuid 0 2 > > Below is my smbd.conf in full. I'm hoping somebody can point out the > stupidly obvious mistake I'm making :-P Note that by now I have tried > every sample smbd.conf that exists on the web, so I'd really like to > hear from somebody who *actually has this working*. > > --lyndon > > ---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<--- > > [global] > min protocol = SMB2 > ea support = yes > inherit acls = yes > #create mask = 0640 > #directory mask = 0750 > workgroup = BITSEA > server role = standalone server > log file = /var/log/samba/smbd.%m > max log size = 200 > > # Shares > [homes] >comment = Home Directories >browseable = no >writable = yes > > [public] >comment = Public Stuff >path = /pub >public = yes >writable = no >printable = no > > # Time Machine > [timemachine] > comment = Time Machine Backups > path = /dump/tm > browseable = yes > writeable = yes > vfs objects = catia fruit streams_xattr > fruit:aapl = yes > fruit:time machine = yes > fruit:metadata = stream > fruit:model = MacSamba > fruit:posix_rename = yes > fruit:veto_appledouble = no > fruit:advertise_fullsync = true > --
samba macos epic fail
Somebody please tell me what the hell I am doing wrong here. OpenBSD 6.8, samba 4.9.18 via pkg_add, MacOS 10.15.7 fully patched. My main goal is to get Time Machine backups running, but I keep getting all sorts of inscrutable errors about file permissions. The backup manages to create a few directories before it blows up: : root@broken:/dump/tm; find . -ls 27641856 32 drwxr-xr-x3 lyndon wheel 512 Nov 22 13:27 . 276418570 -rwxr--r--1 lyndon wheel 0 Nov 22 13:27 ./.com.apple.timemachine.supported-d865743e-fb2-4a68-b0e7-10857c459e5c 276418580 -rwxr--r--1 lyndon wheel 0 Nov 22 13:27 ./.com.apple.timemachine.supported-64bebc6e-ed10-4c41-9f21-301de558be49 27641859 32 drwx--3 lyndon wheel 512 Nov 22 13:27 ./30228818-9C9E-5DBF-8F9B-36F186FA68BF.sparsebundle 27641860 32 -rw-r--r--1 lyndon wheel 502 Nov 22 13:27 ./30228818-9C9E-5DBF-8F9B-36F186FA68BF.sparsebundle/Info.plist 27641861 32 -rw-r--r--1 lyndon wheel 502 Nov 22 13:27 ./30228818-9C9E-5DBF-8F9B-36F186FA68BF.sparsebundle/Info.bckup 27641862 32 drwx--2 lyndon wheel 512 Nov 22 13:27 ./30228818-9C9E-5DBF-8F9B-36F186FA68BF.sparsebundle/bands 276418630 -rwx--1 lyndon wheel 0 Nov 22 13:27 ./30228818-9C9E-5DBF-8F9B-36F186FA68BF.sparsebundle/token : root@broken:/dump/tm; ls -ld drwxr-xr-x 3 lyndon wheel 512 Nov 22 13:27 . : root@broken:/dump/tm; There's nothing magic about the /dump mount: fd71e51011d0eabf.c /dump ffs rw,softdep,nodev,nosuid 0 2 Below is my smbd.conf in full. I'm hoping somebody can point out the stupidly obvious mistake I'm making :-P Note that by now I have tried every sample smbd.conf that exists on the web, so I'd really like to hear from somebody who *actually has this working*. --lyndon ---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<--- [global] min protocol = SMB2 ea support = yes inherit acls = yes #create mask = 0640 #directory mask = 0750 workgroup = BITSEA server role = standalone server log file = /var/log/samba/smbd.%m max log size = 200 # Shares [homes] comment = Home Directories browseable = no writable = yes [public] comment = Public Stuff path = /pub public = yes writable = no printable = no # Time Machine [timemachine] comment = Time Machine Backups path = /dump/tm browseable = yes writeable = yes vfs objects = catia fruit streams_xattr fruit:aapl = yes fruit:time machine = yes fruit:metadata = stream fruit:model = MacSamba fruit:posix_rename = yes fruit:veto_appledouble = no fruit:advertise_fullsync = true