Install Samba quickly and Easily Via Custom Scripts on Ubuntu

I found these scripts based off of a web tutorial on how to install and configure a file server via samba that i found here. I don't take credit for the tutorial just for the scripts. Feel free to edit these scripts and make them better. Just be sure to post the new ones.

Installation:

  1. extract the samba scripts.
  2. run installsamba.sh
  3. run addusers.sh for each user you want to add
  4. run