Ubuntu 8.10 Nautilus won't show smb files

Asked by Mike

Hi there,

I just upgraded to Ubuntu 8.10 from 8.04 LTS. Everything works so far except when I connect to my server which has a windows share, it shows 0 items. I can create new folders, but when I refresh, they are gone, and I can guess folders to move into via typing them in the bar at the top.

I searched around here for help and I went to my /etc/samba/smb.conf file and uncommented and changed this line:

name resolve order = lmhosts host wins bcast
to
name resolve order = lmhosts wins bcast host

but to no avail, can anyone help please?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Solved by:
Mike
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Please install Samba

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(when the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo apt-get update
sudo aptitude install samba

Then you will have that file...

Hope this helps

Revision history for this message
Mike (mikegenin) said :
#2

Thanks for the help,

I did this (it seemed to have installed correctly) and I am still having the same issue. My SMB worked fine before upgrading to 8.10. I can browse computers by clicking on Network, but when I open them, I am unable to view files. I can browse by guessing folder names and moving to those folders by typing them in the bar at the top, but still cannot actually see any files or folders...

Any other ideas?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Can you browse your server window share putting the ip of the pc...

For example:

smb://192.168.1.x

Revision history for this message
Mike (mikegenin) said :
#4

It still shows 0 items, same as if i type smb://servername

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

In my Ubuntu 8.10 is working...

First be sure your Ubuntu is fully updated/upgraded...

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(when the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

then reboot your pc...

What about typing smb:// in nautilus without any address can you view network pc group list... ?

Thank you

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Then please check your server share permission...

Not for Ubuntu 8.10 but this video might helps http://screencasts.ubuntu.com/SAMBA_Filesharing

HTH

Revision history for this message
Mike (mikegenin) said :
#7

Not quite, I appreciate the help, but I have the same issue,

If I click on the network, I can see other computers on my router, and groups just fine; but when I click on them, nothing inside shows. Its just when I use the Nautilus browser. I have music on this external server, and my music player still can play off of it, I can guess folders and move to them, I can make new folders, I just can't see them!

My server has remained unchanged, and other computers are capable of viewing the files in their browser....

Revision history for this message
JD Evora (jdevora) said :
#8

I have the same problem

I can mount a network share with mount -t smbfs but I can't see anything in nautilus

I found the the bugs #282298 #252245 and #207072

$uname -a
Linux Ubundell 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 x86_64 GNU/Linux

Revision history for this message
Mike (mikegenin) said :
#9

Good, so I'm not crazy!

I can view all my files on remote windows shares using samba in my terminal and the ls command, then use the file name and type it into nautilus and it will load that file in the appropriate application.,.. But its just a matter of actually viewing the files.

Is there a solution associated with those bug numbers?

Revision history for this message
hafen (pascal-hafen) said :
#10

Hello

I have the same problem with Ubuntu 8.10 and a Buffalo NAS. I have 3 Ubuntu 8.10 machines and since the upgrade from Ubuntu 8.04 to 8.10 I can't see the files on the NAS shares.
Today I tried many things but nothing showed effect.

Well, I guess this is, because SAMBA doesn't the shares set as browsable or it's a permission problem. I didn't find out...
Can anybody help me?

Linux ws-001 2.6.27-8-generic #1 SMP Thu Nov 6 17:33:54 UTC 2008 i686 GNU/Linux

Revision history for this message
Bierchen (linux-redaktion-schulze) said :
#11

Same problem here. After upgrading from 8.04 to 8.10 smb-shares on my file-servers are displayed empty by Nautilus. I can mount them, I see them when browsing the network, but no files or folders are displayed.

Quite a prob to me - the smb-servers are a vital connection between the company's Linux- and Windows-Networks...

2.6.27-7-generic #1 SMP Tue Nov 4 19:33:20 UTC 2008 i686 GNU/Linux

Revision history for this message
kernowyon (kernowyon) said :
#12

I can also confirm this issue exists on 8.10

I just did a fresh install of 8.10 and browsing my NAS box gives the same problem as everyone else - i.e I can access the shared drives, but cannot see folders or files in there with Nautilus.

If I use a browser such as Firefox and use the web address for the NASBox, all the files and folders show up fine.

Revision history for this message
kernowyon (kernowyon) said :
#13

This is listed as "Needs Information" and yet there are a few other threads in the Samba section which seem to cover the same issue - some marked as "answered" even though they are clearly still outstanding.

The simple fact of the matter is that accessing shares from "Windows Networks" (even if they are not - e.g my Nas Lite Linux NAS box) fails under 8.10 yet works happily with 8.04. I have machines here running both 8.04 and 8.10 and the Hardy machines access perfectly well.

Bearing in mind the comments from an earlier poster - who is attempting to run a business using Windows shares on their Linux boxen - I would consider this to be a major issue. I am pretty familiar with Linux and I have been unable to fix the problem here, despite an entire evening of comparing the 8.04 and 8.10 machines here.

8.10 is a nice release - apart from this issue. I can see me reverting back to 8.04 on this machine tomorrow :(

Revision history for this message
MrK87 (mirko-agazzi) said :
#14

Hi,

i had this problem too with nautilus, no files were shown in my Samba shared directory, even though I were able to surf in directories or create new ones.

Well, since I really need to access that samba share here at my work, I solved it out, installing the package 'smb4k' i found in my apt.

It works quite nice, and mounts the share without any problem: i'm now able to access all my samba shared files.

Hope this helps, and hope also nautilus will be soon updated

Revision history for this message
kernowyon (kernowyon) said :
#15

Post number 81 on the Ubuntuforum link below fixes the problem -

http://ubuntuforums.org/showthread.php?t=964564&page=9

Basically, you add the third party repository mentioned, update the list and then download all the samba stuff there (6 packages I think).

Once done, remember to untick the third party repository :)

It does work, but I have reservations about installing software from places other than the Ubuntu repositories.
Surely the devs could check out the samba suite being offered by the third party repo and discover where the problem lies with the current 8.10 suite?

I can confirm that with that 3rd party software, the shares now display correctly as they should.

I have not checked out the source code myself, nor seen any mention of anyone else having done so - so it is a case of use at your own risk. It *seems* OK - and it certainly works.

Revision history for this message
kernowyon (kernowyon) said :
#16

Just a quick note - the third party repo mentioned is from Thierry Carrez, hosted on launchpad, so I think it will be fine :)

Revision history for this message
Bierchen (linux-redaktion-schulze) said :
#17

Thanks, kernowyon! Your advice works for me, I can now access all my smb-shares as usual.

Revision history for this message
David Samuels (davidmsamuels) said :
#18

I am having a very similar problem -- see https://answers.launchpad.net/ubuntu/+source/samba/+question/50441 -- and I thought your solution might help. Sadly, it does not.

Revision history for this message
Jim (jimaraujo6786) said :
#19

Are the package developers aware of this huge Bug.

Revision history for this message
Mike (mikegenin) said :
#20

The problem went away about a month ago - maybe it was an update I did, but it works just fine now.... I used smb4k in the mean time to get around it. If you guys need any info about my computer, just let me know what to do.