Comment 4 for bug 368273

Revision history for this message
Twisted Lucidity (lucidlytwisted) wrote :

I am coming from a related discussion on UbuntuForums that concerns similar behaviour (although related to folders)

Having upgraded 3 systems from 8.10 to 9.04 (2 physical, 1 virtual) I have been seeing the exact same behaviour on them all. The SMBClient set up that was working perfectly on 8.10 was not functioning on 9.04 after upgrade.

It would not show member of the workgroup or domain ("smbtree" would come back empty), but I could navigate directly to a folder on a machine I knew to be shared using the nautilus address bar (smb://<ip address>/<shared folder>).

On all three systems I found that installing Firestarter, allowing ports 137-149 and 445 as well as editing "/etc/firestarter/inbound/setup" as shown below cured the issue.

From:
# Allow response traffic
$IPT -A INBOUND -p tcp -m state --state ESTABLISHED,RELATED -j ACCEPT
$IPT -A INBOUND -p udp -m state --state ESTABLISHED,RELATED -j ACCEPT

To:
# Allow response traffic
$IPT -A INBOUND -p tcp -m state --state ESTABLISHED,RELATED -j ACCEPT
$IPT -A INBOUND -p udp -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT

I am not sure why this should have any effect, I did not need to do this on Intrepid.

SMBClient info:
user@machine:~$ apt-cache policy smbclient
smbclient:
  Installed: 2:3.3.2-1ubuntu3
  Candidate: 2:3.3.2-1ubuntu3
  Version table:
 *** 2:3.3.2-1ubuntu3 0
        500 http://gb.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
user@machine:~$ smbclient --version
Version 3.3.2

My apologies if this is not related.