New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samba4x - add modules to make samba be a Time Machine server #111

Closed
pztrn opened this Issue Jul 31, 2018 · 8 comments

Comments

Projects
None yet
3 participants
@pztrn
Copy link

pztrn commented Jul 31, 2018

This module is neccessary to create proper share for Time Machine.

Right now Samba says:

Error loading module '/opt/lib/samba/vfs/streams_xattr.so': /opt/lib/samba/vfs/streams_xattr.so: cannot open shared object file: No such file or directory
error probing vfs module 'streams_xattr': NT_STATUS_UNSUCCESSFUL
smbd_vfs_init: vfs_init_custom failed for streams_xattr

@pztrn pztrn changed the title Samba - add streams_xattr module Samba4x - add streams_xattr module Jul 31, 2018

@zyxmon

This comment has been minimized.

Copy link
Member

zyxmon commented Aug 1, 2018

What is your arch (repo). I can upload /opt/lib/samba/vfs/ folder for testing.

@pztrn

This comment has been minimized.

Copy link

pztrn commented Aug 1, 2018

@zyxmon

This comment has been minimized.

Copy link
Member

zyxmon commented Aug 1, 2018

I do not compile mips & mipsel packages. May be someone else will upload it. libs are compiled but not installed.

@ryzhovau

This comment has been minimized.

Copy link
Member

ryzhovau commented Aug 1, 2018

@pztrn, check samba-4.8.0_full.tgz to find out what libraries should be packed at next build.

Waiting for feedback.

@pztrn

This comment has been minimized.

Copy link

pztrn commented Aug 1, 2018

At least /opt/lib/samba/vfs/{catia,fruit,streams_xattr}.so.

Here's Samba config that should do well as Time Machine thing:

[TimeMachine]
	path = /media/MACDATA/TimeMachine
	browseable = yes
	writeable = yes
	create mask = 0600
	directory mask = 0700
	spotlight = yes
	vfs objects = catia fruit streams_xattr
	fruit:aapl = yes
	fruit:time machine = yes

According to this, these 3 libraries are required.

@pztrn pztrn changed the title Samba4x - add streams_xattr module Samba4x - add modules to make samba be a Time Machine server Aug 1, 2018

@pztrn

This comment has been minimized.

Copy link

pztrn commented Aug 1, 2018

(changed issue name to properly reflect issue's topic)

@ryzhovau

This comment has been minimized.

Copy link
Member

ryzhovau commented Sep 19, 2018

samba4 package was heavily reworked by OpenWrt team. Looks like we need to implement additional package with /opt/lib/samba/vfs/* content. Stay tuned.

@ryzhovau

This comment has been minimized.

Copy link
Member

ryzhovau commented Dec 27, 2018

Synced. Now vfs modules provided as in OpenWrt.

@ryzhovau ryzhovau closed this Dec 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment