Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am attempting to share files between two computers running 11.10. I'm using the built-in samba sharing. When I try to mount the files on another computer it says "Failed to mount Windows share". I have no clue how to get this working. Thank you in advance.

share|improve this question
    
I went through the guide and now nothing shows up in my network. I followed the instructions as it said. –  NatalieRei Nov 26 '11 at 4:53
    
What is the output from: smbclient -L localhost -U% –  david6 Nov 26 '11 at 21:05
1  
Why are you using Samba (Windows file handling) for 'share' of files between two computers with Ubuntu 11.10? –  david6 Nov 26 '11 at 22:09

3 Answers 3

Have a read through the Ubuntu Documentation page for setting up Samba File Server.

It's pretty comprehensive and should give you all the answers you need.

share|improve this answer

I had a similar issue after upgrading to 11.10, my access t0 samba share was using a DNS alias. workaround was to use the real hostname; may be a bug with smbclient.

share|improve this answer

There is no point using Samba to share files between Linux machines! Samba is meant for accessing Windows network shares and services.

Use sshfs instead, there is no setup necessary at all:

sudo apt-get install sshfs

Mount the remote filesystem with

sshfs user@host:/path /local/mount/point

and unmount with

fusermount -u /local/mount/point
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.