Hey everyone and welcome back.
So what we're going to talk about in this skill right here is all about something called
Samba.
Now what exactly is Samba?
What does it do for us?
Well as per usual let's dive into the details and talk about it then shall we?
To begin the very first thing that I should specify is that what Samba is going to allow
us to do is going to allow us to share resources.
So maybe you happen to be working for a company or maybe you're on a university campus whatever
it may be.
Very often individuals are going to want to be able to share particular resources that
may be particular folders and files or perhaps they want to be able to share out printers.
So the reality is we have to be able to facilitate this type of action.
Now on Windows based systems there is something called SMB.
This is the server message block and this is used with respect to sharing out different
resources on Windows based systems used for network discovery so on so forth.
Now like I say this is how Windows based systems operate but as you may have noticed that we
are dealing with an LPIC2 certification right here so we are primarily focused on Linux
systems but here is the deal.
In the real world there is very often going to be a mix of Windows systems and Linux based
servers or systems.
Now what if we want to be able to share information from our Linux machine with Windows based
machines or vice versa.
Well the reality is we do have an implementation of SMB effectively.
Our Linux and this is known as SAMBA.
So really if we want to be able to share our resources or printers or files or folders
with different operating systems such as Windows 10 or Windows 7 whether it may be or just
with different Linux machines we are able to do just that using SAMBA.
Now with respect to SAMBA on Linux there are two different components one is called NMBD.
This is the NetBios message block domain.
Now NetBios if you do not know this is ultimately an acronym for Network Basic Input Slash Output
System and this is going to allow different types of applications to actually talk to
one another when they are on the same network.
So really for the purposes of what we are trying to do for discovering different servers
or discovering different clients on this particular system that we are on we actually
want to leverage NetBios.
So let's maybe say we have a Linux machine here and a Windows machine here and let's
maybe say we have a SAMBA server.
All of these devices can ultimately discover one another in this manner but one thing that
is really important to note is that the actual transferring of files that is facilitated via
TCP IP.
Now the way this is actually handled directly is by something called SMBD.
This is the server message block daemon.
So for server discovery we will have NMBD for the actual transferring of particular
files that we are sharing so on and so forth that will be using SMBD.
Now with our SAMBA installation we will actually have these two different daemons that we can
use to help us carry out these processes but understand the differences between what
they actually do.
So whether we happen to be wanting to share out particular files between different users
on different systems irrespective if they happen to be on Linux or Windows or we are
looking to share out particular folders or perhaps maybe we want to share out particular
printers.
And that the ability to do this is going to be enabled by SAMBA itself.
Now with respect to SAMBA we can have a SAMBA server or on our system we could install a
SAMBA client which can ultimately talk to a SAMBA server but the primary focus of this
skill will be mainly around the configuration of the SAMBA server.
Now one thing to say before we actually begin looking at the very basics of how SAMBA actually
operates is that for the purposes of the LPIC 2 examination we are primarily going to be
focused on something called SAMBA 4.
This is the fourth version of SAMBA but also we do have to be aware of SAMBA 3 and the
scope of that awareness is really limited to the SAMBA 3 documentation.
So what I want you to just know is that for the purposes of the examination if you need
to know where the SAMBA 3 documentation is you can find this within user share and then
within doc and then within that doc directory there should be a directory called SAMBA hyphen
followed by the SAMBA version number so that could be maybe 3.1.1 whatever it may be and
then within this directory we would have a folder called HTML docs and then within that
we would have our actual HTML file which would be index.html but like I say primarily we
are going to be focusing on SAMBA 4.
So what we want to do is to begin to understand the basics of the SAMBA service and while
that is what we are going to be talking about in the very next nuggets I hope this has been
informative for you and I'd like to thank you for viewing.