[Pkg-samba-maint] Bug#518667: Bug#518667: samba: smbd doesn't listen on ipv4

Steve Langasek vorlon at debian.org
Sat Mar 7 22:52:15 UTC 2009


On Sat, Mar 07, 2009 at 10:40:36PM +0100, Alexander Beisig wrote:
> Steve Langasek schrieb:
>> On Sat, Mar 07, 2009 at 09:15:49PM +0100, Alexander Beisig wrote:
>>> Oops, ok.  So, since my ipv6 knowledge is obviously still limited, is 
>>>  there a simple way to turn off the ipv6 support in smb.conf?

>> You may or may not get the results you want using 'interfaces =' and 'bind
>> interfaces only = yes'.  There's generally no reason to disable ipv6
>> specifically, however - the above is the standard procedure for limiting the
>> interfaces your server is listening on, but if you don't *have* any ipv6
>> addresses, it really shouldn't matter.

> I see.  So the real question would be:  Why does my eth0 have an ipv6  
> address, even though I don't (want to) use ivp6 on my LAN, and my ISP  
> doesn't support it?

Probably a link-local fe80:: address?  You will get those automatically any
time the ipv6 kernel is loaded.  I guess that can be a concern if you have
firewall rules in place and don't handle ipv6.

> Maybe I should disable the ipv6 kernel module.  Of course, all this has
> nothing to do with Samba.  Thank you for the explanation.

Disabling the ipv6 kernel module would do the job, I believe.  This will
probably be less feasible as time goes on, so if there are places where ipv6
handling is deficient in Debian, we should address those rather than trying
to work around them with module removals - but as you say, this isn't really
related to samba.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-samba-maint mailing list