Setup Samba Server for Ubuntu

Install Samba on Ubuntu 12.04/11.10/11.04/10.10/10.04/Linux Mint/other Distro's and share files with samba from Ubuntu to Windows and Windows to Ubuntu

  1. Install Samba on Ubuntu/Linux Mint Open Terminal (Press Ctrl+Alt+T)

    sudo apt-get install samba samba-common
    sudo apt-get install python-glade2
    sudo apt-get install system-config-samba
  2. How to access Ubuntu Shared Data from Windows

    • Now go to Dash and search for 'Samba' then open it
    • When Samba Server Configuration open, Click on 'Add +' button then click on browse >home >select user
    • Now go to 'Access' tab and select username from which you want to access sharing
    • Now set password on your selected username for samba sharing. Enter following command to set password (change user with your selected username)
    • sudo smbpasswd -a user
    • Now right click on Folder which you want to share on network, then select 'Sharing Options'
    • Here is Folder Sharing options, You can choose and write whatever you want to do. Then click on 'Create Share'
    • It's time to access your sharing on Windows, Now go to start and open 'Run' then enter ip with double backslash. Like this (\\
    • Now sharing will open, Now click on shared folders then windows will ask for samba username and password. You can share without username and password it's up to you
    • When you enter the username and password your shared folder will open. You can write/delete/modify whatever you want to do (It's up to your permission implementations)

  3. How to access Windows Shared Data in Ubuntu

    • In Windows right click on folder which you want to share on network, Then click on 'Advanced Sharing' or 'Sharing'
    • Select your Username or Everyone, I chose my username cause I want sharing restrictions
    • Now click on 'Permissions' button and select options as you want
    • Now go to Ubuntu, Open File Browser > File Menu > 'Connect to Server'
    • Select 'Windows Share' in Service type and Enter Windows IP Address in 'Server' then click on 'Connect'
    • Enter your Windows Selected Username and Password, then click on 'Connect'. (Not Samba username Password)
    • After connect you'll see folders, open your shared drive/folder and enter Windows username and password again. (Not Samba username and password)
    • Here sharing is accessed, You can write/delete/modify whatever you want to do (It's up to your permission implementations)


Popular posts from this blog