GNOME Bugzilla – Bug 126300
can't open Windows shared files using SMB://
Last modified: 2009-08-15 18:40:50 UTC
I am not able to open any windows shared files using smb:// Versions of the components; Nautilus-2.2 samba-2.2.5 gnome-vfs-extras-0.99.10 I am doing the following: 1. Shared one directory (say "naren") on one Window's machine, say "m3-gnome-naren", which is in workgroup "wipro". 2. Now I made changes to /etc/hosts and added the entry 10.118.8.123 m3-gnome-naren 3. Also added the following entries in /etc/resolve.conf file domain localdomain nameserver 10.114.50.100 nameserver 10.115.50.100 search wipro 4. Add the correct workgroup to /etc/samba/smb.conf file diff /etc/samba/smb.conf.org /etc/samba/smb.conf 18c18 < workgroup = MYGROUP --- > workgroup = wipro and then rebooted the machine once. 5. Then start nautilus and navigated to the window's machine "m3-gnome-naren" using smb:// and double-clicked on the machine name. It prompted for username/password. After providing the correct username/password, it showed the share "naren". Double clicking on the share shows the contents. 6. Now double click on a text file say (cool.txt), it gives the error "The Text view encountered an error and can't continue. You can choose another view or go to a different location." 7. Instead of double clicking, select the text file, choose to open it using gedit application. This also failes with the following error: "Could not open the file "smb://m3-gnome-naren/naren/cool.txt" because access was denied." I could not open any .png, .gif, .jpg files either by double clicking or opening the files using eog application . Is there any extra samba configuration I need to do so that I can access the shared files? Note: 1. I can mount the Window's share ("naren") from commandline to /mnt mount -t smbfs -o username=naren //m3-gnome-naren/naren /mnt 2. I could see the all the shares on the machine "m3-gnome-naren" using smbclient. smbclient -L //m3-gnome-naren -U=naren 3. Also I could user the smbclient prompt to access the shared files. smbclient \\\\m3-gnome-anju\\naren -U=naren
Moving samba bugs to gnome-vfs extras
Moving back to gnome-vfs (the smb module has been moved there, gnome-vfs-extras is "dead").
I could not simulate the bug with nautilus (HEAD), gnome-vfs (HEAD) and samba-3.0.x version. I am able to open window's shared .txt files with gedit and .png files with eog. Looks like its fixed in 2.6. Hence, closing the bug.