[Samba] Samba4 and 0.0.0.0:137 and 0.0.0.0:138 opened, why ? How do close it ?

CpServiceSPb . cpservicespb at gmail.com
Sun Jan 11 06:55:04 MST 2015


I have Samba4 4.1.14 (built from sources) installed at Ubuntu 14.04 LTS x32
and acting as Standalone server at the time.
Here are 3 faces at Ubuntu: lo, lan and wan.
There are lines:
bind interfaces only = yes
interfaces = lo lan0
in smb.conf

But netstat -tulpn shows 0.0.0.0 binded address:
tcp         0      0 192.168.0.254:139         0.0.0.0:*
LISTEN      smbd
udp        0      0 192.168.0.255:137         0.0.0.0:*
nmbd
udp        0      0 192.168.0.254:137         0.0.0.0:*
nmbd
*udp       0      0 0.0.0.0:137 <http://0.0.0.0:137>
0.0.0.0:*                                  nmbd*
udp        0      0 192.168.0.255:138         0.0.0.0:*
nmbd
udp        0      0 192.168.0.254:138         0.0.0.0:*
nmbd
*udp       0      0 0.0.0.0:138 <http://0.0.0.0:138>
0.0.0.0:*                                  nmbd*

I don'n like *udp       0      0 0.0.0.0:port *at all !

Why is it so ?
How is it possible to close via Samba conf ?


More information about the samba mailing list