Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I share files between a desktop PC( with Ubuntu) and a notebook(with Fedora) in the same network using samba? I tried to configure samba to both of them, but nothing? On Fedora I configured Samba using the GUI(add a new user, name the server and so on). Could someone give me a link to a good tutorial? I searched on google, but nothing good.

share|improve this question

migrated from Dec 9 '11 at 10:56

This question came from our site for professional and enthusiast programmers.

Why are you trying samba? It is better to use NFS to share between linux systems. Though we need a security consideration. – kamae Dec 13 '11 at 14:02
Can you edit and give us a bit more detail about what you did and where you got stuck? The first page of samba tutorial in Google provides "good" tutorials, so perhaps you need more specific help? – Paul Dec 16 '11 at 13:03

Try this on both machines.

First, backup the existing smb.conf file:

sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.old

Then put this in /etc/samba/smb.conf:

server string = Your computer's description
workgroup = Your workgroup name
security = user
map to guest = Bad User
name resolve order = bcast hosts wins
client lanman auth=Yes
wins support = yes

include = /etc/samba/smbshared.conf

And then in /etc/samba/smbshared.conf put this:

[Desktop] ; user="yourusername"
force user = yourusername
path = /path/to/share
writable = yes
public = yes
share|improve this answer

Your Answer


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.