Score:0

Nmbd limiting mdns interfaces

co flag

Is there a way to limit which interfaces nmbd uses for announcing the service? I've got multiple bridges which really shouldn't be getting the _smb.tcp entries, but by default they do.

I've got:

  interfaces = lo eno1
  bind interfaces only = yes

in smbd.conf already, but that does not affect nmbd.

The only option that looks related is remote announce - but that's for broadcasting, not name registration. How can I limit the interfaces for nmbd?

Score:0
co flag

It looks like limiting the interfaces is just not implemented. Looking at https://github.com/samba-team/samba/blob/e742661bd2507d39dfa47e40531dc1dca636cbbe/source3/smbd/avahi_register.c#L143

It seems that it's smbd that does the registration and it selects AVAHI_IF_UNSPEC which results in all interfaces getting the entry.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.