[Pkg-samba-maint] Bug#574283: closed by Steve Langasek <vorlon at debian.org> (Re: Bug#574283: samba: Doesn't bind to IPv4)

Olaf van der Spek olafvdspek at gmail.com
Thu Mar 18 06:50:40 UTC 2010


reopen 574283
quit

$ sudo netstat -nlp | grep 139
tcp6       0      0 :::139                  :::*
LISTEN      992/smbd

$ telnet 127.0.0.1 139
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

Are you testing on a clean squeeze install?
More specifically, isn't there a setting that automatically binds IPv6
sockets to IPv4 and didn't that get disabled recently?

On Wed, Mar 17, 2010 at 11:06 PM, Debian Bug Tracking System
<owner at bugs.debian.org> wrote:
> This is an automatic notification regarding your Bug report
> which was filed against the samba package:
>
> #574283: samba: Doesn't bind to IPv4
>
> It has been closed by Steve Langasek <vorlon at debian.org>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Steve Langasek <vorlon at debian.org> by
> replying to this email.
>
>
> --
> 574283: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574283
> Debian Bug Tracking System
> Contact owner at bugs.debian.org with problems
>
>
> ---------- Forwarded message ----------
> From: Steve Langasek <vorlon at debian.org>
> To: Olaf van der Spek <olafvdspek at gmail.com>, 574283-done at bugs.debian.org
> Date: Wed, 17 Mar 2010 15:04:46 -0700
> Subject: Re: Bug#574283: samba: Doesn't bind to IPv4
> On Wed, Mar 17, 2010 at 11:56:48AM +0100, Olaf van der Spek wrote:
>> Package: samba
>> Version: 2:3.4.7~dfsg-1
>> Severity: serious
>> Justification: IPv4 is kinda required
>
>> Samba binds only to IPv6 and not to IPv4. I think this breaks stuff.
>
> $ sudo netstat -nlp | grep 139
> tcp6       0      0 :::139                  :::*                    LISTEN      4040/smbd
> $ telnet 127.0.0.1 139
> Trying 127.0.0.1...
> Connected to localhost (127.0.0.1).
> Escape character is '^]'.
> ^]quit
>
> telnet> quit
> Connection closed.
> $
>
> "I think this breaks stuff" is not a bug.  If you can show actual breakage
> caused by this use of IPv6 sockets, please reopen.
>
> --
> 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
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iQIVAwUBS6FR91aNMPMhshM9AQj++Q//dOZdrNpZcMZz0B7fsnMUWN20wkAD+KAl
> 7V7jFn1F1g/xEpEJoe8bUsHYo9LwB/v2cWlgxv1cBQqBwelM5g4hZ2rfMPTpQVUS
> w0Vf8mcmaaWYgMR9llteU1bN7MR07eN8cwORwsSGm/wqITnDIGXdSfWJUgtAaEZu
> JGMec7CvRh27p3frYSdg75SShv8cmYcZSVDm+NDJVBQHLiDIusPbbqH9OQqaaAw6
> ee7zNHuR1zx9MGzrGaYcBInmzYBgw6Bg2JQgsJhPnnhiEDdgeU0J8mlMT2FraZ0w
> 9uafLrvHFRhumbB4wLQ+dM14dzcEz4F7G7g8Zk0opvnTNvlmpqJBvudBWkwaUdnW
> CU9JeY3nZg+lln0QGneQLiaQ0kj9Xa1cUXe40wmmJv2dF9pwSn37DF10jRNaSzUu
> O+L5b/pNCbonpl+EBpZpbEjQYcgtQx57XZKRWOzn1u2UW7UJF8MC0ZQFkO4fkxvz
> KYIqJ9jMZZzSzbCor0EfEOVEHw1lIZSQaVh+pzBB39Chh2WrJGWFgSZg+gEIniAY
> 3LSsJbuStNpOayj2uoO5eZOPgo2HuoE2G/a48u2wtA0oMHKt9UHOfEIQmbeWgpWp
> EWJF/071C8jmCHBIylYunIUKMsZmIumt1JYkTtUqIHjHTfN1583gN30/EO7M124R
> YrJlbZBdheM=
> =BTyz
> -----END PGP SIGNATURE-----
>
>
> ---------- Forwarded message ----------
> From: Olaf van der Spek <olafvdspek at gmail.com>
> To: Debian Bug Tracking System <submit at bugs.debian.org>
> Date: Wed, 17 Mar 2010 11:56:48 +0100
> Subject: samba: Doesn't bind to IPv4
> Package: samba
> Version: 2:3.4.7~dfsg-1
> Severity: serious
> Justification: IPv4 is kinda required
>
> Hi,
>
> Samba binds only to IPv6 and not to IPv4. I think this breaks stuff.
>
> Greetings,
>
> Olaf
>
> $ sudo netstat -nlp
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
> tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1284/sshd
> tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1544/exim4
> tcp        0      0 0.0.0.0:44738           0.0.0.0:*               LISTEN      785/rpc.statd
> tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      1197/mysqld
> tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      774/portmap
> tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1051/lighttpd
> tcp6       0      0 :::22                   :::*                    LISTEN      1284/sshd
> tcp6       0      0 ::1:25                  :::*                    LISTEN      1544/exim4
> tcp6       0      0 :::445                  :::*                    LISTEN      942/smbd
> tcp6       0      0 :::139                  :::*                    LISTEN      942/smbd
> tcp6       0      0 :::80                   :::*                    LISTEN      1051/lighttpd
> udp        0      0 0.0.0.0:111             0.0.0.0:*                           774/portmap
> udp        0      0 0.0.0.0:44793           0.0.0.0:*                           785/rpc.statd
> udp        0      0 0.0.0.0:961             0.0.0.0:*                           785/rpc.statd
> udp        0      0 0.0.0.0:68              0.0.0.0:*                           1005/dhclient3
>
> -- System Information:
> Debian Release: squeeze/sid
>  APT prefers testing
>  APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages samba depends on:
> ii  adduser                3.112             add and remove users and groups
> ii  debconf [debconf-2.0]  1.5.28            Debian configuration management sy
> ii  libacl1                2.2.49-2          Access control list shared library
> ii  libattr1               1:2.4.44-1        Extended attribute shared library
> ii  libc6                  2.10.2-6          Embedded GNU C Library: Shared lib
> ii  libcap2                1:2.17-2          support for getting/setting POSIX.
> ii  libcomerr2             1.41.10-1         common error description library
> ii  libcups2               1.4.2-4           Common UNIX Printing System(tm) -
> ii  libgnutls26            2.8.5-2           the GNU TLS library - runtime libr
> ii  libgssapi-krb5-2       1.8+dfsg~alpha1-7 MIT Kerberos runtime libraries - k
> ii  libk5crypto3           1.8+dfsg~alpha1-7 MIT Kerberos runtime libraries - C
> ii  libkrb5-3              1.8+dfsg~alpha1-7 MIT Kerberos runtime libraries
> ii  libldap-2.4-2          2.4.17-2.1        OpenLDAP libraries
> ii  libpam-modules         1.1.1-2           Pluggable Authentication Modules f
> ii  libpam-runtime         1.1.1-2           Runtime support for the PAM librar
> ii  libpam0g               1.1.1-2           Pluggable Authentication Modules l
> ii  libpopt0               1.15-1            lib for parsing cmdline parameters
> ii  libtalloc2             2.0.1-1           hierarchical pool based memory all
> ii  libwbclient0           2:3.4.7~dfsg-1    Samba winbind client library
> ii  lsb-base               3.2-23            Linux Standard Base 3.2 init scrip
> ii  procps                 1:3.2.8-8         /proc file system utilities
> ii  samba-common           2:3.4.7~dfsg-1    common files used by both the Samb
> ii  update-inetd           4.36              inetd configuration file updater
> ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime
>
> Versions of packages samba recommends:
> ii  logrotate                     3.7.8-4    Log rotation utility
>
> Versions of packages samba suggests:
> pn  ctdb                          <none>     (no description available)
> pn  ldb-tools                     <none>     (no description available)
> pn  openbsd-inetd | inet-superser <none>     (no description available)
> pn  smbldap-tools                 <none>     (no description available)
>
> -- debconf information:
>  samba/run_mode: daemons
>  samba/generate_smbpasswd: true
>
>
>
>





More information about the Pkg-samba-maint mailing list