diff --git a/templates/smb.conf.j2 b/templates/smb.conf.j2 index 2cb9c70..ee8205d 100644 --- a/templates/smb.conf.j2 +++ b/templates/smb.conf.j2 @@ -48,7 +48,8 @@ {% endif %} {% if samba_interfaces|length > 0 %} - interfaces = {{ samba_interfaces }} + bind interfaces only = yes + interfaces = 127.0.0.1 {{ samba_interfaces|join(' ') }} {% endif %} # Name resolution: make sure \\NETBIOS_NAME\ works