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

Ralph Böhme slow at samba.org
Wed Jul 19 07:19:15 UTC 2017


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.

Cheerio!
-slow



More information about the samba-technical mailing list