Can't access windws shares on network

Asked by Adam Rentsch

Hi, I'm new to Ubuntu, and thought I would use 11.04 on my older computer to stream videos over my home network. Everything is running fine, except for access to the Windows workgroup on my network. I am accessing this through the GUI, and I can get to my shared files about 15% of the time. Every other attempt gives an error:

Could not display "smb://renchy-pc/shared folder/". Error: Invalid argument
Please select another viewer and try again.

for a folder I have already mounted, or:

Unable to mount location
Failed to mount Windows share

for a folder I'm trying to mount.
The windows pc, running win7 x64, is sitting idle, with no screensaver or sleep settings turned on, and I have everything set up to share properly on the windows side ( I can access my files 100% of the time from other windows computers on the network).

I really like the new found speed my computer has with this clean install of ubuntu, but if i can't fix this intermittent problem I'm going to have to go back to windows :-(

Question information

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

I wouldn't worry too much, samba works very well with Windows file sharing.

Are you using any authentication or accessing the shares as guest?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Can you give the output of:

smbtree; lsb_release -a

Thanks

Revision history for this message
Adam Rentsch (the-rentsch) said :
#3

I'm accessing as an authorised user, every attempt at mount uses the remembered password.

Revision history for this message
Adam Rentsch (the-rentsch) said :
#4

renchy@renchy-Aspire-L3600:~$ smbtree; lsb_release -a
Enter renchy's password:
WORKGROUP
 \\TAETAE
 \\RENCHY-PC
failed negprot: ERRnomem
 \\RENCHY-ASPIRE-L3 renchy-Aspire-L3600 server (Samba, Ubuntu)
  \\RENCHY-ASPIRE-L3\IPC$ IPC Service (renchy-Aspire-L3600 server (Samba, Ubuntu))
  \\RENCHY-ASPIRE-L3\print$ Printer Drivers
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty

Revision history for this message
Best Jeruvy (jeruvy) said :
#5

Refer to this link to see if this provides you a solution:

http://ubuntuforums.org/showthread.php?t=1169149

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Make sure the Windows system's firewalling allows remote file accessing. also bare in mind this:
http://thelinuxexperiment.com/linux/accessing-windows-7-shares-from-ubuntu-is-a-pain/

Revision history for this message
Adam Rentsch (the-rentsch) said :
#7

Thanks Jeruvy, that solved my question.

Revision history for this message
Adam Rentsch (the-rentsch) said :
#8

Thanks for the help, it seems solved for now. It seemed to be a combination of name resolution and firewall rules.