That's probably a good idea. I purged all samba-related packages,
started nautilus, right-clicked on the "themes" directory in my home
directory and selected "share folder" from the nautilus menu. I then
chose "smb" for file sharing, which led to samba being installed. I then
filled out some names for the share. This resulted in the following
/etc/samba/smb.conf:

---------------------------
[global]
workgroup = Linux
server string = jupiter
wins support = yes

[Blopp]
path = /home/j/themes
comment = Muppet
available = yes
browseable = yes
public = yes
writable = yes
-----------------------------

I then clicked on "Go->Network" in the Nautilus menu. This takes me to
"Windows Network", which I click on.

I'm then presented with an empty Nautilus window.

HOWEVER: If I press Ctrl-L in Nautilus and then type "smb://jupiter" I see the 
share, just as expected. It seems that the problem is that
Nautilus does not automatically recognize the smb share. To investigate, I do 
"tcpdump -s 0 -ni wlan0 port 445 or port 137 or port 138 or port 139".

I see packets such as

tcpdump: listening on wlan0, link-type EN10MB (Ethernet), capture size 65535 
bytes
00:09:59.653810 IP (tos 0x0, ttl  64, id 2, offset 0, flags [DF], proto: UDP 
(17), length: 236) 192.168.0.3.138 > 192.168.0.255.138: [udp sum ok]
>>> NBT UDP PACKET(138) Res=0x110A ID=0x345 IP=192 (0xc0).168 (0xa8).0 (0x0).3 
>>> (0x3) Port=138 (0x8a) Length=194 (0xc2) Res2=0x0
SourceName=JUPITER         NameType=0x00 (Workstation)
DestName=LINUX           NameType=0x1D (Master Browser)
[...]

To my complete amazement, for a second I could actually go to "Windows
Network" under Nautilus and see the share, but when I try again one
minute later it no longer works.

To summarize, when I go to "Windows Network" in Nautilus I get one of
the following, seemingly at random, in decreasing order of frequency:

1. A blank page (most common)

2. A popup saying "The contents of the folder could not be displayed".

3. A login window asking me for a user name and password.

4. A correct display of the share (very rare).

I am *very* confused.

-- 
Browsing SAMBA shares impossible
https://launchpad.net/bugs/26933

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to