Sun Solaris 10 - Samba Installation and Setup


This tutorial will walk you through a basic samba install and setup. You should further go through and setup security measures to ensure your server is secure and safe from attacks. We will be using a very basic samba configuration file for the purposes of this tutorial.

This tutorial assumes you have already installed pkg-get and have your mirror set to blastwave. If not, please check my other tutorial about how to set this up. We will not be downloading the source code and compiling in this tutorial.

Let’s open up our terminal and dive in!

Ubuntu - How to Install and Setup Samba File Sharing

Install Samba

sudo apt-get install samba smbfs

Then edit the config file

sudo nano /etc/samba/smb.conf

Find the Authentication section which is marked with a header of

'####### Authentication #######' and make the following changes.

Uncomment the security line and add a line

security = user
username map = /etc/samba/smbusers

Now let's add a Samba user by running this command:

# sudo smbpasswd -a <username>

it will then ask you to set a password and confirm

next we will create the file we referenced above and add this

user we just added.

# sudo gedit /etc/samba/smbusers

Add the ubuntu username which you want mapped to the current user Read more »

Syndicate content