vfs_fruit: Time Machine/FULLSYNC: add mDNS/DNS-SD advertisement

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jul 19 08:02:56 UTC 2017


On Wed, Jul 19, 2017 at 09:19:15AM +0200, Ralph Böhme wrote:
> On Wed, Jul 19, 2017 at 07:52:17AM +0200, Ralph Böhme via samba-technical wrote:
> > On Tue, Jul 18, 2017 at 10:43:11PM +0200, Volker Lendecke via samba-technical wrote:
> > > Brainstorming... Apologies if this assumes a lot of knowledge of Samba
> > > internals.
> > > 
> > > What about creating an entry in gencache with a list of all time
> > > machine enabled shares? This entry could be filled from
> > > fruit_connect(), and could be read inside avahi_register().
> > 
> > I guess that's too late, we need to produce this list when we start and register
> > the services.
> > 
> > Do we have something like a traverse over smb.conf (sections)? That would do the
> > trick I guess.
> 
> smbconf_get_config() and then smbconf_get_parameter() looks promising.

That will only partially catch it. There can be includes that are
client- or user-dependent that this wont catch.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list