Comment 7 for bug 360975

Revision history for this message
Praetor77 (geramses) wrote : Re: Please add nf_conntrack_pptp and nf_conntrack_netbios_ns to IPT_MODULES

I have fumbled around with this issue for HOURS until I came across this by accident reading through a 2 year old mailing list. This actually isn´t only a problem with samba, it renders WINS hostname resolving impossible! I could not ping "hostname". I never thought ufw could be causing problems with hostname resolving, since I had opened up ports 137-139 and 445 as I found somewhere, but after trying ALL kinds of stuff like installing winbind, editing nsswitch.conf, smb.conf, etc.
I finally got hostname resolving to work (and therefore being able to access windows share using samba by hostname in Nautilus) by adding nf_conntrack_netbios_ns to IPT_MODULES in /etc/default/ufw.Of course, disabling UFW also works.

PS: Maybe we could change this bug report´s name? This is impossible to find for people trying to get hostname resolving to work, samba shares browsable by Nautilus, etc.