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

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jul 19 08:01:37 UTC 2017


On Wed, Jul 19, 2017 at 09:03:05AM +0200, Ralph Böhme wrote:
> On Wed, Jul 19, 2017 at 08:22:45AM +0200, Volker Lendecke wrote:
> > On Wed, Jul 19, 2017 at 07:52:17AM +0200, Ralph Böhme 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.
> > 
> > We can never change announcements again once they were done?
> 
> sure. But from a design perspective, clients will connect to TM shares *after*
> seeing the service registrations.

Yes, that's why I'm voting for a longer-term cache to make sure we
find them all. We'll not reliably able to traverse all share
definitions. Mind the % include macros.

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