[Pkg-samba-maint] Bug#873073: Bug#873073: Other ways to disable IPv6 ?

Mathieu Parent math.parent at gmail.com
Mon Jul 15 14:51:34 BST 2019

Le dim. 14 juil. 2019 à 15:09, Dark Penguin <darkpenguin at yandex.com> a écrit :
> This particular case could be less of a problem (at least to me) if
> adding "bind interfaces only = yes" was not the only way to disable IPv6
> in samba.
> Would it make sense to change the priority of an error message on
> startup about missing IPv6 support? If samba sees that IPv6 is not
> supported on this system, shouldn't it deduce that it is therefore not
> required, and output an "info" message like "Not binding to IPv6 -
> protocol not supported" instead of an error?

Have you tried overriding with:

cat /etc/systemd/system/smbd.service
RestrictAddressFamilies=AF_UNIX AF_INET

(then systemctl daemon-reload and systemctl restart smbd)

(Not tested...)

Mathieu Parent

More information about the Pkg-samba-maint mailing list