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 126300 - can't open Windows shared files using SMB://
can't open Windows shared files using SMB://
Status: VERIFIED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Module: smb
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-11-05 16:01 UTC by Narayana Pattipati
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description Narayana Pattipati 2003-11-05 16:01:29 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
Comment 1 Christophe Fergeau 2003-11-15 22:59:49 UTC
Moving samba bugs to gnome-vfs extras
Comment 2 Jason Leach 2004-02-10 15:37:40 UTC
Moving back to gnome-vfs (the smb module has been moved there,
gnome-vfs-extras is "dead").
Comment 3 Narayana Pattipati 2004-05-31 12:14:22 UTC
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.