gnome vfs samba browsing broken

Bug #191547 reported by Peter Kerekfy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-vfs (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: libgnomevfs2-0

Samba browsing works like a charm after login. Gnome vfs sees all samba workgroups and servers:

$ gnomevfs-ls smb:///
workgroup (Regular, application/x-desktop) size 0
lorien (Regular, application/x-desktop) size 0

But after switching between wired and wireless networks, gnome vfs no longer sees any samba workgroups or shares.

$ gnomevfs-ls smb:///
[no output]

After some digging with wireshark, I noticed that the problem is that gnome vfs sends the NMB name lookup requests to the wrong broadcast address.
For example:
1. Let the wired network be: 192.168.5.0/24 (broadcast 192.168.5.255)
2. Let the wireless network be: 192.168.6.0/24 (broadcast 192.168.6.255)
Let's suppose that the wired connection was active when I started my gnome session. Then after switching to the wireless connection gnome vfs still keeps sending NMB name lookup queries to 192.168.5.255 which is WRONG.

Workaround:
$ killall -USR1 gnome-vfs-daemon

Putting the above line in some if-up script make the problem go away.

$ dpkg -l libgnomevfs2-0
ii libgnomevfs2-0 1:2.20.0-0ubuntu3 GNOME Virtual File System (runtime libraries)

Revision history for this message
Sebastien Bacher (seb128) wrote :

closing the bug as deprecated since gvfs is used now

Changed in gnome-vfs:
importance: Undecided → Low
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.