Blog Forum Wiki Links Contact Us
 
Translations of this page:

How to Configure Samba to Share Your Home Directory

  • Open terminal window and become root
sudo bash
  • Backup smb.conf just in case.
cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
  • Open /etc/samba/smb.conf in your favorite text editor.
vi /etc/samba/smb.conf
  • Enable the WINS server by uncommenting and editing the following line.
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
   wins support = yes
  • Define a share. I added this at the end of the “Share Definitions” section
[share]
  writable=yes
  path=/home/user/
  valid users = user
  • restart samba
/etc/init.d/samba restart
  • To connect to your new shares from a network PC, use the username = user and your defined password as the password. You should see the files in your home directory listed. These files should be both readable and writable.

Alternative GUI Method

Open File Manager.

'Right-click' on the folder you wish to share. From the menu, select 'Sharing'.

Please note that this 'Sharing' menu is not always available in 'Advanced Mode' (KDE); if you find it is missing, switch to 'Simple Mode' and it will appear, and if you then switch to 'Advanced Mode' again the 'Sharing' option will remain in place for you.

unlocked unionfs system

If you have unlocked unionfs on your system you will need to do the following before following the above material:

# cd /etc/samba
# mv smb.conf smb.conf_bak
# cp /usr/share/samba/smb.conf .
 
howto/setupsambaserver.txt · Last modified: 2008/02/26 03:03 by map7map7
 
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki