10.08.2019 9:07, Ian McWilliam пишет:
On 9/8/19, 9:52 pm, "owner-po...@openbsd.org on behalf of kasak"
<owner-po...@openbsd.org on behalf of ka...@kasakoff.net> wrote:
09.08.2019 14:42, Jeremie Courreges-Anglas пишет:
On Thu, Aug 08 2019, kasak <ka...@kasakoff.net> 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
Thank's a lot! I was able to compile ld.so with your patch and now
everything is working on 6.5!
And as you mention, if i leave my vm for some time, it start working too.
But with your patch everything working as it should! I can see time
machine share in macos and can browse my shares with all other clients
with no issues!
Thank you very much for your help!
The only trouble now is that smbd is starting quite long, but it starts,
even if rc reports smbd (timeout)