Freshly installed Debian Squeeze a few days ago, and was also surprised that Samba isn&#39;t listening on the IPv4 address according to netstat. However, it doesn&#39;t appear to actually be breaking anything.<br><br>Minor changes to default smb.conf:<br>
<br>[global]<br>   security=share<br>[test]<br>   path = /srv/samba/test<br>   read only = no<br>   guest ok = yes<br>   force group = sambashare<br><br>Baseline netstat after restarting Samba:<br><br>$ netstat -ant<br>Active Internet connections (servers and established)<br>
Proto Recv-Q Send-Q Local Address           Foreign Address         State<br>tcp        0      0 <a href="http://0.0.0.0:22">0.0.0.0:22</a>              0.0.0.0:*               LISTEN<br>tcp        0      0 <a href="http://127.0.0.1:25">127.0.0.1:25</a>            0.0.0.0:*               LISTEN<br>
tcp        0     52 <a href="http://10.0.0.50:22">10.0.0.50:22</a>            <a href="http://10.0.0.101:49164">10.0.0.101:49164</a>        ESTABLISHED<br>tcp6       0      0 :::22                   :::*                    LISTEN<br>
tcp6       0      0 ::1:25                  :::*                    LISTEN<br>tcp6       0      0 :::445                  :::*                    LISTEN<br>tcp6       0      0 :::139                  :::*                    LISTEN<br>
<br>Browse from a Windows 7 PC, create a test file, and open it in Notepad:<br><br>$ netstat -ant<br>Active Internet connections (servers and established)<br>Proto Recv-Q Send-Q Local Address           Foreign Address         State<br>
tcp        0      0 <a href="http://0.0.0.0:22">0.0.0.0:22</a>              0.0.0.0:*               LISTEN<br>tcp        0      0 <a href="http://127.0.0.1:25">127.0.0.1:25</a>            0.0.0.0:*               LISTEN<br>
tcp        0      0 <a href="http://10.0.0.50:22">10.0.0.50:22</a>            <a href="http://10.0.0.101:49164">10.0.0.101:49164</a>        ESTABLISHED<br>tcp6       0      0 :::22                   :::*                    LISTEN<br>
tcp6       0      0 ::1:25                  :::*                    LISTEN<br>tcp6       0      0 :::445                  :::*                    LISTEN<br>tcp6       0      0 :::139                  :::*                    LISTEN<br>
tcp6       0      0 <a href="http://10.0.0.50:139">10.0.0.50:139</a>           <a href="http://10.0.0.101:49213">10.0.0.101:49213</a>        ESTABLISHED<br><br>Browse from a Windows XP PC (no IPv6 support) and open that same test file in Notepad:<br>
<br>$ netstat -ant<br>Active Internet connections (servers and established)<br>Proto Recv-Q Send-Q Local Address           Foreign Address         State<br>tcp        0      0 <a href="http://0.0.0.0:22">0.0.0.0:22</a>              0.0.0.0:*               LISTEN<br>
tcp        0      0 <a href="http://127.0.0.1:25">127.0.0.1:25</a>            0.0.0.0:*               LISTEN<br>tcp        0     52 <a href="http://10.0.0.50:22">10.0.0.50:22</a>            <a href="http://10.0.0.101:49164">10.0.0.101:49164</a>        ESTABLISHED<br>
tcp6       0      0 :::22                   :::*                    LISTEN<br>tcp6       0      0 ::1:25                  :::*                    LISTEN<br>tcp6       0      0 :::445                  :::*                    LISTEN<br>
tcp6       0      0 :::139                  :::*                    LISTEN<br>tcp6       0      0 <a href="http://10.0.0.50:139">10.0.0.50:139</a>           <a href="http://10.0.0.102:1198">10.0.0.102:1198</a>         ESTABLISHED<br>
<br>In short, netstat is just deceiving us for some reason - Samba is, indeed, listening and communicating using IPv4.<br>