GNOME Bugzilla – Bug 522494
Nautilus displays blank windows when browsing SMB servers
Last modified: 2010-03-03 20:56:57 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.
Created attachment 107318 [details] Screenshot of the offending window
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.
(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).
(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.
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.
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.
*** Bug 524565 has been marked as a duplicate of this bug. ***
Can bug 524485 in gvfs be related to this one or considered a duplicate?
(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.
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 ?
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.
Also i have this problem with nautilus 2.22.1. If i surf in SMB servers, nautilus display blank windows!
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.
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.
CC-ing Christian.
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.
Could this be related to SMB client signing? I can manually mount shares from the server in question with CIFS but not with SMBFS.
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.
Reassigning to gvfs.
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
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!
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.
*** Bug 529872 has been marked as a duplicate of this bug. ***
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.
An openSUSE bug similar to this: https://bugzilla.novell.com/show_bug.cgi?id=467428
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.
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.
Closing as OBSOLETE as per comment #29. If this is still an issue, please reopen.