[Pkg-samba-maint] Bug#518667: Bug#518667: samba: smbd doesn't listen on ipv4
Steve Langasek
vorlon at debian.org
Sat Mar 7 21:09:55 UTC 2009
On Sat, Mar 07, 2009 at 09:15:49PM +0100, Alexander Beisig wrote:
> Steve Langasek schrieb:
>> On Sat, Mar 07, 2009 at 08:12:50PM +0100, Alexander Beisig wrote:
>>> Package: samba
>>> Version: 2:3.2.5-4
>>> Severity: important
>>> After a pristine install of 'samba' with no changes to smb.conf, smbd
>>> doesn't listen on ipv4:
>>> # netstat -tulpn | grep mbd
>>> tcp6 0 0 :::139 :::* LISTEN
>>> 6537/smbd tcp6 0 0 :::445
>>> :::* LISTEN 6537/smbd udp 0 0
>>> 192.168.2.103:137 0.0.0.0:* 6535/nmbd udp 0
>>> 0 0.0.0.0:137 0.0.0.0:* 6535/nmbd udp 0
>>> 0 192.168.2.103:138 0.0.0.0:* 6535/nmbd udp 0
>>> 0 0.0.0.0:138 0.0.0.0:* 6535/nmbd
>>> I don't know how to make samba listen on tcp 0.0.0.0 by changing the
>>> configuration either.
>> Because listening on all addresses on ipv6 implies also listening on ipv4.
>> No bug here.
> 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.
--
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