Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 70873

Summary: samba browsing not working
Product: [Retired] Red Hat Public Beta Reporter: Miloš Komarčević <kmilos>
Component: gnome-vfs2-extrasAssignee: Alexander Larsson <alexl>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: limboCC: twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-10-07 18:07:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 67218    
Attachments:
Description Flags
gdb session
none
Another gdb session backtrace while accessing localhost running samba none

Description Miloš Komarčević 2002-08-06 12:45:26 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020712

Description of problem:
Nautilus stops responding if I try to browse a computer
with samba shares. The workgroups are browseable and
their computers are shown, but it is not possible to browse
individual machines. The number of folders (shares) is shown
in the side pane and nautilus stops responding.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Type smb: in nautilus location bar
2.Attempt to browse any computer shown
3.
	

Actual Results:  nautilus stops responding

Expected Results:  available shares should be shown in nautilus,
and/or the user should be prompted for username/password

Additional info:

Comment 1 Alexander Larsson 2002-08-09 16:01:34 UTC
It works for me here.
I've built 0.99.2 in rawhide. Can you try that?


Comment 2 Alexander Larsson 2002-08-09 16:06:25 UTC
Well. Hmmm. It seems it can't actually read the files.


Comment 3 Alexander Larsson 2002-08-12 13:49:50 UTC
Reading files now works in gnome-vfs2-extras 0.99.3.


Comment 4 Miloš Komarčević 2002-08-15 00:38:10 UTC
both 0.99.2 nor 0.99.3 didn't get rid of the problem for me completely,
although it started working properly on some of the machines,
but most of them I still cannot access

on a different machine in another workgruop, smb: does not
even bring up the workgroup, although smbclient sees all the 
other machines and says my machine is the local master

maybe a network problem or something on the server side?
gnome1 module didn't have these problems in the same environment

Comment 5 Alexander Larsson 2002-08-20 08:16:27 UTC
Can you see a pattern for which machines it works for? Are they on the same
subnet  as the ones that don't work?

The code hardly changed at all between gnome1 and gnome2, so it's very strange
that they behave differently.

Comment 6 Alexander Larsson 2002-08-27 11:47:52 UTC
When this happens, can you attach to the nautilus process using gdb?
using "gdb /usr/bin/nautilus <pid-of-nautilus>"
Then type:
 info threads
then:
 thread 1
 bt
 thread 2
 bt
etc. for all the threads.



Comment 7 Tim Waugh 2002-08-28 11:17:00 UTC
Created attachment 73504 [details]
gdb session

Comment 8 Alexander Larsson 2002-08-28 11:20:01 UTC
WTH? This looks like bug 71419

Comment 9 Preston Brown 2002-08-29 02:46:56 UTC
0.99.3 works for me against XP shares...

Comment 10 Tim Waugh 2002-08-29 07:02:11 UTC
..and after about three hangs, I couldn't reproduce the problem any more, even 
without having changed anything(!). 
 
Heisenbug.

Comment 11 Miloš Komarčević 2002-09-03 12:55:27 UTC
Created attachment 74685 [details]
Another gdb session backtrace while accessing localhost running samba

Comment 12 Alexander Larsson 2002-09-03 13:23:10 UTC
Interesting. That looks like a real locking bug in the smb backend.
When it hanged. Was there an authetication dialog up somewhere?
If so, can you close it and see if stuff continues.


Comment 13 Alexander Larsson 2002-09-03 14:01:37 UTC
I believe this is fixed in gnome-vfs2-extras-0.99.5-1.


Comment 14 Miloš Komarčević 2002-10-07 18:07:27 UTC
0.99.5 does not hang any more

although I still have a problem seeing the shares:

- on Windows 2000 Server no shares are shown (not even public ones) 
and there is no authentication dialog (smbclient lists all 
the shares correctly)

- on Samba 2.2.5 machines, the "homes" share is not shown (it is as "homes" 
when set to "browseable=yes", but not as "username" as reported by smbclient
when "browseable=no") and is not accessible as smb://server/username
(this behaviour probably makes sense with the setting "browseable=no",
although in windows explorer it is accessible and shows up as share
"username" once authenticated)
what's the right behaviour between the two is up for debate, I think
as a minimum it should be accessible directly as smb://server/username
even if it is not browseable and not shown in the root window

you can close this bug as all of this might be a different bug 


Comment 15 Alexander Larsson 2002-11-06 08:22:55 UTC

*** This bug has been marked as a duplicate of 76253 ***