Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Samba: share Linux Folders with your windows machines

Loading...

Sign in or sign up now!
29,638
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 4, 2009

This is a video on how to share Linux Folders with your Windows machines. I use a program called Samba to share the folders so that they are surfable in a NetBios (network neighborhood) fashion. This is a command line video however if you have Webmin installed on your server you can also configure it in a similar fashion using a web interface. You can also try tweaking the config file for Samba to better suit your needs. This is a very simple setup.

The commands are...
sudo apt-get install samba

cd /

sudo mkdir realname

sudo chown techno:techno realname

ls -l

sudo smbpasswd -a techno

sudo vim /etc/samba/smb.conf

[sharedname]
path = /realname
available = yes
valid users = techno
read only = no
browsable = yes
public = yes
writable = yes

sudo /etc/init.d/samba restart

ifconfig

cd sharename

ls -l

Providing training videos since last Tuesday.
http://technoblogical.com
Thanks for watching.

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (technoblogical)

  • For some reason i dont have samba restart file in my init.d directory. I just reboot the whole machine, but the server wont work so im thinking the samba restart i really important. Any ideas?

  • @jonathanjduncan The Samba would have restarted with the reboot. You could always try to uninstall and reinstall samba (sudo apt-get remove samba). Maybe something went corrupt in your installation.

  • where is the smb.conf located and what should be in there? and about the last part of the video when the text file is created i cant edit it on my other machine what do i need to change?

  • All the commands that I use are in the video description..

Video Responses

This video is a response to Remote Desktop Access with UltraVNC
see all

All Comments (41)

Sign In or Sign Up now to post a comment!
  • What if I just want to share between Linux machines? Will this work too?

  • can you post ur conf file on the description or smth

    cuz i think smth's wrong

  • thanks man! you seriously saved my life with this. been googling for HOURS and nothing worked. now it's perfect! :D

  • Thank you!

  • Thanks. All the other examples I saw relied on the GUI and mine is a server only. Worked perfectly.

  • when i type in sudo vim /etc/samba/smb. conf it dose not show me the screen that shows my workgroup. how do i fix that?

  • Great video tutorial techno, thanks :D

  • Hey, thanks for the video. I'm confused over the difference between the GUI & the manual setup you do in the video. Your method in the video works, but the GUI is so much easier. If I set 'public' in GUI it's a snap, but I don't want 'public'. Your manual method does what I want (with password protection), but it's a pain. Do you know if I can set password protection with the GUI.

    The missing piece for the GUI setup is the user/pass, which I guess I'm not doing right, because nothing works.

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more