After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 522494 - Nautilus displays blank windows when browsing SMB servers
Nautilus displays blank windows when browsing SMB servers
Status: RESOLVED OBSOLETE
Product: gvfs
Classification: Core
Component: smb backend
git master
Other All
: Normal major
: ---
Assigned To: gvfs-maint
gvfs-maint
: 524565 529872 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-03-14 20:02 UTC by Scott Call
Modified: 2010-03-03 20:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Screenshot of the offending window (11.39 KB, image/png)
2008-03-14 20:05 UTC, Scott Call
Details

Description Scott Call 2008-03-14 20:02:14 UTC
Please describe the problem:
When browsing to a SMB server either from the "network:///" or from the command line (nautilus smb://SERVER/) a window opens up, the busy cursor spins for a moment, and then stops and "0 items" is displayed.

Steps to reproduce:
1. Open xterm
2. type nautilus smb://SERVER/



Actual results:
Browsing window opens, cursor spins, 0 items listed.

Expected results:
Browsing window opens, list of available shares appears.

Does this happen every time?
yes

Other information:
This is files as Mandriva bug 38900 (https://qa.mandriva.com/show_bug.cgi?id=38900) they recommended filing upstream so here I am.
Comment 1 Scott Call 2008-03-14 20:05:00 UTC
Created attachment 107318 [details]
Screenshot of the offending window
Comment 2 drose28357 2008-03-22 21:47:03 UTC
Here is my actual Ubuntu bug report, which confirms the bug :

Nautilus can not browse the shares of WindowsXP and VISTA

My local network consists of 3 computers named UbuntuServer, WindowsXPServer and VISTAServer. The Ubuntuserver is always updated an now at Hardy Beta (22th. march) level. 

The VISTAServer and WindowsXPServer have shares with many different accounts like guest, UbuntuAdmin etc. Both Windows machines can display and accesses their shares each other. All internal firewalls were switched off. UbuntuServer has also a samba based share which is activated by the hardy genome applet “distributed files” or “common directories” (I don’t know the correct translation). All servers are in the same WorkGroup. Access from both WindowsServer to UbuntuServer share is fine. The shares of UbuntuServer were displayed correct on WindowsServer and UbuntuServer (Nautilus).

When I start Nautilus with “network:///” i can see all servers and the “Windows-Network”. When I open the Windows-Network i can see “WorkGroup”. Then i open “WorkGroup”  => “smb:///” and can see all three servers again. 

But when I open VistaServer or WindowsXPServer in Nautilus there are no shares displayed. No “Public” from VISTAServer or my “in_and_out” from WindowsXP. But when i enter “smb://WindowsXP/in_and_out/” a password dialog appears. But I can not enter a valid password. All known passwords where tried but no connection was established or access to files were allowed.

I expected “plug and play” integration with Windows based servers, at least to any guest accounts or public shares of WindowsServers.  
Comment 3 drose28357 2008-03-28 07:53:40 UTC
(In reply to comment #2)
> Here is my actual Ubuntu bug report, which confirms the bug : ....

Updated Hardy at 28th. of March and Nautilus worked fine in browsing the share of my Windows PC. Then opening a Windows share leads to a password dialog. After entering my WindowsXP Account i got access to the share.

This Bug could be closed (at least for me).
Comment 4 Eugene 2008-03-28 09:15:58 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Here is my actual Ubuntu bug report, which confirms the bug : ....
> 
> Updated Hardy at 28th. of March and Nautilus worked fine in browsing the share
> of my Windows PC. Then opening a Windows share leads to a password dialog.
> After entering my WindowsXP Account i got access to the share.
> 
> This Bug could be closed (at least for me).
> 

I don't think this bug can be closed, because I have the same problem. I had installed ubuntu 7.10, but after update to 8.04 I can't see windows shares form my ubuntu.
I mean the same thing - in the workgroup I see all the computers, but after clicking on any of them no shares are shown. But if to type in the address line the full path to some share folder everything is ok.
This is the problem with only windows shares.
Comment 5 Eugene 2008-03-28 09:19:12 UTC
Forgot one thing. If to browse network using gnome-commander there is no problems. I can see there my workgroup, all computers there and all the shares... That's why I think that is the problem with nautilus and not samba.
Comment 6 William Lovaton 2008-03-31 13:18:55 UTC
I can confirm this is happening for me too.

I am using Fedora Rawhide Live Image snapshot released in March 28.  This is a serious show stopper for me because I can not replace my Fedora 8 system with the new one.  SMB browsing is a most for me at work.

Like the original reporter say, I can't see SMB shares when I try to access a server.  I CAN browse a share if I know the name beforehand but it is impossible for me to see a list of available shares on an unknown server.

Cheers.
Comment 7 Cosimo Cecchi 2008-04-01 08:56:57 UTC
*** Bug 524565 has been marked as a duplicate of this bug. ***
Comment 8 Renzo Bagnati 2008-04-01 18:53:09 UTC
Can bug 524485 in gvfs be related to this one or considered a duplicate?
Comment 9 William Lovaton 2008-04-01 20:58:03 UTC
(In reply to comment #8)
> Can bug 524485 in gvfs be related to this one or considered a duplicate?
> 

It look pretty similar to me.  The only difference I can see is that they are using a more complex setup, other than that it's the same.

May be you should ask Sebastien to check this bug report and close one of these.
Comment 10 drose28357 2008-04-01 21:41:46 UTC
Executed all new updates at 1th. of april on Hardy Beta. Bug is still there. The shares of my WindowsXP box were not shown. Entering the full adress of the share (e.g. smb://windowsbox/in_and_out/) asks for a User/Domain/passwort dialog. In the domain dialogfield shows my WorkGroup! Only when i cleared the domain dialogfield i was able to connect to the share. May be the shares were not browsable because of a not empty domain !?!? There should be a difference between WorkGroup and domain !! 

I entered my WorkGroup during installtion in a domain dialgofield. That may lead to this error ??? How can i check the correct usage of the domain entry ?
Comment 11 drose28357 2008-04-01 21:44:24 UTC
Executed all new updates at 1th. of april on Hardy Beta. Bug is still there. The shares of my WindowsXP box were not shown. Entering the full adress of the share (e.g. smb://windowsbox/in_and_out/) asks for a User/Domain/passwort dialog. In the domain dialogfield shows my WorkGroup! Only when i cleared the domain dialogfield i was able to connect to the share. May be the shares were not browsable because of a not empty domain !?!? There should be a difference between WorkGroup and domain !! 

I entered my WorkGroup during installtion in a domain dialgofield. That may lead to this error ??? How can i check the correct usage of the domain entry ?
Comment 12 drose28357 2008-04-02 06:25:31 UTC
When i use smbclient to browse the windows share then ...
drose@UbuntuServer:~$ smbclient -L w4de3rsy0001173
Password: 
session setup failed: NT_STATUS_NO_LOGON_SERVERS

I look like Ubuntu tries to connect to a domain server ? But with the Network dialog the domain entry does not exist. 

samba.conf shows no domain usage : 
;   domain logons = yes

I would like to kill all domain entries on my box an do e test. Can anybudy help me to kill domains in Ubuntu ? Otherwise i will do e clean install a test agein.
Comment 13 mr85mr 2008-04-11 13:23:26 UTC
Also i have this problem with nautilus 2.22.1. If i surf in SMB servers, nautilus display blank windows!
Comment 14 Mike Rushton 2008-04-16 21:41:49 UTC
Confirmed here as well. Gnome 2.22.1 build date: 04/15/2008 running on Ubuntu 8.04 Hardy Heron with updates till 04/16/2008. Same symptoms as stated above.
Comment 15 Renzo Bagnati 2008-04-18 07:11:32 UTC
Please, have a look here:

https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/207072

for a patch to gvfs or other solutions to blank windows in nautilus when browsing SMB shares.
Comment 16 Cosimo Cecchi 2008-04-18 07:45:40 UTC
CC-ing Christian.
Comment 17 William Lovaton 2008-04-22 20:36:59 UTC
I updated to Fedora 9 Preview (LiveUSB) and this problem is still present.  It doesn't look like this bug is being fixed, I'll try in Red Hat's bugzilla.
Comment 18 Scott Call 2008-05-08 22:32:33 UTC
Could this be related to SMB client signing?  I can manually mount shares from the server in question with CIFS but not with SMBFS.

Comment 19 William Lovaton 2008-08-06 13:36:02 UTC
I just tested this on a Fedora 10 Alpha LiveCD and the problem is still there.

As I said in Red Hat's bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=443689#c4

The problem is getting worse now.  In Fedora 9 I could browse the share if I knew the name in advance, but now in Fedora 10 Alpha this doesn't work anymore.  I am completely unable to browse any share now.

The following are the versions of the packages I am testing right now:
nautilus-2.23.5-1.fc10.i386
glib2-2.17.4-2.fc10.i386
gtk2-2.13.5-1.fc10.i386
gvfs-0.99.1-3.fc10.i386
gvfs-fuse-0.99.1-3.fc10.i386
gnome-desktop-2.23.5-1.fc10.i386

It seems I have this packages too:
gnome-vfs2-2.22.0-1.fc9.i386
gnome-vfs2-smb-2.22.0-1.fc9.i386 (this one is not required by any RPM package)

The base system is:
glibc-2.8.90-9.i686
kernel-2.6.27-0.166.rc0.git8.fc10.i686
libsmbclient-3.2.0-1.rc2.16.fc10.i386
samba-common-3.2.0-1.rc2.16.fc10.i386
samba-winbind-3.2.0-1.rc2.16.fc10.i386


Maybe we should change the version of nautilus to 2.23.X so that this bug get more exposure.
Comment 20 Christian Neumair 2008-08-26 09:21:36 UTC
Reassigning to gvfs.
Comment 21 Sanjay Pethe 2008-09-01 11:51:06 UTC
I am experiencing the same problems, but on Vista only. The shares on the XP machine seem fine.

Setup: One XP machine, one Vista machine and one Ubuntu-Hardy machine in one workgroup.

Using nautilus, I can see both the workgroup and XP, Vista and Ubuntu machines at smb://network.

Clicking on the XP machine icon brings up the list of available shares on that machine.

Clicking on the Vista machine icons shows no available shares. 

If I enter the location as smb://vista-machine/sharename, I get a username/password dialog and can see the share and read/write to it after entering the correct information.

Using smbtree with no password lists the shares of the XP machine, but not of the Vista machine. Error from the Vista machine is:
cli_rpc_pipe_open: cli_nt_create failed on pipe \srvsvc to machine VISTA-MACHINE.  Error was NT_STATUS_ACCESS_DENIED

Using smbtree with password for a user on the VISTA-MACHINE lists all the shares of all the machines.

Incidentally, the XP machine cannot see the shares on the Vista machine either - not even if I enter \\VISTA-MACHINE\sharename.

The share setup on the XP machine is to share folder with network users with r/w access. No specific users are specified (could not find a way to do this). The share setup on the Vista machine is to share with Everyone with a r/o access and with a specified user with a r/w access.

Guest account is off on both windows machines (don't know if this is relevant).

Let me know if you would like any other information.

Sanjay
Comment 22 Sanjay Pethe 2008-09-01 12:17:24 UTC
Additional information on Comment #21.

The password I was using with smbtree to list the shares of the VISTA-MACHINE was for an administrative user with r/w access to one of the shares specified. Using the password of another non-administrative user results in the same error message whether or not the user has write access to any of the shares.

Seems to be that you have to be an administrative user on Vista to even browse the shares!
Comment 23 roadSurfer 2008-09-30 10:56:53 UTC
I am seeing this as well with a clean install of Ubuntu 8.04 on an office LAN as well as a home network through a router.

Installed samba and smbfs.
Assigned a workgroup in smb.conf.
Enabled a home share (guest allowed).
Added and enabled one user.
Restarted samba.

Followed this to check samba and all seemed fine:
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch12_:_Samba_Security_and_Troubleshooting

Using Windows I was able to see the workgroup Ubuntu (although it was very, very slow to respond) was in (it's the only one) and browse the share without issue.

Using "Connect to server" and "smb:///windows-box/known-share" I got prompted for authentication, logged in (Windows network credentials) and was able to browse without issue.

I therefore conclude that samba is fine (for the limits of this test - I've not set proper security or anything), although a bit slow.

Opening the "File Browser" in Ubuntu 8.04 lists lots of machines as well as "Windows Network".  Under "Windows Network" I can see the domain and various workgroups.  I can navigate these and see the various Windows machines that are in them.

Using "File browser", I navigated to "windows-box" on the domain and tried to browse it.  It came back empty, even though I know for a fact it has shares I can access (as I did above).  No login prompt, nothing.

On the home network there is an extra symptom.  Although "Connect to server" and "smb:///home-windows/known-share" does work, Ubuntu 8.04 cannot browse the "home-windows" unit (which is in the same workgroup) unless I start a second Windows instance.  Once I start this second instance, I can browse to an extent, but the above problems seem to persist.

The windows machine are a mix of XPsp3, XPsp3 Media Center 2005, and Windows Server 2003.  Some are in workgroups, other are on domains.  All cause "File Browser" to exhibit the same, basic, browsing issue.
Comment 24 Cosimo Cecchi 2008-11-07 13:15:11 UTC
*** Bug 529872 has been marked as a duplicate of this bug. ***
Comment 25 Andrew Reginato 2009-01-14 23:38:03 UTC
I'm also having this problem on both my laptop (Debian) & Desktop (Ubuntu Intrepid 8.10) with my D-Link DNS-323.

The Laptop is an Etch based install, but I've got my repo's pinned to enable me to pull things in from Lenny, Sid, and experimental.  I dont' have anything from experimental so I technically can disable that safely, though I did compile my own kernel (version 2.6.28) from kernel.org.  Gnome is version 2.22.3, Nautilus is 2.20.0, & gvfs is version 0.2.5.

There nothing funny about my Desktop's Ubuntu install, it's as advertised with no funny repo's, pinning, or versions installed that are not part of a standard install.
Comment 26 Vincent Untz 2009-01-20 18:35:37 UTC
An openSUSE bug similar to this: https://bugzilla.novell.com/show_bug.cgi?id=467428
Comment 27 Oleg Ginzburg 2009-05-12 07:42:35 UTC
Comment 28 Tomas Bzatek 2009-05-21 15:17:38 UTC
This is quite ancient bug, support for smb browsing authentication was added in gvfs-1.1.3. Can all the reporters please test latest version? Please also consider bug 568851, where the fix solution goes to upstream smbclient.
Comment 29 Mike Rushton 2009-10-26 14:32:08 UTC
This seems to be fixed with gnome 2.28.1 and gvfs 1.4.1 running on Ubuntu 9.10 RC with all updates till 10/26/09.
Comment 30 Tobias Mueller 2010-03-03 19:49:29 UTC
Closing as OBSOLETE as per comment #29. If this is still an issue, please reopen.