Comment 26 for bug 345221

Revision history for this message
sefs (sefsinc) wrote :

Problem:

I have two machines 8.04 and 8.10

I have installed samba on both machines and shared a folder on both machines.

I have enabled ufw on both machines.

on 8.04 the samba ports i have opened are:
139:tcp ALLOW 192.168.1.0/24
138:udp ALLOW 192.168.1.0/24
137:udp ALLOW 192.168.1.0/24
445:tcp ALLOW 192.168.1.0/24
135:tcp ALLOW 192.168.1.0/24

on 8.10 the samba ports I have enabled are:
135/tcp ALLOW 192.168.1.0/24
137/udp ALLOW 192.168.1.0/24
138/udp ALLOW 192.168.1.0/24
139/tcp ALLOW 192.168.1.0/24
445/tcp ALLOW 192.168.1.0/24

When ufw is enabled, workgroup/comuputers/shares do not show up in nautilus ... i.e
on 8.04->Network Severs->Windows Network = Blank window
on 8.10->Network->Windows Network = Blank window

I am expecting to see the workgroup icon within which i will see the individual computers.

I only get this expected behavior if i totally disable ufw.

So my problem is that ufw seems to be blocking samba even when the appropriate ports outlined in the samba documentation are opened in ufw.