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

Ralph Böhme slow at samba.org
Sat Jul 22 08:46:06 UTC 2017

On Sat, Jul 22, 2017 at 12:22:47AM -0700, Omri Mor wrote:
> > afaict the device info advertisement is not required for TM, so we should
> > probably keep it out of this patchset.
> > 
> > -slow
> Makes sense; I just wanted to confirm.
> What string handling routines does Samba use?

The ones based on talloc, see

> The dkN TXT records need the share name in them (as well as the UUID, but I’ll
> worry about that after), so I need something like sprintf().

You probably want to use talloc_asprintf() here.

> The sys record can be static though.
> Samba has, apparently, a concept of service name and volume label; I’m not
> sure which to use.  lp_servicename(), lp_volume(), or volume_label() (which
> uses the volume if it exists, else the service name).

lp_servicename should do it.


More information about the samba-technical mailing list