[Samba] IPv6 link-local address support with Samba4

Samba User samba4user at gmail.com
Wed Aug 23 19:15:40 UTC 2017


Hello Samba Community,

I've couple of questions regarding IPv6 link-local address support with
Samba4.

Is Samba4 suppose to listen on IPv6 link-local address?

With following lines in smb.conf, smbd listens on IPv4 and IPv6 global
address but not on IPv6 link-local address assigned on eth0.
        bind interfaces only = yes
        interfaces = lo eth0

On the same Linux box, Samba-3.5 used to listen on IPv6 link-local address
as well. Is this a bug in Samba4?

Further, by setting "bind interfaces only = no" in smb.conf, smbd listens
on IPv6 wildcard address. However, the point and print operation fails
using IPv6 link-local address. It throws up "Operation could not be
completed error 0x00000709" on the client. The smbd log says OpenPrinter
error.
_spoolss_OpenPrinterEx: Cannot open a printer handle for printer
\\<ipv6.linklocal.addr>.ipv6-literal.net

Is OpenPrinter suppose to work with IPv6 link local address on Samba4? This
used to work fine with Samba3.5.

Thanks,
SambaUser


More information about the samba mailing list