On 9/8/19, 9:52 pm, "[email protected] on behalf of kasak" <[email protected] on behalf of [email protected]> wrote:
> >09.08.2019 14:42, Jeremie Courreges-Anglas пишет: >> On Thu, Aug 08 2019, kasak <[email protected]> wrote: >>> 08.08.2019 16:53, kasak пишет: >>>> 08.08.2019 10:47, kasak пишет: >>>>> Hello. >>>>> >>>>> The samba port has vfs module fruit, that must be used with >>>>> streams_xattr module. >>>>> >>>>> But documentation about streams_xattr says that the file system of >>>>> the share must support extended attributes. And OpenBSD doesn't >>>>> support ea. >>>>> >>>>> So, in this way, i cannot use fruit on OpenBSD? >>>> >>>> In case if anybody will have such question, I'll repost here answer >>>> from samba mailing lists. >>>> >>>> I can use experimental streams_depot vfs module instead of >>>>streams_xattr. >>> >>> I am afraid something's wrong with this method. I have very simple >>>setup: >>> >>> [global] >>> map to guest = bad user >>> interfaces = 192.168.0.1 >>> bind interfaces only = yes >>> load printers = no >>> printing = bsd >>> printcap name = /dev/null >>> disable spoolss = yes >>> vfs objects = fruit streams_depot >>> >>> [tm] >>> path = /mnt/hdd/tm >>> read only = no >>> guest ok = yes >>> guest only = yes >>> fruit:time machine = yes >>> >>> and it just doesn't allow me to see shares. I think, while netatalk can >>> do the job, i'll stop there. >> This setup seems to work for me. smbclient -L lists the tm share, >> smbclient lets me get/post files there. No idea whether vfs_fruit works >> well, though. >> >Strange! Maybe i've done something wrong? Luckily i have old mac for >experiments, i'll try to play with it soon, and post here if I have any >luck with it! > >Thank's a lot Jeremie! If your using OpenBSD 6.5 you might be running into the long wait while the library loading completes for the bfs modules each time you try connecting a a share, it may actually work after a period of time. The attached patch is a back port of the changes to ld.so from current that helps resolve the issue, makes samba under 6.5 for me on older hardware usable. For me time machine see the share with fruit:time machine = yes as a valid time machine drive to backup to. Ian McWilliam >
6.5-stable-ld-so-prune-visitied-leaves-sym-cache.diff
Description: 6.5-stable-ld-so-prune-visitied-leaves-sym-cache.diff
